What is Docker?
Docker is an open-source platform for building, deploying, and managing containerized applications.
image
container
dockerhub : a place of storing images
Category
Preparing
Check nouveau (Important!)
Check nouveau whether it is working or not.
If nouveau is working now, then you need to turn off. Otherwise, after you install the NVIDIA gpu driver, it will encoutner some issues.
lsmod | grep nouveau
If response is nothing, then it is not working.
If it prints something, then you can follow this instruction Turn off Nouveau to turn off it.
Chieh changed 3 years agoView mode Like 1 Bookmark
Download the version from here: https://ftp.gnu.org/gnu/gcc/
In my case, I need to downgrade the gcc version from 9.4 to 9.3 since my running kernel version was compiled by 9.3.
wget https://ftp.gnu.org/gnu/gcc/gcc-9.3.0/gcc-9.3.0.tar.gz
Then please uncompress it.
tar -xvf gcc-9.3.0.tar.gz
cd gcc-9.3.0
Installation
sudo apt-get update && sudo apt-get install supervisor
After install the supervisor, it will generate the relevant documents in /etc/supervisor/.
Set up the documents
We can set the login the web page by user and password in the supervisord.conf file.
[inet_http_server]
port=*:9000
DVC is meaning of Data Version Control.
GitHub
Introduction
We usually used Git to control code versions, but we knew that it was not good for controling large files or non-code documents.
Also, suppose if we add one large file by git and push to registry such as Github, there are some potential issues inside actually. As we know, usually deep learning or mahcine learning developers / researhers request to do a lot of trainings based on many verious experiments, so we need to find a proper way to maintain and manage those models.
First of all, it will highly increase .git folder size ; for example, if your whole files size are 1GB, it will have another 1GB in the .git folder. Hence, it will account for 2GB.
Put your jobs in the background
Pure Ampersand
The simple way is to use & (aka ampersand) this sign. It can directly put your task in the background. However, the jobs will be interrupted after you turn off the terminal.
Nohup
Command
nohup python (script) > log 2>&1 &