mirror of
https://github.com/namibia/awesome-cheatsheets.git
synced 2024-12-22 01:58:54 +00:00
docs(ubuntu): add commands
This commit is contained in:
parent
328b62fcb8
commit
d2e6e17e9e
@ -5,4 +5,5 @@
|
||||
|
||||
sudo nginx -t # Check syntax
|
||||
sudo systemctl reload nginx # Reload nginx
|
||||
sudo service nginx restart # Restart nginx
|
||||
sudo ln -s /etc/nginx/sites-available/example.com /etc/nginx/sites-enabled/ # Link website
|
||||
|
@ -5,3 +5,6 @@
|
||||
scp /path/to/file user@server:/path/to/destination # Copy file from local to server
|
||||
|
||||
df -h # Check the amount of free space
|
||||
|
||||
sudo ufw status # Check status
|
||||
sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to access port
|
||||
|
Loading…
Reference in New Issue
Block a user