Centos7 Apache HTTP SERVER
yum -y install httpd
rpm -qi httpd
systemctl enable httpd.service
ln -s ‘/usr/lib/systemd/system/httpd.service’ ‘/etc/systemd/system/multi-user.target.wants/httpd.service’
chkconfig httpd on
systemctl enable httpd
mkdir /wwwroot/www echo “www.rmohan.com” > /wwwroot/www/index.html
mkdir /wwwroot/crm echo “rmohan.com” > /wwwroot/crm/index.html
cd /etc/httpd/ mkdir vhost-conf.d echo “Include vhost-conf.d/*.conf” >> conf/httpd.conf
ServerName www.rmohan.com DocumentRoot /wwwroot/www/ Requireall granted
[…]
Recent Comments