Skip to content

Instantly share code, notes, and snippets.

@andrewgiessel
Forked from samsonjs/gist:4076746
Created January 8, 2013 18:58
Show Gist options
  • Select an option

  • Save andrewgiessel/4486779 to your computer and use it in GitHub Desktop.

Select an option

Save andrewgiessel/4486779 to your computer and use it in GitHub Desktop.
# Install Protocol Buffers
wget http://protobuf.googlecode.com/files/protobuf-2.4.1.tar.bz2
tar -xf protobuf-2.4.1.tar.bz2
cd protobuf-2.4.1
./configure --prefix=/home/your_user
make
make install
cd ..
# You'll need this setting to have mosh find the Protocol Buffer lib
export PKG_CONFIG_PATH=/home/your_user/lib/pkgconfig
# Install mosh
wget https://github.com/downloads/keithw/mosh/mosh-1.2.2.tar.gz
tar -xf mosh-1.2.2.tar.gz
cd mosh-1.2.2
./configure --prefix=/home/your_user
make
make install
# You can run this to verify the install worked
# Running mosh-server should give you a pid and a key to use if you want to connect manually
export LD_LIBRARY_PATH=/home/your_user/lib
mosh-server
# To connect to the server in the future, run this on your local machine:
mosh --server="LD_LIBRARY_PATH=/home/your_user/lib /home/your_user/bin/mosh-server" your_user@your_server.dreamhost.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment