VineLinux-3.2 install

[root@s9 root ] #cat /proc/mdstat

[root@s9 root ] #vi /etc/apt/sources.list

[root@s9 root ] #apt-get update
[root@s9 root ] #apt-get upgrade
[root@s9 root ] #apt-get install httpd
[root@s9 root ] #apt-get install courier-imap
[root@s9 root ] #apt-get install build-essential
[root@s9 root ] #apt-get install rsync
[root@s9 root ] #apt-get install hddtemp
[root@s9 root ] #apt-get install ntp

[root@s9 root ] #vi /etc/ntp.conf
[root@s9 root ] #ntpdate ntp.bbQ.net
[root@s9 root ] #hwclock --systohc
[root@s9 root ] #/etc/init.d/ntpd start
[root@s9 root ] #ntpq -p

[root@s9 root ] #vi /etc/httpd/conf/httpd.conf

[root@s9 root ] #[ SMTP-AUTH ]@Outbound Port 25 Blocking

[root@s9 root ] #[ nonSMTP-AUTH ]@vi /etc/postfix/main.cf

[root@s9 root ] #vi /etc/postfix/aliases

[root@s9 root ] #vi /etc/proftpd.conf

[root@s9 root ] #/usr/sbin/maildirmake /etc/skel/Maildir
[root@s9 root ] #mkdir /etc/skel/public_html
[root@s9 root ] #mkdir /etc/skel/public_html/cgi-bin
[root@s9 root ] #adduser -g users crash
[root@s9 root ] #passwd crash
[root@s9 home ] #chmod 755 crash
[root@s9 home ] #apt-get install MySQL-server MySQL-Max MySQL-client MySQL-shared
[root@s9 home ] #apt-get install php php-apache php-mysql

[root@s9 home ] #vi /etc/php.ini

[root@s9 home ] #reboot

[root@s9 home ] #mysql -u root
mysql> set password=password('********');
mysql> exit

[root@s9 home ] #apt-get install postgresql postgresql-server php-pgsql php-devel php php-ldap
[root@s9 home ] #service postgresql start
[root@s9 home ] #passwd postgres
New password:*********
Retype new password:*********
[root@s9 home ] #vi /var/lib/pgsql/data/postgresql.conf

[root@s9 home ] #vi /var/lib/pgsql/data/pg_hba.conf

[root@s9 home ] #service postgresql stop
[root@s9 home ] #service postgresql start
[root@s9 home ] #su - postgres
-bash-2.05b$ createuser crash
-bash-2.05b$ initdb
-bash-2.05b$ logout

[root@s9 home ] #vi /etc/named.conf
[root@s9 home ] #cd /etc
[root@s9 etc ] #chown named named.conf
[root@s9 etc ] #chgrp named named.conf
[root@s9 etc ] #cd /var/named

[root@s9 named ] #vi /etc/init.d/named

[root@s9 named ] #ntsysv

[root@s9 named ] #reboot

[root@s9 root ] #vi /etc/ssh/sshd_config
[root@s9 root ] #/etc/init.d/sshd restart
[root@s9 root ] #ssh-keygen -t rsa

[root@s9 / ] #apt-get install namazu
[root@s9 / ] #vi /etc/namazu/mknmzrc
[root@s9 / ] #vi /usr/bin/mknmz
[root@s9 / ] #vi /etc/namazu/namazurc
[root@s9 / ] #cp /etc/namazu/namazurc /home/httpd/html/.namazurc

[root@s9 / ] #mkdir namazu
[root@s9 / ] #cd namazu
[root@s9 namazu ] #mkdir index
[root@s9 namazu ] #cd /home/httpd/html
[root@s9 html ] #chmod 755 namazu.cgi
[root@s9 html ] #ls -all
namazu.cgi@.namazurc

[root@s9 html ] #mknmz -U --output-dir=/namazu/index /home/httpd /home/a /home/z
[root@s9 html ] #vi /etc/crontab