Category Archives: Linux

Hosting: moving to Google Cloud Platform

This entry will cover on the process of moving out an entire site from old hosting to Google Cloud Platform (GPC). It is assumed that:- You have SSH access to old hosting account You already create your VM with GPC You already install web server/apache & mysql/phpmyadmin on that VM Step 1 The initial phase […]

Install self hosted speedtest script on Centos 7.4

This guides on installing self hosted speedtest script is based on the guides by Freedif which describe how to do it on Ubuntu. I have followed the steps with some alteration to suit Centos 7.4 on my VM. It is assumed that LAMP is already in place. 1. Install basic requirements yum install libapache2-mod-php php-mcrypt […]

Ubuntu file upload

I thought changing 1 line from php.ini is enough, but there are 2 lines need to be altered: upload_max_filesize = 256M post_max_size = 257M (post max size need to be 1m bigger) nano /etc/php5/apache2/php.ini