0

[Linux]Various cleanup after installing CentOS 4.4

This will apply to both x86 and x86_64 servers. Various cleanups are :

Edit /etc/hosts
127.0.0.1 localhost.localdomain localhost
xxx.xxx.xxx.xxx server.example.com server

Usually selinix is not needed and if it is set on permissive it just outputs alot of logs
Edit /etc/selinux/config
SELINUX=disabled
SELINUXTYPE=targeted

Import the GPG keys for software packages
# rpm –import /usr/share/rhn/RPM-GPG-KEY*

Update the system
# yum update -y

Install some software packages
# install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp gcc gcc-c++

NTP Setup
yum install ntp
chkconfig –levels 235 ntpd on
ntpdate 0.pool.ntp.org
/etc/init.d/ntpd start

jlim0930

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.