TimeLinux1

Saturday, September 18, 2010

Linux HowTo: Network Basics

Some Linux Notes:
(Applicable to Red Hat / Centos)

1-To change the name of your hostname, edit /etc/sysconfig/network file.

2-To activate a new network interface eth1:
# ifconfig eth1 up
# ifconfig eth1

3-If after adding a new network interface your sendmail service takes long time to startup at boot time:
a- check that the new network interface exists in the /etc/hosts file
b- check that you have an alias to hostname.localdomain in /etc/hosts file

4-To customize the opening banner of your system, edit /etc/motd

5-To customize the boot loader options edit /boot/grub/grub.conf

No comments:

Post a Comment