Skip to content

Initial setup for DCOS

Amit Pandit edited this page Jan 21, 2019 · 7 revisions

Configuring all the three nodes with common configurations.

Step 1 : Update the OS with latest patches

>> sudo -i

Note : Make sure you run all the commands with root user.

>> apt-get udpate

Step 2 : Install docker and make sure it is healthy

>> apt-get -y install docker.io

>> ln -sf /usr/bin/docker.io /usr/local/bin/docker

>> docker info

At this point if you come across below error in the output of above command some where

WARNING: No swap limit support

Then please follow Troubleshooting case to fix it.

Step 3 : Install and enable NTP

>> apt-get install -y ntp

>> ntptime

>> apt-get install adjtimex -y

>> adjtimex -p

>> timedatectl

Step 4 : Installing required packages

>> apt-get install curl -y

>> apt-get install ipset -y

Step 5 : Creating below soft links. Just run the below commands.

>> ln -sf /bin/mkdir /usr/local/bin/mkdir

>> ln -sf /bin/ln /usr/local/bin/ln

>> ln -sf /bin/useradd /usr/local/bin/useradd

>> ln -sf /bin/tar /usr/local/bin/tar

The reason we are creating these soft links are because the dcos installation script have references to use these commands and they have been implemented keeping in mind other OS [ but not ubuntu ]

Clone this wiki locally