Setting up your server on mongoose.aul.fiu.edu
Creating directories and changing permissions
-
Log onto mongoose.aul.fiu.edu
-
Allow everyone to access your root directory
chmod 711 ~
-
Create server root and document root directories
mkdir 3993.server
mkdir 3993.data
-
Allow access to both of these directories
chmod 711 3993.server
chmod 755 3993.data
-
Change to the 3993.server directory and create the conf, cgi-bin, logs, and
icons directories
cd ~/3993.server
mkdir conf
mkdir cgi-bin
mkdir logs
mkdir icons
mkdir etc
mkdir errors
-
Change the permissions to restrict access
chmod 700 conf logs icons etc errors
chmod 711 cgi-bin
-
Change to the conf directory and copy the configuration files to your
directory
cd conf
cp ~downeyt/public/conf/* .
Editing the configuration files
-
Change to the 3993.server/conf directory
cd ~/3993.server/conf
-
Edit the httpd.conf file
pico httpd.conf
-
Make the following changes to the httpd.conf file
-
You must change the location of the lock file to
/tmp/your-account-name.lock (for example /tmp/~dlette07.lock)
LockFile /tmp/~dlette07.lock
-
Pick a port number from 1024 to 65535 (for example 65432)
Port 65432
-
Change the ServerAdmin to your e-mail adddress (for example
dlette07@fiu.edu)
ServerAdmin dlette07@fiu.edu
-
Change the server root to your server directory for example
/home/mongoose2/users/dlette07/3993.server)
ServerRoot /home/mongoose2/users/dlette07/3993.server
-
Change the server name to mongoose.aul.fiu.edu
ServerName mongoose.aul.fiu.edu
-
Set the spare server pool
MinSpareServers 1
MaxSpareServers 1
StartServers 1
-
Comment out or remove any Virtual Hosts. The virtual host directives start
with <VirtualHost> and end with </VirtualHost>. Remove or comment
out these lines and all lines between them.
-
Edit the srm.conf file
pico srm.conf
-
Make the following changes to the srm.conf file
-
Change the document root to your directory (for example
/home/mongoose2/users/dlette07/3993.data)
DocumentRoot /home/mongoose2/users/dlette07/3993.data
-
Change the user directory to 3993.www
UserDir 3993.www
-
Change the default home page to 3993.index.html
DirectoryIndex 3993.html
-
Change the access file name to .3993access
AccessFileName .3993access
-
Edit the access.conf file
pico access.conf
-
Make the following changes to access.conf
-
Change the first <Directory> tag to your document root (for example
/home/mongoose2/users/dlette07/3993.data)
<Directory /home/mongoose2/users/dlette07/3993.data>