Proxmox installation on debian jessie

1. Add proxmox ve repository

echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list

2. Add proxmox key

wget -O- "http://download.proxmox.com/debian/key.asc" | apt-key add -

3. Update system

apt update && apt dist-upgrade

4. Install proxmox-ve

apt-get install proxmox-ve ssh postfix ksm-control-daemon open-iscsi systemd-sysv

5. Connect to the proxmox admin web interface

https://youripaddress:8006

 

Install docker compose on ubuntu 16.04 / centos 7

  1. Download docker compose
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

The latest version of docker compose can be found at https://github.com/docker/compose/releases

2. Set execute permission to the docker-compose

sudo chmod +x /usr/local/bin/docker-compose

3.   Test installation

$ docker-compose --version
docker-compose version 1.18.0, build 8dd22a9

 

4. Create docker-compose.yml file and add entries

eg:-

nginx:
 image: nginx
 ports:
 - "80:80"

5. To run the whole system

docker-compose up -d

 

 

 

Docker installation on ubuntu

  • Update the packages in the server

$ sudo apt-get update

  • Add docker GPG key

$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –

  • Setup stable docker repository

$ sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable”

  • Install docker-ce

$ sudo apt-get install docker-ce

  • Install a particular version of docker-ce

$ sudo apt-get install docker-ce=<VERSION>

  • Get system wide information about docker

$ sudo docker info