Archive

Posts Tagged ‘server management’

How to open ports on Linux Dedicated Servers.

May 17th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

Usually we have to open certain port if we want to use it for running some required  application through it. You can follow below mentioned steps for opening any required post which you can use : –

If you are using CSF firewall then login to Dedicated Server as root and just locate csf.conf file which you will have to edit for the enabling required port to open.
For CSF Firewall , the config is located at : /etc/csf/csf.conf
If you are using APF firewall then the config is located at : /etc/apf/conf.apf Where you need to specify the required port number which you want to keep open for some particular application.

Once done make sure you restart firewall after editing above config files…
For CSF:  /etc/init.d/csf restart   /  csf –r
and for APF:   /etc/init.d/apf restart  /   apf –r

That’s all you have successfully opened required port of your dedicated server, Using telnet command ( telnet IP port number ) you can verify if that particular port is opened or not….

webhosting_uk_server How to open ports on Linux Dedicated Servers.

Upgrading kernel using rpm

May 14th, 2009 harry No comments

**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/

server_kernel-245x300 Upgrading kernel using rpm

As a server security measure you may need to upgrade kernel version of your linux dedicated server which is an important task.  Using following steps you can easily upgrade kernel version..
Steps : —
login to your Linux Dedicated Server as root user.
You need to check current kernel version using #uname –r
You can download the latest available kernel from kernel.org
http://rpm.pbone.net/index.php3/stat/3/srodzaj/2/search/kernel-2.4.21-47.0.1.EL.src.rpm
rpm -ihv kernel-smp-2.4.21-47.0.1.EL.i686.rpm

Now edit grub.conf and verify if new kernel is available or not. If you need to have this new kernel as default kernel you will have to make sure that it is available before previous one and default option is 0 in /boot/grub/grub.conf

Finally you will have to reboot the dedicated server using  #shutdown -r now
That’s all you have latest version of kernel installed on your server

UK Server Hosting