<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>zedomax.com &#187; Ubuntu</title>
	<atom:link href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://zedomax.com/blog</link>
	<description>Zedomax - The DIY, HOWTO, Mod, Hacks, Gadgets, and Tech Blog!</description>
	<pubDate>Mon, 01 Dec 2008 02:23:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>Ubuntu Linux Hack - How to Install Fresh Copy of Ubuntu without Losing your Current Program Settings!</title>
		<link>http://zedomax.com/blog/2008/11/13/ubuntu-linux-hack-how-to-install-fresh-copy-of-ubuntu-without-losing-your-current-program-settings/</link>
		<comments>http://zedomax.com/blog/2008/11/13/ubuntu-linux-hack-how-to-install-fresh-copy-of-ubuntu-without-losing-your-current-program-settings/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 08:42:32 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Hacks]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[amp]]></category>

		<category><![CDATA[apps]]></category>

		<category><![CDATA[backup package]]></category>

		<category><![CDATA[distro]]></category>

		<category><![CDATA[external hard drive]]></category>

		<category><![CDATA[gedit]]></category>

		<category><![CDATA[hard core]]></category>

		<category><![CDATA[hidden folders]]></category>

		<category><![CDATA[home folder]]></category>

		<category><![CDATA[mistake]]></category>

		<category><![CDATA[package selections]]></category>

		<category><![CDATA[program settings]]></category>

		<category><![CDATA[sudo]]></category>

		<category><![CDATA[will take some time]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=10921</guid>
		<description><![CDATA[ 
If you are a hard-core Ubuntu/Linux supporter like me, you will need to learn how to save your programs when you install a fresh copy of Ubuntu.
Here&#8217;s how to do it:
Configuration
Keeping your configuration intact is pretty straight forward and obvious. Just backup your /home folder onto an external drive or whatever. Make sure you also [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-10914 aligncenter" title="ubuntu" src="http://zedomax.com/blog/wp-content/uploads/2008/11/ubuntu.jpg" alt="" width="500" height="333" /></p>
<p>If you are a hard-core Ubuntu/Linux supporter like me, you will need to learn how to save your programs when you install a fresh copy of Ubuntu.</p>
<p>Here&#8217;s how to do it:</p>
<blockquote><p>Configuration</p>
<p>Keeping your configuration intact is pretty straight forward and obvious. Just backup your /home folder onto an external drive or whatever. Make sure you also grab the hidden files, don’t do my mistake!<br />
Applications</p>
<p>Now for the current applications. Basically we just need to make a full list of the installed apps.<br />
sudo dpkg –get-selections &gt; /home/user/package.selections</p>
<p>Of course don’t forget to backup package.selections on the external hard-drive. Also you should backup your /etc/apt/sources.list file since you probably have some extra sources listed over there. Now you can go about your business and do a fresh install.<br />
Restore</p>
<p>Once your done with the fresh install, copy the file package.selections into your home. Then copy your sources.list file into /etc/apt/ and update it to match your current distro (e.g Gutsy –&gt; Intrepid) you can use CTRL + H in gedit for that. Then do a “sudo apt-get update” ,and finally invoke:<br />
sudo dpkg –set-selections /home/package.selections &amp;&amp; apt-get dselect-upgrade</p>
<p>apt-get will now start downloading all your apps, this will take some time depending on the number of apps you have installed.</p>
<p>Once that’s done, just copy your backup-ed /home over the current /home (again don’t forget hidden folders).</p>
<p>Log out and log back in to your shiny new fresh install!</p></blockquote>
<p><a href="http://hehe2.net/linuxhowto/howto-fresh-ubuntu-install-without-losing-your-current-settings/">source</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/11/13/ubuntu-linux-hack-how-to-install-fresh-copy-of-ubuntu-without-losing-your-current-program-settings/">Ubuntu Linux Hack - How to Install Fresh Copy of Ubuntu without Losing your Current Program Settings!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/afeatured-hacks/" title="A+Featured Hacks" rel="tag">A+Featured Hacks</a>, <a href="http://zedomax.com/blog/tag/amp/" title="amp" rel="tag">amp</a>, <a href="http://zedomax.com/blog/tag/apps/" title="apps" rel="tag">apps</a>, <a href="http://zedomax.com/blog/tag/backup-package/" title="backup package" rel="tag">backup package</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/distro/" title="distro" rel="tag">distro</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/external-hard-drive/" title="external hard drive" rel="tag">external hard drive</a>, <a href="http://zedomax.com/blog/tag/gedit/" title="gedit" rel="tag">gedit</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hard-core/" title="hard core" rel="tag">hard core</a>, <a href="http://zedomax.com/blog/tag/hidden-folders/" title="hidden folders" rel="tag">hidden folders</a>, <a href="http://zedomax.com/blog/tag/home-folder/" title="home folder" rel="tag">home folder</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/mistake/" title="mistake" rel="tag">mistake</a>, <a href="http://zedomax.com/blog/tag/package-selections/" title="package selections" rel="tag">package selections</a>, <a href="http://zedomax.com/blog/tag/program-settings/" title="program settings" rel="tag">program settings</a>, <a href="http://zedomax.com/blog/category/diy/projects/" title="Projects" rel="tag">Projects</a>, <a href="http://zedomax.com/blog/tag/sudo/" title="sudo" rel="tag">sudo</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/will-take-some-time/" title="will take some time" rel="tag">will take some time</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/01/16/diy-hack-howto-make-windows-xp-look-like-fedora-linux/" title="DIY HACK - HOWTO Make Windows XP Look Like Fedora Linux! (January 16, 2008)">DIY HACK - HOWTO Make Windows XP Look Like Fedora Linux!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2008/11/14/youtube-hack-how-to-link-directly-to-high-quality-youtube-videos/" title="YouTube Hack - How to Link Directly to High Quality YouTube Videos! (November 14, 2008)">YouTube Hack - How to Link Directly to High Quality YouTube Videos!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/25/windows-xp-running-on-ps3/" title="Windows XP Running on PS3 (November 25, 2006)">Windows XP Running on PS3</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/06/windows-mobile-iphone-theme/" title="Windows mobile iPhone theme (March 6, 2007)">Windows mobile iPhone theme</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/25/wii-hack-wiimote-door-unlocker/" title="Wii HACK - Wiimote Door Unlocker (April 25, 2007)">Wii HACK - Wiimote Door Unlocker</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/06/the-cool-robot-links-of-the-day/" title="The Cool Robot Links of the Day (April 6, 2007)">The Cool Robot Links of the Day</a> </li>
	<li><a href="http://zedomax.com/blog/2007/01/15/psp-hack-uclinux-on-your-psp/" title="PSP HACK - uClinux on your PSP! (January 15, 2007)">PSP HACK - uClinux on your PSP!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/11/13/ubuntu-linux-hack-how-to-install-fresh-copy-of-ubuntu-without-losing-your-current-program-settings/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Download New Ubuntu 8.10!</title>
		<link>http://zedomax.com/blog/2008/10/30/download-new-ubuntu-810/</link>
		<comments>http://zedomax.com/blog/2008/10/30/download-new-ubuntu-810/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 18:33:37 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating System]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[download]]></category>

		<category><![CDATA[applications word]]></category>

		<category><![CDATA[deceptive advertising practices]]></category>

		<category><![CDATA[default browser]]></category>

		<category><![CDATA[desktop operating systems]]></category>

		<category><![CDATA[free accessibility]]></category>

		<category><![CDATA[gmail]]></category>

		<category><![CDATA[live radio]]></category>

		<category><![CDATA[mail programs]]></category>

		<category><![CDATA[music stores]]></category>

		<category><![CDATA[office applications]]></category>

		<category><![CDATA[open office]]></category>

		<category><![CDATA[physical circumstances]]></category>

		<category><![CDATA[pidgin]]></category>

		<category><![CDATA[playlists]]></category>

		<category><![CDATA[productivity tools]]></category>

		<category><![CDATA[sites music]]></category>

		<category><![CDATA[social-networking-sites]]></category>

		<category><![CDATA[spreadsheets]]></category>

		<category><![CDATA[video plug]]></category>

		<category><![CDATA[windows pc]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=10647</guid>
		<description><![CDATA[ 
As a person who dislikes Apple and Microsoft&#8217;s deceptive advertising practices, I am glad that the new version of Ubuntu 8.10 is now available for download.  Although I have too many apps working on my Windows PC, I will be trying out Ubuntu 8.10 on my spare laptops and see how well it performs.  Maybe [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-10648 aligncenter" title="ubuntu-8-10" src="http://zedomax.com/blog/wp-content/uploads/2008/10/ubuntu-8-10.jpg" alt="" width="500" height="309" /></p>
<p>As a person who dislikes <a href="http://zedomax.com/blog/2008/09/19/apple-should-be-sued-for-deceptive-iphone-3g-advertising/">Apple</a> and <a href="http://zedomax.com/blog/2008/07/31/windows-vista-mojave-experiment/">Microsoft</a>&#8217;s deceptive advertising practices, I am glad that the new version of Ubuntu 8.10 is now available for download.  Although I have too many apps working on my Windows PC, I will be trying out Ubuntu 8.10 on my spare laptops and see how well it performs.  Maybe I might even swap out my main PC too soon.</p>
<blockquote><p>Productivity tools: Ubuntu supports all of your favourite web-based mail programs like Yahoo(TM) or Gmail (TM). But for the office, Evolution provides all the calendering, contacts and full function office email you need. Pidgin IM also puts you in instant touch with colleagues and integrates with your personal IM services simply and easily.</p>
<p>Browsing: Includes Mozilla&#8217;s Firefox 3 as the default browser. Faster, safer and themed browsing for users.</p>
<p>Photos: Upload from your camera or phone to F-Spot and manage, tag, share and sort your photos and upload easily to you favourite social networking sites.</p>
<p>Music and video: Plug in your PSP, iPod, MP3 player; share playlists with your friends; buy in the creative commons online music stores, stream more live radio and content from the BBC and plug in more devices with UPnP.</p>
<p>Office applications: Word processing, spreadsheets and presentations can all be delivered through Open Office. And, they completely integrate with the proprietary office applications out there. The big difference is that they are free.</p>
<p>Accessibility: At the core of the Ubuntu philosophy is the belief that computing is for everyone and access should be free and complete whatever your economic or physical circumstances. Ubuntu is one of the most accessible desktop operating systems around.</p></blockquote>
<p><a href="http://www.ubuntu.com/products/whatisubuntu/810features/">Download Ubuntu HERE</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/10/30/download-new-ubuntu-810/">Download New Ubuntu 8.10!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/applications-word/" title="applications word" rel="tag">applications word</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/deceptive-advertising-practices/" title="deceptive advertising practices" rel="tag">deceptive advertising practices</a>, <a href="http://zedomax.com/blog/tag/default-browser/" title="default browser" rel="tag">default browser</a>, <a href="http://zedomax.com/blog/tag/desktop-operating-systems/" title="desktop operating systems" rel="tag">desktop operating systems</a>, <a href="http://zedomax.com/blog/category/computer/software/download/" title="download" rel="tag">download</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/free-accessibility/" title="free accessibility" rel="tag">free accessibility</a>, <a href="http://zedomax.com/blog/tag/gmail/" title="gmail" rel="tag">gmail</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/live-radio/" title="live radio" rel="tag">live radio</a>, <a href="http://zedomax.com/blog/tag/mail-programs/" title="mail programs" rel="tag">mail programs</a>, <a href="http://zedomax.com/blog/tag/music-stores/" title="music stores" rel="tag">music stores</a>, <a href="http://zedomax.com/blog/tag/office-applications/" title="office applications" rel="tag">office applications</a>, <a href="http://zedomax.com/blog/tag/open-office/" title="open office" rel="tag">open office</a>, <a href="http://zedomax.com/blog/category/computer/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/physical-circumstances/" title="physical circumstances" rel="tag">physical circumstances</a>, <a href="http://zedomax.com/blog/tag/pidgin/" title="pidgin" rel="tag">pidgin</a>, <a href="http://zedomax.com/blog/tag/playlists/" title="playlists" rel="tag">playlists</a>, <a href="http://zedomax.com/blog/tag/productivity-tools/" title="productivity tools" rel="tag">productivity tools</a>, <a href="http://zedomax.com/blog/tag/sites-music/" title="sites music" rel="tag">sites music</a>, <a href="http://zedomax.com/blog/tag/social-networking-sites/" title="social-networking-sites" rel="tag">social-networking-sites</a>, <a href="http://zedomax.com/blog/category/computer/software/" title="Software" rel="tag">Software</a>, <a href="http://zedomax.com/blog/tag/spreadsheets/" title="spreadsheets" rel="tag">spreadsheets</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/video-plug/" title="video plug" rel="tag">video plug</a>, <a href="http://zedomax.com/blog/tag/windows-pc/" title="windows pc" rel="tag">windows pc</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2007/05/21/zedomax-maker-faire-2007-coverage-midi-controller-that-looks-cool-livepad/" title="Zedomax Maker Faire 2007 Coverage - Midi Controller that looks cool - LivePAd (May 21, 2007)">Zedomax Maker Faire 2007 Coverage - Midi Controller that looks cool - LivePAd</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/30/zedoma-linky-links/" title="Zedoma Linky Links (April 30, 2007)">Zedoma Linky Links</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/20/web20-news-interesting-videos-about-founders-of-social-networking-sites-and-community-utopia/" title="Web2.0 News - Interesting videos about founders of Social Networking sites and Community Utopia (April 20, 2007)">Web2.0 News - Interesting videos about founders of Social Networking sites and Community Utopia</a> </li>
	<li><a href="http://zedomax.com/blog/2008/04/27/snapcom-offering-publisher-revenues-to-bloggers-and-alike-web-20-expo-2008-sf/" title="Snap.com offering publisher revenues to bloggers and alike @ Web 2.0 Expo 2008 SF (April 27, 2008)">Snap.com offering publisher revenues to bloggers and alike @ Web 2.0 Expo 2008 SF</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/12/safari-browser-plugin/" title="Safari Browser Plugin (May 12, 2008)">Safari Browser Plugin</a> </li>
	<li><a href="http://zedomax.com/blog/2008/06/26/online-service-lets-blind-surf-the-internet-from-any-computer/" title="Online Service lets Blind Surf the Internet from any Computer! (June 26, 2008)">Online Service lets Blind Surf the Internet from any Computer!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/10/23/onebuckwiki-sells-over-1000-pages-in-2-weeks-since-its-launch/" title="OneBuckWiki sells over 1000 pages in 2 weeks since its Launch! (October 23, 2007)">OneBuckWiki sells over 1000 pages in 2 weeks since its Launch!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/14/kaizo-mario-homebrew-level-for-super-mario-world/" title="Kaizo Mario - Homebrew Level for Super Mario World (July 14, 2008)">Kaizo Mario - Homebrew Level for Super Mario World</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/10/30/download-new-ubuntu-810/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debian Hack - How to Setup your Mirror!</title>
		<link>http://zedomax.com/blog/2008/10/01/debian-hack-how-to-setup-your-mirror/</link>
		<comments>http://zedomax.com/blog/2008/10/01/debian-hack-how-to-setup-your-mirror/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 20:39:15 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Hacks]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating System]]></category>

		<category><![CDATA[Storage]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[debian mirror]]></category>

		<category><![CDATA[dest]]></category>

		<category><![CDATA[etch]]></category>

		<category><![CDATA[lt]]></category>

		<category><![CDATA[mirror case]]></category>

		<category><![CDATA[multimedia method]]></category>

		<category><![CDATA[root root]]></category>

		<category><![CDATA[security method]]></category>

		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9897</guid>
		<description><![CDATA[  This might not be for all of you but for those Linuxers out there, here&#8217;s an example of how to setup your mirror:
(Mirror is a way of replicating one server to another btw if you didn&#8217;t know.)
To download the mirrors I use this script:
&#60;script sync_mirror.sh&#62;
#!/bin/bash
OPTIONS="--nosource --progress --postcleanup --ignore-release-gpg --ignore-small-errors --pdiff=none";
MIRROR=`basename ${0} &#124; cut -f2 [...] ]]></description>
			<content:encoded><![CDATA[<p> This might not be for all of you but for those Linuxers out there, here&#8217;s an example of how to setup your mirror:</p>
<p>(Mirror is a way of replicating one server to another btw if you didn&#8217;t know.)</p>
<blockquote><p>To download the mirrors I use this script:<br />
&lt;script sync_mirror.sh&gt;</p>
<pre>#!/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}</pre>
<p>&lt;/script sync_mirror.sh&gt;</p>
<p>To setup the permissions I use this script:<br />
&lt;script permissions.sh&gt;</p>
<pre>#!/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 {} \;</pre>
<p>&lt;/script permissions.sh&gt;</p>
<p>And then to pull it all together I have thefollowing directory structure (mirrors left out as it’s a ling list of files)</p>
<pre>/home/debian-mirror/
|-- debian
|-- debian-backports
|-- debian-multimedia
|-- debian-security
|-- debian-volatile
|-- scripts
|   |-- permissions.sh
|   `-- sync_mirror.sh
`-- scripts.d
    |-- mirror_backports -&gt; ../scripts/sync_mirror.sh
    |-- mirror_debian -&gt; ../scripts/sync_mirror.sh
    |-- mirror_multimedia -&gt; ../scripts/sync_mirror.sh
    |-- mirror_security -&gt; ../scripts/sync_mirror.sh
    |-- mirror_volatile -&gt; ../scripts/sync_mirror.sh
    |-- permissions_backports -&gt; ../scripts/permissions.sh
    |-- permissions_debian -&gt; ../scripts/permissions.sh
    |-- permissions_multimedia -&gt; ../scripts/permissions.sh
    |-- permissions_security -&gt; ../scripts/permissions.sh
    `-- permissions_volatile -&gt; ../scripts/permissions.sh</pre>
<p>And then I just setup a cronjob:</p>
<pre>0 0     * * 0   root    /bin/run-parts --verbose /home/debian-mirror/scripts.d | /usr/bin/mailx -s "`uname -n` - Debian mirror sync completed" root</pre>
<p>This was to disable the mirroring of one of the repositories I just need to remove the symlink from the scripts.d folder</p></blockquote>
<p><a href="http://nighthawk.co.za/2008/09/debian-mirror-howto/">via nighthawk</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/10/01/debian-hack-how-to-setup-your-mirror/">Debian Hack - How to Setup your Mirror!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/afeatured-hacks/" title="A+Featured Hacks" rel="tag">A+Featured Hacks</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/debian-mirror/" title="debian mirror" rel="tag">debian mirror</a>, <a href="http://zedomax.com/blog/tag/dest/" title="dest" rel="tag">dest</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/etch/" title="etch" rel="tag">etch</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/lt/" title="lt" rel="tag">lt</a>, <a href="http://zedomax.com/blog/tag/mirror-case/" title="mirror case" rel="tag">mirror case</a>, <a href="http://zedomax.com/blog/tag/multimedia-method/" title="multimedia method" rel="tag">multimedia method</a>, <a href="http://zedomax.com/blog/category/computer/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/root-root/" title="root root" rel="tag">root root</a>, <a href="http://zedomax.com/blog/tag/security-method/" title="security method" rel="tag">security method</a>, <a href="http://zedomax.com/blog/category/computer/storage/" title="Storage" rel="tag">Storage</a>, <a href="http://zedomax.com/blog/tag/sync/" title="sync" rel="tag">sync</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/07/28/linux-server-hack-how-to-setup-a-shell-script-to-auto-restart-apache-httpd-server/" title="Linux Server Hack - How to setup a Shell Script to Auto Restart Apache Httpd Server! (July 28, 2008)">Linux Server Hack - How to setup a Shell Script to Auto Restart Apache Httpd Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/11/14/youtube-hack-how-to-link-directly-to-high-quality-youtube-videos/" title="YouTube Hack - How to Link Directly to High Quality YouTube Videos! (November 14, 2008)">YouTube Hack - How to Link Directly to High Quality YouTube Videos!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/04/26/wordpress-hack-how-to-widgetize-your-theme/" title="Wordpress HACK - How to widgetize your theme! (April 26, 2008)">Wordpress HACK - How to widgetize your theme!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/26/viewsonic-korea-launches-a-curved-19-lcd-in-korea/" title="Viewsonic Korea Launches a Curved 19&#8243; LCD in Korea (May 26, 2008)">Viewsonic Korea Launches a Curved 19&#8243; LCD in Korea</a> </li>
	<li><a href="http://zedomax.com/blog/2008/06/07/ultimate-gamers-portable-pc-with-3-foldable-screens/" title="Ultimate Gamer&#8217;s Portable PC with 3 foldable screens! (June 7, 2008)">Ultimate Gamer&#8217;s Portable PC with 3 foldable screens!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/26/timberjack-ironclad-glove-in-action/" title="Timberjack IronClad Glove in Action! (May 26, 2008)">Timberjack IronClad Glove in Action!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/08/01/sanyo-xga-projector-with-ultra-short-projection-distance/" title="Sanyo XGA Projector with Ultra-short Projection Distance! (August 1, 2008)">Sanyo XGA Projector with Ultra-short Projection Distance!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/18/samsungs-82-inch-120hz-lcd-tv/" title="Samsung&#8217;s 82 Inch 120Hz LCD TV! (May 18, 2008)">Samsung&#8217;s 82 Inch 120Hz LCD TV!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/10/01/debian-hack-how-to-setup-your-mirror/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu Hack - How to Make Ubuntu run Super Fast!</title>
		<link>http://zedomax.com/blog/2008/09/29/ubuntu-hack-how-to-make-ubuntu-run-super-fast/</link>
		<comments>http://zedomax.com/blog/2008/09/29/ubuntu-hack-how-to-make-ubuntu-run-super-fast/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 21:25:18 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Hacks]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Entertainment]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating System]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[192 168 1 100]]></category>

		<category><![CDATA[boot time]]></category>

		<category><![CDATA[broadcast]]></category>

		<category><![CDATA[dhcp server]]></category>

		<category><![CDATA[dual core processor]]></category>

		<category><![CDATA[etc network]]></category>

		<category><![CDATA[firestarter]]></category>

		<category><![CDATA[firewall]]></category>

		<category><![CDATA[grub]]></category>

		<category><![CDATA[iface]]></category>

		<category><![CDATA[iptables]]></category>

		<category><![CDATA[kernel]]></category>

		<category><![CDATA[lst]]></category>

		<category><![CDATA[network interfaces]]></category>

		<category><![CDATA[shell]]></category>

		<category><![CDATA[static address]]></category>

		<category><![CDATA[static ip]]></category>

		<category><![CDATA[t break]]></category>

		<category><![CDATA[ttys]]></category>

		<category><![CDATA[unnecessary services]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9833</guid>
		<description><![CDATA[ 
For those of us who are anti-Windows and anti-Mac, we will benefit from learning how to make Ubuntu run super fast.
Here&#8217;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 [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-9834 aligncenter" title="ubuntu" src="http://zedomax.com/blog/wp-content/uploads/2008/09/ubuntu.jpg" alt="" width="216" height="68" /></p>
<p>For those of us who are anti-Windows and anti-Mac, we will benefit from learning how to make Ubuntu run super fast.</p>
<p>Here&#8217;s some great tips on minimizing processes to make your Ubuntu run faster than ever:</p>
<blockquote><p><strong>1.</strong> 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:</p>
<p>auto lo<br />
iface lo inet loopback</p>
<p>auto eth0<br />
iface eth0 inet static<br />
address 192.168.1.150<br />
netmask 255.255.255.0<br />
network 192.168.1.100<br />
broadcast 192.168.0.255<br />
gateway 192.168.1.1</p>
<p>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.</p>
<p><strong><span style="color: #000000;">2.</span></strong> Also remove firestarter or whatever graphical firewall frontend you’re using.  <a href="http://tuxtraining.com/2008/05/15/iptables-how-to-save-and-restore-rules-at-boot-shutdown">Learn to control iptables at boot up and shutdown</a>.  It’ll be much snappier.</p>
<p><strong>3</strong>. 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.</p>
<p><strong>4.</strong> Turn off usplash in grub. (Mind you, you’re bootup won’t be as pretty as the splash will go away).</p>
<ul>
<li>vim /boot/grub/menu.lst</li>
<li>on the kernel line delete the words “splash” and “quiet”</li>
<li>Reboot to see the changes.</li>
</ul>
<p><span style="color: #888888;"><strong><span style="color: #000000;">5.</span></strong> </span> If you have a dual core processor, you can decrease your boot time with concurrency.</p>
<ul>
<li><code><span style="color: black;">sudo vim /etc/init.d/rc</span></code></li>
<li><span style="color: black;">and find the line <em>CONCURRENCY=none</em> and change it to: </span><code><span style="color: black;">CONCURRENCY=shell</span></code></li>
<li>Reboot to see the changes. (tired of rebooting yet?)</li>
</ul>
<p><strong><span style="color: #888888;"><span style="color: #000000;">6</span></span></strong><strong><span style="color: #888888;">.</span></strong> Remove some TTYs</p>
<p>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.</p>
<p>You have to edit /etc/default/console-setup file. This file defines how many ttys should you get.</p>
<p>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]“.</p>
<p>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.</p>
<p>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.</p></blockquote>
<p><a href="http://tuxtraining.com/2008/09/28/how-to-make-ubuntu-extremely-fast/">more via tuxtraining</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/09/29/ubuntu-hack-how-to-make-ubuntu-run-super-fast/">Ubuntu Hack - How to Make Ubuntu run Super Fast!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/192-168-1-100/" title="192 168 1 100" rel="tag">192 168 1 100</a>, <a href="http://zedomax.com/blog/category/afeatured-hacks/" title="A+Featured Hacks" rel="tag">A+Featured Hacks</a>, <a href="http://zedomax.com/blog/tag/boot-time/" title="boot time" rel="tag">boot time</a>, <a href="http://zedomax.com/blog/tag/broadcast/" title="broadcast" rel="tag">broadcast</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/dhcp-server/" title="dhcp server" rel="tag">dhcp server</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/dual-core-processor/" title="dual core processor" rel="tag">dual core processor</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/tag/etc-network/" title="etc network" rel="tag">etc network</a>, <a href="http://zedomax.com/blog/tag/firestarter/" title="firestarter" rel="tag">firestarter</a>, <a href="http://zedomax.com/blog/tag/firewall/" title="firewall" rel="tag">firewall</a>, <a href="http://zedomax.com/blog/category/ct/gadgets/" title="Gadgets" rel="tag">Gadgets</a>, <a href="http://zedomax.com/blog/tag/grub/" title="grub" rel="tag">grub</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/tag/iface/" title="iface" rel="tag">iface</a>, <a href="http://zedomax.com/blog/tag/iptables/" title="iptables" rel="tag">iptables</a>, <a href="http://zedomax.com/blog/tag/kernel/" title="kernel" rel="tag">kernel</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/lst/" title="lst" rel="tag">lst</a>, <a href="http://zedomax.com/blog/tag/network-interfaces/" title="network interfaces" rel="tag">network interfaces</a>, <a href="http://zedomax.com/blog/category/computer/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/shell/" title="shell" rel="tag">shell</a>, <a href="http://zedomax.com/blog/tag/static-address/" title="static address" rel="tag">static address</a>, <a href="http://zedomax.com/blog/tag/static-ip/" title="static ip" rel="tag">static ip</a>, <a href="http://zedomax.com/blog/tag/t-break/" title="t break" rel="tag">t break</a>, <a href="http://zedomax.com/blog/tag/ttys/" title="ttys" rel="tag">ttys</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/unnecessary-services/" title="unnecessary services" rel="tag">unnecessary services</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2007/04/01/diy-linuxubuntu-how-to-set-up-a-custom-firewall-using-iptables/" title="DIY Linux/Ubuntu - How to set up a custom firewall using iptables (April 1, 2007)">DIY Linux/Ubuntu - How to set up a custom firewall using iptables</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/11/test-your-website-to-see-its-sensored-by-great-firewall-of-china/" title="Test your website to see it&#8217;s sensored by great firewall of China! (March 11, 2007)">Test your website to see it&#8217;s sensored by great firewall of China!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/10/04/skateboard-goes-50mph-on-the-highway-in-germany/" title="Skateboard goes 50MPH+ on the Highway in Germany! (October 4, 2008)">Skateboard goes 50MPH+ on the Highway in Germany!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/09/10/moller-flying-car-the-autovolantor/" title="Moller Flying Car - The Autovolantor! (September 10, 2008)">Moller Flying Car - The Autovolantor!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/20/mechanical-hit-counter/" title="Mechanical Hit Counter (March 20, 2007)">Mechanical Hit Counter</a> </li>
	<li><a href="http://zedomax.com/blog/2008/09/25/linux-server-hack-how-to-limit-bandwidth-with-linux-tc-and-iproute2/" title="Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2! (September 25, 2008)">Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/16/linux-diy-hack-how-to-scan-the-waves-with-your-tv-card/" title="Linux DIY Hack - HOW TO - Scan the &#8216;waves with your TV card (October 16, 2006)">Linux DIY Hack - HOW TO - Scan the &#8216;waves with your TV card</a> </li>
	<li><a href="http://zedomax.com/blog/2008/08/23/jerry-seinfeld-hired-by-microsoft-to-do-anti-apple-ads/" title="Jerry Seinfeld Hired by Microsoft to do Anti-Apple Ads! (August 23, 2008)">Jerry Seinfeld Hired by Microsoft to do Anti-Apple Ads!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/09/29/ubuntu-hack-how-to-make-ubuntu-run-super-fast/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!</title>
		<link>http://zedomax.com/blog/2008/09/25/linux-server-hack-how-to-limit-bandwidth-with-linux-tc-and-iproute2/</link>
		<comments>http://zedomax.com/blog/2008/09/25/linux-server-hack-how-to-limit-bandwidth-with-linux-tc-and-iproute2/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 03:40:28 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Hacks]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[ceil]]></category>

		<category><![CDATA[cool script]]></category>

		<category><![CDATA[download speed]]></category>

		<category><![CDATA[high priority]]></category>

		<category><![CDATA[iface]]></category>

		<category><![CDATA[internal interface]]></category>

		<category><![CDATA[link speed]]></category>

		<category><![CDATA[load balancing]]></category>

		<category><![CDATA[medium priority]]></category>

		<category><![CDATA[priority class]]></category>

		<category><![CDATA[priority traffic]]></category>

		<category><![CDATA[root classes]]></category>

		<category><![CDATA[speed limit]]></category>

		<category><![CDATA[tc units]]></category>

		<category><![CDATA[traffic class]]></category>

		<category><![CDATA[upload speed]]></category>

		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9731</guid>
		<description><![CDATA[ 
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&#8217;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 [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-9732 aligncenter" title="code" src="http://zedomax.com/blog/wp-content/uploads/2008/09/code.jpg" alt="" width="263" height="261" /></p>
<p>Remember I did a quick post on <a href="http://zedomax.com/blog/2008/09/23/linux-web-server-hack-how-to-write-automated-load-balancing-script/">how to write a load-balancing script (or bandwidth throttling)</a>?</p>
<p>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.</p>
<p>Here&#8217;s the code via <a href="http://www.adamsinfo.com/bandwith-limiting-with-linux-tc-and-iproute2/">Adamsinfo.com</a>:</p>
<p><code><br />
# Set some variables<br />
#!/bin/bash<br />
EXT_IFACE=”eth0″<br />
INT_IFACE=”eth1″<br />
TC=”tc”<br />
UNITS=”kbit”<br />
LINE=”10000″ #maximum ext link speed<br />
LIMIT=”5000″ #maximum that we’ll allow</code></p>
<p><span id="more-9731"></span><br />
# Set some variables for individual “classes” that we’ll use to shape internal upload speed, i.e. shaping eth0<br />
CLS1_RATE=”200″         # High Priority traffic class has 200kbit<br />
CLS2_RATE=”300″         # Medium Priority class has 300kbit<br />
CLS3_RATE=”4500″        # Bulk class has 4500kbit<br />
# (We’ll set which ones can borrow from which later)</p>
<p># Set some variables for individual “classes” that we’ll use to shape internal download speed, i.e. shaping eth1<br />
INT_CLS1_RATE=”1000″ #Priority<br />
INT_CLS2_RATE=”4000″ #Bulk</p>
<p># Delete current qdiscs. i.e. clean up<br />
${TC} qdisc del dev ${INT_IFACE} root<br />
${TC} qdisc del dev ${EXT_IFACE} root</p>
<p># Attach root qdiscs. We are using HTB here, and attaching this qdisc to both interfaces. We’ll label it “1:0″<br />
${TC} qdisc add dev ${INT_IFACE} root handle 1:0 htb<br />
${TC} qdisc add dev ${EXT_IFACE} root handle 1:0 htb</p>
<p># Create root classes, with the maximum limits defined<br />
# One for eth1<br />
${TC} class add dev ${INT_IFACE} parent 1:0 classid 1:1 htb rate ${LIMIT}${UNITS} ceil ${LIMIT}${UNITS}<br />
# One for eth0<br />
${TC} class add dev ${EXT_IFACE} parent 1:0 classid 1:1 htb rate ${LIMIT}${UNITS} ceil ${LIMIT}${UNITS}</p>
<p># Create child classes<br />
# These are for our internal interface eth1<br />
# Create a class labelled “1:2″ and give it the limit defined above<br />
${TC} class add dev ${INT_IFACE} parent 1:1 classid 1:2 htb rate ${INT_CLS1_RATE}${UNITS} ceil ${LIMIT}${UNITS}<br />
# Create a class labelled “1:3″ and give it the limit defined above<br />
${TC} class add dev ${INT_IFACE} parent 1:1 classid 1:3 htb rate ${INT_CLS2_RATE}${UNITS} ceil ${INT_CLS2_RATE}${UNITS}</p>
<p># EXT_IF (upload) now. We also set which classes can borrow and lend.<br />
# This class is guaranteed 200kbit and can burst up to 5000kbit if available<br />
${TC} class add dev ${EXT_IFACE} parent 1:1 classid 1:2 htb rate ${CLS1_RATE}${UNITS} ceil ${LIMIT}${UNITS}<br />
# This class is guaranteed 300kbit and can burst up to 5000kbit-200kbit=4800kbit if available<br />
${TC} class add dev ${EXT_IFACE} parent 1:1 classid 1:3 htb rate ${CLS2_RATE}${UNITS} ceil `echo ${LIMIT}-${CLS1_RATE}|bc`${UNITS}<br />
# This class can is guaranteed 4500kbit and can’t burst past it (5000kbit-200kbit-300kbit=4500kbit).<br />
# I.e. even if our bulk traffic goes crazy, the two classes above are still guaranteed availability.<br />
${TC} class add dev ${EXT_IFACE} parent 1:1 classid 1:4 htb rate ${CLS3_RATE}${UNITS} ceil `echo ${LIMIT}-${CLS1_RATE}-${CLS2_RATE}|bc`${UNITS}</p>
<p># Add pfifo. Read more about pfifo elsewhere, it’s outside the scope of this howto.<br />
${TC} qdisc add dev ${INT_IFACE} parent 1:2 handle 12: pfifo limit 10<br />
${TC} qdisc add dev ${INT_IFACE} parent 1:3 handle 13: pfifo limit 10<br />
${TC} qdisc add dev ${EXT_IFACE} parent 1:2 handle 12: pfifo limit 10<br />
${TC} qdisc add dev ${EXT_IFACE} parent 1:3 handle 13: pfifo limit 10<br />
${TC} qdisc add dev ${EXT_IFACE} parent 1:4 handle 14: pfifo limit 10</p>
<p>### Done adding all the classes, now set up some rules! ###<br />
# INT_IFACE<br />
# Note the ‘dst’ direction. Traffic that goes OUT of our internal interface and to our servers is out server’s download speed, so SOME_IMPORTANT_IP is allocated to 1:2 class for download.<br />
${TC} filter add dev ${INT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip dst SOME_IMPORTANT_IP/32 flowid 1:2<br />
${TC} filter add dev ${INT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip dst SOME_OTHER_IMPORTANT_IP/32 flowid 1:2<br />
#All other servers download speed goes to 1:3 - not as important as the above two<br />
${TC} filter add dev ${INT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip dst 0.0.0.0/0 flowid 1:3</p>
<p># EXT_IFACE<br />
# Prioritize DNS requests<br />
${TC} filter add dev ${EXT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip src IMPORTANT_IP/32 match ip sport 53 0xffff flowid 1:2<br />
# SSH is important<br />
${TC} filter add dev ${EXT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip src IMPORTANT_IP/32 match ip sport 22 0xffff flowid 1:2<br />
# Our exim SMTP server is important too<br />
${TC} filter add dev ${EXT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip src 217.10.156.197/32 match ip sport 25 0xffff flowid 1:3<br />
# The bulk<br />
${TC} filter add dev ${EXT_IFACE} parent 1:0 protocol ip prio 1 u32 match ip src 0.0.0.0/0 flowid 1:4</p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/09/25/linux-server-hack-how-to-limit-bandwidth-with-linux-tc-and-iproute2/">Linux Server Hack - How to Limit Bandwidth with Linux, TC, and iproute2!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/afeatured-hacks/" title="A+Featured Hacks" rel="tag">A+Featured Hacks</a>, <a href="http://zedomax.com/blog/tag/ceil/" title="ceil" rel="tag">ceil</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cool-script/" title="cool script" rel="tag">cool script</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/download-speed/" title="download speed" rel="tag">download speed</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/high-priority/" title="high priority" rel="tag">high priority</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/tag/iface/" title="iface" rel="tag">iface</a>, <a href="http://zedomax.com/blog/tag/internal-interface/" title="internal interface" rel="tag">internal interface</a>, <a href="http://zedomax.com/blog/tag/link-speed/" title="link speed" rel="tag">link speed</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/load-balancing/" title="load balancing" rel="tag">load balancing</a>, <a href="http://zedomax.com/blog/tag/medium-priority/" title="medium priority" rel="tag">medium priority</a>, <a href="http://zedomax.com/blog/tag/priority-class/" title="priority class" rel="tag">priority class</a>, <a href="http://zedomax.com/blog/tag/priority-traffic/" title="priority traffic" rel="tag">priority traffic</a>, <a href="http://zedomax.com/blog/tag/root-classes/" title="root classes" rel="tag">root classes</a>, <a href="http://zedomax.com/blog/tag/speed-limit/" title="speed limit" rel="tag">speed limit</a>, <a href="http://zedomax.com/blog/tag/tc-units/" title="tc units" rel="tag">tc units</a>, <a href="http://zedomax.com/blog/tag/traffic-class/" title="traffic class" rel="tag">traffic class</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/upload-speed/" title="upload speed" rel="tag">upload speed</a>, <a href="http://zedomax.com/blog/tag/variables/" title="variables" rel="tag">variables</a>, <a href="http://zedomax.com/blog/category/wt/" title="Web" rel="tag">Web</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/09/29/ubuntu-hack-how-to-make-ubuntu-run-super-fast/" title="Ubuntu Hack - How to Make Ubuntu run Super Fast! (September 29, 2008)">Ubuntu Hack - How to Make Ubuntu run Super Fast!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/06/passenger-moons-speeding-camera/" title="Passenger &#8220;moons&#8221; Speeding Camera (May 6, 2008)">Passenger &#8220;moons&#8221; Speeding Camera</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/28/linux-server-hack-how-to-setup-a-shell-script-to-auto-restart-apache-httpd-server/" title="Linux Server Hack - How to setup a Shell Script to Auto Restart Apache Httpd Server! (July 28, 2008)">Linux Server Hack - How to setup a Shell Script to Auto Restart Apache Httpd Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/10/06/fords-key-with-a-chip-prevents-teenagers-from-driving-over-80mph-and-more-parental-control/" title="Ford&#8217;s Key with a Chip prevents Teenagers from driving over 80MPH and more Parental Control! (October 6, 2008)">Ford&#8217;s Key with a Chip prevents Teenagers from driving over 80MPH and more Parental Control!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/28/digital-plant-tells-you-their-feelings/" title="Digital Plant tells you their feelings! (May 28, 2008)">Digital Plant tells you their feelings!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/16/chocolate-is-it-bad-for-dogs/" title="Chocolate, Is it Bad for Dogs? (July 16, 2008)">Chocolate, Is it Bad for Dogs?</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/09/25/linux-server-hack-how-to-limit-bandwidth-with-linux-tc-and-iproute2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linus Torvalds - Software is like sex: it&#8217;s better when it&#8217;s free</title>
		<link>http://zedomax.com/blog/2008/09/22/linus-torvalds-software-is-like-sex-its-better-when-its-free/</link>
		<comments>http://zedomax.com/blog/2008/09/22/linus-torvalds-software-is-like-sex-its-better-when-its-free/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 12:05:21 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Entertainment]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Entertainment]]></category>

		<category><![CDATA[Funny]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[10 years]]></category>

		<category><![CDATA[companies going public]]></category>

		<category><![CDATA[innovative programs]]></category>

		<category><![CDATA[laptops]]></category>

		<category><![CDATA[linus torvalds]]></category>

		<category><![CDATA[linux companies]]></category>

		<category><![CDATA[programmers]]></category>

		<category><![CDATA[proprietary software]]></category>

		<category><![CDATA[software packages]]></category>

		<category><![CDATA[software patents]]></category>

		<category><![CDATA[source side]]></category>

		<category><![CDATA[stallman]]></category>

		<category><![CDATA[token]]></category>

		<category><![CDATA[web servers]]></category>

		<category><![CDATA[year 2000]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9634</guid>
		<description><![CDATA[ 
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) [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-9635 aligncenter" title="linux" src="http://zedomax.com/blog/wp-content/uploads/2008/09/linux.jpg" alt="" width="320" height="187" /></p>
<p>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.</p>
<p>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 <a href="http://laptoppimp.com/asus-laptops/asus-eec-pc-9011000-launched/">Eee PCs</a> and other <a href="http://laptoppimp.com">laptops</a> that come loaded with Linux.</p>
<p>Anyways, I don&#8217;t want to bore my readers, here&#8217;s the 15 Great Quotes from the Linus Travolds and Stallman:</p>
<blockquote><p>1. &#8220;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.&#8221;<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>2. “Software is like sex: it&#8217;s better when it&#8217;s free.”<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>3. “Value your freedom or you will lose it, teaches history. &#8216;Don&#8217;t bother us with politics&#8217;, respond those who don&#8217;t want to learn.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>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.”<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>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.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>6. “One of the questions I&#8217;ve always hated answering is how do people make money in open source. And I think that Caldera and Red Hat &#8212; and there are a number of other Linux companies going public &#8212; basically show that yes, you can actually make money in the open-source area.”<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>7. “Control over the use of one&#8217;s ideas really constitutes control over other people&#8217;s lives; and it is usually used to make their lives more difficult.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>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 &#8230; public humiliation.”<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>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.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>10. &#8220;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.&#8221;<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>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.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>12. &#8220;Anybody who tells me I can&#8217;t use a program because it&#8217;s not open source, go suck on rms. I&#8217;m not interested. 99% of that I run tends to be open source, but that&#8217;s _my_ choice, dammit.&#8221;<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>13. “&#8217;Free software&#8217; is a matter of liberty, not price. To understand the concept, you should think of &#8216;free&#8217; as in &#8216;free speech,&#8217; not as in &#8216;free beer&#8217;.”<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p>
<p>14. &#8220;I&#8217;m doing a free operating system just a hobby, won&#8217;t be big and professional like gnu for 386 (486) AT clones.&#8221;<br />
<span style="font-style: italic;">-Linus Torvalds</span></p>
<p>15. &#8220;Once GNU is written, everyone will be able to obtain good system software free, just like air.&#8221;<br />
<span style="font-style: italic;">-Richard M. Stallman</span></p></blockquote>
<p><a href="http://www.junauza.com/2008/09/15-great-quotes-from-torvalds-and.html">via junauza</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/09/22/linus-torvalds-software-is-like-sex-its-better-when-its-free/">Linus Torvalds - Software is like sex: it&#8217;s better when it&#8217;s free</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/10-years/" title="10 years" rel="tag">10 years</a>, <a href="http://zedomax.com/blog/category/afeatured-entertainment/" title="A+Featured Entertainment" rel="tag">A+Featured Entertainment</a>, <a href="http://zedomax.com/blog/tag/companies-going-public/" title="companies going public" rel="tag">companies going public</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/category/entertainment/funny/" title="Funny" rel="tag">Funny</a>, <a href="http://zedomax.com/blog/tag/innovative-programs/" title="innovative programs" rel="tag">innovative programs</a>, <a href="http://zedomax.com/blog/tag/laptops/" title="laptops" rel="tag">laptops</a>, <a href="http://zedomax.com/blog/tag/linus-torvalds/" title="linus torvalds" rel="tag">linus torvalds</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux-companies/" title="linux companies" rel="tag">linux companies</a>, <a href="http://zedomax.com/blog/tag/programmers/" title="programmers" rel="tag">programmers</a>, <a href="http://zedomax.com/blog/tag/proprietary-software/" title="proprietary software" rel="tag">proprietary software</a>, <a href="http://zedomax.com/blog/tag/software-packages/" title="software packages" rel="tag">software packages</a>, <a href="http://zedomax.com/blog/tag/software-patents/" title="software patents" rel="tag">software patents</a>, <a href="http://zedomax.com/blog/tag/source-side/" title="source side" rel="tag">source side</a>, <a href="http://zedomax.com/blog/tag/stallman/" title="stallman" rel="tag">stallman</a>, <a href="http://zedomax.com/blog/tag/token/" title="token" rel="tag">token</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/web-servers/" title="web servers" rel="tag">web servers</a>, <a href="http://zedomax.com/blog/tag/year-2000/" title="year 2000" rel="tag">year 2000</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/10/23/zedomaxcom-updated-with-a-new-dual-quad-core-xeon-harpertown-server-from-carinet/" title="Zedomax.com Updated with a New Dual Quad-Core Xeon Harpertown Server from Cari.Net! (October 23, 2008)">Zedomax.com Updated with a New Dual Quad-Core Xeon Harpertown Server from Cari.Net!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/06/04/wimax-mini-laptops-and-intels-support/" title="WiMax, Mini-Laptops, and Intel&#8217;s Support (June 4, 2008)">WiMax, Mini-Laptops, and Intel&#8217;s Support</a> </li>
	<li><a href="http://zedomax.com/blog/2008/11/13/web-hack-how-to-make-your-site-popular/" title="Web Hack - How to Make Your Site Popular! (November 13, 2008)">Web Hack - How to Make Your Site Popular!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/06/05/top-10-reasons-why-linux-will-be-on-every-pc-in-10-years/" title="Top 10 Reasons Why Linux will be on every PC in 10 Years! (June 5, 2008)">Top 10 Reasons Why Linux will be on every PC in 10 Years!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/31/this-week-laptop-pimp-wrapup/" title="This Week Laptop Pimp WrapUp! (May 31, 2008)">This Week Laptop Pimp WrapUp!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/27/the-usb-pizza-drive/" title="The USB Pizza Drive! (May 27, 2008)">The USB Pizza Drive!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/11/09/the-26-laptop/" title="The $26 laptop (November 9, 2007)">The $26 laptop</a> </li>
	<li><a href="http://zedomax.com/blog/2008/05/26/solar-shade-veil-for-schools/" title="Solar Shade Veil for Schools! (May 26, 2008)">Solar Shade Veil for Schools!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/09/22/linus-torvalds-software-is-like-sex-its-better-when-its-free/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wine Version 1.1.5 Now Available for Download!</title>
		<link>http://zedomax.com/blog/2008/09/20/wine-version-115-now-available-for-download/</link>
		<comments>http://zedomax.com/blog/2008/09/20/wine-version-115-now-available-for-download/#comments</comments>
		<pubDate>Sat, 20 Sep 2008 23:58:01 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[News]]></category>

		<category><![CDATA[Operating System]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[download]]></category>

		<category><![CDATA[binary packages]]></category>

		<category><![CDATA[bug fixes]]></category>

		<category><![CDATA[complete list]]></category>

		<category><![CDATA[current source]]></category>

		<category><![CDATA[distributions]]></category>

		<category><![CDATA[implementation]]></category>

		<category><![CDATA[linux application]]></category>

		<category><![CDATA[repository]]></category>

		<category><![CDATA[tar bz2]]></category>

		<category><![CDATA[windows programs]]></category>

		<category><![CDATA[windows support]]></category>

		<category><![CDATA[wine development]]></category>

		<category><![CDATA[wine wine]]></category>

		<category><![CDATA[winehq]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9601</guid>
		<description><![CDATA[ 
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 [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-9602 aligncenter" title="wine" src="http://zedomax.com/blog/wp-content/uploads/2008/09/wine.png" alt="" width="209" height="99" /></p>
<p>Wine, a Linux application that lets you run Windows programs, has now <a href="http://www.winehq.org/?announce=1.1.5">released version 1.1.5</a>: (Go knock yourself out now, drink too much wine!)</p>
<blockquote>
<pre>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:

  <a href="http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.5.tar.bz2">http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.5.tar.bz2</a>
  <a href="http://prdownloads.sourceforge.net/wine/wine-1.1.5.tar.bz2">http://prdownloads.sourceforge.net/wine/wine-1.1.5.tar.bz2</a>

Binary packages for various distributions will be available from:

  <a href="http://www.winehq.org/site/download">http://www.winehq.org/site/download</a>

You will find documentation on <a href="http://www.winehq.org/site/documentation">http://www.winehq.org/site/documentation</a>

You can also get the current source directly from the git
repository. Check <a href="http://www.winehq.org/site/git">http://www.winehq.org/site/git</a> for details.

Wine is available thanks to the work of many people. See the file
<a href="http://source.winehq.org/git/wine.git/tags/wine-1.1.5:AUTHORS">AUTHORS</a> in the distribution for the complete list.</pre>
</blockquote>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/09/20/wine-version-115-now-available-for-download/">Wine Version 1.1.5 Now Available for Download!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/binary-packages/" title="binary packages" rel="tag">binary packages</a>, <a href="http://zedomax.com/blog/tag/bug-fixes/" title="bug fixes" rel="tag">bug fixes</a>, <a href="http://zedomax.com/blog/tag/complete-list/" title="complete list" rel="tag">complete list</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/current-source/" title="current source" rel="tag">current source</a>, <a href="http://zedomax.com/blog/tag/distributions/" title="distributions" rel="tag">distributions</a>, <a href="http://zedomax.com/blog/category/computer/software/download/" title="download" rel="tag">download</a>, <a href="http://zedomax.com/blog/tag/implementation/" title="implementation" rel="tag">implementation</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux-application/" title="linux application" rel="tag">linux application</a>, <a href="http://zedomax.com/blog/category/news/" title="News" rel="tag">News</a>, <a href="http://zedomax.com/blog/category/computer/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/repository/" title="repository" rel="tag">repository</a>, <a href="http://zedomax.com/blog/category/computer/software/" title="Software" rel="tag">Software</a>, <a href="http://zedomax.com/blog/tag/tar-bz2/" title="tar bz2" rel="tag">tar bz2</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/windows-programs/" title="windows programs" rel="tag">windows programs</a>, <a href="http://zedomax.com/blog/tag/windows-support/" title="windows support" rel="tag">windows support</a>, <a href="http://zedomax.com/blog/tag/wine-development/" title="wine development" rel="tag">wine development</a>, <a href="http://zedomax.com/blog/tag/wine-wine/" title="wine wine" rel="tag">wine wine</a>, <a href="http://zedomax.com/blog/tag/winehq/" title="winehq" rel="tag">winehq</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2006/11/11/list-of-running-applications-and-games-on-wine/" title="List of running Applications and Games on Wine (November 11, 2006)">List of running Applications and Games on Wine</a> </li>
	<li><a href="http://zedomax.com/blog/2008/10/08/interview-with-inventor-of-linux-linus-torvalds/" title="Interview with Inventor of Linux, Linus Torvalds! (October 8, 2008)">Interview with Inventor of Linux, Linus Torvalds!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2008/06/06/xbox-hack-how-to-run-xbox-media-center-from-a-usb-drive/" title="Xbox HACK - How to Run Xbox Media Center from a USB Drive! (June 6, 2008)">Xbox HACK - How to Run Xbox Media Center from a USB Drive!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/08/28/worlds-smallest-linux-pc-fits-in-your-hand/" title="World&#8217;s Smallest Linux PC fits in your hand! (August 28, 2008)">World&#8217;s Smallest Linux PC fits in your hand!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/09/29/wine-hq-v0922-windows-emulator-in-linux/" title="Wine HQ v0.9.22 - Windows emulator in Linux (September 29, 2006)">Wine HQ v0.9.22 - Windows emulator in Linux</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/25/windows-xp-running-on-ps3/" title="Windows XP Running on PS3 (November 25, 2006)">Windows XP Running on PS3</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/25/wii-hack-wiimote-door-unlocker/" title="Wii HACK - Wiimote Door Unlocker (April 25, 2007)">Wii HACK - Wiimote Door Unlocker</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/09/20/wine-version-115-now-available-for-download/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Eee PC Hack - How to install Ubuntu Eee for ASUS Eee PCs!</title>
		<link>http://zedomax.com/blog/2008/09/18/eee-pc-hack-how-to-install-ubuntu-eee-for-asus-eee-pcs/</link>
		<comments>http://zedomax.com/blog/2008/09/18/eee-pc-hack-how-to-install-ubuntu-eee-for-asus-eee-pcs/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 06:57:21 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[A+Featured Hacks]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Gadgets]]></category>

		<category><![CDATA[HOWTO]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Operating System]]></category>

		<category><![CDATA[Projects]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[asus eee pc]]></category>

		<category><![CDATA[configured]]></category>

		<category><![CDATA[facebook]]></category>

		<category><![CDATA[headache]]></category>

		<category><![CDATA[map]]></category>

		<category><![CDATA[open-source]]></category>

		<category><![CDATA[pc hack]]></category>

		<category><![CDATA[pc models]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/?p=9546</guid>
		<description><![CDATA[ 
In case you have bought an ASUS Eee PC with Windows, there&#8217;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 [...] ]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="size-full wp-image-9547 aligncenter" title="ubuntu-eee" src="http://zedomax.com/blog/wp-content/uploads/2008/09/ubuntu-eee.png" alt="" width="500" height="300" /></p>
<p>In case you have bought an <a href="http://laptoppimp.com/asus-laptops/asus-eee-pc-1000h-80g-review/">ASUS Eee PC</a> with Windows, there&#8217;s a special version of Ubuntu, customized just for the Eee PC models.</p>
<p>This allows you to install the Ubuntu on Eee PCs without too much headache as it has already been configured for the factory hardware.</p>
<blockquote><p>Ubuntu Eee is not only Ubuntu optimized for the Asus Eee PC. It&#8217;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&#8217;re at it, please become a fan on Facebook and add yourself to the map of users</p></blockquote>
<p>Here&#8217;s some resources for Ubuntu Eee for all you Eee PC lovers:</p>
<p><a href="http://www.ubuntu-eee.com/index.php5?title=Main_Page">Ubuntu Eee Official Site</a></p>
<p><a href="http://arstechnica.com/news.ars/post/20080727-running-ubuntu-on-the-eee-pc.html">How install Ubuntu Eee</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/09/18/eee-pc-hack-how-to-install-ubuntu-eee-for-asus-eee-pcs/">Eee PC Hack - How to install Ubuntu Eee for ASUS Eee PCs!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/afeatured-hacks/" title="A+Featured Hacks" rel="tag">A+Featured Hacks</a>, <a href="http://zedomax.com/blog/tag/asus-eee-pc/" title="asus eee pc" rel="tag">asus eee pc</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/tag/configured/" title="configured" rel="tag">configured</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/facebook/" title="facebook" rel="tag">facebook</a>, <a href="http://zedomax.com/blog/category/ct/gadgets/" title="Gadgets" rel="tag">Gadgets</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/headache/" title="headache" rel="tag">headache</a>, <a href="http://zedomax.com/blog/category/diy/howto/" title="HOWTO" rel="tag">HOWTO</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/map/" title="map" rel="tag">map</a>, <a href="http://zedomax.com/blog/tag/open-source/" title="open-source" rel="tag">open-source</a>, <a href="http://zedomax.com/blog/category/computer/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/operating-system/" title="Operating System" rel="tag">Operating System</a>, <a href="http://zedomax.com/blog/tag/pc-hack/" title="pc hack" rel="tag">pc hack</a>, <a href="http://zedomax.com/blog/tag/pc-models/" title="pc models" rel="tag">pc models</a>, <a href="http://zedomax.com/blog/category/diy/projects/" title="Projects" rel="tag">Projects</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/09/12/hp-shifting-focus-to-linux-in-order-to-get-over-vista-unpopularity/" title="HP shifting focus to Linux in order to get over Vista Unpopularity! (September 12, 2008)">HP shifting focus to Linux in order to get over Vista Unpopularity!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/16/eee-pc-hack-how-to-hack-your-internal-devices-on-an-asus-eee-pc/" title="Eee PC Hack - How to Hack your Internal Devices on an ASUS Eee PC! (July 16, 2008)">Eee PC Hack - How to Hack your Internal Devices on an ASUS Eee PC!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/07/31/windows-vista-mojave-experiment/" title="Windows Vista Mojave Experiment (July 31, 2008)">Windows Vista Mojave Experiment</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/26/wii-hack-wiimote-flightgear-ultimate-flight-simulator/" title="Wii HACK - Wiimote + FlightGear = Ultimate Flight Simulator? (December 26, 2006)">Wii HACK - Wiimote + FlightGear = Ultimate Flight Simulator?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/27/wii-hack-christmas-wii-remote-xmms-hack/" title="Wii HACK - Christmas Wii-remote xmms hack (December 27, 2006)">Wii HACK - Christmas Wii-remote xmms hack</a> </li>
	<li><a href="http://zedomax.com/blog/2006/09/11/ubuntu-the-hottest-linux-platform-today/" title="Ubuntu, the hottest linux platform today (September 11, 2006)">Ubuntu, the hottest linux platform today</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/ubuntu-610-released/" title="Ubuntu 6.10 released! (October 31, 2006)">Ubuntu 6.10 released!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/10/31/ubuntu-610-edgy-eft-review/" title="Ubuntu 6.10 Edgy Eft Review (October 31, 2006)">Ubuntu 6.10 Edgy Eft Review</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/09/18/eee-pc-hack-how-to-install-ubuntu-eee-for-asus-eee-pcs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DIY Linux HACK - HOW TO optimize your Wordpress Blog, MediaWiki, or any other high load website with Compression!</title>
		<link>http://zedomax.com/blog/2008/02/24/diy-linux-hack-how-to-optimize-your-wordpress-blog-mediawiki-or-any-other-high-load-website-with-compression/</link>
		<comments>http://zedomax.com/blog/2008/02/24/diy-linux-hack-how-to-optimize-your-wordpress-blog-mediawiki-or-any-other-high-load-website-with-compression/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 02:37:55 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[CPU]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[WebApp]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[100k]]></category>

		<category><![CDATA[21k]]></category>

		<category><![CDATA[bandwidth]]></category>

		<category><![CDATA[Blogs]]></category>

		<category><![CDATA[compression_test]]></category>

		<category><![CDATA[compression_tool]]></category>

		<category><![CDATA[cpu_server]]></category>

		<category><![CDATA[eaccelerator]]></category>

		<category><![CDATA[john_chow]]></category>

		<category><![CDATA[processing_power]]></category>

		<category><![CDATA[root_domains]]></category>

		<category><![CDATA[servers]]></category>

		<category><![CDATA[server_hacking]]></category>

		<category><![CDATA[traffic]]></category>

		<category><![CDATA[ttp]]></category>

		<category><![CDATA[web_browser]]></category>

		<category><![CDATA[web_page]]></category>

		<category><![CDATA[Zedomax]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2008/02/24/diy-linux-hack-how-to-optimize-your-wordpress-blog-mediawiki-or-any-other-high-load-website-with-compression/</guid>
		<description><![CDATA[  Well, we did a lot of server hacking before with some MySQL, eAccelerator, and httpd.
There&#8217;s a lot of major blogs out there I have checked using Web Page Compression Tool that are not using compression.  (For one, I checked John Chow&#8217;s blog)
Try to check one of your posts instead of checking your main [...] ]]></description>
			<content:encoded><![CDATA[<p> Well, we did a lot of server hacking before with some MySQL, eAccelerator, and httpd.</p>
<p>There&#8217;s a lot of major blogs out there I have checked using <a href="http://www.gidnetwork.com/tools/gzip-test.php">Web Page Compression Tool</a> that are not using compression.  (For one, I checked John Chow&#8217;s blog)</p>
<p>Try to check one of your posts instead of checking your main URL as the tool is funky with root domains.  (e.g. Check <strong>http://zedomax.com/blog/2008/02/23/never-give-up-especially-your-blog-dude/</strong> instead of h<strong>ttp://zedomax.com</strong>)</p>
<p>Here&#8217;s a screenshow of compression test I did for one of <a href="http://www.johnchow.com/tax-tips-for-people-who-still-work/">John Chow&#8217;s posts</a>:</p>
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2008/03/a.jpg" alt="a" /></p>
<p>As you can see, John Chow&#8217;s blog does not use compression.  As a result, he&#8217;s losing out on almost 5 times of bandwidth!!!</p>
<p>With level 9 compression, his site could be loaded on your web browser at 21K instead of the whopping 100K.</p>
<p>Now the compression might not be for all of you with slow CPUs.  Our Zedomax.com runs on Quad-CPU server which has a lot of CPU processing power.</p>
<p>Here&#8217;s a screenshow of my server under normal load:</p>
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2008/02/load.jpg" alt="DIY HACK - HOW TO optimize your Wordpress Blog, MediaWiki, or any other high load website with Compression!" /></p>
<p>As you can see, most of the time, my CPU is idling at 80.8%!  That means my CPU is pretty much sitting on its ass instead of doing work for me.</p>
<p>Now, if you have a similar situation, compression will help your site load faster and also bring your load down so you can handle more traffic.</p>
<p>Here&#8217;s how to enable compression if you have a dedicated or access to root on your server:</p>
<p>(Most servers have zlib installed, if you don&#8217;t have zlib installed, you will have to install that first, you can check it by making a test file and putting &lt;?php phpinfo() ?&gt; and search for zlib)</p>
<p>Add the following lines to your /etc/php.ini:</p>
<blockquote><p>zlib.output_compression = on<br />
zlib.output_compression_level = 5</p></blockquote>
<p>and then restart apache! (of course):</p>
<blockquote><p>httpd -k restart</p></blockquote>
<p>Now, go check one of your posts on the <a href="http://www.gidnetwork.com/tools/gzip-test.php">Compression Test Tool here</a>.</p>
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2008/03/b.jpg" alt="b" /></p>
<p>As you can see above, I just compressed one of my blog posts by a whopping 76.1%!</p>
<p>If you are using Super Cache plugin for Wordpress, make sure to go to options and do this too:</p>
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2008/02/enablecompression.jpg" alt="Enable Super Cache Compression" /></p>
<p>Now, your server will run faster since there&#8217;s less data being transmitted to your visitors, meaning you save bandwith, time, and most importantly, the ability to handle more traffic.</p>
<p>At 70% increase in bandwidth, that could translate to that many more visitors too as bandwidth is directly proportional to amount of time a visitor stays on your site.  (Yes, I did take Calculus in college, I failed miserably before passing.)  The less time a visitor takes to load a page on your blog or your site, the more time and bandwidth you have for other visitors.)</p>
<p>I was searching through the web for many ways to use compression for server optimization but I couldn&#8217;t find any so I sort put everything together here.</p>
<p>Hopefully, it helps you.</p>
<p>And one more thing, you can also check out <a href="http://forums.linuxwebadmin.info/index.php/topic,37.0.html">this great tutorial on your httpd.conf setup</a>.</p>
<p>You can always check out <a href="http://zedomax.com/blog/2007/04/17/diy-wordpress-hack-how-to-decrease-the-load-on-your-wordpress-blog-by-5-factors/">HOWTO decrease load on your server by 5 times</a> also.</p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/02/24/diy-linux-hack-how-to-optimize-your-wordpress-blog-mediawiki-or-any-other-high-load-website-with-compression/">DIY Linux HACK - HOW TO optimize your Wordpress Blog, MediaWiki, or any other high load website with Compression!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/100k/" title="100k" rel="tag">100k</a>, <a href="http://zedomax.com/blog/tag/21k/" title="21k" rel="tag">21k</a>, <a href="http://zedomax.com/blog/tag/bandwidth/" title="bandwidth" rel="tag">bandwidth</a>, <a href="http://zedomax.com/blog/category/wt/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/blogs/" title="Blogs" rel="tag">Blogs</a>, <a href="http://zedomax.com/blog/tag/compression_test/" title="compression_test" rel="tag">compression_test</a>, <a href="http://zedomax.com/blog/tag/compression_tool/" title="compression_tool" rel="tag">compression_tool</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/tag/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/computer/cpu/" title="CPU" rel="tag">CPU</a>, <a href="http://zedomax.com/blog/tag/cpu/" title="CPU" rel="tag">CPU</a>, <a href="http://zedomax.com/blog/tag/cpu_server/" title="cpu_server" rel="tag">cpu_server</a>, <a href="http://zedomax.com/blog/tag/eaccelerator/" title="eaccelerator" rel="tag">eaccelerator</a>, <a href="http://zedomax.com/blog/tag/john_chow/" title="john_chow" rel="tag">john_chow</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/processing_power/" title="processing_power" rel="tag">processing_power</a>, <a href="http://zedomax.com/blog/tag/root_domains/" title="root_domains" rel="tag">root_domains</a>, <a href="http://zedomax.com/blog/tag/servers/" title="servers" rel="tag">servers</a>, <a href="http://zedomax.com/blog/tag/server_hacking/" title="server_hacking" rel="tag">server_hacking</a>, <a href="http://zedomax.com/blog/tag/traffic/" title="traffic" rel="tag">traffic</a>, <a href="http://zedomax.com/blog/tag/ttp/" title="ttp" rel="tag">ttp</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/category/wt/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/category/wt/webapp/" title="WebApp" rel="tag">WebApp</a>, <a href="http://zedomax.com/blog/tag/webapp/" title="WebApp" rel="tag">WebApp</a>, <a href="http://zedomax.com/blog/tag/web_browser/" title="web_browser" rel="tag">web_browser</a>, <a href="http://zedomax.com/blog/tag/web_page/" title="web_page" rel="tag">web_page</a>, <a href="http://zedomax.com/blog/category/wt/blog/wordpress/" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://zedomax.com/blog/tag/wordpress/" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://zedomax.com/blog/tag/zedomax/" title="Zedomax" rel="tag">Zedomax</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2008/02/04/the-biggest-pyramid-splog-scam-in-this-world-today-stumbleupon-spambleupon/" title="The biggest pyramid &#8220;splog&#8221; scam in this world today - StumbleUpon =Spambleupon (February 4, 2008)">The biggest pyramid &#8220;splog&#8221; scam in this world today - StumbleUpon =Spambleupon</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/17/zedomax-korea/" title="Zedomax Korea (March 17, 2007)">Zedomax Korea</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/05/worlds-fastest-rail-train-tgv-5748-kph-inside-footage/" title="World&#8217;s Fastest Rail Train TGV 574,8 KPH Inside Footage (April 5, 2007)">World&#8217;s Fastest Rail Train TGV 574,8 KPH Inside Footage</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/23/usb-prank-mouse-jiggler/" title="USB Prank - Mouse jiggler (April 23, 2007)">USB Prank - Mouse jiggler</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/10/tofu-robot-from-japan/" title="Tofu Robot from Japan! (April 10, 2007)">Tofu Robot from Japan!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/16/the-penny-pyramid/" title="The Penny Pyramid (April 16, 2007)">The Penny Pyramid</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/02/24/diy-linux-hack-how-to-optimize-your-wordpress-blog-mediawiki-or-any-other-high-load-website-with-compression/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DIY HACK - HOWTO Upgrade (or downgrade) from Vista to Windows XP!</title>
		<link>http://zedomax.com/blog/2008/02/21/diy-hack-howto-upgrade-or-downgrade-from-vista-to-windows-xp/</link>
		<comments>http://zedomax.com/blog/2008/02/21/diy-hack-howto-upgrade-or-downgrade-from-vista-to-windows-xp/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 03:45:07 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[a6040n]]></category>

		<category><![CDATA[apartment]]></category>

		<category><![CDATA[DBAN]]></category>

		<category><![CDATA[downgrade-hp-computer]]></category>

		<category><![CDATA[downgrade-to-xp]]></category>

		<category><![CDATA[fry]]></category>

		<category><![CDATA[hp]]></category>

		<category><![CDATA[hp-a6040]]></category>

		<category><![CDATA[hp_a6040n]]></category>

		<category><![CDATA[lc]]></category>

		<category><![CDATA[raid]]></category>

		<category><![CDATA[windows_xp]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2008/02/21/diy-hack-howto-upgrade-or-downgrade-from-vista-to-windows-xp/</guid>
		<description><![CDATA[ 

(Your computer will be faster and more reliable using Windows XP vs. Vista)
After testing out Windows Vista on one of my 6 PCs laying around my apartment, I finally decided it was time to scrap Vista for Windows XP.
Well, it turns out my HP a6040n desktop I bought off the shelf at Fry&#8217;s sucked at [...] ]]></description>
			<content:encoded><![CDATA[
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2008/02/windowsxp.jpg" alt="HOWTO Upgrade (or downgrade) from Vista to Windows XP!" /></p>
<p style="text-align: center">(Your computer will be faster and more reliable using Windows XP vs. Vista)</p>
<p>After testing out Windows Vista on one of my 6 PCs laying around my apartment, I finally decided it was time to scrap Vista for Windows XP.</p>
<p>Well, it turns out my HP a6040n desktop I bought off the shelf at Fry&#8217;s sucked at downgrading to XP.  Why?</p>
<p>You go to <a href="http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?lc=en&amp;cc=ca&amp;dlc=en&amp;product=3377278&amp;lang=en&amp;">HP&#8217;s driver downloads and they don&#8217;t even have XP drivers</a>.   I think HP has to at least put the specs of all the parts on their site.  I had to open up the case and track down the motherboard, and then found a generic Intel ethernet driver just to get the internet working.</p>
<p>What a hassle.  I love HP computers but this was probably the worst experience.  (Well, I could&#8217;ve called their tech support but I am too lazy.)</p>
<p>Another problem I encountered?  Basically I got one of those blue screen of death because the harddrive is set to &#8220;RAID&#8221; on BIOS setup and Windows XP cannot detect that unless you got a driver for it.</p>
<p>So all I did was set the settings back to &#8220;IDE&#8221; on BIOS setup and the blue screen of death disappeared.  Wala!<br />
(Trust me, you really don&#8217;t need RAID unless you are thinking about running bunch of servers.)</p>
<p>I also did some research and found you can also completely re-format your harddrive using <a href="http://dban.sourceforge.net/">DBAN</a>.  Although it took me some 6 hours to <a href="http://dban.sourceforge.net/">DBAN</a> my HP harddrive, it was worth it.  DBAN is great if your harddrive seems to be protected or whatever.  Just nuke it and go along.<br />
I also made sure to re-partition with room for Ubuntu, which I will be installing next on this experimental PC.</p>
<p>I used to run all Linux computers with VMware running windows on it.  It did pretty good and my computer never gave me a blue screen of death.  All I had to do was reboot the Virtual Machine but I might be headed down that path again soon.</p>
<p>Now I feel so good, it feels like I really flushed that &#8220;hard stool&#8221; that was sitting in my gut for 6 months.</p>
<p>Good bye Vista!</p>
<p>Next up we will be covering a step-by-step transition on how to install Ubuntu and use VMware to experience a new way to access the internet.  Of couse, if you get bored of our tutorials, you can always go buy a Mac, we like Macs too.  (they are unix based, which is pretty much a fancy Linux machine really)</p>
<p>You should also check out the <a href="http://zedomax.com/blog/2007/12/08/microsoft-upgrade-to-vista-parody-ad-downgrade-to-xp-today-for-only-99/">Vista-XP parody ad we made couple months earlier</a>.</p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/02/21/diy-hack-howto-upgrade-or-downgrade-from-vista-to-windows-xp/">DIY HACK - HOWTO Upgrade (or downgrade) from Vista to Windows XP!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/a6040n/" title="a6040n" rel="tag">a6040n</a>, <a href="http://zedomax.com/blog/tag/apartment/" title="apartment" rel="tag">apartment</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/tag/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/dban/" title="DBAN" rel="tag">DBAN</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/doityourself/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/downgrade-hp-computer/" title="downgrade-hp-computer" rel="tag">downgrade-hp-computer</a>, <a href="http://zedomax.com/blog/tag/downgrade-to-xp/" title="downgrade-to-xp" rel="tag">downgrade-to-xp</a>, <a href="http://zedomax.com/blog/tag/fry/" title="fry" rel="tag">fry</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hp/" title="hp" rel="tag">hp</a>, <a href="http://zedomax.com/blog/tag/hp-a6040/" title="hp-a6040" rel="tag">hp-a6040</a>, <a href="http://zedomax.com/blog/tag/hp_a6040n/" title="hp_a6040n" rel="tag">hp_a6040n</a>, <a href="http://zedomax.com/blog/tag/lc/" title="lc" rel="tag">lc</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/raid/" title="raid" rel="tag">raid</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/windows_xp/" title="windows_xp" rel="tag">windows_xp</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/" title="DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server! (December 3, 2007)">DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2008/01/16/diy-hack-howto-make-windows-xp-look-like-fedora-linux/" title="DIY HACK - HOWTO Make Windows XP Look Like Fedora Linux! (January 16, 2008)">DIY HACK - HOWTO Make Windows XP Look Like Fedora Linux!</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/17/make-magazine-vol-08/" title="Make magazine vol 08! (November 17, 2006)">Make magazine vol 08!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/29/howtohutcom-for-howtos-and-diys/" title="HowtoHut.com for HOWTOs and DIYs (March 29, 2007)">HowtoHut.com for HOWTOs and DIYs</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/27/hack-hacking-the-ps3/" title="HACK - Hacking the PS3 (November 27, 2006)">HACK - Hacking the PS3</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/01/diy-linuxubuntu-how-to-set-up-a-custom-firewall-using-iptables/" title="DIY Linux/Ubuntu - How to set up a custom firewall using iptables (April 1, 2007)">DIY Linux/Ubuntu - How to set up a custom firewall using iptables</a> </li>
	<li><a href="http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/" title="DIY Linux Web Server HACK - Automate your MySQL MySQL database backups (February 10, 2008)">DIY Linux Web Server HACK - Automate your MySQL MySQL database backups</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/12/diy-linux-hack-xeyes/" title="DIY LINUX HACK - XEYES (April 12, 2007)">DIY LINUX HACK - XEYES</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/02/21/diy-hack-howto-upgrade-or-downgrade-from-vista-to-windows-xp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DIY Linux Web Server HACK - Automate your MySQL MySQL database backups</title>
		<link>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/</link>
		<comments>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 01:24:29 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DIY Zedomax]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[Wordpress]]></category>

		<category><![CDATA[automatic_script]]></category>

		<category><![CDATA[backup_files]]></category>

		<category><![CDATA[cron_job]]></category>

		<category><![CDATA[database_name]]></category>

		<category><![CDATA[dedicated_servers]]></category>

		<category><![CDATA[home_directory]]></category>

		<category><![CDATA[linux_boxes]]></category>

		<category><![CDATA[phpmyadmin]]></category>

		<category><![CDATA[syntax]]></category>

		<category><![CDATA[web_interface]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/</guid>
		<description><![CDATA[  Okay, I&#8217;ve been running dedicated servers for couple years now and I used to mess around with Linux boxes back in college.
Here&#8217;s an essential automatic script and a cron job you will need in order to keep your backup automatic.
Yes, if you get a dedicated server, don&#8217;t get their stupid extra $15/month for backing [...] ]]></description>
			<content:encoded><![CDATA[<p> Okay, I&#8217;ve been running dedicated servers for couple years now and I used to mess around with Linux boxes back in college.</p>
<p>Here&#8217;s <strong>an essential automatic script and a cron job you will need in order to keep your backup automatic</strong>.</p>
<p>Yes, if you get a dedicated server, don&#8217;t get their stupid extra $15/month for backing up your database.  (All they do is make scripts like this one and charge you for it)</p>
<p>You can follow this example and go spend that money on junk food.</p>
<p>So all you have to do is FTP your backup files.</p>
<p>This is way better than going into your phpMyAdmin and downloading from the web interface since the file is already ready for you to download.</p>
<p>Here&#8217;s how you do it:</p>
<p>1) Make a new file called <strong>backup.sh</strong> in your home directory. 2) Use the following syntax:</p>
<pre>mysqldump -u[USERNAME] -p[PASSWORD] --opt [DATABASE NAME] &gt; /root/backup/DATABASE1.sql</pre>
<p>Here&#8217;s an example <strong>backup.sh</strong> file if you had 2 databases:</p>
<pre>mysqldump -uUser1 -pPassword1 --opt Database1 &gt; /root/backup/Database1.sql
mysqldump -uUser2 -pPassword2 --opt Database2 &gt; /root/backup/Database2.sql
tar cvf /root/backup/sqlbackup.tar /root/backup/*</pre>
<p>You can test your script by typing this:</p>
<pre>sh backup.sh</pre>
<p>(The mysqldump will overwrite the older file if you run this more than once)</p>
<p>3) If everything is working good, now you can put that script to be run once a day in your cron job.</p>
<p>For Fedora Core, you can edit this file /etc/cron.d/sa-update</p>
<p>Add the following line:</p>
<pre>10 3 * * * root sh /root/backup/backup.sh</pre>
<p>This will execute the script once a day at 3:10AM.</p>
<p>Now <strong>simply download one tar ball file</strong> whenever you feel like backing up your database.</p>
<p>You can probably change this a little bit and use it for many other things like backing up all your files too. (which I do)</p>
<p>If you have multiple servers like me, you can also automate your scripts to download backup databases to each server.   That keeps things real redundant in case of server failure.</p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/">DIY Linux Web Server HACK - Automate your MySQL MySQL database backups</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/tag/automatic_script/" title="automatic_script" rel="tag">automatic_script</a>, <a href="http://zedomax.com/blog/tag/backup_files/" title="backup_files" rel="tag">backup_files</a>, <a href="http://zedomax.com/blog/category/wt/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cron_job/" title="cron_job" rel="tag">cron_job</a>, <a href="http://zedomax.com/blog/tag/database_name/" title="database_name" rel="tag">database_name</a>, <a href="http://zedomax.com/blog/tag/dedicated_servers/" title="dedicated_servers" rel="tag">dedicated_servers</a>, <a href="http://zedomax.com/blog/category/diy/diy-zedomax/" title="DIY Zedomax" rel="tag">DIY Zedomax</a>, <a href="http://zedomax.com/blog/tag/diy-zedomax/" title="DIY Zedomax" rel="tag">DIY Zedomax</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/doityourself/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/home_directory/" title="home_directory" rel="tag">home_directory</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux_boxes/" title="linux_boxes" rel="tag">linux_boxes</a>, <a href="http://zedomax.com/blog/tag/phpmyadmin/" title="phpmyadmin" rel="tag">phpmyadmin</a>, <a href="http://zedomax.com/blog/tag/syntax/" title="syntax" rel="tag">syntax</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/category/wt/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web_interface/" title="web_interface" rel="tag">web_interface</a>, <a href="http://zedomax.com/blog/category/wt/blog/wordpress/" title="Wordpress" rel="tag">Wordpress</a>, <a href="http://zedomax.com/blog/tag/wordpress/" title="Wordpress" rel="tag">Wordpress</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/" title="DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server! (December 3, 2007)">DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/12/17/zedomax-christmas-wreath-now-on-lifehacker/" title="Zedomax Christmas Wreath now on&#8230; Lifehacker! (December 17, 2007)">Zedomax Christmas Wreath now on&#8230; Lifehacker!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/25/post-it-pixel-wall/" title="Post-It Pixel Wall (March 25, 2007)">Post-It Pixel Wall</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/15/mac-tv-hack-how-to-run-mac-osx-on-mac-tv/" title="MAC TV Hack - How to run Mac OSX on MAC TV! (April 15, 2007)">MAC TV Hack - How to run Mac OSX on MAC TV!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/05/19/live-blogging-zedomax-booth-at-maker-faire/" title="Live Blogging - Zedomax Booth at Maker Faire (May 19, 2007)">Live Blogging - Zedomax Booth at Maker Faire</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/29/howtohutcom-for-howtos-and-diys/" title="HowtoHut.com for HOWTOs and DIYs (March 29, 2007)">HowtoHut.com for HOWTOs and DIYs</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/feed/</wfw:commentRss>
		</item>
		<item>
		<title>DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server!</title>
		<link>http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/</link>
		<comments>http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 20:25:14 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Computer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[DoItYourself!]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Entertainment]]></category>

		<category><![CDATA[Hack]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[ddos]]></category>

		<category><![CDATA[dest]]></category>

		<category><![CDATA[dos_attack]]></category>

		<category><![CDATA[dos_attacks]]></category>

		<category><![CDATA[hackers]]></category>

		<category><![CDATA[iptables]]></category>

		<category><![CDATA[linux_server_hacks]]></category>

		<category><![CDATA[per_second]]></category>

		<category><![CDATA[server_load]]></category>

		<category><![CDATA[somethin]]></category>

		<category><![CDATA[sorry_dude]]></category>

		<category><![CDATA[syn_flood]]></category>

		<category><![CDATA[tcp_connections]]></category>

		<category><![CDATA[tcp_syn]]></category>

		<category><![CDATA[try_a_little_harder]]></category>

		<category><![CDATA[yey]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/</guid>
		<description><![CDATA[  I have been reading the following book called, Linux Server Hacks, which shows you many ways you can hack your Linux server so your server doesn&#8217;t die.
This actually works since we just had a DoS attack about 5 minutes ago.  (It seems like we are getting more and more DoS attacks these days. [...] ]]></description>
			<content:encoded><![CDATA[<p> I have been reading the following book called, <a href="http://www.amazon.com/gp/product/0596004613?ie=UTF8&amp;tag=zedomax-20&amp;linkCode=as2&amp;camp=1789&amp;creative=9325&amp;creativeASIN=0596004613">Linux Server Hacks</a>, which shows you many ways you can hack your Linux server so your server doesn&#8217;t die.</p>
<p>This actually works since we just had a DoS attack about 5 minutes ago.  (It seems like we are getting more and more DoS attacks these days.  You can refer to the <a href="http://zedomax.com/blog/2007/11/06/diy-server-hack-howto-fightstop-dosdenial-of-service-attacks-using-open-source-code-ddos-deflate/">DDOS Deflate script also</a>)</p>
<p>Here&#8217;s HACK #47 I read about last week in my bath room from the book and I just used it to prevent DoS attackers from bringing my precious Quad-CPU dedicated server down.</p>
<p>Enter the following commands and you will limit number of TCP connections to your server to 12 connections per second after 24 connections have been seen.   (It means that no matter what, your server will not try to serve more than 12 visitors during one second of period when your server gets digged, farked, stumbled, or whatever)<br />
iptables -t nat -N syn-flood</p>
<p>iptables -t nat -A syn-flood -m limit &#8212;limit 12/s &#8212;limit-burst 24 -j RETURN</p>
<p>iptables -t nat -A syn-flood -j DROP</p>
<p>iptables -t nat -A PREROUTING -i $EXT_IFACE -d $DEST_IP -p tcp &#8211;syn -j syn-flood<br />
I think you can increase the values steadily if your server can handle more.  But it seems to have brought our server load from 33.00 somethin&#8217; to under 1.0.  Yey!</p>
<p>If you are a hacker, sorry dude.  You are gonna have to try a little harder hacking Zedomax since we are hackers too.</p>
<p>P.S. You know what I try to do when I find out where the hackers are coming from, I do a DoS attack back on them.  This usually pisses them off enough to DoS me more but I kinda enjoy the battle so bring it on! :p</p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/">DIY Linux DoS HACK - HOWTO Limit your the max number of TCP connections to your Web Server!</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/wt/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/tag/blog/" title="Blog" rel="tag">Blog</a>, <a href="http://zedomax.com/blog/category/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/tag/computer/" title="Computer" rel="tag">Computer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/ddos/" title="ddos" rel="tag">ddos</a>, <a href="http://zedomax.com/blog/tag/dest/" title="dest" rel="tag">dest</a>, <a href="http://zedomax.com/blog/category/diy/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/doityourself/" title="DoItYourself!" rel="tag">DoItYourself!</a>, <a href="http://zedomax.com/blog/tag/dos_attack/" title="dos_attack" rel="tag">dos_attack</a>, <a href="http://zedomax.com/blog/tag/dos_attacks/" title="dos_attacks" rel="tag">dos_attacks</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/category/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/tag/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/category/diy/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hack/" title="Hack" rel="tag">Hack</a>, <a href="http://zedomax.com/blog/tag/hackers/" title="hackers" rel="tag">hackers</a>, <a href="http://zedomax.com/blog/tag/iptables/" title="iptables" rel="tag">iptables</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux_server_hacks/" title="linux_server_hacks" rel="tag">linux_server_hacks</a>, <a href="http://zedomax.com/blog/tag/per_second/" title="per_second" rel="tag">per_second</a>, <a href="http://zedomax.com/blog/tag/server_load/" title="server_load" rel="tag">server_load</a>, <a href="http://zedomax.com/blog/tag/somethin/" title="somethin" rel="tag">somethin</a>, <a href="http://zedomax.com/blog/tag/sorry_dude/" title="sorry_dude" rel="tag">sorry_dude</a>, <a href="http://zedomax.com/blog/tag/syn_flood/" title="syn_flood" rel="tag">syn_flood</a>, <a href="http://zedomax.com/blog/tag/tcp_connections/" title="tcp_connections" rel="tag">tcp_connections</a>, <a href="http://zedomax.com/blog/tag/tcp_syn/" title="tcp_syn" rel="tag">tcp_syn</a>, <a href="http://zedomax.com/blog/tag/try_a_little_harder/" title="try_a_little_harder" rel="tag">try_a_little_harder</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/category/wt/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/yey/" title="yey" rel="tag">yey</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/01/diy-linuxubuntu-how-to-set-up-a-custom-firewall-using-iptables/" title="DIY Linux/Ubuntu - How to set up a custom firewall using iptables (April 1, 2007)">DIY Linux/Ubuntu - How to set up a custom firewall using iptables</a> </li>
	<li><a href="http://zedomax.com/blog/2008/02/10/diy-linux-web-server-hack-automate-your-mysql-mysql-database-backups/" title="DIY Linux Web Server HACK - Automate your MySQL MySQL database backups (February 10, 2008)">DIY Linux Web Server HACK - Automate your MySQL MySQL database backups</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/09/technological-breakthrough-sculptures/" title="Technological Breakthrough Sculptures (April 9, 2007)">Technological Breakthrough Sculptures</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/07/snow-surfing-with-a-antartic-snowbot/" title="Snow surfing with a Antartic Snowbot (April 7, 2007)">Snow surfing with a Antartic Snowbot</a> </li>
	<li><a href="http://zedomax.com/blog/2007/03/25/post-it-pixel-wall/" title="Post-It Pixel Wall (March 25, 2007)">Post-It Pixel Wall</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/17/make-magazine-vol-08/" title="Make magazine vol 08! (November 17, 2006)">Make magazine vol 08!</a> </li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://zedomax.com/blog/2007/12/03/diy-linux-dos-hack-howto-limit-your-the-max-number-of-tcp-connections-to-your-web-server/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Dell Ubuntu</title>
		<link>http://zedomax.com/blog/2007/05/02/dell-ubuntu/</link>
		<comments>http://zedomax.com/blog/2007/05/02/dell-ubuntu/#comments</comments>
		<pubDate>Thu, 03 May 2007 01:50:00 +0000</pubDate>
		<dc:creator>max</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Consumer]]></category>

		<category><![CDATA[Cool]]></category>

		<category><![CDATA[Earth]]></category>

		<category><![CDATA[Educational]]></category>

		<category><![CDATA[Entertainment]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<category><![CDATA[Web]]></category>

		<category><![CDATA[dell]]></category>

		<category><![CDATA[dell-linux]]></category>

		<category><![CDATA[dell-ubuntu]]></category>

		<category><![CDATA[enterprise_linux]]></category>

		<category><![CDATA[ifacethoughts]]></category>

		<category><![CDATA[open_source_cms]]></category>

		<category><![CDATA[shtml]]></category>

		<category><![CDATA[tid]]></category>

		<category><![CDATA[wagg]]></category>

		<category><![CDATA[Zedomax]]></category>

		<guid isPermaLink="false">http://zedomax.com/blog/2007/05/02/dell-ubuntu/</guid>
		<description><![CDATA[ 

Cool, Dell is going to be supporting Ubuntu!  This is a sign that Linux and open source movement are taking over the world soon not to mention the cool open source CMS softwares like Wordpress, Joomla, Pligg, etc&#8230;etc&#8230;  This is a surprise from the company that announced to not ship their products with Linux [...] ]]></description>
			<content:encoded><![CDATA[
<p style="text-align: center"><img src="http://zedomax.com/blog/wp-content/uploads/2007/05/dellubuntu.jpg" alt="Dell Ubuntu" /></p>
<p>Cool, <a href="http://blog.wired.com/gadgets/2007/05/dell_to_ship_ub.html">Dell is going to be supporting Ubuntu</a>!  This is a sign that Linux and open source movement are taking over the world soon not to mention the cool open source CMS softwares like Wordpress, Joomla, Pligg, etc&#8230;etc&#8230;  This is a surprise from the company that announced to not ship their products with Linux in the past.</p>
<blockquote><p>Ever since we heard that Dell would ship computers with Linux pre-installed, we wondered which flavor it would be. It doesn&#8217;t really come as a surprise that it will be Ubuntu, which Michael Dell uses it on his home <a href="http://blog.wired.com/monkeybites/2007/04/michael_dell_wa.html">laptop</a>.</p>
<p>The official announcement is expected anytime now, but we got the heads up from Ubuntu contributor Fabián Rodríguez. His post is down (thanks, Digg) but can be seen on Dugg Mirror.</p></blockquote>
<p>[<a href="http://wagg.it/TechnologyScience/Dell_Ubuntued/">via</a>] <a href="http://ifacethoughts.net/2007/05/01/dell-ubuntued">ifacethoughts</a></p>
<p>Brought to you by: <a href="http://zedomax.com/blog">Zedomax.com</a></p>
<p><a href="http://zedomax.com/blog/2007/05/02/dell-ubuntu/">Dell Ubuntu</a></p>

	<span style="display:none"><a href="http://zedomax.com/blog/category/business/" title="Business" rel="tag">Business</a>, <a href="http://zedomax.com/blog/tag/business/" title="Business" rel="tag">Business</a>, <a href="http://zedomax.com/blog/category/ct/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/tag/consumer/" title="Consumer" rel="tag">Consumer</a>, <a href="http://zedomax.com/blog/category/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/cool/" title="Cool" rel="tag">Cool</a>, <a href="http://zedomax.com/blog/tag/dell/" title="dell" rel="tag">dell</a>, <a href="http://zedomax.com/blog/tag/dell-linux/" title="dell-linux" rel="tag">dell-linux</a>, <a href="http://zedomax.com/blog/tag/dell-ubuntu/" title="dell-ubuntu" rel="tag">dell-ubuntu</a>, <a href="http://zedomax.com/blog/category/earth/" title="Earth" rel="tag">Earth</a>, <a href="http://zedomax.com/blog/tag/earth/" title="Earth" rel="tag">Earth</a>, <a href="http://zedomax.com/blog/category/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/educational/" title="Educational" rel="tag">Educational</a>, <a href="http://zedomax.com/blog/tag/enterprise_linux/" title="enterprise_linux" rel="tag">enterprise_linux</a>, <a href="http://zedomax.com/blog/category/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/tag/entertainment/" title="Entertainment" rel="tag">Entertainment</a>, <a href="http://zedomax.com/blog/tag/ifacethoughts/" title="ifacethoughts" rel="tag">ifacethoughts</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://zedomax.com/blog/tag/open_source_cms/" title="open_source_cms" rel="tag">open_source_cms</a>, <a href="http://zedomax.com/blog/tag/shtml/" title="shtml" rel="tag">shtml</a>, <a href="http://zedomax.com/blog/tag/tid/" title="tid" rel="tag">tid</a>, <a href="http://zedomax.com/blog/category/computer/linux-technology/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/ubuntu/" title="Ubuntu" rel="tag">Ubuntu</a>, <a href="http://zedomax.com/blog/tag/wagg/" title="wagg" rel="tag">wagg</a>, <a href="http://zedomax.com/blog/category/wt/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/web/" title="Web" rel="tag">Web</a>, <a href="http://zedomax.com/blog/tag/zedomax/" title="Zedomax" rel="tag">Zedomax</a></span>

	<h3>Related posts</h3>
	<ul class="st-related-posts">
	<li><a href="http://zedomax.com/blog/2006/12/04/cnets-james-kim-and-family-missing-have-you-seen-them/" title="CNET&#8217;s James Kim and family missing &#8212; have you seen them? (December 4, 2006)">CNET&#8217;s James Kim and family missing &#8212; have you seen them?</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/02/zikiwiki-technology-wiki-for-hackers-diyers-mcu-users-plc-users-etc/" title="ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230; (November 2, 2006)">ZikiWiki - Technology wiki for hackers, diyers, mcu users, plc users, etc&#8230;</a> </li>
	<li><a href="http://zedomax.com/blog/2006/11/17/make-magazine-vol-08/" title="Make magazine vol 08! (November 17, 2006)">Make magazine vol 08!</a> </li>
	<li><a href="http://zedomax.com/blog/2007/04/05/space-travel-from-virgin/" title="Space Travel from Virgin (April 5, 2007)">Space Travel from Virgin</a