среда, 15 февраля 2017 г.

Ubuntu 16.04 LTS "xenial" + php7 + nginx + mariadb


sudo apt-get install php7.0-fpm
sudo apt-get install nginx
sudo apt-get install php7.0-mbstring
sudo apt-get install php7.0-mysql
sudo apt-get install php7.0-curl
sudo apt-get install php7.0-xml
sudo apt-get install php-imagick
sudo apt-get install sendmail
 sudo apt-get install php7.0-imap

sudo apt-get install mariadb-server mariadb-client

/etc/init.d/php7.0-fpm restart

sudo /etc/init.d/nginx restart

если вываливается ошибк аконекта с базой мариа
error connection

check this file:

/etc/mysql/mariadb.conf.d $ nano mysqld.cnf

verify if exist this line:

plugin-load-add = auth_socket.so

then go to MariaDB

sudo mysql -u root

and make this:

MariaDB [(none)]>use mysql;
MariaDB [(none)]>update user set plugin=' ' where User='root';
MariaDB [(none)]>flush privileges;
MariaDB [(none)]>exit

Отблагодарить можно через форму справа "Donate" ... )

To reward you via the form on the right "Donate" ... )

:)

друзья )

Сохраняйте и делитесь желаниями, и не забывайте о важных датах! парсинг центр