Setting up HTTPD Server in Oracle Linux:
Pre-Requisite:
Down load tomcat-connectors-1.2.37-src.tar.gz(or latest version) and copy the file to the serverSteps to setup HTTPD Server
Login as root user(or create user for httpd an provide all the access required to install httpd) to server and execute the following commands
yum install httpd httpd-devel gcc gcc-c++
yum install make
yum install glibc-devel.x86_64 --disablerepo=adobe\*
yum install make
yum install glibc-devel.x86_64 --disablerepo=adobe\*
CD to the folder where tomcat-connectors-1.2.37-src.tar.gz file is copied and execute the following commands
gunzip < tomcat-connectors-1.2.37-src.tar.gz | tar xvf –
cd /<<Base Dir >>/tomcat-connectors-1.2.37-src/native and execute the following commands
./configure --with-apxs=/usr/sbin/apxs --enable-api-compatibility
make
make install
make
make install
The httpd server is successfully setup now.
Start/Stop the httpd instance:
Login as root user(or the user that used to install httpd server) to server and execute
/etc/init.d/httpd start
/etc/init.d/httpd stop
/etc/init.d/httpd start
/etc/init.d/httpd stop
The server can be accessed through http://<<Server IP>>/
No comments:
Post a Comment