**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/
As a server administrator your main role is to keep your server up and live round the clock so that your website will never go down for any reason. Following commands are frequently used by most webmasters :-
Uptime : Uptime is most widely used command for checking load on your dedicated server. The uptime command will display the current time, uptime from when your server was last booted, number of user sessions and load averages.
The average load is the number of processes which were active from past one minute, five minutes and, fifteen minutes.
root@server [/]# uptime
13:22:16 up 97 days, 14:02, 1 user, load average: 0.00, 0.01, 0.00
The information you get by using “uptime” command is the same as what you get in the first line of output by the “w” command. The widely used command to check load is the “top” command. The “top” command will display the load as well as CPU time with the memory usage. It will give you the list of processes; you can also check the memory usage by hitting the “m” in the middle. If you want to kill a particular PID you can hit “k” and type the PID and hit enter. This will kill that particular PID, hence you can make your server to give you optimal performance.
**** Use coupon whukharry to avail a great discount of 10% on every order you placed at http://www.webhosting.uk.com/
Sometimes you may get apache error in the error logs on your Plesk based dedicated server.
Address already in use: make_sock: could not bind to address [::]:443 no listening sockets available, shutting down
Solution :
Firstly we will have to find the process which is using the port using following command:
root@server# /usr/sbin/lsof -i | grep http
Once you get the PID of the process you will have to kill that process once done just restart apache server.
That’s all you should not get above apache error message.

**** 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….
