Backup Webite to Amazon S3
Create file Add Make the file executable Set it run everyday with cronjob To backup MySQL database, use https://serverok.in/mysqldump-backup See
logrotate
logrotate is a program to rotates logs. This is run daily using cronjob Logrotate config files are stored in To
npm
To install npm on Ubuntu, run To install a node package, run How to change Next.js port
Install MongoDB on CentOS 7
To find latest MongoDB version, see https://docs.mongodb.com/manual/release-notes/ To install MongoDB 3.6 on CentOS 7, create file Add Refer https://docs.mongodb.com/master/tutorial/install-mongodb-on-red-hat/ Now
How to restore R1Soft Backup
To restore backup, login to R1Soft Server Backup Manager. Go to Protected Machines. This page will list all available servers.
Install GeoIP Apache Module in CentOS
To install GeoIP Apache module on CentOS 7, run Now you need to configure Apache VirtualHost. To block traffic, add
php-fpm
Restart php-fpm in Cpanel Server Enable Error Logging in php-fpm CentOS 7 Apache use PHP-FPM
timezone
To set timezone in Ubuntu, run timedatectl To get list of all available timezones, run Example You can use following
sendy
Sendy cronjob Or if you are installing as user root, run cronjob as web server user. On Ubuntu
fail2ban
Install fail2ban on CentOS Unblock an IP from fail2ban
Install fail2ban on CentOS
To install fail2ban on CentOS, first enable epel repo by running Now install fail2ban with Enable fail2ban with
Installing OpenSSH from Source on Ubuntu 16.04
PCI Compliance report from COMMODO complain about OpenSSH version available in Ubuntu 16.04. SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4 This version have all security