Skip to content

Instantly share code, notes, and snippets.

@datitran
Forked from pesblog/moshInstall2AmazonAMI.sh
Created February 22, 2016 16:40
Show Gist options
  • Save datitran/ca2b15afd1a2a5331997 to your computer and use it in GitHub Desktop.
Save datitran/ca2b15afd1a2a5331997 to your computer and use it in GitHub Desktop.
mosh install to AWS EC2 (Amazon AMI)
#!/bin/sh
sudo yum -y install autoconf automake gcc gcc-c++ make boost-devel zlib-devel ncurses-devel protobuf-devel openssl-devel
cd /usr/local/src
sudo wget http://mosh.mit.edu/mosh-1.2.4.tar.gz
sudo tar xvf mosh-1.2.4.tar.gz
cd mosh-1.2.4
sudo ./autogen.sh
sudo ./configure
sudo make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment