Deploy Docker Image using Elastic Beanstalk
First create a file docker-eb-run.json with following content { “AWSEBDockerrunVersion”: “1”, “Image”: { “Name”: “bitnami/tomcat” }, “Ports”: [ { “ContainerPort”: “8080” }…
First create a file docker-eb-run.json with following content { “AWSEBDockerrunVersion”: “1”, “Image”: { “Name”: “bitnami/tomcat” }, “Ports”: [ { “ContainerPort”: “8080” }…
On a VPS hosting Magento 1.9 disk was getting full. On checking, found var/session folder taking too much disk space. Disk usage…
AWS Elastic Beanstalk is a PaaS (Platform As Service) allow you to quickly deploy applications. To install AWS Elastic Beanstalk command line…
Monit can be used to monitor services, restart them if required. To install monit, run apt -y install monit To start monit,…
To unban an IP from CSF firewall, run csf -dr IP_ADDR Here i have an IP blocked in firewall. [root@server22 ~]# iptables…
After setting up new site in virtualmin, PHP file get downloaded instead of getting executed. To fix the problem, edit file vi…
Download latest version of ionCube loader from cd /usr/local/src wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube/ Check PHP version with php -v…
On a server, can’t write to disk. I checked disk usage with Everything is good. Next i checked Inodes usage with Inodes…
Install postfix with apt-get update && apt-get install postfix libsasl2-modules -y Update postfix config with sed -i “s/default_transport = error/# default_transport =…
Today i moved a high traffic WordPress web using from Apache + PHP 5 to Nginx + PHP 7.2. Here is a…
Here are some tools that can be used to sync files between 2 servers. rsync lsyncd unison
AWS CloudFormation allow you to quickly build infrastructure required for your applications. https://aws.amazon.com/cloudformation/ CloudFormation templates are stored as yaml or json file,…