Last active
August 29, 2015 14:05
-
-
Save maksadbek/5cdeb0d810077853b5b1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#NGINX, PHP, MYSQL NI RESTART QILISH | |
#nginx loglari: /var/log/nginx/online.maxtrack.error | |
sudo vim /var/log/nginx/online.maxtrack.error | |
#nginx access loglari : /var/log/nginx/online.maxtrack.access | |
sudo vim /var/log/nginx/online.maxtrack.access | |
#php loglari: /var/log/php-fpm.log | |
sudo vim /var/log/php-fpm.log | |
#php restart qilish: | |
sudo service php-fpm restart | |
#nginx ni restart qilish | |
sudo service nginx restart | |
################################# | |
#birinchi orinda NGINX ornatamiz: | |
#super rejimga otamiz | |
sudo -i | |
#apt-get install nginx | |
#nginx ornatildi | |
#php5ni ornatamiz | |
apt-get install php5 php5-fpm php5-mysql php5-curl | |
#php5 ornatildi | |
#mysql ornatamiz | |
apt-get install mysql-client mysql-server | |
#mysql ornatildi | |
#curl ornatamiz | |
apt-get install curl | |
#curl ornatildi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment