Posts

Showing posts from September, 2015

How to install Maven on CentOS

Image
Steps to install and configure Maven on CentOS Download the tar.gz file from Apache Maven site Untar the file at some location (Eg: /opt/maven) tar x z f <filename> Add the environment variable to ~/.bash_profile file cd $HOME vi ~/.bash_ profile Append PATH variable with maven path Add M2_HOME variable export M2_HOME Save and restart your system Verify maven installation mvn --version

How to install and configure Apache Tomcat 7 on Cent OS

Image
Here are the steps to install and configure Apache Tomcat 7 on Cent OS : Make sure you have JAVA 6 or later version installed on your machine. Java --version Download Tomcat7 Archive wget http://www.us.apache.org/dist/tomcat/tomcat-7/v7.0.64/bin/apache-tomcat-7.0.64.tar.gz Untar it at some location (eg: /opt/tomcat7) tar xzf apache-tomcat-7.0.64.tar.gz Start the tomcat (bydefault it will start at port 8080) sh /opt/tomcat7/bin/startup.sh Verify Apache Tomcat Server Goto your browser and check http:// localhost: 8080 or http://127.0.0.1:8080 Stop the tomcat sh /opt/tomcat7/bin/shutdown.sh [Optional] To access admin|manager pages, you need to create user accounts. Add below lines inside <tomcat-users></tomcat-users> tags in ${tomcat7}/conf/tomcat-users.xml file. <role rolename="manager-gui"/> <user username="manager...

How to install and Configure Apache Http Server on Cent OS

Image
Here are the steps to install and configure Apache WebServer on Cent OS : Install Apache HTTP Server (By default Cent OS comes with Apache) yum install httpd Set to Chkconfig to start on boot chkconfig --level 235 httpd on Uncomment below line from configuration( /etc/httpd/conf/httpd.conf ) file NameVirtualHost *:80 Restart Apache Http Server service httpd restart Verify Apache Server Goto your browser and check localhost or localhost.localdomain It will display Apache Test Page

How to install and configure MySQL on Cent OS

Here are the steps to install and configure MySQL on Cent OS : Install MySql Server yum install mysql-server mysql php-mysql Set to Chkconfig to start on boot chkconfig –level 235 mysqld on Start the MySQL service service mysqld start Set the password for all domains myql -u root SET PASSWORD FOR 'root'@'localhost' = PASSWORD('new-password'); SET PASSWORD FOR 'root'@'localhost.localdomain' = PASSWORD('new-password'); SET PASSWORD FOR 'root'@'127.0.0.1' = PASSWORD('new-password'); Exit and verify the MySQL version exit mysql --version mysql Ver 14.14 Distrib 5.1.73, for redhat-linux-gnu (x86_64) using readline 5.1

How to install GIT on CentOS

It is quite easy to install GIT using YUM command line manage utility on CENT OS 6. Install : # yum clean all # yum install git Verify Subversion  :  # git --version Thanks..!!!