This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lemp-install [2020/10/22 11:01] – gwsadmin | lemp-install [2023/05/17 22:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 40: | Line 40: | ||
<code bash> | <code bash> | ||
- | sudo apt install | + | sudo apt install |
- | sudo systemctl start MariaDB | + | sudo systemctl start mariadb |
- | sudo systemctl enable | + | sudo systemctl enable |
Line 253: | Line 253: | ||
</ | </ | ||
+ | |||
* Respond to prompts from '' | * Respond to prompts from '' | ||
Line 264: | Line 265: | ||
sudo mariadb -u root | sudo mariadb -u root | ||
- | create user phpadmin@localhost identified by ' | + | create user 'phpadmin'@'localhost' |
- | grant all privileges on *.* to admin@localhost with grant option; | + | grant all privileges on *.* to ' |
flush privileges; | flush privileges; | ||
exit; | exit; | ||
+ | |||
</ | </ |