November 13, 2012 · Articles How to install java 6 on CentOS 5 and remove other JDK, JRE version? At the time of writing this article Java 6 (update 37) was available at http://www.java.com/en/download/manual_v6.jsp First set up a folder where you want to in… Read more
November 12, 2012 · Articles How to check, remove JRE, JDK, OPENJDK installation? To check the current installation of java $ rpm -qa | grep jre $ rpm -qa | grep jdk $ rpm -qa | grep openjdk To remove the java installs $ yum erase jre jdk ope… Read more
November 12, 2012 · Articles How to install and setup Fail2ban on CentOS? Fail2ban is a software used to ban IP's which shows strange behavior. It can be configured to reject IP's for a certain amount of time. To install Fail2ban we n… Read more
October 29, 2012 · Articles Java Tomcat - SEVERE: Catalina.stop: java.net.ConnectException: Connection refused This error pops up when you try to stop the Tomcat server when the server has not started. If you restart the Tomcat server, the error vanishes. Read more
October 7, 2012 · Articles Java: non-static method cannot be referenced from a static context Main is a static code block and to call a method within the same class you need to declare the other method also as static if you would want to execute the meth… Read more
October 7, 2012 · Articles Java: Buffered Reader Vs. Scanner Buffered Reader - Buffered reader reads text from a character input stream and buffers those characters - Buffered reader has a buffer size of 8 KB - Buffered r… Read more
October 5, 2012 · Articles XML (Extensible Markup Language) Vs. CSV (Comma Separated Values) CSV is flat file with the data separated by commas. If we needn't have to establish a relationship in the data presented in the CSV file, then we can go with st… Read more
October 1, 2012 · Articles How to setup Rails on WAMP server using HTTP Proxy module? To setup Rails on windows after Ruby and Rails setup, i) Edit hosts file in windows environment and set the server name in the hosts file to 127.0.0.1 myrails I… Read more
September 30, 2012 · Articles How to install Ruby, Rails and MySQL on Ubuntu Server? For this tutorial we will be using Ruby 1.9.3 and Rails 3.2.1 First thing update $ sudo apt-get update Next, we are going to install git, RVM which is essential… Read more
September 30, 2012 · Articles Installing Ruby and Rails on Windows # First step, download ruby from http://rubyinstaller.org/. Once downloaded click the installer to install Ruby into your desired folder (C:\Ruby). Make sure to… Read more