[OS X, 맥 OS X] nginx, php-fpm, mariaDB 알리아스(별칭) 주기

2017-01-16 23:28:27

$ curl -L https://gist.github.com/whskyneat/9005545dd6606a50c2c7/raw/c3550ad17bb6e767d8bc8194e0088588c370a379/bash_aliases

~/.bash_aliases

$ vi .bash_aliases 에서 나의 상황에 알맞게 설정

$ echo “source ~/.bash_aliases” » ~/.bash_profile

$ source ~/.bash_profile

nginx.start
nginx.stop
nginx.restart

nginx.logs.access
nginx.logs.default.access
nginx.logs.phpmyadmin.access
nginx.logs.default-ssl.access
nginx.logs.error

php-fpm.start
php-fpm.stop
php-fpm.restart

mariadb.start
mariadb.stop
mariadb.restart

Comments