Posts

Showing posts from May, 2009

Linux add swap space file

To add swap space for Linux, you'll need to add either a swap partition or create a new (big) file and use it for swap: To add a new 1GB file I do this: root@debian> mkdir /swap dd if=/dev/zero of=/swap/swapfile_1gb bs=1024 count=1048576 mkswap /swap/swapfile_1gb swapon /swap/swapfile_1gb To enable the swap file for the next boot, edit /etc/fstab and add this: /swapfile swap swap defaults 0 0 To check that the swap file is used, type: swapon -s free That's it! bs: blocksize count: number of blocks 1 million blocks x 1K = 1G

My Quick Guide for a Linux setup on VMWare (Ubuntu/Debian)

This post is written for Debian but will work for other Debian based linux distros like Ubuntu. Debian is my personal favourite as it is stable, clean, fast and easy-to-use/configure. There is a wealth of information about Debian on the net, and the debian.org web-site is quite comprehensive and helpful. So you have installed a Debian 5 (Lenny) distro on a virtual machine in VMWare and cygwin on your windows desktop. This is a quick guide (doubles as a reference/reminder for myself) on how to install stuff and get you going. As stated above I assume this is where you are: You've downloaded an ISO image from your favourite distro web-site ( Ubuntu / Debian ). You have installed the distro on a VMWare instance and you gave it a name (e.g. 'debian5') You have a 'root' account and your own named account (e.g. 'username'), advisable to use the same username you use for Windows (helps when accessing your computer from cygwin) You have cygwin installed on your P

MyBrute

Thanks to my friend psarog , for pointing this out... Here's the latest in social game-working: http://ksymeon.mybrute.com Beat me up, Scottie...