2020-06-21 16:37:36 +00:00
|
|
|
##############################################################################
|
|
|
|
# UBUNTU
|
|
|
|
##############################################################################
|
|
|
|
|
|
|
|
scp /path/to/file user@server:/path/to/destination # Copy file from local to server
|
2020-06-21 16:38:14 +00:00
|
|
|
|
|
|
|
df -h # Check the amount of free space
|
2020-07-01 09:31:00 +00:00
|
|
|
|
|
|
|
sudo ufw status # Check status
|
|
|
|
sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to access port
|