Install packages on both nodes
sudo yum install corosync pcs pacemaker maxscaleSet the password for the hacluster user [both nodes]
| daemon off; | |
| user nginx; | |
| worker_processes 1; | |
| pid /var/run/nginx.pid; | |
| events { | |
| worker_connections 1024; | |
| } |
| # Install tmux on rhel/centos 7 | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -OL https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz | |
| tar -xvzf libevent-2.0.22-stable.tar.gz | |
| cd libevent-2.0.22-stable | |
| ./configure --prefix=/usr/local |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |