Skip to content

ericgaspar/server_install

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi LEMP server install script

Build Status

Installation

wget https://raw.githubusercontent.com/ericgaspar/server_install/master/install.sh

chmod +x install.sh

sudo bash install.sh ou sudo ./install.sh

Mysql

To connect to mysql

sudo mysql -u root -p

mysql> USE mysql;
mysql> SELECT User, Host, plugin FROM mysql.user;

+------------------+-----------------------+
| User             | plugin                |
+------------------+-----------------------+
| root             | UNIX_socket           |
| mysql.sys        | mysql_native_password |
| debian-sys-maint | mysql_native_password |
+------------------+-----------------------+


mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;

$ service mysql restart

About

Raspberry Pi LEMP server install script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages