Centos tmux 安裝 與 配置

2021-07-06 01:59:27 字數 717 閱讀 7823

1、yum install libevent-devel ncurses-devel

2、wget

tar xzf tmux-1.8.tar.gz

cd tmux-1.8

cflags="-i/usr/local/include" ldflags="-l//usr/local/lib" ./configure

make && make install1 3、

報錯tmux: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: no such file or directory 

解決:ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5

4、tmux配置 檔案

配置 tmux 安裝完 tmux 預設沒有配置檔案,需手動生成。/etc/tmux.conf 全域性檔案,~/.tmux.conf 使用者環境檔案

tmux的系統級配置檔案為/etc/tmux.conf,使用者級配置檔案為~/.tmux.conf。配置檔案實際上就是tmux的命令集合,也就是說每行配置均可在進入命令列模式後輸入生效。

解決方法:

可以直接在  tmux/ 中 執行:

cp examples/n-marriott.conf ~/.tmux.conf

安裝與配置php,PHP的安裝以及配置

安裝以及配置 1.安裝apache 2.2.4 apache dir d myspace apache 2.2.4 2.解壓安裝php 5.2.11 php dir d myspace php 5.2.11 3.找到php 5.2.11下的php.ini dist,改名為php.ini 4.開啟ph...

honeyd安裝與配置

所需構件如下 按以下順序安裝 libdnet 1.11.tar.gz tar xvzf libdnet 1.11.tar.gz cd libdnet 1.11 configure make make install libevent 1.1a.tar.gz cd libevent 1.1a conf...

ubuntu nginx安裝與配置

在ubuntu下面可以使用如下方式安裝nginx.2.為apt程式新增key sudo apt key add nginx signing.key 3.新增下面的內容到 etc apt sources.list配置檔案的末尾 deb lucid nginx deb src lucid nginx 4...