Robert Harker Technical Wiki
Thoughts and Ideas About Large Sites

[ Prev ] [ Index ] [ Next ]


httpd

TOPIC

# Enable httpd

# install web server
yum groupinstall Web\ Server

# Enable service
systemctl enable httpd.service
systemctl start httpd.service
systemctl status httpd.service

# Enable ports in iptables

# Create index.html page
vi /var/www/html/index.html
<!DOCTYPE HTML PUBLIC "-IETFDTD HTML 2.0//EN">
<html>
<head>
<title>A little bit of science</title>
</head>
<body>
<h1>A little bit of science</h1>
<p>Welcome to science</p>
<!-- <p><a href="virtualbox.html">How to set up Virtualbox</a> -->
</body></html>

# Check with firefox

#### SELinux ####
find /archive/www/ | xargs chcon --type=httpd_sys_content_t

# How To Setup Apache Virtual Host Configuration (With Examples)
http://www.thegeekstuff.com/2011/07/apache-virtual-host/

# 10 Tips to Secure Your Apache Web Server on UNIX / Linux
http://www.thegeekstuff.com/2011/03/apache-hardening/

# How To Use Squid Proxy Cache Server To Control Internet Access
http://www.thegeekstuff.com/2010/09/squid-control-internet-access/

Apache and SELinux
http://beginlinux.com/server_training/web-server/976-apache-and-selinux


Backlinks: index Start
Created with Zim desktop wiki