This file contains 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
hostname R1 | |
! | |
interface Loopback0 | |
ip address 180.1.1.1 255.255.255.255 | |
ipv6 address 2001:C0FF:EE:1::1:1/128 | |
! | |
interface Ethernet0/1 | |
no shutdown | |
description to SW1 E0/0 | |
no ip address |
This file contains 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 | |
# Install UniFi Controller. Check CentOS 7 (7.0.1406) | |
# Date: 28/02/2016 | |
# Step 1. Add mongo-db repo | |
cat <<EOF > /etc/yum.repos.d/mongodb.repo | |
[mongodb] | |
name=MongoDB Repository | |
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/ | |
gpgcheck=0 |
This file contains 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 | |
# Check Ubuntu 14.04.3 (amd86) | |
# Install klish (The klish is a framework for implementing a CISCO-like CLI on a UNIX systems. It is configurable by XML files. The KLISH stands for Kommand Line Interface Shell) | |
# http://libcode.org/projects/klish/ | |
# Author: oleg@slavkin.info | |
echo "Step 0. Update apt-get" | |
sudo apt-get update | |
echo "Step 1. Install tools" |
This file contains 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 | |
# Install openvswitch Ubuntu 14.04.3 | |
# Author: Oleg Slavkin (oleg@slavkin.info) | |
echo "-------------------------------" | |
echo "Step 1. Install git package" | |
echo "-------------------------------" | |
sudo apt-get update | |
sudo apt-get -y install git |
This file contains 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 | |
# Install mininet (check Ubuntu 14.04.3) | |
# Author Oleg Slavkin (oleg@slavkin.info) | |
echo "Step 1. Install packages" | |
sudo apt-get install -y pyflakes pep8 pylint python-pexpect socat iperf iproute help2man openssh-client | |
echo "Step 2. Clone mininet git Repo" | |
cd ~/ | |
git clone git://github.com/mininet/mininet |
This file contains 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 | |
# Install RYU (Ubuntu 14.04.3) | |
# Author: Oleg Slavkin | |
echo "Step 1. Install tools" | |
sudo apt-get -y install git python-pip python-dev | |
echo "Step 2. Install python packages" | |
sudo apt-get -y install python-eventlet python-routes python-webob python-paramiko |
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
<fontconfig> | |
<!-- | |
Documented at | |
http://linux.die.net/man/5/fonts-conf | |
To check font mapping run the command at terminal | |
$ fc-match 'helvetica Neue' |
This file contains 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
usage: qemu-arm [options] program [arguments...] | |
Linux CPU emulator (compiled for arm emulation) | |
Options and associated environment variables: | |
Argument Env-variable Description | |
-h print this help | |
-g port QEMU_GDB wait gdb connection to 'port' | |
-L path QEMU_LD_PREFIX set the elf interpreter prefix to 'path' | |
-s size QEMU_STACK_SIZE set the stack size to 'size' bytes |
This file contains 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
clfs@dev-1 ~ $ cat .bashrc | |
set +h | |
umask 022 | |
CLFS=/mnt/clfs | |
LC_ALL=POSIX | |
PATH=${CLFS}/cross-tools/bin:/bin:/usr/bin | |
export CLFS LC_ALL PATH | |
unset CFLAGS | |
unset CXXFLAGS | |
export CLFS_HOST="x86_64-cross-linux-gnu" |
This file contains 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
slavkin@dev-1 /mnt/qemu/qemu $ qemu-system-arm -cpu help | |
Available CPUs: | |
arm1026 | |
arm1136 | |
arm1136-r2 | |
arm1176 | |
arm11mpcore | |
arm926 | |
arm946 | |
cortex-a15 |