It has been a while since my last update to this site. Now the time has come for another post. :-)
A few days ago I visited UDS-r in Copenhagen Denmark. I met a lot of nice people and got the chance to hear about the plans for the next release of Ubuntu.
The trip to UDS was fantastic but on my way home i got mail from my server telling me that one disk had failed. Bummer! That ruined the day for me. Lost a few files because i had not taken a backup for a couple of weeks.
Recently i made “the switch”! Not in the way you might imagine though. Ever since 2003 i have been a passionate mac user. I still use macs at home and work and am still passionate about them.
Before 2003 i was playing a lot of games. Linux was and is something that i have been working/playing around with since 1996. To make a long story short: I wanted to use Linux and also play games (read dual boot linux/windows). The price tags on new macs ware also something that got me thinking about building a new shiny i7 based PC.
I am now back on a PC with Ubuntu Linux 9.04 and Windows 7. So far so god. One thing that i enjoy with Linux is that i am able to customize it to my needs. With Linux now being my primary OS (by choice) i had to fix some kind of backup for photos and all that other stuff on my PC that i would not like to loose in case of an accident. The first thing that came to my mind was rsync.
I used rsync to mirror my files on to an usb-disk. But after a few days i started to miss Time Machine which i was using when i had a Mac as my primary computer at home. Just mirroring files was not enough to give me that warm and cozy feeling. I needed to go back in time!
If you, like so many other people these days, switch to Linux you will come in contact with something called unux scripts, shell scripts or bash scripts. These scripts are text-files that execute commands just like bat-files in Windows. I prefer shell-scripts because i think they are more powerful then bat-files but that is just my opinion.
Some things you should know:
#!/bin/bash usually is the first line in a bash script. It is called shebang (also called a hashbang, hashpling, or pound bang) and specifies in which shell to execute the code that follows below.
Everything after a # is a comment and does not get executed.
Below you will find examples of a few things that you can do with shell scripts on Linux and other Unixes. If you have questions: have a look at the man page of the command or post a comment and I will try to explain.
This article should also apply on the newly released 1000HE and maybe the 900 series of EEE Computers. If you can verify that this is the case please let me know.
A few days ago I got myself the Eee Pc 1000H from Asus. My first impression about the hardware is that the build quality surpasses my expectations. After a day or two of typing on the 1000H-keyboard I have gotten very used to it and type as fast as on a normal sized keyboard. The screen is great to.
Since memory nowadays is so cheap I purchased a 2 GB SO-DIMM DDR2 module from Corsair. Product number is VS2GSDS667D2. The memory from Corsair works without any problems. I guess that it is not necessary to have 2 gigabytes of memory to run Ubuntu but a large file cache will speed things up.
On to the installation of Ubuntu 9.04: Continue reading
I have been working with firewalls and security for quite many years at this point. Therefore friends and people I know ask me every now and then to write a firewall script for them. So instead of basically writing the same script over and over again I decided to write this article that explains how you can set up a basic iptables box by yourself.