Skip to content

Instantly share code, notes, and snippets.

@petergi
Forked from pesblog/moshInstall2AmazonAMI.sh
Created July 29, 2021 19:22
Show Gist options
  • Save petergi/64038d8b709246e7b0449394f3cd009a to your computer and use it in GitHub Desktop.
Save petergi/64038d8b709246e7b0449394f3cd009a 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.3.2.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