---
# System prepended metadata

title: Ubuntu installation process

---

# Ubuntu installation process

## Prerequistes 

Make sure the following packages are installed before the installation process for an optimal Ubuntu experience : 
* Curl
* Git
* Make
* Vim (optional)
* Zsh (optional)

`sudo apt install curl git make vim zsh`

## Install Oh-my-zsh

Try to live in the current century and use a decent shell.

`sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"`

> Note : If you have the following message 
`Zsh is not installed. Please install zsh first.` please install zsh first : `sudo apt install zsh`


## Installation Docker & Docker Compose

1. Install docker with `apt` : 
`sudo apt install docker.io`
1. Start the docker service and enable it on system startup : 
`sudo systemctl start docker`
`sudo systemctl enable docker`
1. Check the version installed and the status in the services system : 
`docker --version`
`sudo systemctl status docker`
1. To use docker as non-root user, please change the usermod of the docker application : 
`sudo usermod -aG docker ${USER}`
`su - ${USER}`
`id -nG`
1. Install `docker-compose` with curl and make it executable :
`sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose`
`sudo chmod +x /usr/local/bin/docker-compose`
`sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose`
1. Don't hesitate to check the version installed
`docker-compose --version`

Your finally ready to use `docker` and `docker-compose` !

## Usefull applications

`sudo snap install postman phpstorm spotify gitkraken atom slack insomnia`

`sudo snap install code datagrip --classic`


## VPN Configuration

1. Install the needed packages.
```
sudo apt-get install network-manager-openvpn network-manager-openvpn-gnome strongswan resolvconf openvpn
```
2. Copy the `<name>.ovpn` file into the openvpn folder.
```
sudo cp Wynd.ovpn /etc/openvpn/wynd.conf
```
3. Add your LDAP username and password into a new `credentials` file (used in the `wynd.conf`).
```
sudo touch /etc/openvpn/credentials
sudo echo "Username" >> /etc/openvpn/credentials
sudo echo "Password" >> /etc/openvpn/credentials
```
4. Test the VPN connection.
```
sudo openvpn --config /etc/openvpn/wynd.conf --verify-client-cert require
```
5. Start and stop the VPN connection properly respectively.

```
systemctl start openvpn@wynd
```
6. (Optional) You can also create some aliases to start and stop the VPN connection easier. Add these few aliases into your `.bash_aliases` file.
```
alias start-vpn="systemctl start openvpn@wynd"
alias stop-vpn="systemctl stop openvpn@wynd"
``` 