CentOS Version: 6.5
Step 1: Install Apache HTTP Server
sudo yum install httpd
Step 2: Configure the Firewall Rules
iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 80 -j ACCEPT
service iptables save
service iptables save
Step 3: Check Apache HTTP Server to start service on boot
chkconfig --levels 235 httpd on
Step 4: Start Apache HTTP Server
sudo service httpd start
No comments:
Post a Comment