Posts by ServerOk

Cpanel Server Behind NAT – Amazon EC2

Cpanel Server Behind NAT – Amazon EC2

When your cpanel server is behind nat, for example Amazon EC2 where you have an internal IP and External IP.

monit

monit

See gonit golang replacement for monit monit is a process monitoring service that monitor services, restart if required. https://mmonit.com/monit/ Install

rtorrent

rtorrent

rtorrent is a command line torrent client. https://github.com/rakshasa/rtorrent This can be run from SSH connection/terminal. CTRL + S Start torrent.

Amazon Elastic IP The maximum number of addresses has been reached.

Amazon Elastic IP The maximum number of addresses has been reached.

When assigning Elastic IP in Amazon AWS, I get an error The maximum number of addresses has been reached. This

WordPress bitnami

WordPress bitnami

Install LetsEncrypt SSL on Bitnami To stop/start service use ctlscript.sh To stop MySQL, run To disable Banner on WordPress site,

Mail

Mail

Mail Server These software once installed will provide complete mail server including web mail. iRedMail Mail-in-a-Box https://mailcow.email https://kopano.com https://modoboa.org –

Amazon EFS

Amazon EFS

Amazon EFS can be used to mount same drive on multiple EC2 instances allowing you to make web site scale

WordPress Cron

WordPress Cron

To disable wordpress cronjob, add to end of wp-config.php Now you can set a cronjob with following code

Nginx Configuration for phpMyAdmin

Nginx Configuration for phpMyAdmin

On Debian 9 server with nginx, i installed phpmyadmin with For some reason, ip-address/phpmyadmin did not work. On Ubuntu, it

vnstat

vnstat

vnstat command shows bandwidth usage on your system. Bandwidth usage by day

ip

ip

Configure OVH Bridge Network from command line Configure Failover IP in Ubuntu 20.04 OVH VPS Configure Failover IP in Ubuntu

Enable Static External IP in Google Cloud

By default when you create a Compute Engine virtual machine in Google Cloud, you get public IP address. This IP