Sun17 System Configuration Filesystem kbytes used avail capacity Mounted on /dev/sd0a 15331 7555 6243 55% / /dev/sd0g 143803 124242 5181 96% /usr /dev/sd3c 963662 294406 572890 34% /mnt /dev/sd2c 963662 188743 678553 22% /opt umfort:/motd 966304 603398 362906 62% /motd warrior:/var/mail 9523 3287 5286 38% /var/spool/mail warrior:/home 1346921 11583 1200648 1% /usr/export/home
Binary distribution:
Source code distribution:
If there is no access to a Web browser, the software may be obtained for either of these archives from the NCSA FTP site at ftp.ncsa.uiuc.edu.
The uncompress program uncompresses the file and removes the .x extension. Next tar the file by typing:
The tar creates a new directory called httpd_1.5a-export.
The following commands will create each of the needed directories:Binary Directories /opt/web/etc/httpd/conf houses all server configuration files /opt/web/etc/httpd/logs houses all server log files /opt/web/etc/httpd/htdocs houses all documents the server will serve /opt/web/etc/httpd/support houses all of our server's support files /opt/web/etc/httpd/cgi-bin houses all CGI scripts; these scripts enable the server to run external programs
Getting the NCSA Server Up and Running
This adds the user nobody. The colon in the password slot prevents users from logging in as the user nobody. Another line may be added to the end of the file if there will be a Web Administrator user. This line is:
The Web Administrator, or web master, is responsible for server maintenance and log file manipulation. An asterisk is placed in the password slot again. This forces the superuser to enable the account by changing the password.
Next the modes of the subdirectories and their associated files were changed. This can be accomplished by using the following commands:
file/variable port: Port old value: Port 80 new value: Port 2020 file/variable port: ServerRoot directory old value: /usr/local/etc/httpd new value: /opt/web/etc/httpd file/variable port: IP Address old value: unassigned new value: 198.85.48.98 file/variable port: URL old value: new.host.name new value: mcnair.ecsu.edu file/variable port: Server Administrator e-mail address old value: "your address" new value: mcnair@umfort.cs.ecsu.eduApache Server Model HTTPd Features
to unzip the file. Successfully unzipping the file will result in removal of the .gz extension, resulting in the extension now being tar. Untaring the file will be completed using this command:
This will result in the creation of several directories. Those direc-tories include the following: cgi-bin, conf, htdocs, icons, logs, and src.
Apache 1.2.5 /opt/local/etc/httpd/ 3 ./cgi-bin 51 ./conf 342 ./htdocs/manual/mod 11 ./htdocs/manual/images 224 ./htdocs/manual/misc 762 ./htdocs/manual 1040 ./htdocs 96 ./icons 5 ./logs 8 ./src/helpers 45 ./src/modules/example 127 ./src/modules/proxy 174 ./src/modules 160 ./src/regex 1694 ./srcOf the directories and files listed above, the ./conf directory required modifications. Also shown are previous and final values; name of file/variable/port
file/variable/port: Port old value: Port 80 new value: Port 2001 file/variable/port: DocumentRoot directory old value: /usr/local/etc/httpd/htdocs new value: /opt/local/etc/httpd/htdocs file/variable/port: IP Address old value: 207 new value: 198.85.48.98 file/variable/port: URL old value: your_domain.com new value: mcnair.ecsu.edu file/variable/port: Server Administrator e-mail address old value: your address new value: mcnair@umfort.cs.ecsu.edu