Unix and Linux network configuration. Multiple network interfaces. Bridged NICs. High-availability network configurations.


Reviews of latest Unix and Linux software. Helpful tips for application support admins. Automating application support.


Disk partitioning, filesystems, directories, and files. Volume management, logical volumes, HA filesystems. Backups and disaster recovery.


Distributed server monitoring. Server performance and capacity planning. Monitoring applications, network status and user activity.

Commands & Shells

Cool Unix shell commands and options. Command-line tools and application. Things every Unix sysadmin needs to know.

Home » Commands & Shells

Tmux Bootstrap Configuration

Submitted by on February 17, 2018 – 3:22 pm

Just a list of commands to quickly configure tmux with some of the best (i.e. my favorite) plugins and options. Feel free to disagree – you may be right – but I don’t think so.

The settings below are for tmux v 2+. If you’re running an older distro and for some reason can’t upgrade, you would need to figure out a way to install the newer version of tmux for your distro. Here’s an example for CentOS 6:

yum -y erase tmux
curl -s0 -k -w3 > ~/
chmod 750 ~/
pkill tmux
tmux -V

Get a tmux cheatsheet and add a convenient bash alias.

curl -s0 -k  -w5 | sed 's/\^b/^a/g' > ~/
echo "alias tmuxhelp='cat ~/ | column -s\"|\" -t'" >> ~/.bashrc
source ~/.bashrc

Get the .tmux.conf file.

curl -s0 -k -w5 > ~/.tmux.conf

Install tmux plugin manager and resurrect plugin

git clone ~/.tmux/plugins/tpm
cat << EOF >> ~/.tmux.conf
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
run '~/.tmux/plugins/tpm/tpm'

# start tmux tmux new -s `whoami`01 
# activate plugin manager and load the resurrect plugin 

# save tmux session

# restore tmux session


Print Friendly, PDF & Email

Leave a Reply