A few steps which allow you to open a simple web server in linux

Steps

sudo su
yum install httpd -y
yum update -y
service httpd start
chkconfig httpd on
cd /var/www/html
echo "<html><h1>test</h1></html>" > index.html
1
2
3
4
5
6
7
Last Updated: 1/14/2019, 12:15:15 AM