安装
wget https://github.com/libevent/libevent/releases/download/release-2.1.10-stable/libevent-2.1.10-stable.tar.gz
tar zxvf libevent-2.1.10-stable.tar.gz
cd libevent-2.1.10-stable
./configure && make && make install
cd ..
wget ftp://ftp.gnu.org/gnu/ncurses/ncurses-6.1.tar.gz
tar zxvf ncurses-6.1.tar.gz
cd ncurses-6.1
./configure && make && make install
cd ..
wget https://github.com/tmux/tmux/releases/download/3.0/tmux-3.0-rc3.tar.gz
tar zxvf tmux-3.0-rc3.tar.gz
cd tmux-3.0-rc3
./configure && make && make install
echo '/usr/local/lib' > /etc/ld.so.conf.d/local.conf
ldconfig
常用指令
tmux new -s deploy
tmux a -t deploy
常用快捷键
Ctrl-b 为所有快捷键都需要先按的
d detache
网友评论