Monthly Archives: January 2012

Great backup utility

http://www.crashplan.com/consumer/crashplan.html

Allow only specific IP to SSH to Linux server

To allow only specific IP to ssh to your linux server add the entry below into your firewall config file. Usually, the firewall config file is found in /etc/sysconfig/iptables:

-A INPUT -s x.x.x.x/x -p tcp -m state –state NEW -m tcp –dport 22 -j ACCEPT

x.x.x.x = your originating ssh communcation and/or the ONLY server you want to allow to SSH to your linux system
NOTE: the /x after x.x.x.x is the subnet number. so if your subnet is 255.255.254.0; then entry above should read x.x.x.x/23

To install a GU…

If you have not already done so, install the X Window System and a graphical desktop environment. For example, to install the KDE desktop environment, use this command:

yum groupinstall “X Window System” Desktop

To install the KDE desktop environment, use:

yum groupinstall “X Window System” “KDE Desktop”

This step may take some time as your Red Hat Enterprise Linux system downloads and installs additional software. You may be asked to provide the installation media depending on your original installation source.
Run the following command to edit the /etc/inittab file:
vi /etc/inittab
Press the I key to enter insert mode.
Find the line that includes the text initdefault. Change the numeral 3 to 5.
Type :wq and press the Enter key to save the file and exit the vi text editor.
Reboot the system using the reboot command. Your system will restart and present a graphical login.

Follow

Get every new post delivered to your Inbox.