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.

Revisions

  1. andrewgiessel revised this gist Jan 8, 2013. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -10,8 +10,9 @@ make
    make install
    cd ..

    # You'll need this setting to have mosh find the Protocol Buffer lib
    # You'll need these setting to have mosh find the Protocol Buffer lib and binary
    export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig
    export PATH=$PATH:$HOME/bin

    # Install mosh
    wget https://github.com/downloads/keithw/mosh/mosh-$VERSION.tar.gz
  2. @samsonjs samsonjs revised this gist Nov 15, 2012. 1 changed file with 19 additions and 12 deletions.
    31 changes: 19 additions & 12 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,23 +1,30 @@
    PREFIX=$HOME
    VERSION=1.2.3

    # 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
    ./configure --prefix=$PREFIX
    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
    export PKG_CONFIG_PATH=$PREFIX/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
    wget https://github.com/downloads/keithw/mosh/mosh-$VERSION.tar.gz
    tar -xf mosh-$VERSION.tar.gz
    cd mosh-$VERSION
    ./configure --prefix=$PREFIX
    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

    echo You can run this to verify the install worked:
    echo $ export LD_LIBRARY_PATH=$PREFIX/lib
    echo $ mosh-server
    echo (Running mosh-server should give you a pid and a key to use if you want to connect manually)

    echo To connect to the server in the future, run this on your local machine:
    echo $ mosh --server="LD_LIBRARY_PATH=$PREFIX/lib $PREFIX/bin/mosh-server" $USER@$(hostname -f)
  3. @palexander palexander revised this gist Jun 22, 2012. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -1,17 +1,23 @@
    # 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
    # Now, to connect to the server, run this on your local machine:
    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
  4. @palexander palexander revised this gist Jun 22, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -13,4 +13,5 @@ cd mosh-1.2.2
    make
    make install
    export LD_LIBRARY_PATH=/home/your_user/lib
    # Now, to connect to the server, 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
  5. @palexander palexander created this gist Jun 22, 2012.
    16 changes: 16 additions & 0 deletions gistfile1.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    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 ..
    export PKG_CONFIG_PATH=/home/your_user/lib/pkgconfig
    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
    export LD_LIBRARY_PATH=/home/your_user/lib
    mosh --server="LD_LIBRARY_PATH=/home/your_user/lib /home/your_user/bin/mosh-server" your_user@your_server.dreamhost.com