soho

SoHo

in

Installation of VIM X11 and archivers on RHEL 4 x86_64

Install archivers rhel4-x64-archivers.tar.bz2

Download and install vim-X11-6.3.046-0.40E.7.{i386,x86_64}.rpm.

Install .gvimrc in the home folder.

Java installation on RHEL 4

Install JRE from the java download page or download from mirror: jre-6u5-linux-{amd64|i586}.rpm.

Configure alternatives so than Sun's Java is active:

/usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 3
/usr/sbin/alternatives --config java

SoHo - Alias of loopback interface

We will need a non-127.0.0.1 alias address on the loopback interface for port forwarding. Here is shell script for this task /etc/rc.d/init.d/lo1network

  1. #! /bin/bash
  2. #
  3. # lo1network       Bring up interface lo:1
  4. #
  5. # chkconfig: 2345 11 89
  6. # description: Activates special loopback interface for nat
  7. #
  8. ### BEGIN INIT INFO
  9. # Provides: $lo1network
  10. ### END INIT INFO
  11.  
  12. . /etc/init.d/functions
  13.  
  14. LO1IFACE="lo:1"
  15. LO1ADDRESS="172.16.111.1"
  16. LO1NETMASK="255.255.255.0"
  17.  
  18. test -r /etc/sysconfig/lo1network && . /etc/sysconfig/lo1network
  19.  
  20. /sbin/ifconfig $LO1IFACE $LO1ADDRESS netmask $LO1NETMASK
  21.  
  22. exit 0

Make it run on system bootRead more

SoHO - NTP

in

Define servers for synchronization in /etc/ntp.conf:Read more

SoHo - SSH

Configure SSH daemon parameters in /etc/ssh/sshd_config.Read more

Syndicate content