Felitaur Site
Offerings
|
   
|
Starting up Apache
[Linux System Administration Homepage]
Overview |
Goals:
- Update apache (via .rpms)
- Test out the SSI, CGI and PHP?
- Make a "mising.html" file
- Examine server logs
- Set up Virtual Hosts
- Set up of FTP server
Files/directories covered:
/etc/httpd/conf/
/etc/httpd/conf/httpd.conf
/var/log/httpd/
/etc/xinetd.d/ (file wu-ftpd)
/etc/rc.d/init.d/ (httpd and xinetd)
Commands:
grep (and grep -v)
sort
uniq
sftp
ssh
|
Questions |
- Why is updating server software so crucial?
- What issues must you consider before allowing users access to server
side utilities such as PHP, CGI, SSI ?
- What is the purpose of a "missing.html" file?
- Where are the web server logs kept?
- What types of information are logged by the web server?
- How would you get all the files accessed by a particular IP/domain
name on your web server?
- What in the referer log would make you think that someone had linked
to one of your photos/graphics on your web server?
- What is a "virtual host" ? Why is it useful?
- How do you set up a virtual host?
- What is an anonymous ftp server? What are they commonly used for?
- What is the .message file for in an anonymous ftp
directory?
- FTP on redhat uses a chroot "jail" what is meant by that?
- For NON anonymous ftp connections, why should you have your users uses
Sftp instead?
|
Activites |
- run rhn_register to register with the redhat network
- Either from the menu, or the command line, run up2date
- Make sure you do all of the following updates and then some.
- Go into /etc/xinetd.d and switch disable to "no" in the
vsftpd
file, and restart xinetd
- Go into /var/ftp/ and /var/ftp/pub and place a .message file
to let users know the rules for your ftp site.
- Place at least one file for download into your ftp "pub"
directory.
- With a friend, set up accounts for each other and long on
using ssh -l username 140.198.xxx.xxxx and transfer a file using
sftp
|
References |
This page last updated on:
|
|
|