Skip to content

Instantly share code, notes, and snippets.

Trần Văn Luận luandevpro

  • Viet Nam
Block or report user

Report or block luandevpro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Terminal
git push origin master
View Terminal
git remote add origin https://github.com/luandevpro/Gitcoban.git
View Terminal
sudo apt install nginx
View Terminal
sudo apt-get install mysql-server mysql-client mysql-common
sudo apt-get install mysql-workbench
View Terminal
sudo systemctl stop nginx.service
sudo systemctl start nginx.service
sudo systemctl disable nginx.service
sudo systemctl enable nginx.service
View Terminal
Enter current password for root (enter for none): Just press the Enter
Set root password? [Y/n]: Y
New password: Create password
Re-enter new password: Repeat password
Remove anonymous users? [Y/n]: Y
Disallow root login remotely? [Y/n]: Y
Remove test database and access to it? [Y/n]: Y
Reload privilege tables now? [Y/n]: Y
View Terminal
sudo apt install php-fpm
View Terminal
sudo nano /etc/nginx/sites-available/default
View Terminal1
server {
listen 80 default_server;
listen [::]:80 default_server;
............
............
#
index index.php index.html index.htm;
# pass PHP scripts to FastCGI server
#
View Terminal
GRANT ALL ON wordpress.* TO 'wordpressuser'@'localhost' IDENTIFIED BY 'Tran12345';
You can’t perform that action at this time.