· 6 years ago · Feb 27, 2020, 08:22 PM
1Install vscode with ubuntu softwares -> inside vscode, go to view, extensions and install C/C++ extension.
2
3sudo visudo -> add username ALL=(ALL) NOPASSWD:ALL at the eof without the quotes.
4sudo apt-get update
5sudo apt-get upgrade
6sudo apt-get autoremove
7sudo apt-get install terminator
8sudo apt-get install xclip
9sudo apt install git
10sudo apt-get remove docker docker-engine docker.io containerd runc
11sudo apt install docker.io
12sudo systemctl start docker
13sudo systemctl enable docker
14sudo apt-get install jq
15sudo apt install curl
16sudo apt install build-essential
17sudo apt-get install sshpass
18sudo apt-get install expect
19
20ssh-keygen -t rsa -b 4096 -C "email@noviflow.com" -> https://docs.gitlab.com/ce/ssh/README.html (use default setting when prompted with questions)
21
22cat ~/.ssh/id_rsa.pub | xclip -selection clipboard -> paste the output in gitlab under settings/SSH key
23
24mkdir ~/git; cd ~/git
25git config --global user.name "NAME"
26git config --global user.email "EMAIL"
27git clone git@gitlab-dev.noviflow.lan:NoviSwitch/NoviSwitch-Host.git
28touch ~/git/NoviSwitch-Host/.gitlab-token
29Create a new Access Token in (gitlab, account settings, Access Tokens) with the scopes api and paste the result (Your New Personal Access Token) in ~/git/NoviSwitch-Host/.gitlab-token.
30sudo chown -R $USERNAME /opt/
31cd /opt/; git clone git@gitlab-dev.noviflow.lan:nicolas.blaismiko/novi_debug_tools.git
32ln -s /opt/novi_debug_tools/alias.sh ~/.bash_aliases
33sudo usermod -aG docker $USER
34newgrp docker