SFTP to AWS via FileZilla

Edit (Preferences) > Settings > Connection > SFTP, Click “Add key file” Browse to the location of your .pem file and select it. A message box will appear asking your permission to convert the file into ppk format. Click Yes, then give the file a name and store it somewhere. (may not necessary) If the […]


Install Composer Go to composer official website (https://getcomposer.org/doc/00-intro.md) Download installer and rename it to ‘composer-setup.php’ Execute this command line: php composer-setup.php –install-dir=/usr/local/bin Rename ‘composer.phar’ to ‘composer’ under /usr/local/bin Execute this command line to test whether it works or not: composer –help Install PHPWord Go to PHPWord github website (https://github.com/PHPOffice/PHPWord) to download Unzip PHPWord code to […]

Install GSL

tar -xzvf gsl-2.1.tar.gz cd gsl-2.1 ./configure make sudo make install If error occurs: error while loading shared libraries: libgsl.so.19: cannot open shared object file: No such file or directory export LD_LIBRARY_PATH=/usr/local/lib For some Linux version (like CentOS), above solution may not work and still report same error. So what we need to do is ‘How […]


Operate apache /etc/init.d/apache2 restart sudo /etc/init.d/apache2 restart sudo service apache2 restart Check Ubuntu version: lsb_release -a Creating a new user: sudo adduser UserName Disallow user from login: sudo usermod –expiredate 1 UserName To reenable that account, set expiration date of user to Never: sudo usermod –expiredate “” UserName       Creating a group: sudo […]