Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
Add manual install doc for net-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
TrimBiggs committed Apr 13, 2016
1 parent 0ebd2d6 commit 9173353
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions docs/ManualInstall.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Install Net-modules
These instructions cover how to manually compile net-modules on
top of the official Mesos release for your Mesos agents.

1. Install official Mesos

```
sudo rpm -Uvh http://repos.mesosphere.com/el/7/noarch/RPMS/mesosphere-el-repo-7-1.noarch.rpm
sudo yum -y install mesos-0.28.0
```
2. Install Dependencies
```
sudo yum groupinstall -y "Development Tools"
sudo yum install -y \
git \
python-devel \
libcurl-devel \
python-setuptools \
python-pip \
python-wheel
```
3. Get 3rd party dependency source files. Since Mesos doesn't ship with them, we'll grab them from github.
```
# GLOG
sudo curl -o glog-0.3.3.tar.gz -L https://github.com/apache/mesos/raw/0.28.0/3rdparty/libprocess/3rdparty/glog-0.3.3.tar.gz
sudo curl -o glog-0.3.3.patch -L https://raw.githubusercontent.com/apache/mesos/0.28.0/3rdparty/libprocess/3rdparty/glog-0.3.3.patch
tar -xvf glog-0.3.3.tar.gz
cd glog-0.3.3
git apply ../glog-0.3.3.patch
./configure
cd ..

# BOOST
sudo curl -o boost-1.53.0.tar.gz -L https://github.com/apache/mesos/raw/0.28.0/3rdparty/libprocess/3rdparty/boost-1.53.0.tar.gz
tar -xvf boost-1.53.0.tar.gz

# PROTOBUF
curl -o protobuf-2.5.0.tar.gz -L https://github.com/apache/mesos/raw/0.28.0/3rdparty/libprocess/3rdparty/protobuf-2.5.0.tar.gz
tar -xvf protobuf-2.5.0.tar.gz
```
4. Download netmodules
```
curl -o net-modules.tar.gz -L https://github.com/mesosphere/net-modules/archive/master.tar.gz
tar -xvf net-modules.tar.gz
```
5. Build netmodules
```
cd net-modules-master/isolator
export CPPFLAGS='-I../../protobuf-2.5.0/src/ -I../../glog-0.3.3/src/ -I../../boost-1.53.0/'
./bootstrap
./configure --prefix=/usr --with-mesos=/
make
sudo make install
```

0 comments on commit 9173353

Please sign in to comment.