This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost' IDENTIFIED BY 'Tran12345'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FLUSH PRIVILEGES; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nano /etc/nginx/sites-available/default |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo nginx -t |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nginx: [emerg] unexpected end of file, expecting "}" in /etc/nginx/sites-enabled/default:98 | |
| nginx: configuration file /etc/nginx/nginx.conf test failed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |
| nginx: configuration file /etc/nginx/nginx.conf test is successful |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get update | |
| sudo apt-get install php-curl php-gd php-mbstring php-mcrypt php-xml php-xmlrpc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cd /tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo adduser sammy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Adding user `sammy' ... | |
| Adding new group `sammy' (1001) ... | |
| Adding new user `sammy' (1001) with group `sammy' ... | |
| The home directory `/home/sammy' already exists. Not copying from `/etc/skel'. | |
| Enter new UNIX password: Tran12345 | |
| Retype new UNIX password: Tran12345 | |
| passwd: password updated successfully | |
| Changing the user information for sammy | |
| Enter the new value, or press ENTER for the default | |
| Full Name []: wordpress |