This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Download this file to /etc/pacman.d/ or paste its' contents to the end of /etc/pacman.conf | |
| [archlinuxfr] | |
| SigLevel = Never | |
| Server = http://repo.archlinux.fr/$arch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ########### Benchmark | |
| wget -qO- bench.sh | bash | |
| curl -Lso- bench.sh | bash | |
| ########### User management | |
| # allow superuser access without password |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Modified commands | |
| alias diff='colordiff' # requires colordiff package | |
| alias grep='grep --color=auto' | |
| alias more='less' | |
| alias df='df -h' | |
| alias du='du -c -h' | |
| alias mkdir='mkdir -p -v' | |
| alias nano='nano -w' | |
| alias ping='ping -c 5' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| = Arch Linux step-by-step installation = | |
| = http://blog.fabio.mancinelli.me/2012/12/28/Arch_Linux_on_BTRFS.html = | |
| == Boot the installation CD == | |
| == Create partition == | |
| cfdisk /dev/sda | |
| * Create a partition with code 8300 (Linux) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[local|localrc]] | |
| FLOATING_RANGE=192.168.1.224/27 | |
| FIXED_RANGE=10.11.12.0/24 | |
| FIXED_NETWORK_SIZE=256 | |
| FLAT_INTERFACE=eth0 | |
| ADMIN_PASSWORD=admin | |
| MYSQL_PASSWORD=admin | |
| RABBIT_PASSWORD=admin | |
| SERVICE_PASSWORD=admin | |
| SERVICE_TOKEN=admin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Deploy an Ubuntu 14.04 host; | |
| # Setup host: | |
| # Set up NAT forwarding: | |
| sudo iptables -t nat -I POSTROUTING -o eth0 -j MASQUERADE | |
| # Install git package | |
| apt-get install git | |
| # Clone and prepare the DevStack repo | |
| git clone https://git.openstack.org/openstack-dev/devstack | |
| cd devstack && git checkout stable/kilo | |
| # Install Murano: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 dhcp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[local|localrc]] | |
| # Minimal config | |
| ADMIN_PASSWORD=admin | |
| DEST=/opt/stack | |
| DATABASE_PASSWORD=$ADMIN_PASSWORD | |
| RABBIT_PASSWORD=$ADMIN_PASSWORD | |
| MYSQL_PASSWORD=$ADMIN_PASSWORD | |
| SERVICE_PASSWORD=$ADMIN_PASSWORD | |
| SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #/bin/bash | |
| # Environmental variables for installing the Docker-based multi-node environment | |
| # Master node IP address; for the local environment put "127.0.0.1" | |
| export MASTER_IP="127.0.0.1" | |
| # Desired Kubernetes version | |
| # to set a variable to the latest released version (inc. alpha & beta), uncomment the following line: | |
| # export K8S_VERSION=$(curl -sS https://storage.googleapis.com/kubernetes-release/release/stable.txt) |