Skip to content

Kutaneko

Nekochan's lovely cat

  • Home
  • CV
  • Opes: Portfolio

Recent Posts

  • Change SSH Port
  • How To Add and Delete Users on an Ubuntu Server
  • Spring 4 Example Setup
  • Eliminate Type-3 Fonts from Latex Output
  • Quick Way to Resolve Git Merge Conflicts

Categories

  • latex
  • linux
  • PHP
  • Server
  • Spring
  • Version Control

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Recent Comments

    Archives

    • February 2015
    • January 2015
    • December 2014
    • August 2014
    • July 2014
    • June 2014

    Change SSH Port

    1. Open File /etc/ssh/sshd_config.
    2. Change the follow line.
      Port 22
    3. Restart SSH.
      sudo service ssh restart

    Reference

    https://help.ubuntu.com/community/SSH/OpenSSH/Configuring

    February 9, 2015February 9, 2015 Watcharin Leungwattanakit
    portssh

    How To Add and Delete Users on an Ubuntu Server

    Reference

    https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-an-ubuntu-14-04-vps

    February 9, 2015 Watcharin Leungwattanakit
    ubuntuuser

    Spring 4 Example Setup

    http://crunchify.com/simplest-spring-mvc-hello-world-example-tutorial-spring-model-view-controller-tips/

    January 7, 2015 Watcharin Leungwattanakit
    examplehello world

    Eliminate Type-3 Fonts from Latex Output

    Install package cm-super.

    Comment
    December 23, 2014 Watcharin Leungwattanakit
    font

    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/

    Comment
    August 20, 2014August 20, 2014 Watcharin Leungwattanakit
    accept oursaccept theirsconflictgitresolve

    Enable PHP Mod

    1. Suppose you want to enable mcrypt.

      php5enmod mcrypt
    2. Restart PHP-FPM
      service php5-fpm restart
    Comment
    August 17, 2014August 17, 2014 Watcharin Leungwattanakit
    modnginxphp

    PHP-FPM Logging Setup

    1. Open File /etc/php5/fpm/pool.d/www.conf.
    2. Set properties as follows.
      catch_workers_output = yes
      php_admin_value[error_log] = /var/log/fpm-php.www.log
    3. Make sure PHP-FPM worker processes have write permission on this log file.
    Comment
    August 12, 2014August 12, 2014 Watcharin Leungwattanakit
    loggingnginxphp-fpm

    Ubuntu Linux: Add a User To Group

    Reference

    http://www.cyberciti.biz/faq/ubuntu-add-user-to-group/

    Comment
    August 12, 2014 Watcharin Leungwattanakit
    groupubuntuuser

    Installing Nginx with PHP on Ubuntu 14.04

    Reference

    http://www.howtoforge.com/installing-nginx-with-php5-fpm-and-mysql-on-ubuntu-14.04-lts-lemp

    Comment
    August 12, 2014 Watcharin Leungwattanakit
    installationnginxphpubuntu

    Find the Process Owner in Linux

    ps aux
    Comment
    August 12, 2014 Watcharin Leungwattanakit
    ownerprocess

    Posts navigation

    ← Older posts
    Proudly powered by WordPress | Theme: Isola by Automattic.