The name is xdelta, and it opens up for some great opportunities. Read more @: http://en.wikipedia.org/wiki/Xdelta
Go dpkg –get-selections > selections.txt on your current system. Copy the output file over to your new machine (ie, scp). Run dpkg –set-selections < selections.txt on your new machine, to tell it which packages you want installed. If possible, migrate files and settings as appropriate. Don't forget to apt-get dselect-upgrade.
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 […]
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 […]
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 :).
Well. Got the idea to sneak-build my own live-cd. Stumbled upon the following sites: http://www.linux-live.org/ http://www.slax.org http://www.linuxjournal.com/article/7246
“Easy” way of installing. Based on 3.0.x of openvas, contains the needed dependencies. #!/bin/bash #make me as a [name.sh] and do me a chmod +x [name.sh] #Ran on ubu 9.10 #Run as root (ie – sudo -i ) cd $HOME wget http://wald.intevation.org/frs/download.php/729/openvas-libraries-3.0.5.tar.gz wget http://wald.intevation.org/frs/download.php/724/openvas-scanner-3.0.2.tar.gz ##wget http://wald.intevation.org/frs/download.php/685/openvas-client-3.0.0.tar.gz gunzip -d $HOME/openvas*.gz tar -xvvf $HOME/openvas-libraries-3.0.5.tar tar -xvvf $HOME/openvas-scanner-3.0.2.tar […]