Last active
March 4, 2020 11:08
-
-
Save aswathkk/c4d1fc5da9a69bc0437b40f7877dad21 to your computer and use it in GitHub Desktop.
True-color support in remote shell (CentOS 7 + mosh + tmux)
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 characters
# Install Dependencies | |
sudo yum -y install autoconf automake make rpm-build rpmdevtools protobuf-compiler protobuf-devel libutempter-devel zlib-devel ncurses-devel openssh-clients perl-IO-Tty openssl-devel gcc gcc-c++ | |
# Clone Mosh | |
git clone https://github.com/mobile-shell/mosh | |
cd mosh | |
./autogen.sh | |
./configure | |
make | |
sudo make install |
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 characters
# Download RPM file | |
wget http://mirror.ghettoforge.org/distributions/gf/el/7/plus/x86_64/tmux-2.4-2.gf.el7.x86_64.rpm | |
# Install tmux | |
sudo yum localinstall -y tmux-2.4-2.gf.el7.x86_64.rpm | |
# Remove installation file | |
rm tmux-2.4-2.gf.el7.x86_64.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment