From ed442f448cc383a16a46711f81cc2bbb705c0a39 Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Mon, 3 Aug 2020 09:02:53 +0200 Subject: [PATCH] Added linux commands. --- .../doc/prestudy/desp_howtools_erko.txt | 41 +++++++++++++++++-- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt index 329e138fa9..a05dd8bac3 100755 --- a/applications/lofar2/doc/prestudy/desp_howtools_erko.txt +++ b/applications/lofar2/doc/prestudy/desp_howtools_erko.txt @@ -7,9 +7,12 @@ * Latex * Markdown * Vi +* Remote access * Screen to run a terminal session without ssh connection * Quartus Qsys IP files in GIT * Quartus version +* Linux + ******************************************************************************* @@ -374,22 +377,31 @@ Table: | row text | row text | row text| | row text | row text | row text| -vi +******************************************************************************* +* vi +******************************************************************************* + "Replaced Windows LFCR by Linux LF to avoid ^R at end of line in vi. Removed trailing spaces." - in gvim replace \r --> nothing - in uex save new file as Linux, save as, menu edit/preferences/line end + ******************************************************************************* * Remote access ******************************************************************************* * RDP: Instead of Remote Desktop (RDP) use Remmina. It may be necessary to use: - ssh -t -L 5900:localhost:5900 -C dop466 'x11vnc -localhost -display :0' + + > ssh -t -L 5900:localhost:5900 -C dop466 'x11vnc -localhost -display :0' - en daarna remmina + en daarna: + + > remmina & + + Note: Windows NTSERVER65 has IP: 10.87.3.165 -* For ssh access from home without manual hop via the portal, put this in $HOME/.ssh/config: +* For ssh access from home without manual hop via the kooistra@portal.astron.nl, put this in $HOME/.ssh/config: Host * #User kooistra @@ -597,3 +609,24 @@ Quartus version meeting minutes 13 may 2020 (RW, LH JH, EK): 3) UniBoard2c IP was created using Q19.4 by Jonathan, but we need to reconsider going to the latest Quartus version and recreate the IP, when we continue with the pinning and test designs for UniBoard2c +******************************************************************************* +* Linux +******************************************************************************* + +dop466 = SSD +dop466_0 = HDD + +> grep -rl 'search text in files' . # -r for recursive, -l for only list filename + +> sudo -s # to become root +> sudo pip install numpy # to run Python2 library installer as root +> sudo pip3 install numpy # to run Python3 library installer as root + +> sudo apt-get install pip # to install Python2 library installer + +> ifconfig + +apt-get upgrade +apt-get dist-upgrade +apt remove + -- GitLab