Your VPS v2 Virtual Server runs on a UNIX operating system, so a little
knowledge about UNIX is necessary. The UNIX file system is hierarchical in
structure, with UNIX “root” being the top-level directory, indicated by a forward
slash (/).
The following table lists major directories and
subdirectories near the top of the file system.
|
Directory |
Description |
|
/root |
Root’s home directory |
|
/www
/www/cgi-bin
/www/logs
/home/enetrics/www/enetrics.com |
Links to /usr/local/apache that
contains Web server configuration and log files
CGI and Scripts directory
Contains the Web server log files
Contains the Web files for the primary domain
Other Web files are in /home/username/www/subhostdomain.name
|
|
/home |
Contains users’ home directories |
|
/bin |
Contains the server’s program files |
|
/ftp |
Contains the anonymous FTP directory |
|
/compat |
Contains Linux compatibility files |
|
/dev |
Contains the device nodes |
|
/proc |
Active system processes, identified by number |
|
/sbin |
System utilities |
|
/etc |
Contains server configuration and system administration
files (aliases, sendmail, sendmail.cf, etc.) |
|
/ports |
Collection of third party applications (read-only) |
|
/skel |
Contains a copy of the core system binaries (read-only) |
|
/backup |
Contains an on disk copy of the account file system from
the previous night (read-only) |
|
/var |
Contains Telnet, e-mail, and FTP log files |
|
/usr |
Contains just about everything else; has subdirectories of
/local, /lib, /bin, /sbin |
When naming your own files, it is important that you do
not use spaces in the filenames. Use the underscore character “_” in place of
spaces.