Cover | Table of Contents | Colophon
http://www.top500.org/list/2006/11/100
).http://www.debian.org) provides downloadable CD images.linux26 to get the most recent Version 2.6 kernel instead of the older version 2.4.$ ssh admin@server1.centralsoft.org The authenticity of host 'server1.centralsoft.org (70.253.158.42)' can't be established. RSA key fingerprint is 9f:26:c7:cc:f2:f6:da:74:af:fe:15:16:97:4d:b3:e6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'server1.centralsoft.org,70.253.158.42' (RSA) to the list of known hosts. Password: enter password for admin user here Linux server1 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Dec 25 19:07:38 2005 from 70.255.197.162 admin@server1:~$
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface auto lo iface lo inet loopback # The first network card - this entry was created during the Debian # installation # (network, broadcast, and gateway are optional) # The primary network interface iface eth0 inet dhcp
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian
# installation
# (network, broadcast, and gateway are optional)
auto eth0
iface eth0 inet static
address 70.153.258.42
netmask 255.255.255.248
network 70.153.258.0
broadcast 70.153.258.47
gateway 70.153.258.46
# /etc/init.d/networking restart
# apt-get install wget bzip2 rdate fetchmail libdb3++-dev \
unzip zip ncftp xlispstat libarchive-zip-perl \
zlib1g-dev libpopt-dev nmap openssl lynx fileutils
0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. Need to get 12.2MB of archives. After unpacking 35.8MB of additional disk space will be used. Do you want to continue? [Y/n]
Y will complete the installation of the additional files.# apt-get remove lpr nfs-common portmap pidentd pcmcia-cs \ pppoe pppoeconf ppp pppconfig Reading Package Lists... Done Building Dependency Tree... Done Package pcmcia-cs is not installed, so not removed The following packages will be REMOVED: lpr nfs-common pidentd portmap ppp pppconfig pppoe pppoeconf 0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 3598kB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 22425 files and directories currently installed.) Removing lpr ... Stopping printer spooler: lpd . Removing nfs-common ... Stopping NFS common utilities: statd. Removing pidentd ... Removing portmap ... Stopping portmap daemon: portmap. Removing pppoeconf ... Removing pppoe ... Removing pppconfig ... Removing ppp ... Stopping all PPP connections...done.
centralsoft.org, we could have mothersmagic.com, wildbills.info, or any other domain we register and use the same IP address.
# apt-get install quota quotatool
Enable this option if you want the warnquota utility to be run daily to alert users when they are over quota. Send daily reminders to users over quota? <Yes> <No>
# apt-get install bind9
Setting up bind9 (9.2.4-1) Adding group 'bind' (104) Done. Adding system user 'bind' Adding new user 'bind' (104) with group 'bind'. Not creating home directory. Starting domain name service: named.
# /etc/init.d/bind9 stop
OPTS="-u bind"
OPTIONS="-u bind -t /var/lib/named"
# apt-get install mysql-server mysql-client libmysqlclient12-dev
Install Hints MySQL will only install if you have a NON-NUMERIC hostname that is resolvable via the /etc/hosts file. E.g. if the "hostname" command returns "myhostname" then there must be a line like "10.0.0.1 myhostname". A new mysql user "debian-sys-maint" will be created. This mysql account is used in the start/stop and cron scripts. Don't delete. Please remember to set a PASSWORD for the MySQL root user! If you use a /root/.my.cnf, always write the "user" and the "password" lines in there, never only the password! See /usr/share/doc/mysql-server/README.Debian for more information. <Ok>
http://cve.mitre.org.
# apt-get install apache2 apache2-doc
Setting up ssl-cert (1.0-11) ...
Setting up apache2-utils (2.0.54-5) ...
Setting up apache2-common (2.0.54-5) ...
Setting Apache2 to Listen on port 80. If this is not desired, please edit
/etc/apache2/ports.conf as desired. Note that the Port directive no longer
works.
Module userdir installed; run /etc/init.d/apache2 force-reload to enable.
Setting up apache2-mpm-worker (2.0.54-5) ...
Starting web server: Apache2.
Setting up apache2 (2.0.54-5) ...
Setting up apache2-doc (2.0.54-5) ...
# apt-get install libapache2-mod-php4 libapache2-mod-perl2 \
php4 php4-cli php4-common php4-curl php4-dev php4-domxml \
php4-gd php4-imap php4-ldap php4-mcal php4-mhash php4-mysql \
php4-odbc php4-pear php4-xslt curl libwww-perl imagemagick
DirectoryIndex directive in the /etc/apache2/apache2.conf file from:DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml
# marks as shown, to comment out the following lines in the /etc/mime.types
# apt-get install proftpd
DefaultRoot ~ IdentLookups off ServerIdent on "FTP Server ready."
# /etc/init.d/proftpd restart
# apt-get install webalizer
Which directory should webalizer put the output in? /var/www/webalizer Enter the title of the reports webalizer will generate. Usage Statistics for server1.centralsoft.org What is the filename of the rotated webserver log? /var/log/apache/access.log.1
# update time with NTP server 0 3,9,15,21 * * * /usr/sbin/rdate 128.2.136.71 | logger -t NTP
# touch /var/spool/cron/crontabs/root
# chmod 600 /var/spool/cron/crontabs/root
# /etc/init.d/cron restart
server1:/home/admin# perl -MCPAN -e shell
/etc/perl/CPAN/Config.pm initialized.
> install HTML::Parser > install DB_File > install Net::DNS
enable tests? prompt, answer no.HTML::Parser is up to date. When a module installs successfully, you will see /usr/bin/make install - OK.q to leave Perl and return to the system prompt.centralsoft.org, for example, might have any number of hosts with names like server1.centralsoft.org, ldap.centralsoft.org, and mail.centralsoft.org