View Terminal
git push origin master |
View Terminal
git remote add origin https://github.com/luandevpro/Gitcoban.git |
View Terminal
sudo apt-get install mysql-server mysql-client mysql-common | |
sudo apt-get install mysql-workbench |
View Terminal
sudo apt install nginx |
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 Terminal1
mysql -u root -p |