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 3990.server
mkdir 3990.data
-
Allow access to both of these directories
chmod 755 3990.server 3990.data
-
Change to the 3990.server directory and create the conf, cgi-bin, logs, and
icons directories
cd ~/3990.server
mkdir conf
mkdir cgi-bin
mkdir logs
mkdir icons
-
Change the permissions to restrict access
chmod 700 conf logs icons
chmod 711 cgi-bin
-
Change to the conf directory and copy the configuration files to your
directory
cd conf
cp /depot/http/conf/* .
Editing the configuration files
-
Change to the 3990.server/conf directory
cd ~/3990.server/conf
-
Edit the httpd.conf file
pico httpd.conf
-
Make the following changes to the httpd.conf file
-
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/3990.server)
ServerRoot /home/mongoose2/users/dlette07/3990.server
-
Chane the server name to mongoose.aul.fiu.edu
ServerName mongoose.aul.fiu.edu
-
Set the spare server pool
MinSpareServers 1
MaxSpareServers 4
StartServers 1
-
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/3990.data)
DocumentRoot /home/mongoose2/users/dlette07/3990.data
-
Change the user directory to 3990.www
UserDir 3990.www
-
Change the default home page to 3990.index.html
DirectoryIndex 3990.index.html
-
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/3990.data)
<Directory /home/mongoose2/users/dlette07/3990.data>