Original: http://www.shadowandy.net/2012/03/asus-rt-n66u-tomatousb-firmware-flashing-guide.htm
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
| file_to_disk = './tmp/large_disk.vdi' | |
| Vagrant::Config.run do |config| | |
| config.vm.box = 'base' | |
| config.vm.customize ['createhd', '--filename', file_to_disk, '--size', 500 * 1024] | |
| config.vm.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk] | |
| end |
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
| require 'rbvmomi' | |
| require 'awesome_print' | |
| datacenter = 'SCI_DC_01' | |
| vm_name = 'vm-vslabapp-06' | |
| vim = RbVmomi::VIM.connect host: '192.168.111.41', user: 'XXXXXXXXX', password: 'XXXXXXX', insecure: true | |
| dc = vim.serviceInstance.find_datacenter(datacenter) or abort "datacenter not found" | |
| vm = dc.find_vm("VRM/#{vm_name}") or abort "VM not found" |
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
| yum install httpd mysql mysql-server php net-snmp-utils bind | |
| yum install php-pear-MDB2-Driver-mysqli php-pear-Net-Curl php-php-gettext php-mcrypt php-pecl-ssh2 php-pear-SOAP php-snmp php-pear-HTTP | |
| Not found in YUM: | |
| sockets | |
| SimpleXML | |
| mhash | |
| pcntl | |
| posix | |
| dom |
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
| {"@source":"tcp://172.28.51.163:4560/client/172.28.51.163:51093","@tags":[],"@fields":{"priority":"INFO","logger_name":"org.jasig.cas.services.DefaultServicesManagerImpl","thread":"scheduler_Worker-9","class":"?","file":"?:?","method":"?"},"@type":"logstash_log4j","@source_host":"172.28.51.163:51093","@source_path":"org.jasig.cas.services.DefaultServicesManagerImpl","@message":"Loaded 0 services.","@timestamp":"2012-12-06T20:00:57.974Z"} |
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
| # python --version | |
| Python 2.6.6 | |
| yum install pycairo pycairo-devel Django django-tagging python-zope-interface python-memcached python-twisted fontconfig gnu-free* httpd mod_wsgi | |
| mkdir /usr/local/graphite | |
| cd /usr/local/graphite | |
| git clone https://github.com/graphite-project/graphite-web.git | |
| git clone https://github.com/graphite-project/carbon.git |
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
| Veewee::Session.declare({ | |
| :cpu_count => '1', :memory_size=> '512', | |
| :disk_size => '10140', :disk_format => 'VDI', :hostiocache => 'off', | |
| :os_type_id => 'RedHat_64', | |
| :iso_file => "rhel-server-6.3-x86_64-dvd.iso", | |
| :iso_md5 => "d717af33dd258945e6304f9955487017", :iso_download_timeout => 1000, | |
| :boot_wait => "10", :boot_cmd_sequence => [ | |
| '<Tab> text ks=http://%IP%:%PORT%/ks.cfg<Enter>' | |
| ], | |
| :kickstart_port => "7122", :kickstart_timeout => 10000, :kickstart_file => "ks.cfg", |
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
| ############################################################################ | |
| # | |
| # JBoss Node management | |
| # | |
| # Configures individual Yale JBoss Node | |
| # | |
| # ECF 20120627 | |
| # | |
| # Parameter list: | |
| # jboss_ver = jboss version |
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
| cf3 Cfengine - autonomous configuration engine - commence self-diagnostic prelude | |
| cf3 ------------------------------------------------------------------------ | |
| cf3 Work directory is /var/cfengine | |
| cf3 Making sure that locks are private... | |
| cf3 Checking integrity of the state database | |
| cf3 Checking integrity of the module directory | |
| cf3 Checking integrity of the PKI directory | |
| cf3 Looking for a source of entropy in /var/cfengine/randseed | |
| cf3 -> Loaded private key /var/cfengine/ppkeys/localhost.priv | |
| cf3 -> Loaded public key /var/cfengine/ppkeys/localhost.pub |
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
| -- Install Virtualbox | |
| https://www.virtualbox.org/wiki/Downloads | |
| -- Install a git client if you don't have one | |
| -- Install Vagrant | |
| http://vagrantup.com/ | |
| -- get a copy of my chef cookbooks | |
| cd ~/tmp/vagrant_projects |