- Open File /etc/ssh/sshd_config.
- Change the follow line.
Port 22
- Restart SSH.
sudo service ssh restart
How To Add and Delete Users on an Ubuntu Server
Spring 4 Example Setup
Eliminate Type-3 Fonts from Latex Output
Install package cm-super.
Quick Way to Resolve Git Merge Conflicts
Accept our changes:
git checkout --ours PATH/FILE
Accept their changes:
git checkout --theirs PATH/FILE
Reference
https://rtcamp.com/tutorials/git/git-resolve-merge-conflicts/
Enable PHP Mod
- Suppose you want to enable mcrypt.
php5enmod mcrypt
- Restart PHP-FPM
service php5-fpm restart
PHP-FPM Logging Setup
- Open File /etc/php5/fpm/pool.d/www.conf.
- Set properties as follows.
catch_workers_output = yes php_admin_value[error_log] = /var/log/fpm-php.www.log
- Make sure PHP-FPM worker processes have write permission on this log file.
Ubuntu Linux: Add a User To Group
Installing Nginx with PHP on Ubuntu 14.04
Find the Process Owner in Linux
ps aux