| asdf | adsf | | dfdf | ff |
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
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet static | |
address 135.207.223.61 | |
netmask 255.255.255.0 | |
network 135.207.223.0 |
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 eth0 | |
iface eth0 inet static |
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
# Generated by iptables-save v1.4.12 on Wed Jun 12 16:26:14 2013 | |
*filter | |
:INPUT ACCEPT [282786:311755668]:FORWARD ACCEPT [0:0]:OUTPUT ACCEPT [189653:22627850] | |
-A FORWARD -p tcp -d 172.31.254.101 --match multiport --dports 443,8774,8773,6080,5000,8776 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT | |
-A FORWARD -p tcp -d 172.31.254.100 --dport 4040 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT | |
-A INPUT -i br100 -p udp -m udp --dport 53 -j ACCEPT-A INPUT -i br100 -p tcp -m tcp --dport 53 -j ACCEPT | |
-A INPUT -i br100 -p udp -m udp --dport 67 -j ACCEPT | |
-A INPUT -i br100 -p tcp -m tcp --dport 67 -j ACCEPT | |
-A FORWARD -d 172.31.254.0/24 -o br100 -m state --state RELATED,ESTABLISHED -j ACCEPT |
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
#!/usr/bin/env sh | |
### Download and install megaraidcli for Ubuntu 12.04; | |
FILE="megacli_8.04.07.orig.tar.gz" | |
LINK="http://hwraid.le-vert.net/ubuntu/sources/$FILE" | |
wget $LINK -O /tmp/$FILE | |
( | |
cd /tmp |