WordPress Updating with FTP

To update wordpress from admin area, you need to be running web server as the user owning files. This is not possible when you run PHP as apache module. To fix this, you need to edit your wp-config.php and add following to end of the file.

You can read about about this at https://codex.wordpress.org/Editing_wp-config.php#WordPress_Upgrade_Constants […]

Read More…

Game Server Control Panel

Here are some control panel for game hosting pterodactyl Open Source, Free. Using Laravel PHP framework, Docker. Limited game support. https://pterodactyl.io TCADMIN This is popular game hosting control panel. It is $15 per month http://www.tcadmin.com GameCP Cost $4 per month. Look like outdated software. I installed this, did not work. There is no support. Tickets […]

Read More…


Rsync backup with X days retention rsync Backup with tar Backup Webite to Amazon S3 Backup Software – Open Source borgbackup.org Bareos Bacula Backup Software Veeam R1Soft jetbackup MySQL Backup automysqlbackup Plesk MySQL Daily Backup Script MySQL Backup using mysqldump […]

Read More…


SSL Life Time Reduced to 397 days https://serverok.in/redirect Letsencrypt Amazon Linux Invalid command SSLEngine Purchase SSL Convert SSL certificate into PFX format Remove SSL private key password SSL Install Apache SSL Nginx SSL self signed ssl SSL Test View SSL details ssl checker Verify SSL Key matches with Private Key https://whatsmychaincert.com SSL Settings Disable TLSv1 […]

Read More…


HTTP 301 Redirect using PHP Redirect a site to HTTPS using PHP Redirect HTTP to HTTPS when using Reverse Proxy Redirect site from www to non-www Redirect site to HTTPS excluding a folder Redirect a folder to another Fix Canonical URL using .htaccess Redirect a site to HTTPS using .htaccess file

Redirect a web […]

Read More…

Plesk MySQL Daily Backup Script

Create file

With following content

Make it executable

Set it to run as cronjob


Read More…


crontab Start a program after reboot using cronjob Running wp-cron with cronjob Cronjob for Magento 1.9 set vi as default cronjob editor To save result of a cronjob to a file, use

To list all cronjob, run

To edit all cronjobs, run

Disable cronjob output To disable cronjob output, add following to […]

Read More…


On Linux server if language is different, you can change it to English for current session by running


See current language

List Available Languages

Change langauage

locale-gen […]

Read More…


Here is an example of cut command, that will remove all PHP packages from system

Get user names

Display users with SSH enabled

List all IPs that have accessed admin area from Apache Log

See Linux Commands […]

Read More…