And here’s yet another redirect: http://www.proxmox.com/products/proxmox-ve/proxmox-ve-wiki Enjoy, and welcome to the brand new 2011.
I’m no guru – I simply “borrowed” this from a website. Single-purpose keys So now you’re sshing and scping your brains out. Sooner or later you’ll come across one or both of these situations: 1. You want to automate some ssh/scp process to be done after hours, but can’t because no one will be around […]
How to check the entries: $dig [@server] domain AXFR ; DiG [version] @d.c.b.a domain AXFR ; (1 server found) ;; global options: +cmd domain. 3600 IN SOA ns.domain etc ….. ;; Query time: 150 msec ;; SERVER: a.b.c.d#53(a.b.c.d) ;; WHEN: Mon Dec 20 22:15:34 2010 ;; XFR size: YY records (messages 1, bytes AXYZ)
Well, I do feel stupid sometimes. Nagging about the original machines disks is to small, well – why didn’t I just expand it? Here’s how you do it : VMWare KB Simply put, locate your installationdir, regardless if you’re running win or *nix, just go: [installdir]vmware-vdiskmanager -x [newsize][MB/GB] [disk].vmdk
This is always something in progress – but, more or less this is (was) a basic fw-setup: #!/bin/sh PATH=/usr/sbin:/sbin:/bin:/usr/bin # # delete all existing rules. # iptables -F iptables -t nat -F iptables -t mangle -F iptables -X # # Enable routing. echo 1 > /proc/sys/net/ipv4/ip_forward # and some good stuff to have enabled.. #no […]
This issues is related to a bit too many arp-entries (in ie – a router). If you’re for instance having bittorrent traffic doing all those arp’s, you’ll end up with a lot of entries in your logs. Also, it’s a performance issue later on, since you’ll have problem flushing and creating new connections to ip’s […]
Two versions, one is the classic one, the other contains a bunch of ‘new stuff’. #!/bin/bash #make me as a [name.sh] and do me a chmod +x [name.sh] #Ran on ubu 10.04 #Run as root (ie – sudo -i ) #classic cd $HOME wget http://wald.intevation.org/frs/download.php/767/openvas-libraries-3.1.2.tar.gz wget http://wald.intevation.org/frs/download.php/754/openvas-scanner-3.1.0.tar.gz wget http://wald.intevation.org/frs/download.php/757/openvas-client-3.0.1.tar.gz gunzip -d $HOME/openvas*.gz tar -xvvf $HOME/openvas-libraries-3.1.2.tar […]
So, I keep forgetting how to rebuild my arrays with mdadm (since, it doesn’t break that often). But, here´s some information: mdadm -D /dev/md2 cat /proc/mdstat #mdadm –stop /dev/md2 mdadm –assemble -v /dev/md2 /dev/sdd1 –run fsck /dev/md2 mount /point #example mdadm /dev/md0 –add /dev/sda1 –fail /dev/sdb1 –remove /dev/sdb1
Couple of days ago I had a discussion with a co-worker and informed him of the following; http://en.wikipedia.org/wiki/*nix It’s good to know stuff, and these small things, can help you understand underlying stuff :).