Install nginx, php 7, mariaDB on Ubuntu server 16.10 with VirtualBox

Install nginx, php 7, mariaDB on Ubuntu server 16.10 with VirtualBox

SillySource

54 года назад

534 Просмотров

Text Tutorial :
install nginx
////////////////////////
apt-get install nginx
cd /etc/nginx/sites-available/
cp default default.backup
vi /etc/nginx/sites-available/default
nginx -t
systemctl restart nginx.service

install php
////////////////////////
apt install php7.0 php7.0-fpm
systemctl start php7.0-fpm
systemctl status php7.0-fpm
sites enabled
/etc/php/7.0/fpm/php.ini
////////////////////
cgi.fix_pathinfo=0
////
systemctl restart php7.0-fpm

to wordpress and another cms
//////
apt install php7.0-mcrypt php7.0-mbstring

maraDB
///////
apt install mariadb-server mariadb-client php7.0-mysql
systemctl restart php7.0-fpm.service
mysql_secure_installation
sudo mysql
use mysql;
update user set plugin='' where User='root';
flush privileges;
exit;

Тэги:

#nginx #php_7 #mariaDB #ubuntu_server_16.10 #VirtualBox
Ссылки и html тэги не поддерживаются


Комментарии: