Install, config Tomcat 7 and Java (JDK) on CentOS, RHEL (in 4 steps scenario)

Scenario Step 1: Download the latest JDK here: http://www.oracle.com/technetwork/java/javase/downloads/index.html We’ll install the latest JDK, which is JDK 7, Update 5. The JDK is specific to 32 and 64 bit versions. My CentOS box is 64 bit, so I’ll need: jdk-7u5-linux-x64.tar.gz. If you are on 32 bit, you’ll need: jdk-7u5-linux-i586.tar.gz Start by creating a new directory  mkdir …Read More


Install PHP, MySQL and Apache on CentOS 7 (LAMP) in 3 simple steps

Introduction Step 01: Install Apache sudo yum install httpd sudo systemctl start httpd.service Check: http://SERVER_IP_ADDRESS/ (Featured Image) Find Server IP address ip addr show eth0 | grep inet | awk ‘{ print $2; }’ | sed ‘s/\/.*$//’ Step 2: Install MySQL (MariaDB) sudo yum install mariadb-server mariadb sudo systemctl start mariadb sudo mysql_secure_installation sudo systemctl …Read More


Rpm package basic command

rpm is a powerful Package Manager for Red Hat, Suse and Fedora Linux. It can be used to build, install, query, verify, update, and remove/erase individual software packages. A Package consists of an archive of files, and package information, including name, version, and description: rpm -ivh {rpm-file} Install the package rpm -ivh mozilla-mail-1.7.5-17.i586.rpm rpm -ivh …Read More