Base setup of Linux Server

  • Create server from available image
  • Set time sync
  • Set daily update
  • Set time sync
  • Install firewall – csf
  • Setup ssl

Root crontab file

5 0 * * * /bin/yum -y update
7 * * * * /sbin/ntpdate 0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org 3.pool.ntp.org

Comand List

cp /usr/share/zoneinfo/America/New_York /etc/localtime

Install Packages for Application Server

yum install mod_ssl

Redirect all traffic to https, update httpd config file

RewriteEngine On 
RewriteCond %{HTTPS}  !=on 
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] 

Leave a Reply

Your email address will not be published. Required fields are marked *