Skip to content

Instantly share code, notes, and snippets.

View congto's full-sized avatar
🥁
Focusing

Tô Thành Công congto

🥁
Focusing
View GitHub Profile
@congto
congto / local.conf
Created August 8, 2016 04:58 — forked from celebdor/local.conf
devstack local.conf for Kuryr and MidoNet v5 (monolithic plugin)
[[local|localrc]]
OFFLINE=No
RECLONE=No
ENABLED_SERVICES=""
enable_plugin kuryr https://github.com/openstack/kuryr.git
enable_service kuryr
enable_service etcd-server
enable_service docker-engine
@congto
congto / cobbler_install-ubuntu_14.04.sh
Created September 1, 2016 08:41 — forked from michaelrice/cobbler_install-ubuntu_14.04.sh
Shell Script to install Cobbler 2.6 on Ubuntu Server 14.04
#!/bin/bash
#
# Script to deploy a wrking cobbler installation in Ubuntu Server 14.10
# Author: Luis Henrique Bolson <[email protected]>
#
# Based on http://springerpe.github.io/tech/2014/09/09/Installing-Cobbler-2.6.5-on-Ubuntu-14.04-LTS.html
#
# Please run as root (don't use sudo <script>)
#
# curl -s https://raw.githubusercontent.com/luisbolson/cobbler/master/cobbler_install-ubuntu_14.04.sh | bash -s 192.168.56.101
@congto
congto / template-interfaces
Created September 28, 2016 15:11 — forked from shane-c/template-interfaces
template /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto em1
iface em1 inet static
@congto
congto / compute01_vlan_interfaces
Created September 28, 2016 15:12 — forked from shane-c/compute01_vlan_interfaces
compute01_vlan_interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# Physical interface 1
auto em1
iface em1 inet manual
bond-master bond0
bond-primary em1
@congto
congto / infra01_vlan_interfaces
Created September 28, 2016 15:12 — forked from shane-c/infra01_vlan_interfaces
infra01_vlan_interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# Physical interface 1
auto em1
iface em1 inet manual
bond-master bond0
bond-primary em1
@congto
congto / cobbler_install-ubuntu_14.04.sh
Last active October 11, 2016 09:58 — forked from luisbolson/cobbler_install-ubuntu_14.04.sh
Shell Script to install Cobbler 2.6 on Ubuntu Server 14.04
#!/bin/bash
#
# Script to deploy a wrking cobbler installation in Ubuntu Server 14.10
# Author: Luis Henrique Bolson <[email protected]>
#
# Based on http://springerpe.github.io/tech/2014/09/09/Installing-Cobbler-2.6.5-on-Ubuntu-14.04-LTS.html
#
# Please run as root (don't use sudo <script>)
#
# curl -s https://raw.githubusercontent.com/luisbolson/cobbler/master/cobbler_install-ubuntu_14.04.sh | bash -s 192.168.56.101
@congto
congto / haproxy_corosync_pacemaker_ubuntu.md
Created March 11, 2017 11:26 — forked from Ham5ter/haproxy_corosync_pacemaker_ubuntu.md
Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

This Document roughly describes a HAProxy Cluster Setup on Ubuntu 16.04 based on an example Configuration with 3 Nodes

This Document is still work in Progress the Following Stuff still needs to be done:

  • Explain the crm configure steps
  • explain Miscellaneous CRM Commands for Cluster Management
  • Add all the external ressources used.
  • Add a simple HAProxy Configuration for testing purpouse
@congto
congto / haproxy_corosync_pacemaker_ubuntu.md
Created March 11, 2017 11:26 — forked from Ham5ter/haproxy_corosync_pacemaker_ubuntu.md
Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

Set up HAProxy with Pacemaker/Corosync on Ubuntu 16.04

This Document roughly describes a HAProxy Cluster Setup on Ubuntu 16.04 based on an example Configuration with 3 Nodes

This Document is still work in Progress the Following Stuff still needs to be done:

  • Explain the crm configure steps
  • explain Miscellaneous CRM Commands for Cluster Management
  • Add all the external ressources used.
  • Add a simple HAProxy Configuration for testing purpouse
@congto
congto / openresty-ubuntu-install.sh
Created April 25, 2017 13:52 — forked from kingtuna/openresty-ubuntu-install.sh
Easy install openresty (used and tested on Ubuntu 14.04, 15.10 and 16.04)
#!/bin/bash
apt-get -y update
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
wget -c https://openresty.org/download/openresty-1.11.2.1.tar.gz
tar zxvf openresty-1.11.2.1.tar.gz
cd openresty-1.11.2.1
./configure \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \
@congto
congto / openresty-ubuntu-install.sh
Created April 25, 2017 13:52 — forked from developersteve/openresty-ubuntu-install.sh
Easy install openresty (used and tested on Ubuntu 14.04, 15.10 and 16.04)
#!/bin/bash
apt-get -y update
apt-get -y install nginx-extras build-essential libpcre3-dev libssl-dev libgeoip-dev libpq-dev libxslt1-dev libgd2-xpm-dev
wget -c https://openresty.org/download/openresty-1.9.15.1.tar.gz
tar zxvf openresty-1.9.15.1.tar.gz
cd openresty-1.9.15.1
./configure \
--sbin-path=/usr/sbin/nginx \
--conf-path=/etc/nginx/nginx.conf \