Server Security
Table of Contents
Update CentOs
root@host:~ yum update
Firewall Installation
ConfigServer Firewall
Download Compressed file in folder
root@host:~ wget <a href="http://www.configserver.com/free/csf.tgz" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://www.configserver.com/free/csf.tgz↗</a>
Unzip folder and Install
root@host:~ tar -xzf csf.tgz ; root@host:~ cd csf ; root@host/csf:~ sh install.sh;
Test whether you have the required iptables modules
root@host:~ perl /usr/local/csf/bin/csftest.pl
Disable testing mode
root@host:~ vi /etc/csf/csf.conf ; Change testing mode 0 to 1
Enable cPanel security
cphulk / fork bomb protection
Download Rkhunter
root@host:~ cd /tmp ; root@host:~ wget <a href="http://rackbank.com/mirror/rkhunter-1.4.0.tar.gz" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">http://rackbank.com/mirror/rkhunter-1.4.0.tar.gz↗</a> ; root@host:~ tar -zxvf rkhunter-1.4.0.tar.gz ;
Install Rkhunter
root@host:~ cd /temp/rkhunter-1.4.0 root@host:~ ./installer.sh –install
Setting Cronjob and Email Alerts
root@host:~ vi /etc/cron.daily/rkhunter.sh ; #!/bin/sh ( /usr/local/bin/rkhunter --versioncheck /usr/local/bin/rkhunter --update /usr/local/bin/rkhunter -c --cronjob --report-warnings-only ) | /bin/mail -s 'rkhunter Daily Run (Servername)' <a href="mailto:mailid@mail.com" target="_blank" rel="nofollow noopener noreferrer ugc" class="underline">mailid@mail.com↗</a>,
Permission on the file.
root@host:~ chmod 755 /etc/cron.daily/rkhunter.sh
Download or Print this Server Security
Get a printable version of this checklist in your preferred format: PDF, Word, Excel, or print directly from your browser.
Presented by:
Rackbank
Stats
Views
19
Views: 19
Uses
11
Uses: 11
Tasks
11
Tasks: 11
Details
Tips
Secure server from attacks.
Who it's for
This Server Security is for teams that want consistent execution, less rework, and clear ownership.
- Standardize quality - run the same Server Security steps every time, regardless of who executes
- Save time - reuse a proven Server Security workflow instead of rebuilding processes from scratch
- Improve accountability - assign owners and see what's done vs. what's pending
- Onboard faster - use the Server Security checklist as the SOP and training guide
- Coordinate across roles - handoffs are clear and everyone works from the same source of truth
How to use it
How to use this Server Security:
- Start by saving it - save as a Template if you'll reuse it, or as a Checklist if it's a one-off project.
- Customize it once for your workflow - remove what doesn't apply and add your team-specific steps.
- Assign ownership and execute - set owners/due dates where needed and track completion as work happens.
- Reuse without rebuilding - when Server Security comes up again, start from your saved version and run it with clear ownership.