The following things were done to your server before you first logged on.
1. using your choice of editors (like vi) /etc/ssh/sshd_config 2. Change #PermitRootLogin yes to PermitRootLogin no Change #ClientAliveInterval 0 to ClientAliveInterval 300 3. Save File 4. Set sshd to run on startup # chkconfig sshd on 5. Start sshd, since at the time of the install it hadn't been started. Normally you would use restart # /sbin/service sshd restart
1. edit the config file for the ethernet interface. # vi /etc/sysconfig/network-scripts/ifcfg-eth0 2. Add/change the following lines (xxx is used instead of the actual IP numbers). Leave the HWADDR entry alone. DEVICE=eth0 BOOTPROTO=none ONBOOT=yes TYPE=Ethernet IPADDR=129.120.xxx.xxx NETMASK=255.255.255.0 NETWORK=129.120.xxx.0 GATEWAY=129.120.xxx.xxx 3. Save File 4. Check the DNS is configured # vi /etc/resolve.conf delete everything and make sure the file contains of the local DNS domnain unt.edu search unt.edu lt.unt.edu nameserver 129.120.xxx.xxx nameserver 129.120.xxx.xxx 5. Save File 6. Edit the hosts file to add the host name and its IP # vi /etc/hosts add a link at the top that lists the IP of the system followed by the a) system name and then the b) full system name Examples: 129.120.XXX.XXX atlas atlas.lt.unt.edu 7. Restart Network # /sbin/service network restart 8. Ensure Network Services start each Boot # chkconfig network on 9. Test network connectivity to make sure we had the system on the network # ping lt.unt.edu If the ping doesn't work or the system gives you a network error, then be sure to check what you typed in above.
1. Python Dev Tolls # yum install python-setuptools-devel 2. Nano edtor (simple text editors that can be used instead of vi # yum install nano 0 3. Logwatch is program that runs dailys and generates a system status report. # yum install logwatch
1. vi /etc/selinux/config edit line SELINUX=DISABLED 2. Save File 3. Restart System
1. vi /etc/sysconfig/iptables enter the following line -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT 2. Save File 3. Restart iptables # /sbin/service iptables restart