# Dual GeForce RTX 2080 Ti hscc-dual2080ti ## Operating System (OS) ``` Ubuntu 20.04.5 LTS ``` ## Users | Usernames | Users | Notes | | - | - | - | | `hscc` | admin | Logged in 24/7 with AnyDesk | | `hsccml` | all | Licensed with MATLAB | | `bill` | 陳風平 | admin group | | `ernuo` | 連爾諾 | | | `judy` | 謝芝瑜 | | | `hank` | 張翰 | | | `skyline0530` | 陳璽正 | 專題生 | ## Network ### IPv4 | Keys | Values | Configs | | - | - | - | | Address | `140.114.78.141` | | | Netmask | `255.255.255.0` | | | Gateway | `140.114.78.254` | | | DNS | `140.114.63.1` | `Automatic Off` | ### IPv6 ``` Disable ``` ## Update - `sudo apt-get update` - `sudo apt-get upgrade` - `reboot` ## OS Softwares ### Python 3 ``` Python 3.8.10 ``` ## Softwares ### Google Chrome Automatic Update ### AnyDesk ``` Program Version: 6.2.0 | Commit: c27974bd ``` ### Vim ``` VIM - Vi IMproved 8.1 (2018 May 18, compiled Sep 19 2022 04:59:57) ``` ### Neovim ``` NVIM v0.9.4 Build type: RelWithDebInfo LuaJIT 2.1.1692716794 Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/share/nvim" Run :checkhealth for more info ``` - `sudo snap install nvim --classic` ### Curl ``` curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 Release-Date: 2020-01-08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets ``` - `sudo apt install curl` ### [OpenSSH](https://www.ewdna.com/2012/06/ubuntu-ssh-server.html) ``` OpenSSH_8.2p1 Ubuntu-4ubuntu0.5, OpenSSL 1.1.1f 31 Mar 2020 ``` [WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!](https://ithelp.ithome.com.tw/articles/10083004) ### Git ``` git version 2.25.1 ``` ### [MATLAB](https://hackmd.io/gGMCCF-1T167j5hQVPbCdQ) ``` 9.10.0.2015706 (R2021a) Update 7 ``` #### License s110062421@m110.nthu.edu.tw ### htop ``` htop 2.2.0 ``` ### tmux ``` tmux 3.0a ``` ### Anaconda DO NOT INSTALL! It causes nVIDIA driver malfunction. ### Miniconda DO NOT INSTALL PYTHON PACKAGES IN GLOBAL ENVIRONMENT! This software <span style="color:red">Python 3.8</span> version can be installed by non-privileged users. #### PyTorch Use `os.environ["CUDA_VISIBLE_DEVICES"] = "第幾個顯示卡從0開始"`. - `python -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113` - `python -c "import torch; print(torch.cuda.is_available())"` https://pytorch.org/get-started/previous-versions/ #### TensorFlow - `python -m pip install tensorflow==2.9.1` - `source /home/hscc/.bashrc` - `python -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"` #### aitextgen - `python -m pip install aitextgen==0.5.2 pytorch-lightning==1.4.0rc0 torchmetrics==0.6.0` #### gpustat - `gpustat` ### CMake ``` cmake version 3.25.0 ``` - `sudo snap install cmake --classic` ### OpenCV ``` libopencv-dev 4.2.0+dfsg-5 amd64 ``` - `sudo apt-get install libopencv-dev` ### Caffe and OpenPose Prerequisites - `sudo apt-get --assume-yes install libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler` - `sudo apt-get --assume-yes install --no-install-recommends libboost-all-dev` - `sudo apt-get --assume-yes install libgflags-dev libgoogle-glog-dev` - `sudo apt-get --assume-yes install liblmdb-dev` https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation/1_prerequisites.md ### Node.js ``` v16.16.0 ``` #### Admin - Remove `node` ``` sudo apt-get remove nodejs sudo apt-get remove npm sudo apt-get update ``` #### Non-privileged Users - Remove `node` ``` rm -r ~/.npm ``` - Install `nvm` ``` curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash source ~/.bashrc ``` - Install `node` ``` nvm install v16.16.0 ``` ### pdfTeX ``` pdfTeX 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) kpathsea version 6.3.1 Copyright 2019 Han The Thanh (pdfTeX) et al. There is NO warranty. Redistribution of this software is covered by the terms of both the pdfTeX copyright and the Lesser GNU General Public License. For more information about these matters, see the file named COPYING and the pdfTeX source. Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. Compiled with libpng 1.6.37; using libpng 1.6.37 Compiled with zlib 1.2.11; using zlib 1.2.11 Compiled with xpdf version 4.01 ``` - `sudo apt install texlive-latex-extra` - `sudo apt install texlive-fonts-extra` for `LaTeX Error: File 'libertine.sty' not found.` - `sudo apt install latex-cjk-*` for `LaTeX Error: File 'CJKutf8.sty' not found.` ## [Virtual Network Computing (VNC)](https://hackmd.io/iq1pj-XMS5a0TsLrhWELWA) Access at `140.114.78.141:59xx` with password `hscc739` | Usernames | Ports | | - | - | | `hscc` | `99` | | `hsccml` | `98` | | `bill` | `11` | | `ernuo` | `12` | | `judy` | `15` | | `hank` | `23` | | `skyline0530` | `05` | ### Xfce ``` Version 4.14 ``` ### TightVNC ``` Xvnc version TightVNC-1.3.10 ``` ## [CUDA 11.2](https://hackmd.io/_f8z5mBcSi6Tv1mfoAAZRg) ``` nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Sun_Feb_14_21:12:58_PST_2021 Cuda compilation tools, release 11.2, V11.2.152 Build cuda_11.2.r11.2/compiler.29618528_0 ```