Last active
January 21, 2022 14:03
-
-
Save palexander/2975305 to your computer and use it in GitHub Desktop.
Revisions
-
palexander revised this gist
Aug 27, 2013 . 1 changed file with 22 additions and 12 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,23 +1,33 @@ # Thanks to @samsonjs for the cleaned up version: # https://gist.github.com/samsonjs/4076746 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=$PREFIX make make install cd .. # You'll need this setting to have mosh find the Protocol Buffer lib export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig # Install mosh 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 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) -
palexander revised this gist
Aug 27, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ 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} make make install cd .. -
palexander revised this gist
Jun 22, 2012 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 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 -
palexander revised this gist
Jun 22, 2012 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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 -
palexander created this gist
Jun 22, 2012 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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