Red Hat Linux Tasks

Setup telnet server

# rpm -ivh xinetd.????                  insert lastest revision

  1. rpm -ivh telnet-server.????           insert lastest revision

edit the telnet config file

  1. cd /etc/inetd.d
  2. vi telnet                             change disable option to “no”

restart the xinetd service

  1. service xinetd restart

Setup Virtual IP Address

# cd /etc/sysconfig/network-scripts

  1. cp ifcfg-eth0 ifcfg-eth0:1

Edit and up following options, the other options should be ok

  1. vi ifcfg-eth0:1

DEVICE=eth0:1
IPADDR=192.168.0.6

Restart the network services, remember this will restart all network interfaces

  1. service network restart

Allow root access

# cd /etc

  1. vi securetty

Add the following lines at the bottom of the file, this allows 5 sessions but you can add more.

pts/1
pts/2
pts/3
pts/4
pts/5

Setup NTP

# cd /etc/ntp

edit the ntpservers file and add your ntpservers

clock.redhat.com
clock2.redhat.com

Start the ntp service and check ntp

  1. service ntpd start
  2. ntpq -p

remote refid st t when poll reach delay offset jitter
==============================================================================
*mail01.tjgroup. 192.43.244.18 2 u 32 64 37 37.598 -465.66 2.783
ns1.pulsation.f 194.2.0.58 3 u 23 64 37 28.774 -478.17 0.862
+enigma.wiredgoa 204.123.2.5 2 u 30 64 37 161.413 -475.88 1.307
LOCAL(0) LOCAL(0) 10 l 29 64 37 0.000 0.000 0.004

Start the ntp service on reboot

  1. chkconfig ntpd –list

ntpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off

  1. chkconfig –levels 2345 ntpd on
  2. chkconfig ntpd –list

ntpd 0:off 1:off 2:on 3:on 4:on 5:on 6:off