"System Update"
Download the update Kit profile from the Capital Education Center
Cd/etc/yum.repos.d
MV Centos-base.repo Centos-base.repo.default
Lftp ftp.kh.edu.tw
get/pub/appl/yum/centos6/fix-yum-centos6.sh
Exit
chmod 755 fix-yum-centos6.sh
./fix-yum-centos6.sh
Vi/etc/yum.repos.d/rpmforge.repo
At the bottom of the set, add two lines to increase the speed of the update.
proxy=http://proxy.edu.tw:3128
timeout=300
Perform an update
Yum Update
Yum Clean Packages
Tcp_wrappers Basic Settings
Vi/etc/hosts.deny
All:all
Vi/etc/hosts.allow
All:192.168.1.0/255.255.255.0:allow
Sshd:192.168.1.0/255.255.255.0:allow
Vsftpd:ALL:allow
Sendmail:ALL:allow
Date changed
Date-s 2009/07/08
Change Time
Date-s 10:58:30
When you can connect to the Internet, use an NTP.
Ntpdate watch.stdtime.gov.tw
Host name setting
vi/etc/hosts
127.0.0.1 localhost.localdomain localhost
163.32.xxx.88 sv.shsps.kh.edu.tw SV
:: 1 localhost6.localdomain6 Localhost6
2001:288:xxxx:1::88 sv.shsps.kh.edu.tw SV
Vi/etc/sysconfig/network
Networking=yes
Networking_ipv6=yes
hostname=sv.shsps.kh.edu.tw
Ipv6_autoconf=no
Ipv6_defaultgw=fe80::209:fff:fe85:f71e%eth0
gateway=163.32.xxx.254
recommended to reboot after modification
Sync;sync;sync;reboot
Phpsysinfo
Official website: http://phpsysinfo.sourceforge.net/
Installation steps
Cd
wget http://sourceforge.net/projects/phpsysinfo/files/phpsysinfo/2.5.4/phpsysinfo-2.5.4.tar.gz/download
Tar zxvf phpsysinfo-2.5.4.tar.gz-c/var/www/html/
cp/var/www/html/phpsysinfo/config.php.new/var/www/html/phpsysinfo/config.php
vi/var/www/html/phpsysinfo/config.php
$default _lng= ' TW ';
$default _template= ' classic '
Tm