Skip to content

Instantly share code, notes, and snippets.

@maksadbek
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maksadbek/5cdeb0d810077853b5b1 to your computer and use it in GitHub Desktop.
Save maksadbek/5cdeb0d810077853b5b1 to your computer and use it in GitHub Desktop.
#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