Cronjob for Magento 1.9
To set cronjob for Magento 1.9, add Magento
CakePHP
After moving CakePHP application from one server to another with different DocumentRoot, site still try to load file from OLD
How to Disable MySQL Strict Mode
To Disable MySQL Strict Mode, edit Add under [mysqld] section Verify MySQL Strict Mode To check if MySQL is running
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
ModSecurity Web Application Firewall
ModSecurity is a Web Application Firewall. Protect sites from SQL injection and Application level hacking. Install ModSecurity on Debian Install
Docker detach container
Docker container stop once the main program it started with stop running. If you start a docker container with console
exiqgrep
exiqgrep allows you to search exim mail queue. To search for a particular recipients, run To search for all emails
FreeBSD ports Sucks
During 2004, i used to use FreeBSD 4 and 5 servers. During this time Cpanel Control panel supported FreeBSD. After
Installing Software with FreeBSD ports
FreeBSD ports allows installing software from source. Update the tree. This will create /usr/ports if missing. Updating Index Before you
FreeBSD
Installing Software in FreeBSD with pkg Installing Software with FreeBSD ports Install MySQL 8 on FreeBSD Install Apache/PHP/MySQL on FreeBSD
Installing Software in FreeBSD with pkg
pkg command is used to install software in FreeBSD. To update package repo, run Example To install postfix mail server,
exim
eximrm exiwhat exiqgrep Flush exim mail queue Cpanel Server Block Incoming SPF Failed Mails PHP script to monitor exim mail