Clean Magento session folder
On a VPS hosting Magento 1.9 disk was getting full. On checking, found var/session folder taking too much disk space.
Getting Started with Amazon Elastic Beanstalk
AWS Elastic Beanstalk is a PaaS (Platform As Service) allow you to quickly deploy applications. To install AWS Elastic Beanstalk
Install Monit on Ubuntu
Monit can be used to monitor services, restart them if required. To install monit, run To start monit, run Monitor
Unban an IP from CSF Firewall
To unban an IP from CSF firewall, run Here i have an IP blocked in firewall. To see if CSF
Virtualmin Downloading PHP file
After setting up new site in virtualmin, PHP file get downloaded instead of getting executed. To fix the problem, edit
Install ionCube on Debian 9
Download latest version of ionCube loader from Check PHP version with On Debian 9, default will be PHP 7.0, so
Unable to Write to Disk – Inodes Full
On a server, can’t write to disk. I checked disk usage with Everything is good. Next i checked Inodes usage
Configure Postfix to use Amazon SES
Install postfix with Update postfix config with Edit Add to end of the file In the above, replace SMTP_SERVER_NAME with
Moving from Apache PHP 5 to Nginx PHP 7
Today i moved a high traffic WordPress web using from Apache + PHP 5 to Nginx + PHP 7.2. Here
Sync Files between 2 servers
Here are some tools that can be used to sync files between 2 servers. rsync lsyncd unison
AWS CloudFormation
AWS CloudFormation allow you to quickly build infrastructure required for your applications. https://aws.amazon.com/cloudformation/ CloudFormation templates are stored as yaml or
Amazon AWS create key pair using awscli
To create key pair in Amazon AWS using command line, run This will display your SSK private key or PEM