You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yum install -y httpd mod_ssl #Install apache with the https module
systemctl enable httpd #Set apache to start on boot
systemctl restart httpd #Start apache now
sed -i 's/^/#/g' /etc/httpd/conf.d/welcome.conf #Comment out the default welcome page
echo -e "<html>\n<h1>This is my fun new web page! Hooray!!</h1>\n<br><br>\n<h2>This page is under construction, please check back soon!</h2><br>\n<p>If you're interested in the current disk use, click <a href='du.html'>here</a>!</p></html>" > /var/www/html/index.html #write a new landing page for the website