https://github.com/ericgaspar/server_install
Raspberry Pi LEMP server install script
https://github.com/ericgaspar/server_install
raspberry-pi web-server
Last synced: 6 months ago
JSON representation
Raspberry Pi LEMP server install script
- Host: GitHub
- URL: https://github.com/ericgaspar/server_install
- Owner: ericgaspar
- Created: 2019-05-02T13:25:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-16T14:05:16.000Z (over 4 years ago)
- Last Synced: 2025-02-12T09:30:48.113Z (12 months ago)
- Topics: raspberry-pi, web-server
- Language: Shell
- Homepage:
- Size: 81.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raspberry Pi LEMP server install script
[](https://travis-ci.org/ericgaspar/server_install)
## 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
```