git clone https://github.com/rofl0r/proxychains-ng cd proxychains-ng ./configure --prefix=/usr --sysconfdir=/etc make make install make install-config # 生成配置文件 echo'http 10.100.100.136 4411' >> /etc/proxychains.conf # 输入代理设置
TMUX
CentOS的版本太老,手动编译最新版本
1 2 3 4 5 6
yum install ncurses-devel libevent-devel curl -L https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz | tar xz cd tmux-2.3 ./configure make make install
如果出现protocol version mismatch错误,说明现在tmux正在运行,手动结束掉即可。
1
kill -9 `pidof tmux`
theme
1 2 3 4 5 6
git clone https://github.com/gpakosz/.tmux.git ln -s -f .tmux/.tmux.conf cp .tmux/.tmux.conf.local . vim .tmux.conf.local #编辑配置文件 # 去掉status left/right sections separators后面几行的注释(终端字体需要支持Powerline) # 启用 force vi mode
# Session :new[-s name] # new session :kill-session[-t name] # kill session :ls # list sessions C-c # new session s # list and select sessions $ # name session
==============================================
# Window c # create window w # list windows n # next window p # previous window f # find window , # name window & # kill window
===============================================
# Panes % #vertical split " # horizontal split o # swap panes q # show pane numbers x # kill pane + # 最大化pane,再按一次还原 - # restore pane from window ⍽ # space - toggle between layouts q # (Show pane numbers, when the numbers show up type the key to goto that pane) { # (Move the current pane left) } # (Move the current pane right) z # toggle pane zoom 方向键 # select the sibling pane C-方向键 # resize current pane ================================================ # Misc d # detach t # big clock ? # list shortcuts : # prompt