Sunday, April 24, 2016

mesos installation hint on Ubuntu 14.04 LTS

Today I spent 4 hours to install mesos on my vmware machine. I figured out a small error in the get started guide. I hope this can help someone later on:-)

In the get started guide, it says that you should download and unzip by using following command

$ wget
$ tar -zxf mesos-0.28.0.tar.gz

But later on, in the "Building Mesos" part, it says that you should build mesos by changing to following directory

# Change working directory.
$ cd mesos

# Bootstrap (Only required if building from git repository).
$ ./bootstrap

# Configure and build.
$ mkdir build
$ cd build
$ ../configure
$ make

The point is, if you also "git clone" in the same folder, then you will have both "mesos" and "mesos-0.28.0" under the same directory, it will confuse make which folder shall use, So if you want to clone the code, better to choose another directory than wget one:-)

Then you should just wait dozen of minutes, since mesos still needs to download and install a lot of software packages and extensions (zookeeper, etc.) so you need really some time to wait until it's done.