From 47ff229fcd585adc6f2fbea8b1323bbb60a10337 Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Sun, 28 Aug 2022 21:08:12 +0200 Subject: [PATCH] docs: update ubuntu --- tools/ubuntu.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ubuntu.sh b/tools/ubuntu.sh index 06ecab1..e5d441f 100644 --- a/tools/ubuntu.sh +++ b/tools/ubuntu.sh @@ -12,6 +12,8 @@ sudo ufw allow from remote_IP_address to any port 3306 # Allow external ip to ac scp user@remote_host:remote_file local_file # download: remote -> local scp local_file user@remote_host:remote_file # upload: local -> remote +service elasticsearch restart # Restart elasticsearch service + sudo -s # Log as root cat /proc//maps # Show the current virtual memory usage of a Linux process