diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 093ebeb..821ec45 100644 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -8,6 +8,7 @@ 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 +sudo ufw allow from 68.183.116.178 to any port 3306 # Allow external ip to access port scp user@remote_host:remote_file local_file # download: remote -> local scp local_file user@remote_host:remote_file # upload: local -> remote @@ -15,3 +16,5 @@ scp local_file user@remote_host:remote_file # upload: local -> remote sudo -s # Log as root cat /proc//maps # Show the current virtual memory usage of a Linux process + +ip r # Display ip of the server