Skip to content

Instantly share code, notes, and snippets.

@scalp42
Forked from mingderwang/gist:971c9d303c65cd876381
Created November 10, 2015 21:21
Show Gist options
  • Save scalp42/c08c1fd0fe41ce2c8e63 to your computer and use it in GitHub Desktop.
Save scalp42/c08c1fd0fe41ce2c8e63 to your computer and use it in GitHub Desktop.
install mesosphere on ubuntu 14.04 manually with scripts
$ cat install.sh
## add mesosphere repo and keys
export DISTRO=$(lsb_release -is | tr '[:upper:]' '[:lower:]')
export CODENAME=$(lsb_release -cs)
echo "deb http://repos.mesosphere.io/${DISTRO} ${CODENAME} main" | sudo tee /etc/apt/sources.list.d/mesosphere.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E56151BF
## update repos
sudo apt-get -y update
sudo apt-get -y install curl python-setuptools python-pip python-dev python-protobuf
➜ mesosphere $ ./*sh
[sudo] password for ming:
deb http://repos.mesosphere.io/ubuntu trusty main
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.u3Uq9bwhyK --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyring /etc/apt/trusted.gpg.d/pitti-systemd.gpg --keyserver keyserver.ubuntu.com --recv E56151BF
gpg: requesting key E56151BF from hkp server keyserver.ubuntu.com
gpg: key E56151BF: public key "Mesosphere Archive Automatic Signing Key <[email protected]>" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
Hit http://download.virtualbox.org trusty InRelease
Ign http://us.archive.ubuntu.com trusty InRelease
Hit http://download.virtualbox.org trusty/contrib amd64 Packages
Ign http://ppa.launchpad.net trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Get:1 http://repos.mesosphere.io trusty InRelease [3,122 B]
Hit http://download.virtualbox.org trusty/non-free amd64 Packages
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://download.virtualbox.org trusty/contrib i386 Packages
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Get:3 http://repos.mesosphere.io trusty/main amd64 Packages [1,975 B]
Hit http://download.virtualbox.org trusty/non-free i386 Packages
Hit http://ppa.launchpad.net trusty Release
Get:4 http://us.archive.ubuntu.com trusty Release.gpg [933 B]
Get:5 http://security.ubuntu.com trusty-security Release [59.7 kB]
Get:6 http://repos.mesosphere.io trusty/main i386 Packages [14 B]
Get:7 http://us.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:8 http://us.archive.ubuntu.com trusty-backports Release.gpg [933 B]
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty Release
Ign https://get.docker.io docker InRelease
Get:9 http://us.archive.ubuntu.com trusty-updates Release [59.7 kB]
Hit https://get.docker.io docker Release.gpg
Hit https://get.docker.io docker Release
Get:10 http://security.ubuntu.com trusty-security/main Sources [38.7 kB]
Hit https://get.docker.io docker/main amd64 Packages
Get:11 http://us.archive.ubuntu.com trusty-backports Release [59.7 kB]
Hit https://get.docker.io docker/main i386 Packages
Get:12 http://security.ubuntu.com trusty-security/restricted Sources [14 B]
Hit http://us.archive.ubuntu.com trusty/main Sources
Get:13 http://security.ubuntu.com trusty-security/universe Sources [11.3 kB]
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Get:14 http://security.ubuntu.com trusty-security/multiverse Sources [699 B]
Ign http://repos.mesosphere.io trusty/main Translation-en_US
Hit http://us.archive.ubuntu.com trusty/universe Sources
Get:15 http://security.ubuntu.com trusty-security/main amd64 Packages [127 kB]
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Ign http://repos.mesosphere.io trusty/main Translation-en
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Ign http://download.virtualbox.org trusty/contrib Translation-en_US
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Ign http://ppa.launchpad.net trusty/main Translation-en
Ign http://download.virtualbox.org trusty/contrib Translation-en
Get:16 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14 B]
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Ign http://download.virtualbox.org trusty/non-free Translation-en_US
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Ign http://download.virtualbox.org trusty/non-free Translation-en
Get:17 http://security.ubuntu.com trusty-security/universe amd64 Packages [45.4 kB]
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Get:18 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [1,154 B]
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Get:19 http://security.ubuntu.com trusty-security/main i386 Packages [123 kB]
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Get:20 http://security.ubuntu.com trusty-security/restricted i386 Packages [14 B]
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [45.4 kB]
Get:22 http://security.ubuntu.com trusty-security/multiverse i386 Packages [1,398 B]
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Get:23 http://security.ubuntu.com trusty-security/main Translation-en [61.3 kB]
Ign https://get.docker.io docker/main Translation-en_US
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign https://get.docker.io docker/main Translation-en
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Get:24 http://us.archive.ubuntu.com trusty-updates/main Sources [107 kB]
Get:25 http://security.ubuntu.com trusty-security/universe Translation-en [26.1 kB]
Get:26 http://us.archive.ubuntu.com trusty-updates/restricted Sources [1,408 B]
Get:27 http://us.archive.ubuntu.com trusty-updates/universe Sources [73.6 kB]
Get:28 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [3,230 B]
Get:29 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [291 kB]
Get:30 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [5,820 B]
Get:31 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [179 kB]
Get:32 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [8,254 B]
Get:33 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [287 kB]
Get:34 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [5,820 B]
Get:35 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [180 kB]
## add mesosphere repo and keys
Get:36 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [8,444 B]
Get:37 http://us.archive.ubuntu.com trusty-updates/main Translation-en [128 kB]
Get:38 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [4,599 B]
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Get:39 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [87.8 kB]
Get:40 http://us.archive.ubuntu.com trusty-backports/main Sources [3,524 B]
Get:41 http://us.archive.ubuntu.com trusty-backports/restricted Sources [14 B]
Get:42 http://us.archive.ubuntu.com trusty-backports/universe Sources [11.0 kB]
Get:43 http://us.archive.ubuntu.com trusty-backports/multiverse Sources [768 B]
Get:44 http://us.archive.ubuntu.com trusty-backports/main amd64 Packages [5,182 B]
Get:45 http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages [14 B]
Get:46 http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages [14.4 kB]
Get:47 http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages [619 B]
Get:48 http://us.archive.ubuntu.com trusty-backports/main i386 Packages [5,198 B]
Get:49 http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages [14 B]
Get:50 http://us.archive.ubuntu.com trusty-backports/universe i386 Packages [14.5 kB]
Get:51 http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages [619 B]
Get:52 http://us.archive.ubuntu.com trusty-backports/main Translation-en [3,409 B]
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Get:53 http://us.archive.ubuntu.com trusty-backports/universe Translation-en [9,469 B]
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 2,110 kB in 21s (96.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
python-dev is already the newest version.
python-setuptools is already the newest version.
python-setuptools set to manually installed.
python-pip is already the newest version.
The following NEW packages will be installed:
python-protobuf
0 upgraded, 1 newly installed, 0 to remove and 25 not upgraded.
Need to get 54.0 kB of archives.
After this operation, 400 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe python-protobuf all 2.5.0-9ubuntu1 [54.0 kB]
Fetched 54.0 kB in 1s (44.2 kB/s)
Selecting previously unselected package python-protobuf.
(Reading database ... 110248 files and directories currently installed.)
Preparing to unpack .../python-protobuf_2.5.0-9ubuntu1_all.deb ...
Unpacking python-protobuf (2.5.0-9ubuntu1) ...
Setting up python-protobuf (2.5.0-9ubuntu1) ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment