Bookmark, share, and hop your favorite sites with SiteHoppin Toolbar for Firefox!



Interview with Inventor of Linux, Linus Torvalds!

Posted in Computer, Consumer, Cool, Educational, Linux, News, Operating System by max on the October 8th, 2008 at 5:17 pm

I’ve read books of 2 of the most unique creators of operating systems, that is Linus Torvalds, the creator of Linux, and Bill Gates, the creator of Microsoft Windows.

Of course, I did get the feeling that Bill Gates was a money-hungry, arrogant, geek-vampire from his book while I got the feeling that Linus Torvalds had bigger things in mind like creating open-source operating system platform and spread of free knowledge.  I think when I was growing up, Linus Torvalds was one of my heroes while Bill Gates too, but Bill kept making bad operating systems for money.

If it wasn’t for Linus, I don’t think we would have Firefox, Google Chrome, and pretty much open source software in general.  (or at least they won’t be as popular)  This is that one guy who made the best open-source operating system and boosted the open-source community by gazillion miles.

Well, to cap it off, here’s an interview with Linux Torvalds on his thoughts with Linux as of lately:

I’ve used different distributions over the years. Right now I happen to use Fedora 9 on most of the computers I have, which really boils down to the fact that Fedora had fairly good support for PowerPC back when I used that, so I grew used to it. But I actually don’t care too much about the distribution, as long as it makes it easy to install and keep reasonably up-to-date. I care about the kernel and a few programs, and the set of programs I really care about is actually fairly small.

And when it comes to distributions, ease of installation has actually been one of my main issues - I’m a technical person, but I have a very specific area of interest, and I don’t want to fight the rest. So the only distributions I have actively avoided are the ones that are known to be “overly technical” - like the ones that encourage you to compile your own programs etc.

Yeah, I can do it, but it kind of defeats the whole point of a distribution for me. So I like the ones that have a name of being easy to use. I’ve never used plain Debian, for example, but I like Ubuntu. And before Debian people attack me - yeah, I know, I know, it’s supposedly much simpler and easier to install these days. But it certainly didn’t use to be, so I never had any reason to go for it.

via oreilly

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Debian Hack - How to Setup your Mirror!

Posted in A+Featured Hacks, Computer, Consumer, Cool, DoItYourself!, Educational, HOWTO, Hack, Linux, Operating System, Storage, Ubuntu by max on the October 1st, 2008 at 1:39 pm

This might not be for all of you but for those Linuxers out there, here’s an example of how to setup your mirror:

(Mirror is a way of replicating one server to another btw if you didn’t know.)

To download the mirrors I use this script:
<script sync_mirror.sh>

#!/bin/bash
OPTIONS="--nosource --progress --postcleanup --ignore-release-gpg --ignore-small-errors --pdiff=none";
MIRROR=`basename ${0} | cut -f2 -d "_"`
DEST="/home/debian-mirror"
case "${MIRROR}" in
        "debian" )
                METHOD="--method=http"
                HOST="--host=ftp.de.debian.org"
                ROOT="--root=debian"
                DIST="--dist=etch,etch-proposed-updates"
                ARCH="--arch=i386"
                SECTION="--section=main,contrib,non-free"
                DEST="${DEST}/debian/"
                ;;
       "security" )
               METHOD="--method=ftp"
               HOST="--host=security.debian.org"
               ROOT="--root=/debian-security/"
               DIST="--dist=etch/updates"
               ARCH="--arch=i386"
               SECTION="--section=main,contrib,non-free"
               DEST="${DEST}/debian-security/"
               ;;
        "volatile" )
                METHOD="--method=http"
                HOST="--host=volatile.debian.org"
                ROOT="--root=debian-volatile"
                DIST="--dist=etch/volatile"
                ARCH="--arch=i386"
                SECTION="--section=main,contrib,non-free"
                DEST="${DEST}/debian-volatile/"
                ;;
        "multimedia" )
                METHOD="--method=http"
                HOST="--host=www.debian-multimedia.org"
                ROOT="--root=/"
                DIST="--dist=etch"
                ARCH="--arch=i386"
                SECTION="--section=main"
                DEST="${DEST}/debian-multimedia/"
                ;;
        "backports" )
                METHOD="--method=http"
                HOST="--host=www.backports.org"
                ROOT="--root=debian"
                DIST="--dist=etch-backports"
                ARCH="--arch=i386"
                SECTION="--section=main,contrib,non-free"
                DEST="${DEST}/debian-backports/"
                ;;
        * )
                echo "${0} called incorrectly"
                exit
                ;;
esac
debmirror ${OPTIONS} ${METHOD} ${HOST} ${ROOT} ${DIST} ${ARCH} ${SECTION} ${DEST}

</script sync_mirror.sh>

To setup the permissions I use this script:
<script permissions.sh>

#!/bin/bash
MIRROR=`basename ${0} | cut -f2 -d "_"`
DEST="/home/debian-mirror"
case "${MIRROR}" in
        "debian" )
                DEST="${DEST}/debian/"
                ;;
        "security" )
                DEST="${DEST}/debian-security/"
                ;;
        "volatile" )
                DEST="${DEST}/debian-volatile/"
                ;;
        "multimedia" )
                DEST="${DEST}/debian-multimedia/"
                ;;
        "backports" )
                DEST="${DEST}/debian-backports/"
                ;;
        * )
                echo "${0} called incorrectly"
                exit
                ;;
esac
echo "Setting Ownership"
chown -R www-data:www-data ${DEST}
echo "Setting File Permissions"
chmod -R 660 ${DEST}
echo "Setting Folder Permissions"
find ${DEST} -type d -exec chmod 770 {} \;

</script permissions.sh>

And then to pull it all together I have thefollowing directory structure (mirrors left out as it’s a ling list of files)

/home/debian-mirror/
|-- debian
|-- debian-backports
|-- debian-multimedia
|-- debian-security
|-- debian-volatile
|-- scripts
|   |-- permissions.sh
|   `-- sync_mirror.sh
`-- scripts.d
    |-- mirror_backports -> ../scripts/sync_mirror.sh
    |-- mirror_debian -> ../scripts/sync_mirror.sh
    |-- mirror_multimedia -> ../scripts/sync_mirror.sh
    |-- mirror_security -> ../scripts/sync_mirror.sh
    |-- mirror_volatile -> ../scripts/sync_mirror.sh
    |-- permissions_backports -> ../scripts/permissions.sh
    |-- permissions_debian -> ../scripts/permissions.sh
    |-- permissions_multimedia -> ../scripts/permissions.sh
    |-- permissions_security -> ../scripts/permissions.sh
    `-- permissions_volatile -> ../scripts/permissions.sh

And then I just setup a cronjob:

0 0     * * 0   root    /bin/run-parts --verbose /home/debian-mirror/scripts.d | /usr/bin/mailx -s "`uname -n` - Debian mirror sync completed" root

This was to disable the mirroring of one of the repositories I just need to remove the symlink from the scripts.d folder

via nighthawk

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Ubuntu Hack - How to Make Ubuntu run Super Fast!

Posted in A+Featured Hacks, Computer, Consumer, Cool, DoItYourself!, Educational, Entertainment, Gadgets, HOWTO, Hack, Linux, Operating System, Ubuntu by max on the September 29th, 2008 at 2:25 pm

For those of us who are anti-Windows and anti-Mac, we will benefit from learning how to make Ubuntu run super fast.

Here’s some great tips on minimizing processes to make your Ubuntu run faster than ever:

1. Remove Network Manager if you do not need it “sudo apt-get remove network-manager”. If possible give yourself a static IP in /etc/network/interfaces like so:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.150
netmask 255.255.255.0
network 192.168.1.100
broadcast 192.168.0.255
gateway 192.168.1.1

Having a static IP helps with boot time as your machine doesn’t have to communicate with the router/dhcp server as much to obtain an address.

2. Also remove firestarter or whatever graphical firewall frontend you’re using. Learn to control iptables at boot up and shutdown. It’ll be much snappier.

3. Install bum, “sudo apt-get install bum” and run it with root access. Shut off all unnecessary services. If you’re not sure about a service research it before shutting it off. Also, install sysv-rc-conf. Run the application as root. This will allow you to control, in an easy way, what services start at which run level. It’s like bum, but more detailed. Be very careful with which services you are removing from which run-level. If you don’t know what you’re doing here, research it or don’t touch it. After you do this you may want to reboot to make sure you didn’t break anything.

4. Turn off usplash in grub. (Mind you, you’re bootup won’t be as pretty as the splash will go away).

  • vim /boot/grub/menu.lst
  • on the kernel line delete the words “splash” and “quiet”
  • Reboot to see the changes.

5. If you have a dual core processor, you can decrease your boot time with concurrency.

  • sudo vim /etc/init.d/rc
  • and find the line CONCURRENCY=none and change it to: CONCURRENCY=shell
  • Reboot to see the changes. (tired of rebooting yet?)

6. Remove some TTYs

I could easily do this by editing /etc/inittab and then commenting the extra TTYs there. With the new upstart mechanism in place, things are a little different.

You have to edit /etc/default/console-setup file. This file defines how many ttys should you get.

Change ACTIVE_CONSOLES=”/dev/tty[1-6]” to the number of consoles you want. Lets say, 3 ttys, then change it to “/dev/tty[1-3]“.

And then goto /etc/event.d/ and change the ttyx files that you DONOT want. Edit them and comment lines starting with “start on runlevel”. So, in this case, you’ll comment the start line in tty4..tty6 files.

Rebooting shoud minimize the number of consoles for you. Worked for me!! Good luck, NOTE: Even though you’ve reduced the tty number, X is still on Alt-F7. Again, go ahead and reboot to make sure you didn’t break anything.

more via tuxtraining

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!

Posted in A+Featured Hacks, Computer, Cool, DoItYourself!, Educational, HOWTO, Hack, Linux, Ubuntu, Web by max on the September 25th, 2008 at 8:40 pm

Remember I did a quick post on how to write a load-balancing script (or bandwidth throttling)?

Well, today I found another cool script for limiting bandwidth.  I believe this one if more complicated but if you need it, it might be greatly helpful.

Here’s the code via Adamsinfo.com:


# Set some variables
#!/bin/bash
EXT_IFACE=”eth0″
INT_IFACE=”eth1″
TC=”tc”
UNITS=”kbit”
LINE=”10000″ #maximum ext link speed
LIMIT=”5000″ #maximum that we’ll allow

Continue reading ‘Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!’

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5 out of 5)
Loading ... Loading ...


Linus Torvalds - Software is like sex: it’s better when it’s free

Posted in A+Featured Entertainment, Computer, Consumer, Cool, Educational, Entertainment, Funny, Linux, Ubuntu by max on the September 22nd, 2008 at 5:05 am

I remember first hearing about Linus Travolds back in the early 90s and I thought Linux was going to be a hit in year 2000.

Well, it turns out I was right, just about 10 years early.  You have to admit, Linux is really taking over the world right now with web servers (including this one) and Eee PCs and other laptops that come loaded with Linux.

Anyways, I don’t want to bore my readers, here’s the 15 Great Quotes from the Linus Travolds and Stallman:

1. “To be able to choose between proprietary software packages is to be able to choose your master. Freedom means not having a master. And in the area of computing, freedom means not using proprietary software.”
-Richard M. Stallman

2. “Software is like sex: it’s better when it’s free.”
-Linus Torvalds

3. “Value your freedom or you will lose it, teaches history. ‘Don’t bother us with politics’, respond those who don’t want to learn.”
-Richard M. Stallman

4. “Software patents are a huge potential threat to the ability of people to work together on open source. Making it easier for companies and communities that have patents to make those patents available in a common pool for people to use is one way to try to help developers deal with the threat.”
-Linus Torvalds

5. “If programmers deserve to be rewarded for creating innovative programs, by the same token they deserve to be punished if they restrict the use of these programs.”
-Richard M. Stallman

6. “One of the questions I’ve always hated answering is how do people make money in open source. And I think that Caldera and Red Hat — and there are a number of other Linux companies going public — basically show that yes, you can actually make money in the open-source area.”
-Linus Torvalds

7. “Control over the use of one’s ideas really constitutes control over other people’s lives; and it is usually used to make their lives more difficult.”
-Richard M. Stallman

8. “It just makes it even harder for people to even approach the (open source) side, when they then end up having to worry about … public humiliation.”
-Linus Torvalds

9. “I founded the free software movement, a movement for freedom to cooperate. Open source was a reaction against our idealism. We are still here and the open-source people have not wiped us out.”
-Richard M. Stallman

10. “When it comes to software, I much prefer free software, because I have very seldom seen a program that has worked well enough for my needs, and having sources available can be a life-saver.”
-Linus Torvalds

11. “If you focus your mind on the freedom and community that you can build by staying firm, you will find the strength to do it.”
-Richard M. Stallman

12. “Anybody who tells me I can’t use a program because it’s not open source, go suck on rms. I’m not interested. 99% of that I run tends to be open source, but that’s _my_ choice, dammit.”
-Linus Torvalds

13. “’Free software’ is a matter of liberty, not price. To understand the concept, you should think of ‘free’ as in ‘free speech,’ not as in ‘free beer’.”
-Richard M. Stallman

14. “I’m doing a free operating system just a hobby, won’t be big and professional like gnu for 386 (486) AT clones.”
-Linus Torvalds

15. “Once GNU is written, everyone will be able to obtain good system software free, just like air.”
-Richard M. Stallman

via junauza

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Wine Version 1.1.5 Now Available for Download!

Posted in Computer, Consumer, Cool, Linux, News, Operating System, Software, Ubuntu, download by max on the September 20th, 2008 at 4:58 pm

Wine, a Linux application that lets you run Windows programs, has now released version 1.1.5: (Go knock yourself out now, drink too much wine!)

The Wine development release 1.1.5 is now available.

What's new in this release (see below for details):
  - Substantial JavaScript implementation.
  - Partial support for layered windows.
  - Support for Unicode file export in Regedit.
  - Proper exception handling in widl-generated code.
  - Asynchronous requests and cookies support in WinHTTP.
  - Various bug fixes.

The source is available from the following locations:

  http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.5.tar.bz2
  http://prdownloads.sourceforge.net/wine/wine-1.1.5.tar.bz2

Binary packages for various distributions will be available from:

  http://www.winehq.org/site/download

You will find documentation on http://www.winehq.org/site/documentation

You can also get the current source directly from the git
repository. Check http://www.winehq.org/site/git for details.

Wine is available thanks to the work of many people. See the file
AUTHORS in the distribution for the complete list.
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...


Eee PC Hack - How to install Ubuntu Eee for ASUS Eee PCs!

Posted in A+Featured Hacks, Computer, Consumer, Cool, DoItYourself!, Educational, Gadgets, HOWTO, Hack, Linux, Operating System, Projects, Ubuntu by max on the September 18th, 2008 at 11:57 pm

In case you have bought an ASUS Eee PC with Windows, there’s a special version of Ubuntu, customized just for the Eee PC models.

This allows you to install the Ubuntu on Eee PCs without too much headache as it has already been configured for the factory hardware.

Ubuntu Eee is not only Ubuntu optimized for the Asus Eee PC. It’s an operating system, using the Netbook Remix interface, which favors the best software available instead of open source alternatives (ie. Skype instead of Ekiga). Sounds great! How can I help out? Please consider contributing with knowledge or money. And while you’re at it, please become a fan on Facebook and add yourself to the map of users

Here’s some resources for Ubuntu Eee for all you Eee PC lovers:

Ubuntu Eee Official Site

How install Ubuntu Eee

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...


DIY - How to Make your own Lunchbox Linux Firewall!

Posted in Computer, Consumer, Cool, DoItYourself!, Educational, Gadgets, HOWTO, Linux, Projects by max on the June 26th, 2008 at 10:19 pm

DIY - How to Make your own Lunchbox Linux Firewall!

As an avid fan of Linux operating systems ever since I took Minix class, which Linux was born from, I love to hear about cool little DIYs on making a Linux firewall out of a lunch box.

The greatest thing about Linux operating systems in comparison to Windows or any other operating systems is that it can be easily custom tailored to do one thing whether that’s a web server, firewall, file server, or any type of server that requires stability at “no cost”.

This simple DIY shows us the things that are possible with open source and free software.

Heck, you could probably make a lot of money putting these Lunchbox Linux firewall boxes to production as they are as good as an over-priced Cisco router.

It’s a plastic Thermos brand Hot Wheels lunchbox circa 2007. Black plastic, white handle, but no Thermos inside. As soon as I saw it, I knew it would become a computer case, so I bought it, brought it home, and started digging in the parts box. Grabbed one of my Via C3 embedded 3.5″ boards, a cheap 4GB compact flash card, a small 5V, 8A power supply, and my exacto knife and files.

via technabob

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5