Skip to content

Instantly share code, notes, and snippets.

@mercutiodesign
Forked from pesblog/moshInstall2AmazonAMI.sh
Last active June 22, 2021 01:15
Show Gist options
  • Save mercutiodesign/182d6adc07ba85938a4c578f3ab52da3 to your computer and use it in GitHub Desktop.
Save mercutiodesign/182d6adc07ba85938a4c578f3ab52da3 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
VERSION=1.3.2
PKGNAME=mosh-$VERSION
FNAME=$PKGNAME.tar.gz
sudo wget https://mosh.org/$FNAME
sudo tar xvf $FNAME
cd $PKGNAME
sudo ./autogen.sh
sudo ./configure --prefix=/usr/local
sudo make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment