GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Commit f135f4b6 authored by Ruben ten Hove's avatar Ruben ten Hove 🚵
Browse files

add linux desktop setup

parent dd9514c9
......@@ -17,7 +17,6 @@ This is a personal list of tools and manuals which I probably don't use daily, b
- [365 mail forwarding](https://support.4it.com.au/article/how-to-forward-office-365-email-address-to-external-address-without-a-mailbox/) - Allows forwarding of domain mails without a (paid) mailbox in Office 365
- [appimagelauncher](https://github.com/TheAssassin/AppImageLauncher) - Properly integrates AppImage applications into the OS.
## Tricks
### SSH Reverse Tunnel
......@@ -108,26 +107,42 @@ to open a fancy gdb session on the spot.
> Don't forget to `source .<shell>rc` or open a new shell.
### Setup remote server
### Setup Linux system
The following is my list of commands on a new (Ubuntu) server or desktop to set it up as I like it. Obviously entirely personal.
The following is my list of commands on a new (Ubuntu) server to set it up as I like it. Obviously entirely personal.
#### General
```shell
sudo apt update
sudo apt full-upgrade -y
sudo apt install -y curl build-essential
sudo apt install byobu zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
# Something to add `zsh-syntax-highlighting` to the `plugins` array in `.zshrc`
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
bash ~/miniconda.sh -b -p $HOME/.miniconda && rm ~/miniconda.sh
eval "$($HOME/.miniconda/bin/conda shell.zsh hook)" && conda init zsh
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt install docker-ce docker-ce-cli containerd.io -y
sudo apt install -y docker-ce docker-ce-cli containerd.io byobu zsh
sudo usermod -aG docker $USER
```
#### Server specific
```shell
byobu-enable
```
#### Desktop specific
```shell
sudo add-apt-repository -y ppa:appimagelauncher-team/stable
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
sudo apt install -y appimagelauncher signal-desktop
sudo snap install --classic code
sudo snap install thunderbird
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment