Securing Your Server
Article Reference NumberAA-06350 Views1697

It is important to make sure your server security is up to date to protect it from new vulnerabilities that arise from time to time. Please see below for more information on securing your server.

It is recommended that you check periodically for updates on server security.

 

Cpanel:

Please refer to cPanels offical documentation on how to lock down a server with cPanel installed:

https://documentation.cpanel.net/display/CKB/Tips+to+Make+Your+Server+More+Secure#TipstoMakeYourServerMoreSecure-Stayup-to-date

 

Plesk:

Please refer to Odin's offical documentation on how to lock down a server with Plesk installed:

http://kb.odin.com/en/114620

 

Automatic Updates:

It is also wise to enable automatic updates for your VPS's operating system. Please follow these guides:

Ubuntu has their own documentation for their OS:

https://help.ubuntu.com/community/AutomaticSecurityUpdates

 

CentOS:

Enabling automatic updates in Centos 6 and Red Hat 6

(Title) Install yum-cron:

The package that allows us to do automatic updates via yum is yum-cron, to do this just open a terminal as root and run the command:

[root@host ~]# yum -y install yum-cron

 

By default, this software is configured to download all the updates and apply them immediately after downloading, but we can change these behaviors in its configuration file /etc/sysconfig/yum-cron the parameters that we can change are these 2:

 

# Don't install, just check (valid: yes|no)

CHECK_ONLY=no

 

# Don't install, just check and download (valid: yes|no)

# Implies CHECK_ONLY=yes (gotta check first to see what to download)

DOWNLOAD_ONLY=no

 

Enabling the automatic updates

 

Now you just have to enable the automatic updates with the command:

 

[root@host ~]# /etc/init.d/yum-cron start

Enabling nightly yum update: [ OK ]

And enable this daemon at boot time with the command:

 

[root@host ~]# chkconfig yum-cron on

The update of the system will be done during the cron.daily planned tasks of the system.

 

For additional help hardening your server against known threats, please contact our professional services: http://myhosting.com/professional-services/request-quote.aspx

Quick Jump Menu