tmux 能夠保存你當(dāng)前進(jìn)行的會話,對于處理了一部分的工作投蝉,過后可以繼續(xù)開展,能夠保存你會話的進(jìn)程征堪,在centos7下瘩缆,安裝tmux步驟如下
1. 安裝 ncurses-devel
yum -y install ncurses-devel
2. 安裝 libevent-dev
yum -y install libevent-devel
3. 安裝tmux
如果系統(tǒng)已經(jīng)安裝有g(shù)it,則可以直接從github上clone tmux的源碼進(jìn)行安裝佃蚜,具體操作步驟如下
3.1. 獲取tmux 的源碼
git clone https://github.com/tmux/tmux.git
進(jìn)入目錄
cd tmux
執(zhí)行
sh autogen.sh
執(zhí)行過程中可能會報中不到 aclocal 命令的錯誤庸娱,此時可安裝 automake 后再執(zhí)行 autogen.sh
yum install -y automake
編譯并安裝tmux
./configure && make