<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ontwikkelBLOG.nl &#187; Linux</title>
	<atom:link href="http://www.ontwikkelblog.nl/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ontwikkelblog.nl</link>
	<description>Mijn weblog over: Linux, PHP, Bash, Servers, Xen, Java, Webhosting en meer!</description>
	<lastBuildDate>Tue, 01 Mar 2011 16:25:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>OntwikkelZONE.nl uitgebreid! Extra tools en scripts beschikbaar!</title>
		<link>http://www.ontwikkelblog.nl/2009/01/25/ontwikkelzonenl-uitgebreid-extra-tools-en-scripts-beschikbaar.html</link>
		<comments>http://www.ontwikkelblog.nl/2009/01/25/ontwikkelzonenl-uitgebreid-extra-tools-en-scripts-beschikbaar.html#comments</comments>
		<pubDate>Sun, 25 Jan 2009 01:36:09 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Websites en projecten]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/?p=76</guid>
		<description><![CDATA[Vandaag heb ik OntwikkelZONE.nl uitgebreid. Ik heb twee extra tools toegevoegd aan de &#8220;Scripts en Tools&#8221; afdeling van de website. Ook heb ik mijn mapje met codesnippets eens doorgebladerd en heb daarin nog een grappige PHP functie ontdekt die ik een aantal jaar terug heb geschreven: strto1337(). Met deze functie kan een tekst worden vertaalt [...]]]></description>
			<content:encoded><![CDATA[<p>Vandaag heb ik <a href="http://www.ontwikkelzone.nl">OntwikkelZONE.nl</a> uitgebreid. Ik heb twee extra tools toegevoegd aan de &#8220;Scripts en Tools&#8221; afdeling van de website. Ook heb ik mijn mapje met codesnippets eens doorgebladerd en heb daarin nog een grappige PHP functie ontdekt die ik een aantal jaar terug heb geschreven: <a href="http://tools.ontwikkelzone.nl/scripts/functions/strto1337.phps">strto1337()</a>. Met deze functie kan een tekst worden vertaalt naar de 1337-notatie daarvan. Een notatie die in bepaalde internetcommunities erg populair is <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . De broncode van deze functie kan nu worden bekeken via de <a href="http://www.ontwikkelzone.nl/pagina/scriptsandtools/scripts">scriptspagina</a>.</p>
<p>Naast de strto1337() functie heb ik ook de door mij geschreven <a href="http://www.ontwikkelzone.nl/pagina/development/development_areas/L2phdmEvbWdzcWw=">class</a> voor communicatie met een MySQL of PostgreSQL database in Java op de scriptspagina geplaatst.</p>
<p>De twee nieuwe tools zijn de ASCII generator en de UNIX timestamp calculator. Met de UNIX timestamp calculator kan aan de hand van een datum en tijdstip de UNIX timestamp worden berekend. Ook kan een UNIX timestamp worden omgerekend naar een leesbare datum. Deze tool zal mij vaak van pas komen omdat ik bij het beheren van Linux servers en het scripten van bepaalde (PHP) applicaties vaak met UNIX timestamps te maken krijg. Bijvoorbeeld voor het in een integer opslaan van een datum en tijd.</p>
<p>De tweede tool, de ASCII generator, is meer leuk dan nuttig. In de banners van SSH servers laat ik vaak de naam van de server in een mooie <a href="http://nl.wikipedia.org/wiki/ASCII_(tekenset)">ASCII</a> banner zien. Met deze tool kan er in drie verschillende stijlen een ASCII banner worden gegenereerd uit een stukje tekst. Deze banners kunnen bijvoorbeeld gebruikt worden voor Motd&#8217;s van IRC servers of voor SSH servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2009/01/25/ontwikkelzonenl-uitgebreid-extra-tools-en-scripts-beschikbaar.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>De ramp die &#8220;gutsy&#8221; heet, nieuwe VDS: Aphrodite</title>
		<link>http://www.ontwikkelblog.nl/2008/04/13/de-ramp-die-gutsy-heet-nieuwe-vds-aphrodite.html</link>
		<comments>http://www.ontwikkelblog.nl/2008/04/13/de-ramp-die-gutsy-heet-nieuwe-vds-aphrodite.html#comments</comments>
		<pubDate>Sun, 13 Apr 2008 18:29:09 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Aphrodite]]></category>
		<category><![CDATA[Athena]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/?p=68</guid>
		<description><![CDATA[Een poosje geleden heb ik geprobeerd om verschillende VDS-en te upgraden naar Ubuntu 7.10 Gutsy Gibbon. Om een of andere reden resulteert elke upgrade die ik probeer in segmentation faults. Ook met een gloednieuwe image, gemaakt met debootstrap, komen overal segmentation faults tevoorschijn. Ik heb vanalles geprobeerd: verschillende gcc versies, eerst gcc upgraden en dan [...]]]></description>
			<content:encoded><![CDATA[<p>Een poosje geleden heb ik geprobeerd om verschillende VDS-en te upgraden naar <a href="http://www.ubuntu.com">Ubuntu 7.10 Gutsy Gibbon</a>. Om een of andere reden resulteert elke upgrade die ik probeer in segmentation faults. Ook met een gloednieuwe image, gemaakt met debootstrap, komen overal segmentation faults tevoorschijn. Ik heb vanalles geprobeerd: verschillende gcc versies, eerst gcc upgraden en dan de rest&#8230; enz. Ook heb ik verschillende mensen om raad gevraagd die ook geen oplossing hadden. Deze problemen had ik met de VDS-en <a href="http://athena.maikelg.net">Athena</a>, Alectrona en Artemis en de VDS host Neo. Welke allemaal Ubuntu 7.04 Feisty Fawn draaide. Omdat ik het probleem niet opgelost kreeg heb ik al deze servers geherinstalleerd naar een ander besturingssysteem. Hierbij heb ik steeds gekozen tussen Ubuntu 6.06 LTS Dapper Drake, de versie van Ubuntu met 5 jaar ondersteuning, en <a href="http://www.centos.org">CentOS 5.1</a>. Voor Alectrona en Artemis heb ik gekozen voor CentOS 5.1 omdat daarbij de meer up2date packages belangrijker zijn. Voor Neo en Athena heb ik voor Ubuntu 6.06 LTS Dapper Drake, omdat op die servers toch veel custom opstellingen draaien en ik daarvoor liever met Ubuntu werk. Ook is het voor die servers belangrijk dat ze voorlopig niet meer geherinstalleerd hoeven te worden.</p>
<p>Ik heb nu ook een losse VDS die sowizo alle databases voor Athena host, maar hij wordt ook voor andere databases gebruikt. Ook draait deze VDS de nieuwe <a href="http://nl.wikipedia.org/wiki/DNS-server">recursive dns server</a>. Deze VDS heet <a href="http://aphrodite.maikelg.net">Aphrodite</a>, draait op CentOS 5.1 en maakt gebruik van <a href="http://www.mysql.com">MySQL 5.0.51a</a> . <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2008/04/13/de-ramp-die-gutsy-heet-nieuwe-vds-aphrodite.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dual Screen op Ubuntu 7.10 Gutsy Gibbon</title>
		<link>http://www.ontwikkelblog.nl/2008/03/01/dual-screen-op-ubuntu-710-gutsy-gibbon.html</link>
		<comments>http://www.ontwikkelblog.nl/2008/03/01/dual-screen-op-ubuntu-710-gutsy-gibbon.html#comments</comments>
		<pubDate>Fri, 29 Feb 2008 23:07:57 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2008/03/01/dual-screen-op-ubuntu-710-gutsy-gibbon.html</guid>
		<description><![CDATA[Ik heb sinds kort weer Dual Screen op mijn desktop PC Skippy. Ik heb voor de nieuwe opstelling een extra Asus Nvidia Geforce 256MB videokaart aangeschaft. Dual Screen was achteraf gezien makkelijk in te stellen. Ik was begonnen met het installeren van het pakket nvidia-glx voor de drivers. Nu heeft Nvidia een heel mooi tooltje [...]]]></description>
			<content:encoded><![CDATA[<p>Ik heb sinds kort weer Dual Screen op mijn desktop PC Skippy. Ik heb voor de nieuwe opstelling een extra Asus Nvidia Geforce 256MB videokaart aangeschaft. Dual Screen was achteraf gezien makkelijk in te stellen. Ik was begonnen met het installeren van het pakket <a href="http://packages.ubuntu.com/gutsy/nvidia-glx">nvidia-glx</a> voor de drivers. Nu heeft Nvidia een heel mooi tooltje om de schermopstelling te configureren, namelijk <a href="http://packages.ubuntu.com/gutsy/nvidia-settings">nvidia-settings</a>. Als ik echter nvidia-settings wou installeren, ging apt nvidia-glx weer verwijderen. Na wat uitzoekwerk bleek dat de drivers al bij nvidia-settings inzitten.</p>
<p>Na de schermopstelling in nvidia-settings te hebben ingesteld en de optie TwinView te hebben geactiveerd was dual screen al volledig operationeel.</p>
<p><a href="http://maikel.kiekjes.org/showimg.php?file=/Nieuwe%20TFT%20opstelling/DSC01402.JPG">Aanschouw hier de schermopstelling</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2008/03/01/dual-screen-op-ubuntu-710-gutsy-gibbon.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PC ruil, nieuwe laptop en Neo vervangen</title>
		<link>http://www.ontwikkelblog.nl/2008/02/29/pc-ruil-nieuwe-laptop-en-neo-vervangen.html</link>
		<comments>http://www.ontwikkelblog.nl/2008/02/29/pc-ruil-nieuwe-laptop-en-neo-vervangen.html#comments</comments>
		<pubDate>Fri, 29 Feb 2008 17:56:02 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2008/02/29/pc-ruil-nieuwe-laptop-en-neo-vervangen.html</guid>
		<description><![CDATA[Neo, de server die thuis als bestandsserver en dnsserver dient, is op dit moment een Pentium III 500 Mhz met 512MB RAM. Neo draait op Ubuntu 7.04 Feisty Fawn en gebruikt Xen als virtualisatieplatform. De virtuele servers Alectrona en Artemis draaien op Neo. Alectrona neemt de bestandsserver en de interne recursive dns voor zijn rekening [...]]]></description>
			<content:encoded><![CDATA[<p>Neo, de server die thuis als bestandsserver en dnsserver dient, is op dit moment een Pentium III 500 Mhz met 512MB RAM. Neo draait op <a href="http://www.ubuntu.com">Ubuntu</a> 7.04 Feisty Fawn en gebruikt Xen als virtualisatieplatform. De virtuele servers Alectrona en Artemis draaien op Neo. Alectrona neemt de bestandsserver en de interne recursive dns voor zijn rekening en Artemis de 3e authorative nameserver. Dit systeem draait nu al ruim 3 jaar en is meerdere keren uitgebreid. Nu het einde van Ubuntu 7.04 inzicht komt en gewoon upgraden naar Ubuntu 7.10 vrijwel onmogelijk is gebleken (hierover later meer) ben ik mogelijkheden gaan zoeken om Neo te vervangen door een krachtigere machine, waar dan ook genoeg ruimte is om test VDS-en aan te kunnen maken.</p>
<p><span id="more-63"></span></p>
<p>Nu waren mijn ouders toch al van plan een nieuwe laptop voor hunzelf aan te schaffen. Zo heb ik bedacht dat ik hun, nog vrijwel nieuwe, PC (<a href="http://www.ontwikkelblog.nl/2007/10/08/pc-ouders-overleden-nieuwe-gebouwd.html">AMD Athlon X2 4000+, 1.5 GB RAM</a>) en TFT-scherm (dan heb ik weer dual screen <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ) over kan nemen. Mijn huidige PC (Intel Pentium D 2.6 Ghz, 1 GB RAM) kan dan gaan dienen als nieuwe Neo. Mijn ouders konden zich ook wel vinden in dat plan. Ik heb voor hun een <a href="http://maikel.kiekjes.org/showimg.php?file=/Nieuwe%20laptop%20en%20Windows1%20wordt%20nieuwe%20Neo/mini-DSC01372.JPG">nieuwe laptop</a> uitgezocht bij <a href="http://www.dell.nl">Dell</a>. Een Intel Pentium Dual-Core T2130, met 2 GB RAM en 160 GB Harddisk, met Windows Vista Home Premium. De service bij Dell was verassend goed, binnen een week werd de nieuwe laptop thuisbezorgd. Mijn <a href="http://maikel.kiekjes.org/showimg.php?file=/Uitbreiding%20netwerk%20en%20andere%20PC/mini-DSC01361.JPG">&#8220;nieuwe&#8221; PC</a> heb ik uitgerust met Ubuntu 7.10 Gutsy Gibbon en draait uitstekend. Over de Dual screen opstelling later meer. In de nieuwe Neo heb ik wel de <a href="http://maikel.kiekjes.org/showimg.php?file=/Nieuwe%20laptop%20en%20Windows1%20wordt%20nieuwe%20Neo/mini-DSC01389.JPG">CPU cooler vervangen</a> omdat hij eigenlijk een beetje te warm was en als hij 24 uur per dag gaat draaien is het wel zo prettig dat hij lekker koel is. Op de nieuwe Neo heb ik gekozen voor Ubuntu 6.06 LTS Dapper Drake met de binary versie van <a href="http://www.xen.org">Xen</a> 3.0.4. De virtuele servers Alectrona en Artemis zijn beiden uitgerust met <a href="http://www.centos.org">CentOS</a> linux 5.1, omdat wat nieuwe versies wel handig zijn. Alectrona verzorgt de interne recursive DNS en de bestandsserver. Ook heb ik nu een <a href="http://nl.wikipedia.org/wiki/TLD">intern TLD</a> opgezet &#8220;.wng&#8221;. Alle PC&#8217;s en interne diensten zijn nu te bereiken onder <em>hostname</em>.wng. Artemis neemt nogsteeds de 3e authorative DNS opzich en houdt ook de <a href="http://traffic.wng.maikelg.net">dataverkeer statistieken</a> van de Cisco SB101 router bij.</p>
<p>Inmiddels is Neo naar de inloopkast verplaatst omdat de nieuwe toch wel erg veel lawaai maakt in de woonkamer <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2008/02/29/pc-ruil-nieuwe-laptop-en-neo-vervangen.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Nieuwe versie van Hassanding, bothost.maikelg.net uit dienst genomen</title>
		<link>http://www.ontwikkelblog.nl/2007/11/24/nieuwe-versie-van-hassanding-bothostmaikelgnet-uit-dienst-genomen.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/11/24/nieuwe-versie-van-hassanding-bothostmaikelgnet-uit-dienst-genomen.html#comments</comments>
		<pubDate>Sat, 24 Nov 2007 21:21:32 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Athena]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Websites en projecten]]></category>
		<category><![CDATA[Hassanding]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/11/24/nieuwe-versie-van-hassanding-bothostmaikelgnet-uit-dienst-genomen.html</guid>
		<description><![CDATA[Ik heb een nieuwe versie van mijn IRC robot Hassanding geschreven. Tot voorkort was Hassanding geschreven in PHP5 op basis van mijn PHP5 IRC communicatie class. Hoewel Hassanding sinds versie 2.0 redelijk stabiel was. Bleef Hassanding regelmatig ping timeouts houden en andere kuren vertonen. Daarom heb ik nu Hassanding in Java geschreven, op basis van [...]]]></description>
			<content:encoded><![CDATA[<p>Ik heb een nieuwe versie van mijn IRC robot Hassanding geschreven. Tot voorkort was Hassanding geschreven in PHP5 op basis van mijn <a href="http://www.ontwikkelzone.nl/pagina/scriptsandtools/scripts">PHP5 IRC communicatie class</a>. Hoewel Hassanding sinds versie 2.0 redelijk stabiel was. Bleef Hassanding regelmatig ping timeouts houden en andere kuren vertonen. Daarom heb ik nu Hassanding in Java geschreven, op basis van het <a href="http://www.jibble.org/pircbot.php">PircBot IRC framework</a>. Deze nieuwe versie is nu al stabieler dan de 2.x reeks. Java is ook beter geschikt voor socket programming natuurlijk.  In deze versie als Hassanding uit een kanaal wordt gekicked of door een ping timeout de verbinding verliest, zal Hassanding zelf onmiddelijk opnieuw het kanaal joinen of de verbinding herstellen ipv dat dat via een cronjob moet gebeuren. Hassanding is op dit punt dus een stuk intelligenter geworden sinds versie 3.0. Hassanding ondersteund ook sinds versie 3.0 meerdere kanalen en is nu ook aanwezig in #maikelg en #kloten op irc.maikelg.net.</p>
<p>Ook heb ik sinds deze versie besloten dat een aparte virtuele server voor de irc bots niet langer nodig is. Daarom is Hassanding nu gewoon op <a href="http://athena.maikelg.net">Athena</a> gehost.</p>
<p>De help informatie van Hassanding is te vinden op <a href="http://help.ircbotje.nl">http://help.ircbotje.nl</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/11/24/nieuwe-versie-van-hassanding-bothostmaikelgnet-uit-dienst-genomen.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Athena gemigreerd naar Ubuntu Linux 7.04 Feisty Fawn</title>
		<link>http://www.ontwikkelblog.nl/2007/11/24/athena-gemigreerd-naar-ubuntu-linux-704-feisty-fawn.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/11/24/athena-gemigreerd-naar-ubuntu-linux-704-feisty-fawn.html#comments</comments>
		<pubDate>Sat, 24 Nov 2007 16:17:06 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Athena]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/11/24/athena-gemigreerd-naar-ubuntu-linux-704-feisty-fawn.html</guid>
		<description><![CDATA[Athena is een poosje geleden gemigreerd van Gentoo Linux naar Ubuntu Linux 7.04 Feisty Fawn. Gentoo begon steeds vaker problemen te vertonen met het upgraden van software. Met Ubuntu heb ik dit veel minder. Al werkte Gentoo prettig, maar die problemen met het upgraden werd ik een beetje zat. Gentoo was erg bij de tijd [...]]]></description>
			<content:encoded><![CDATA[<p>Athena is een poosje geleden gemigreerd van Gentoo Linux naar Ubuntu Linux 7.04 Feisty Fawn. Gentoo begon steeds vaker problemen te vertonen met het upgraden van software. Met Ubuntu heb ik dit veel minder. Al werkte Gentoo prettig, maar die problemen met het upgraden werd ik een beetje zat. Gentoo was erg bij de tijd (je upgrade constant het hele syteem). Ubuntu houd meestal dezelfde versie voor de hele release. Het loopt dan dus wel een paar versies achter, maar het is rock stable. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/11/24/athena-gemigreerd-naar-ubuntu-linux-704-feisty-fawn.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Desktop PC overleden: het vervolg</title>
		<link>http://www.ontwikkelblog.nl/2007/09/08/desktop-pc-overleden-het-vervolg.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/09/08/desktop-pc-overleden-het-vervolg.html#comments</comments>
		<pubDate>Sat, 08 Sep 2007 19:56:41 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/09/08/desktop-pc-overleden-het-vervolg.html</guid>
		<description><![CDATA[Afgelopen dinsdag schreef ik dat mijn desktop pc was overleden. Toen heb ik ook geschreven dat ik mijn harddisk uit mijn overleden pc had verwijderd en die in de PC van mijn ouders had geplaatst om deze te kunnen backuppen naar fileserver Alectrona. Dit werkte dus niet zogoed met een Ubuntu Live CD (uploaden via [...]]]></description>
			<content:encoded><![CDATA[<p>Afgelopen dinsdag <a HREF="http://www.ontwikkelblog.nl/2007/09/04/desktop-pc-overleden.html">schreef</a> ik dat mijn desktop pc was overleden. Toen heb ik ook geschreven dat ik mijn harddisk uit mijn overleden pc had verwijderd en die in de PC van mijn ouders had geplaatst om deze te kunnen backuppen naar fileserver Alectrona. Dit werkte dus niet zogoed met een Ubuntu Live CD (uploaden via SCP). Ook via Windows XP met de <a HREF="http://www.fs-driver.org">ext2 driver voor Windows</a> waar <a HREF="http://www.superdude.info">Superman</a> mee kwam in de reacties werkte niet. Ik heb toen maar is een live cd van <a HREF="http://www.vectorlinux.com">Vector Linux Standard</a> geprobeerd. Dit met FTP als vervoermiddel kon binnen twee uur de volledige 8.2 GB overbrengen. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Weer een probleem minder iniedergeval <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p><span id="more-54"></span>Woensdag ben ik naar <a HREF="http://www.mycom.nl">MyCom</a> geweest. Ik vertelde ze wat ik had geconcludeerd (het moederbord is overleden), dat waren ze binnen een paar minuten met me eens. Ze hebben toen een nieuw moederbord besteld en hij zou vrijdag klaar zijn.<br />
Dat was ook zo <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . Vrijdag kon ik hem ophalen. Maar wat schetst mijn verbazing: de computer doet helemaal niets. Hij geeft geen beeld, en geen piepjes. Nadat ik hem open had gemaakt zag ik ook dat de casefan niet draaide. De PC vertoonde verders precies dezelfde problemen als voor de reparatie.<br />
Ik ben wat dingen na gaan lopen, gekeken of alles wel juist aan was gesloten. Maar ik kon verders niets vinden. Ook de casefan leek gewoon aangesloten. Dus de harddisk weer verwijderd en vandaag weer naar MyCom gegaan.<br />
Het is vandaag Zaterdag dus het was behoorlijk druk bij MyCom. Uiteindelijk was ik aan de beurt. De man van de technische dienst maakte m&#8217;n pc open terwijl ik hem de geschiedenis van de reparatie vertelde. Hij ging alle onderdelen langs en opeens zei hij: &#8220;Heh, wat is dit nou?&#8221;. Hij keek naar de plaats waar de hardeschrijf hoort te zitten. Ik zei: &#8220;het klopt dat de hardeschrijf er niet in zit, die heb ik verwijderd voor backup doeleinden.&#8221;. Hij zuchte en zei: &#8220;hehe, ik dacht al: dat heb ik weer&#8221;. Hij ging de kabel van de casefan na lopen, en toen viel er opeens een stekkertje uit de kabelkluit. De casefan was dus gewoon niet aangesloten <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  . Nadat hij het stekkertje weer op het moederbord had geprikt werkte alles weer <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />  .</p>
<p>We begrepen er beiden niets van hoe een niet aangesloten casefan er voor kon zorgen dat een moederbord geen piepje gaf, geen beeld gaf. Helemaal niets.<br />
Maar goed, hij doet het weer. Ik heb thuis de hardeschrijf weer terug geplaatst en heb <a HREF="http://www.ubuntu.com">Ubuntu 7.04 Feisty Fawn</a> weer geinstalleerd. Ik ben nu nog bezig met het installeren van alles software en typ dit nu vanaf de verse installatie <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/09/08/desktop-pc-overleden-het-vervolg.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Desktop PC overleden</title>
		<link>http://www.ontwikkelblog.nl/2007/09/04/desktop-pc-overleden.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/09/04/desktop-pc-overleden.html#comments</comments>
		<pubDate>Tue, 04 Sep 2007 21:04:38 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/09/04/desktop-pc-overleden.html</guid>
		<description><![CDATA[Vandaag heeft mijn desktop PC, draaide op Ubuntu Linux 7.04 Feisty Fawn de handdoek in de ring gegooid. Het systeem was volledig bevroren (wat ik nog nooit eerder op Linux had meegemaakt). Na een druk op de reset knop bleef het scherm zwart. Even later weer geprobeerd te resetten, toen kwam ik tot aan het [...]]]></description>
			<content:encoded><![CDATA[<p>Vandaag heeft mijn desktop PC, draaide op <a HREF="http://www.ubuntu.com">Ubuntu Linux 7.04 Feisty Fawn</a> de handdoek in de ring gegooid. Het systeem was volledig bevroren (wat ik nog nooit eerder op Linux had meegemaakt). Na een druk op de reset knop bleef het scherm zwart. Even later weer geprobeerd te resetten, toen kwam ik tot aan het login scherm van Ubuntu&#8230; vast. Weer proberen: zwart. Even wachten&#8230; nog een keer: Vast bij het initialiseren van de harddisks, en weer vast. Klinkt als het moederbord?<br />
<span id="more-53"></span></p>
<p>Ik ben gaan kijken wanneer de computer is gekocht (Een Intel Pentium D 2.6 Ghz, 1 GB RAM, 250 GB harddisk). Hij bleek 4 maanden ouder dan een jaar te zijn. Over de <a HREF="http://www.mycom.nl">MyCom</a> garantie heen. Ik heb MyCom gebeld en zij vertelde me dat ik maar even langs moest komen, en dat <a HREF="http://www.asus.nl">Asus</a> (leverancier van het moederbord) nog wel 2 jaar garantie geeft op het moederbord.</p>
<p>Ik ben gaan onderzoeken of het wel echt aan het moederbord ligt. Ik heb de computer gestript tot het minimum. Geen dvd drive, geen harddisks, geen RAM: Alleen stroom. Ik denk dat het niet bij de stroomvoorziening ligt omdat alle lampjes en ventilatoren gewoon werken. Alleen het moederbord piept niet. De computer deed helemaal niets, ook met een reepje RAM niet. Terwijl er toch echt beeld zou moeten komen. Hieruit heb ik geconcludeerd dat het probleem inderdaad bij het moederbord ligt.</p>
<p>Er staan nog belangrijke gegevens op de hardeschijf, dus die heb ik in de computer van mijn ouders gezet (die op Windows XP draait). Windows kan natuurlijk die ext3 partities niet uitlezen, dus dacht ik: ik doe het met een <a HREF="http://www.ubuntu.com">Ubuntu Live CD</a>. Die data die overgezet moet worden is 8.2 GB, niet weinig, niet bijzonder veel. Maar via een Live CD overbrengen naar een netwerklocatie schiet niet op. Na een uur was er nog geen 100 MB overgebracht. Ik heb nu maar besloten morgen een oude harddisk op de plaats van die van mijn ouders te zetten, en daar dan gewoon Ubuntu op te zetten. Dan kan ik via die installatie alles over zetten.</p>
<p>Morgen ga ik naar <a HREF="http://www.mycom.nl">MyCom</a>, is kijken wat ze er aan gaan doen.</p>
<p>Wordt vervolgd&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/09/04/desktop-pc-overleden.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Enemy Terreitory, StM is geweldig!</title>
		<link>http://www.ontwikkelblog.nl/2007/09/02/stm-is-geweldig.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/09/02/stm-is-geweldig.html#comments</comments>
		<pubDate>Sun, 02 Sep 2007 20:23:39 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Algemeen]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/09/02/stm-is-geweldig.html</guid>
		<description><![CDATA[Ik wou vandaag Enemy Terreitory gaan spelen. Mijn cursor bewoog in het spel echter heel spastisch waardoor ik er 10 minuten over deed om bij de Quit knop te geraken. StM wees mij de weg naar de ATI drivers in Ubuntu en nu werkt het uitstekend Dus bij deze: StM is geweldig!]]></description>
			<content:encoded><![CDATA[<p>Ik wou vandaag Enemy Terreitory gaan spelen.  Mijn cursor bewoog in het spel echter heel spastisch waardoor ik er 10 minuten over deed om bij de Quit knop te geraken. StM wees mij de weg naar de ATI drivers in Ubuntu en nu werkt het uitstekend <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Dus bij deze: <strong><a HREF="http://www.site-to-make.nl">StM is geweldig!</a></strong><br />
 <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/09/02/stm-is-geweldig.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Eigen DNS servers op twee locaties</title>
		<link>http://www.ontwikkelblog.nl/2007/09/02/eigen-dns-servers-op-twee-locaties.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/09/02/eigen-dns-servers-op-twee-locaties.html#comments</comments>
		<pubDate>Sun, 02 Sep 2007 20:19:39 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Athena]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/09/02/eigen-dns-servers-op-twee-locaties.html</guid>
		<description><![CDATA[Sinds kort heb ik twee eigen DNS servers op verschillende locaties, voor mijn domeinnamen. Als DNS server gebruikt ik MyDNS omdat die makkelijk te configureren is en met een MySQL database werkt. Om de DNS makkelijk te kunnen beheren en ook vrienden hun eigen domeinen te kunnen laten beheren gebruikt ik MyDNSconfig als webbased controlepaneel [...]]]></description>
			<content:encoded><![CDATA[<p>Sinds kort heb ik twee eigen DNS servers op verschillende locaties, voor mijn domeinnamen. Als DNS server gebruikt ik <a href="http://mydns.bboy.net/">MyDNS</a> omdat die makkelijk te configureren is en met een MySQL database werkt. Om de DNS makkelijk te kunnen beheren en ook vrienden hun eigen domeinen te kunnen laten beheren gebruikt ik <a href="http://www.mydnsconfig.org/">MyDNSconfig</a> als webbased controlepaneel voor de dns.</p>
<p><span id="more-51"></span><br />
<a href="http://athena.maikelg.net">athena.maikelg.net</a> in Amsterdam dient als primaire dns server, daarop draait ook het controlpanel. Thuisserver <a href="http://exodus.maikelg.net">Exodus</a> is de secundaire.</p>
<p>Voor het overzetten van de zone van athena naar exodus heb ik het volgende bash script gemaakt:</p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash</span><br />
<span style="color: #007800;">USER</span>=<span style="color: #ff0000;">'user'</span><br />
<span style="color: #007800;">PASS</span>=<span style="color: #ff0000;">'pass'</span><br />
<span style="color: #007800;">DATABASE</span>=<span style="color: #ff0000;">'mydns'</span><br />
<span style="color: #007800;">DBHOST</span>=<span style="color: #ff0000;">'athena.maikelg.net'</span><br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;USE <span style="color: #007800;">$DATABASE</span>;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>dnssync<span style="color: #000000; font-weight: bold;">/</span>tmp.db<br />
mysqldump <span style="color: #660033;">--no-create-db</span> <span style="color: #660033;">--password</span>=<span style="color: #007800;">$PASS</span> <span style="color: #660033;">--user</span>=<span style="color: #007800;">$USER</span> <span style="color: #660033;">--host</span>=<span style="color: #007800;">$DBHOST</span> <span style="color: #007800;">$DATABASE</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>dnssync<span style="color: #000000; font-weight: bold;">/</span>tmp.db<br />
mysql <span style="color: #660033;">--user</span>=<span style="color: #007800;">$USER</span> <span style="color: #660033;">--password</span>=<span style="color: #007800;">$PASS</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>dnssync<span style="color: #000000; font-weight: bold;">/</span>tmp.db</div></td></tr></tbody></table></div>
</pre>
<p>Dit script moet op de secundaire dns server draaien (Exodus) en legt contact met de MySQL server op de primaire (Athena). Daar haalt hij de tabellen op, die hij vervolgens in zijn eigen database invoegt. Dit script draait dan bij voorkeur elk half uur of elk uur.<br />
In dit script wordt /opt/dnssync als tijdelijke map gebruikt en het is noodzakelijk dat de MySQL users en passwords op de primaire als de secundaire gelijk zijn. Natuurlijk kan je dit aanpassen mocht je dat willen. Het script heeft het programma mysqldump nodig om te functioneren. Als je de primaire dns servers uitvalt kan de secundaire gewoon geen verbinding leggen met de MySQL database van de primaire. Dan gebeurt er niets en blijft de secundaire server gewoon zijn data gebruiken tot de primaire weer online komt. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/09/02/eigen-dns-servers-op-twee-locaties.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Virtuele servers op Neo: Alectrona en Exodus</title>
		<link>http://www.ontwikkelblog.nl/2007/09/02/virtuele-servers-op-neo-alectrona-en-exodus.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/09/02/virtuele-servers-op-neo-alectrona-en-exodus.html#comments</comments>
		<pubDate>Sun, 02 Sep 2007 19:33:07 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/09/02/virtuele-servers-op-neo-alectrona-en-exodus.html</guid>
		<description><![CDATA[Na de succesvolle realisatie van Atlas heb ik besloten om mijn thuisserver Neo ook in twee virtuele servers te gaan verdelen: Alectrona en Exodus. Dit is handiger omdat ik dan de diensten voor binnen het thuisnetwerk en die voor de buitenwereld gescheiden kan houden. Alectrona is de interne fileserver en caching dns server voor het [...]]]></description>
			<content:encoded><![CDATA[<p>Na de succesvolle realisatie van <a href="http://atlas.maikelg.net">Atlas</a> heb ik besloten om mijn thuisserver Neo ook in twee virtuele servers te gaan verdelen: Alectrona en Exodus. Dit is handiger omdat ik dan de diensten voor binnen het thuisnetwerk en die voor de buitenwereld gescheiden kan houden. Alectrona is de interne fileserver en caching dns server voor het netwerk. Exodus doet de secundaire DNS.</p>
<p><span id="more-50"></span><br />
Ik wou eigenlijk eerst Neo op CentOS gaan draaien. Maar CentOS 5 bleek erg slecht te werken op de wat verouderde hardware (Pentium 3 500 Mhz, 512 MB ram). Daarom heb ik besloten verder te gaan met Ubuntu 7.04 Feisty Fawn.<br />
Ubuntu 7.04 werkt als een trein en Xen was snel vanuit de repository&#8217;s geinstalleerd. Beide virtuele servers (Alectrona en Exodus) zijn uitgerust met Ubuntu 7.04 Feisty Fawn.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/09/02/virtuele-servers-op-neo-alectrona-en-exodus.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ervaringen met linux distributies online</title>
		<link>http://www.ontwikkelblog.nl/2007/08/20/ervaringen-met-linux-distributies-online.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/08/20/ervaringen-met-linux-distributies-online.html#comments</comments>
		<pubDate>Mon, 20 Aug 2007 20:42:37 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Algemeen]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Websites en projecten]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/08/20/ervaringen-met-linux-distributies-online.html</guid>
		<description><![CDATA[Ik heb de ervaringen met linux distributies die ik in de loop der tijd heb opgedaan uitgewerkt en online gezet. Deze zijn te lezen op http://www.ontwikkelzone.nl/pagina/mijnervaringen/linux.]]></description>
			<content:encoded><![CDATA[<p>Ik heb de ervaringen met linux distributies die ik in de loop der tijd heb opgedaan uitgewerkt en online gezet. Deze zijn te lezen op <a HREF="http://www.ontwikkelzone.nl/pagina/mijnervaringen/linux">http://www.ontwikkelzone.nl/pagina/mijnervaringen/linux</a>. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/08/20/ervaringen-met-linux-distributies-online.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stroomuitval te Easynet DC Schiphol-rijk: Atlas, Asclepius, Athena, Atropos en nog een paar duizend servers offline</title>
		<link>http://www.ontwikkelblog.nl/2007/08/04/stroomuitval-te-easynet-dc-schiphol-rijk-atlas-asclepius-athena-atropos-en-nog-een-paar-duizend-servers-offline.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/08/04/stroomuitval-te-easynet-dc-schiphol-rijk-atlas-asclepius-athena-atropos-en-nog-een-paar-duizend-servers-offline.html#comments</comments>
		<pubDate>Sat, 04 Aug 2007 17:56:08 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Algemeen]]></category>
		<category><![CDATA[Asclepius]]></category>
		<category><![CDATA[Athena]]></category>
		<category><![CDATA[Atlas]]></category>
		<category><![CDATA[Atropos]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/08/04/stroomuitval-te-easynet-dc-schiphol-rijk-atlas-asclepius-athena-atropos-en-nog-een-paar-duizend-servers-offline.html</guid>
		<description><![CDATA[Gisteren was ik om kwart voor drie &#8216;smiddags bij Albert Heijn toen ik een SMSje kreeg. Als ik een SMSje krijg betekend dat vaak niet veel goeds. Dus ik ging kijken: &#8220;NOC: De service HTTP op atlas.maikelg.net is down.&#8221;, hmm, Atlas is de VDS host server waar Asclepius, Athena en Atropos op draait, dus dat [...]]]></description>
			<content:encoded><![CDATA[<p>Gisteren was ik om kwart voor drie &#8216;smiddags bij <a HREF="http://www.ah.nl">Albert Heijn</a> toen ik een SMSje kreeg. Als ik een SMSje krijg betekend dat vaak niet veel goeds. Dus ik ging kijken: &#8220;<a HREF="http://www.maikelgnoc.nl">NOC</a>: De service HTTP op atlas.maikelg.net is down.&#8221;, hmm, Atlas is de VDS host server waar Asclepius, Athena en Atropos op draait, dus dat betekend dat die ook offline zijn. Hiervan zou ik echter geen smsjes moeten krijgen, omdat dat wordt onderdrukt als Atlas al offline is.<br />
Omdat het ook een valse melding kan zijn bel ik vanuit de AH <a HREF="http://www.thijsdewert.com">Thijs</a>, hij neemt echter niet op. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Dan m&#8217;n <a HREF="http://www.hermans-plaatjes.nl">oom</a> maar proberen. Die nam wel op en heb ik terwijl ik met m&#8217;n vader terug liep naar de auto door verschillende sites heen geloodst om te kijken of Atlas echt offline was, en daarmee de virtuele servers ook. Dat was ook zo.</p>
<p><span id="more-45"></span><br />
Thuis aangekomen heb ik direct mijn PC aangezet en ben ik snel verschillende systemen afgegaan om te kijken wat er aan de hand is. Het was mij al snel duidelijk dat niet allleen heel Atlas met de virtuele servers offline was, maar ook de servers van mijn provider, die in hetzelfde datacentrum staan (niet specifiek in hetzelfde rack). Terwijl ik via mijn thuis fileserver Neo irc opstartte belde ik de Technische Dienst van mijn provider op. Die vertelde mij dat er een stroomstoring was en dat half Easynet plat lag. Nou, daar kan je het dan mee doen <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  .<br />
Na 2 en half uur was de stroom toevoer hersteld en zouden de servers allemaal weer online moeten zijn. Mijn server was een half uur later nogsteeds niet online. Even later kreeg ik een bericht van de technische dienst dat mijn server gewoon draaide. Toen een medewerker van mijn provider ging kijken bleek dat networking niet vanzelf was gestart, nadat dit handmatig was gedaan kon ik mijn server weer bereiken <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p>Verder ging alles gewoon goed alleen op Asclepius wou Plesk niet meteen starten, maar dat ging later ook weer zonder er wat aan te doen <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p>Op dit moment is het <a HREF="http://www.ispam.nl/archives/983/stroomstoring-in-het-easynet-datacentrum/">nog niet bekend</a> waarom de stroom is weggevallen.</p>
<p>Ik hoop dit niet vaker mee te maken, maarjah, shit happens&#8230;.</p>
<p><strong>Update 06-08-2007:</strong> Vandaag is bekend geworden dat de stroomuitval door menselijk falen is veroorzaakt: <a href="http://www.ispam.nl/archives/992/menselijke-fout-oorzaak-van-stroomstoring-in-het-easynet-datacentrum/">http://www.ispam.nl/archives/992/menselijke-fout-oorzaak-van-stroomstoring-in-het-easynet-datacentrum/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/08/04/stroomuitval-te-easynet-dc-schiphol-rijk-atlas-asclepius-athena-atropos-en-nog-een-paar-duizend-servers-offline.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Plesk] Statistieken genereren</title>
		<link>http://www.ontwikkelblog.nl/2007/08/04/plesk-statistieken-genereren.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/08/04/plesk-statistieken-genereren.html#comments</comments>
		<pubDate>Sat, 04 Aug 2007 15:04:34 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Algemeen]]></category>
		<category><![CDATA[Asclepius]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/08/04/plesk-statistieken-genereren.html</guid>
		<description><![CDATA[Toen ik mijn Plesk server Asclepius net een paar dagen had draaien viel het mij op dat de statistieken niet werden gegenereerd. Eerst ben ik is gaan kijken hoe de statistieken bij Plesk worden gegenereerd. De applicatie statistics in de uitgebreide shell scripts directory van Plesk /usr/local/psa/admin/sbin bleek hiervoor te zorgen. Met het commando: 1shell# [...]]]></description>
			<content:encoded><![CDATA[<p>Toen ik mijn <a HREF="http://www.swsoft.com/plesk">Plesk</a> server <a HREF="http://asclepius.maikelg.net">Asclepius</a> net een paar dagen had draaien viel het mij op dat de statistieken niet werden gegenereerd.<br />
Eerst ben ik is gaan kijken hoe de statistieken bij Plesk worden gegenereerd. De applicatie <em>statistics</em> in de uitgebreide shell scripts directory van Plesk /usr/local/psa/admin/sbin bleek hiervoor te zorgen. Met het commando:</p>
<p><span id="more-44"></span></p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# /usr/local/psa/admin/sbin/statistics --calculate-all</div></td></tr></tbody></table></div>
</pre>
<p>kon ik de statistieken handmatig genereren. Dit ging prima, en de statistieken zagen er goed uit.<br />
Het probleem lag dus niet bij het genereren zelf. Toen ben het gaan zoeken bij de cronjob. Maar ook die zag er prima uit.<br />
Wat vreemd&#8230;. Maar wacht is, het zal toch niet dat de cron daemon niet draait?</p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>asclepius sbin<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ps aux | grep crond </span><br />
root &nbsp; &nbsp; <span style="color: #000000;">15349</span> &nbsp;<span style="color: #000000;">0.0</span> &nbsp;<span style="color: #000000;">0.0</span> &nbsp; <span style="color: #000000;">4996</span> &nbsp; <span style="color: #000000;">672</span> pts<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0</span> &nbsp; &nbsp;R+ &nbsp; <span style="color: #000000;">17</span>:01 &nbsp; <span style="color: #000000;">0</span>:00 <span style="color: #c20cb9; font-weight: bold;">grep</span> crond <br />
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>asclepius sbin<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;">#</span></div></td></tr></tbody></table></div>
</pre>
<p>Ja hoor, de cron daemon draaide gewoon niet <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /><br />
Met een <em>/sbin/service crond start</em> was het opgelost. Achteraf bleek alles in <em>chkconfig</em> gewoon goed te staan, dus hoe het nou is gekomen dat crond niet was gestart&#8230; Ik weet het niet, maar alles werkt iniedergeval weer <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/08/04/plesk-statistieken-genereren.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Data backuppen op Plesk server</title>
		<link>http://www.ontwikkelblog.nl/2007/08/04/data-backuppen-op-plesk-server.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/08/04/data-backuppen-op-plesk-server.html#comments</comments>
		<pubDate>Sat, 04 Aug 2007 14:52:44 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Asclepius]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/08/04/data-backuppen-op-plesk-server.html</guid>
		<description><![CDATA[Voor het backuppen van de data op mijn Plesk server Asclepius heb ik er voor gekozen om dat niet via de ingebouwde backup functie van Plesk te doen. Plesk gebruikt een backup formaat die ik tot nu toe nog niet zelf uit heb kunnen pakken. Dat is onhandig, want dan kan ik niet specifieke delen [...]]]></description>
			<content:encoded><![CDATA[<p>Voor het backuppen van de data op mijn <a href="http://www.swsoft.com/plesk">Plesk</a> server <a href="http://asclepius.maikelg.net">Asclepius</a> heb ik er voor gekozen om dat niet via de ingebouwde backup functie van Plesk te doen. Plesk gebruikt een backup formaat die ik tot nu toe nog niet zelf uit heb kunnen pakken. Dat is onhandig, want dan kan ik niet specifieke delen van een backup herstellen. Daarom heb ik het volgende script gemaakt:</p>
<p><span id="more-43"></span></p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">#!/bin/bash &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #007800;">MAILADDR</span>=<span style="color: #ff0000;">'&lt;e-mail voor backup notificatie&gt;'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #007800;">MYSQLUSER</span>=<span style="color: #ff0000;">'admin'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #007800;">MYSQLPASS</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>psa<span style="color: #000000; font-weight: bold;">/</span>.psa.shadow<span style="color: #000000; font-weight: bold;">`</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #007800;">FTPSERVER</span>=<span style="color: #ff0000;">'&lt;ftpserver&gt;'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #007800;">FTPUSER</span>=<span style="color: #ff0000;">'&lt;ftpuser&gt;'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #007800;">FTPPASS</span>=<span style="color: #ff0000;">'&lt;ftp-password&gt;'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #007800;">REMOTEPATH</span>=<span style="color: #ff0000;">'&lt;path op ftp server&gt;'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'Plesk enhanced-backup v1.0'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">' '</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Oude backups verwijderen'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>backup.tar.bz2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>place<span style="color: #000000; font-weight: bold;">/*</span>.tar.bz2 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>place<span style="color: #000000; font-weight: bold;">/*</span>.sql &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>place &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; MySQL backup maken'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mysqldump <span style="color: #660033;">--password</span>=<span style="color: #007800;">$MYSQLPASS</span> <span style="color: #660033;">--user</span>=<span style="color: #007800;">$MYSQLUSER</span> <span style="color: #660033;">--all-databases</span> <span style="color: #000000; font-weight: bold;">&gt;</span> dbs.sql &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Mail backup maken'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cjf</span> mail.tar.bz2 <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>qmail<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Websites backup maken'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cjf</span> sites.tar.bz2 <span style="color: #660033;">--exclude</span>=chroot<span style="color: #000000; font-weight: bold;">/*</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>vhosts<span style="color: #000000; font-weight: bold;">/</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">' '</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Alles inpakken'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-cjf</span> backup.tar.bz2 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>backup<span style="color: #000000; font-weight: bold;">/</span>place &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">' '</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Backup uploaden'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ncftpput <span style="color: #660033;">-u</span> <span style="color: #007800;">$FTPUSER</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$FTPPASS</span> <span style="color: #007800;">$FTPSERVER</span> <span style="color: #007800;">$REMOTEPATH</span> backup.tar.bz2 <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">' '</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&gt;&gt; Mail sturen om te laten weten dat het is gelukt'</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Het backuppen is gelukt!&quot;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>mutt <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;Backup voltooit&quot;</span> <span style="color: #007800;">$MAILADDR</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">' '</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'&lt;&lt; BACKUP VOLTOOIT &gt;&gt;'</span></div></td></tr></tbody></table></div>
</pre>
<p>Dit script maakt een afzonderlijke backup van de website data, e-mail en mysql databases en upload deze naar een externe ftp server.<br />
Let op, hiervoor heb je wel de applicaties mutt en ncftp nodig. Indien deze nog niet zijn geinstalleerd kan je dat als volgt doen:<br />
Op Ubuntu/Debian:</p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# apt-get install ncftp mutt</div></td></tr></tbody></table></div>
</pre>
<p>CentOS 5 heeft ncftp standaard niet in haar repository&#8217;s, daar kan het installeren via (i386):</p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">yum install</span> mutt<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>mirror.ontwikkelzone.nl<span style="color: #000000; font-weight: bold;">/</span>rpms<span style="color: #000000; font-weight: bold;">/</span>ncftp-3.2.0-<span style="color: #000000;">1</span>.fc5.i386.rpm<br />
<span style="color: #666666;">shell# </span>rpm <span style="color: #660033;">-i</span> ncftp-3.2.0-<span style="color: #000000;">1</span>.fc5.i386.rpm</div></td></tr></tbody></table></div>
</pre>
<p>Het script gebruikt /opt/backup en /opt/backup/place als tijdelijke mappen, maar dit kan je natuurlijk gewoon aanpassen.<br />
Op deze manier kan ik alle data goed backuppen en ook specifieke delen terug plaatsen. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/08/04/data-backuppen-op-plesk-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atlas is geplaatst, sites verhuist!</title>
		<link>http://www.ontwikkelblog.nl/2007/07/26/atlas-is-geplaatst-sites-verhuist.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/26/atlas-is-geplaatst-sites-verhuist.html#comments</comments>
		<pubDate>Thu, 26 Jul 2007 18:46:27 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Acropolis]]></category>
		<category><![CDATA[Asclepius]]></category>
		<category><![CDATA[Athena]]></category>
		<category><![CDATA[Atlas]]></category>
		<category><![CDATA[Atropos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Websites en projecten]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/26/atlas-is-geplaatst-sites-verhuist.html</guid>
		<description><![CDATA[Woensdag 18-07 heb ik Atlas geplaatst in het Easynet datacentrum te Schiphol-rijk. Dit verliep zonder noemenswaardige problemen. Alleen de DNS server van Athena wou niet direct starten, de mysql configuratie was niet helemaal goed. Als eerste heb ik dezelfde dag mijn IRC server en chat robot Anna al verhuist naar Atropos. Ik heb een dag [...]]]></description>
			<content:encoded><![CDATA[<p>Woensdag 18-07 heb ik <a href="http://atlas.maikelg.net">Atlas</a> geplaatst in het <a HREF="http://www.datacentrumgids.nl/datacentrum/easynet-dc-schiphol">Easynet datacentrum</a> te Schiphol-rijk. Dit verliep zonder noemenswaardige problemen. Alleen de DNS server van <a href="http://athena.maikelg.net">Athena</a> wou niet direct starten, de mysql configuratie was niet helemaal goed.</p>
<p><span id="more-41"></span></p>
<p>Als eerste heb ik dezelfde dag mijn IRC server en chat robot Anna al verhuist naar <a href="http://atropos.maikelg.net">Atropos</a>.</p>
<p>Ik heb een dag later <a href="http://www.swsoft.com/plesk">Plesk</a> geinstalleerd op <a href="http://asclepius.maikelg.net">Asclepius</a>, de hosting virtuele server. Dit verliep ook zonder problemen.</p>
<p>Op dit moment heb ik alle websites op <a href="http://www.maikelg.eu">Maikelg.EU</a>, <a href="http://www.gommans-net.nl">Gommans-NET.nl</a> en <a href="http://www.sitekeuring.net">Sitekeuring.net</a> na al verhuist naar het nieuwe platform. Maikelg.EU, Gommans-NET.nl en Sitekeuring.net moeten &#8216;s nachts verhuist worden. Dit weblog en dochtersite <a href="http://www.ontwikkelzone.nl">OntwikkelZONE.nl</a> draaien op development server <a href="http://athena.maikelg.net">Athena</a>, samen met <a href="http://www.klas2a.nl">Klas2a.NL</a>, <a href="http://www.pittigetante.nl">Pittigetante.NL</a>, <a href="http://www.annab0t.nl">Annab0t.nl</a> en <a href="http://www.qvm.be">QVM.be</a>. De rest draait allemaal op de hosting server Asclepius.<br />
Als Maikelg.EU, Gommans-NET.nl en Sitekeuring.net zijn verhuist is mijn virtuele server bij <a href="http://www.jronline.nl">JRonline</a> <a href="http://acropolis.maikelg.net">Acropolis</a> helemaal leeg en kan die worden uitgeschakeld <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Op dit moment draait Atlas al weer 8 dagen in Schiphol <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/26/atlas-is-geplaatst-sites-verhuist.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>open_basedir op Athena</title>
		<link>http://www.ontwikkelblog.nl/2007/07/13/open_basedir-op-athena.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/13/open_basedir-op-athena.html#comments</comments>
		<pubDate>Fri, 13 Jul 2007 20:17:49 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Athena]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/13/open_basedir-op-athena.html</guid>
		<description><![CDATA[open_basedir is een beveiliging in PHP om er voor te zorgen dat je geen bestandssystem bewerkingen en lezingen kan doen buiten de map waar je eigen website of applicatie in staat. Ik heb een tijdje gezocht naar de juiste manier om dat te implementeren. open_basedir wil ik op Athena gebruiken, omdat ik daar meerdere eigen [...]]]></description>
			<content:encoded><![CDATA[<p><a HREF="http://nl2.php.net/features.safe-mode">open_basedir</a> is een beveiliging in PHP om er voor te zorgen dat je geen bestandssystem bewerkingen en lezingen kan doen buiten de map waar je eigen website of applicatie in staat. Ik heb een tijdje gezocht naar de juiste manier om dat te implementeren. open_basedir wil ik op Athena gebruiken, omdat ik daar meerdere eigen websites op ga draaien. Ik heb nu gevonden hoe:<br />
<span id="more-39"></span></p>
<ul>
<li>Voeg binnen een &lt;virtualhost&gt; het volgende toe:
<pre>
<div class="codecolorer-container apache default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;<span style="color: #000000; font-weight:bold;">directory</span> directorynaam&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #00007f;">php_admin_value</span> open_basedir <span style="color: #7f007f;">&quot;directorynaam:/tmp&quot;</span> <br />
&lt;/<span style="color: #000000; font-weight:bold;">directory</span>&gt;</div></td></tr></tbody></table></div>
</pre>
<p>De dubbelepunt dient als splitsing tussen directory&#8217;s. /tmp moet ook als toegestane directory toegevoegd worden omdat daar de sessies en upload&#8217;s naar weggeschreven worden.</li>
<li>Een voorbeeld:
<pre>
<div class="codecolorer-container apache default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;<span style="color: #000000; font-weight:bold;">directory</span> directorynaam&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #00007f;">php_admin_value</span> open_basedir <span style="color: #7f007f;">&quot;/var/www/sites/athena.maikelg.net:/tmp&quot;</span> <br />
&lt;/<span style="color: #000000; font-weight:bold;">directory</span>&gt;</div></td></tr></tbody></table></div>
</pre>
<p><strong>Let op! open_basedir legt geen beperking op aan het gebruik van de shell functies, zoals shell_exec(), exec() en system().</strong></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/13/open_basedir-op-athena.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>De realisatie van Atlas, het vervolg</title>
		<link>http://www.ontwikkelblog.nl/2007/07/13/de-realisatie-van-atlas-het-vervolg.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/13/de-realisatie-van-atlas-het-vervolg.html#comments</comments>
		<pubDate>Fri, 13 Jul 2007 19:31:26 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Acropolis]]></category>
		<category><![CDATA[Asclepius]]></category>
		<category><![CDATA[Athena]]></category>
		<category><![CDATA[Atlas]]></category>
		<category><![CDATA[Atropos]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/13/de-realisatie-van-atlas-het-vervolg.html</guid>
		<description><![CDATA[Zoals ik in voorgaande posts heb verteld ben ik bezig met het opzetten van een nieuwe server die al mijn websites ed mag gaan hosten. Ik heb uitgelegd dat ik dit wil gaan doen door de server in meerdere virtuele servers te verdelen dmv Xen. Het is een poosje geleden dat ik hierover heb geschreven, [...]]]></description>
			<content:encoded><![CDATA[<p>Zoals ik in voorgaande posts heb verteld ben ik bezig met het opzetten van een nieuwe server die al mijn websites ed mag gaan hosten. Ik heb uitgelegd dat ik dit wil gaan doen door de server in meerdere virtuele servers te verdelen dmv <a href="http://www.xensource.com">Xen</a>. Het is een poosje geleden dat ik hierover heb geschreven, maar ik heb het zo druk gehad met het realiseren van Atlas dat ik helemaal niet aan scrijven toen ben gekomen. Die achterstand probeer ik nu in te halen. </p>
<p>Inmiddels heb ik alle hardware binnen en heb ik Atlas gebouwd en volledig geinstalleerd.</p>
<p><span id="more-37"></span><br />
<strong>Hardware</strong></p>
<ul>
<li>Chieftec 1U case UNC-110S-W</li>
<li>Intel Core 2 Duo E4300 1.8 Ghz</li>
<li>Supermicro PDSMi+ server motherboard</li>
<li>Supermicro SNK-P0016 heatsink</li>
<li>4x Corsair 1024MB DDR2 128MX64</li>
<li>2x WesternDigital Caviar SE16 320GB (Software RAID 1)</li>
</ul>
<p>Ik had eerst de verkeerde koeler besteld, ook was m&#8217;n eerste motherboard, de <a href="http://www.intel.com/design/servers/boards/s3000ah/index.htm">Intel S3000AHV</a> niet leverbaar. Ik heb toen eerst een <a href="http://www.asus.com/products4.aspx?l1=3&#038;l2=11&#038;l3=332&#038;model=1314&#038;modelmenu=1">Asus P5B-V</a> geprobeerd, maar daar bleek m&#8217;n koeler niet op te passen. Nu heb ik uiteindelijk de <a href="http://www.supermicro.com/products/motherboard/Xeon3000/3000/PDSMi+.cfm">Supermicro PDSMi+</a> genomen, een erg leuk moederbordje.</p>
<p><strong>Software op Atlas</strong></p>
<p>De software die ik heb gebruikt op Atlas:</p>
<ul>
<li>Ubuntu 6.06 LTS</li>
<li>Xen 3.0.4</li>
<li>Apache 2.2.4</li>
<li>PHP 5.2.3</li>
<li>MRTG met eigen scripts</li>
</ul>
<p>Ubuntu als OS, Xen als virtualisatiesoftware. MRTG gebruik ik om het dataverkeer verbruik van de virtuele servers bij te houden <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p><strong>De virtuele servers</strong></p>
<p><u>Asclepius</u><br />
40 GB harddisk<br />
512 MB RAM<br />
CentOS Linux 5.0<br />
<a href="http://www.swsoft.com/plesk">SWsoft Plesk 8.2</a><br />
<em>Voor de normale websites. Mijn keuze is op Plesk gevallen omdat ik dat een heel uitgebreid en net controlepaneel vind. CentOS is een stabiele distributie en een goede combinatie met Plesk, mede heb ik voor CentOS gekozen omdat Plesk de software uit de repositorys van het OS haalt en CentOS 5 gewoon op dit moment het beste bij de tijd daar mee is. PHP 5 heb ik zelf gecompileerd.</p>
<p><u>Athena</u><br />
40 GB harddisk<br />
768 MB ram<br />
Gentoo Linux<br />
<em>Voor Ontwikkelzone, OntwikkelBLOG, de website waar het dataverkeer verbruik op staat, database en website van Anna en experimenten ed: De keuze voor Gentoo omdat je het gewoon lekker naar je eigen hand kan zetten. Je kan helemaal zelf opgeven met welke opties je pakketten gecompileert moeten worden ( Portage <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ), en dat is voor een server die toch meer gericht is op de development wel zo leuk. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </em></p>
<p><u>Atropos</u><br />
5 GB harddisk<br />
256 MB ram<br />
Ubuntu Linux 6.06 LTS<br />
<em>Voor Anna (de bot zelf), m&#8217;n IRC server en m&#8217;n bouncer. Ik heb voor Ubuntu 6.06 gekozen omdat dat het besturingssysteem is wat ik het meeste gebruik en debian based vind ik nog altijd het prettigste werken. Deze IRC servers zijn toch niet zonder risico en daarom lekker gescheiden van de rest op deze virtuele server. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<p>Met deze virtuele servers is er nog genoeg ruimte over voor test virtuele servers, dus met atlas kan ik weer een hele poos voort.</p>
<p>De plaatsing van Atlas vind aanstaande woensdag (18-07-07) plaats. Ik ga Atlas plaatsen in het <a href="http://www.datacentrumgids.nl/datacentrum/easynet-dc-schiphol">Easynet datacentrum te Amsterdam Schiphol-rijk</a>. Atlas zal daar met de rest van de wereld in verbinding staan via het <a href="http://www.netwerkgids.com/netwerk/euroaccess">Euroaccess</a> netwerk.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/13/de-realisatie-van-atlas-het-vervolg.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Handig tooltje: yakuake</title>
		<link>http://www.ontwikkelblog.nl/2007/07/05/handig-tooltje-yakuake.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/05/handig-tooltje-yakuake.html#comments</comments>
		<pubDate>Thu, 05 Jul 2007 20:14:14 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/05/handig-tooltje-yakuake.html</guid>
		<description><![CDATA[Een vriend wees mij vandaag op yakuake. Een kde terminal emulator. Yakuake scrolled naar beneden als je op F12 drukt, je kan dan op de terminal werken. Met een druk op F12 scrolled deze weer terug naar boven, en de terminal gaat op de achtergrond gewoon verder waar hij mee bezig was. Erg handig als [...]]]></description>
			<content:encoded><![CDATA[<p>Een vriend wees mij vandaag op <a href="http://yakuake.uv.ro/">yakuake</a>. Een kde terminal emulator. Yakuake scrolled naar beneden als je op F12 drukt, je kan dan op de terminal werken. Met een druk op F12 scrolled deze weer terug naar boven, en de terminal gaat op de achtergrond gewoon verder waar hij mee bezig was. Erg handig als je bijvoorbeeld tussendoor wat aan het compilleren bent of je met een ander proces hebt lopen wat een poosje duurt. Je kan ook meerdere terminal tabbladen openen in yakuake, maar dat werkt helaas niet helemaal goed met gnome. Maar een tabblad is al erg handig <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p><strong>UPDATE</strong> Diezelfde vriend wees mij net ook op <a href="http://tilda.sourceforge.net/">tilda</a>, die wel werkt met gnome. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/05/handig-tooltje-yakuake.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk test, upgraden naar PHP 5.2.3</title>
		<link>http://www.ontwikkelblog.nl/2007/07/03/plesk-test.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/03/plesk-test.html#comments</comments>
		<pubDate>Tue, 03 Jul 2007 16:50:57 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Apollo]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/03/plesk-test.html</guid>
		<description><![CDATA[Plesk is net als DirectAdmin een webhosting control panel. Gebruikt om webhosting-pakketten aantemaken en te beheren. Plesk bied wat meer mogelijkheden en ziet er naar mijn mening beter uit (overgens kan je DirectAdmin wel makkelijk een ander uiterlijk geven. Er zijn tientallen skins voor weinig geld beschikbaar). Het is dan ook een stuk duurder. DirectAdmin [...]]]></description>
			<content:encoded><![CDATA[<p><a HREF="http://www.swsoft.com/plesk">Plesk</a> is net als <a HREF="http://www.directadmin.com">DirectAdmin</a> een webhosting control panel. Gebruikt om webhosting-pakketten aantemaken en te beheren.<br />
Plesk bied wat meer mogelijkheden en ziet er naar mijn mening beter uit (overgens kan je DirectAdmin wel makkelijk een ander uiterlijk geven. Er zijn tientallen skins voor weinig geld beschikbaar). Het is dan ook een stuk duurder.</p>
<p>DirectAdmin lifetime voor onbeperkte domeinen kost bij DirectAdmin zelf 219.46 EUR (omgerekend van dollars naar euro&#8217;s), en dan ondersteund DirectAdmin ook gewoon spamfilters ed en er zit een ticket systeem ingebouwd.<br />
Plesk lifetime kost bij <a HREF="http://www.koopplesk.nl">http://www.koopplesk.nl</a> voor 100 domeinen 284.41 EUR, en dan zit er nog geeneens ondersteuning voor een spamfilter bij.<br />
Plesk heeft daar integen wel een gratis 1 domein licentie, dus ik kan zonder problemen testen. Dit heb ik dan ook gedaan, op Apollo, zowel op CentOS 4.4, Ubuntu 6.06 LTS en CentOS 5.0.<br />
<span id="more-34"></span><br />
<strong>Installeren</strong></p>
<p>De installatie verliep op alle drie vlot, maar dat is vroeger wel is anders geweest&#8230;. Ik heb eerder een poosje een Plesk server beheerd, en toen was het installeren een ramp. Maar nu ging het prima.</p>
<p><strong>Software versies</strong></p>
<p>Plesk gebruikt de repository&#8217;s van het OS. Als je dus een OS gebruikt met oude versies, heeft Plesk ook oude versies. Gebruik je een OS met nieuwe versies, heeft Plesk ook nieuwe versies. Daarom ben ik verder gegaan met CentOS 5.0 omdat deze het meeste bij de tijd is.</p>
<p><strong>PHP</strong></p>
<p>Omdat ik veel met specifieke functies in PHP werk, wil ik PHP volledig bij de tijd hebben. Dit bleek helemaal niet zo&#8217;n probleem te zijn met Plesk (commando&#8217;s voor CentOS 5):</p>
<ul>
<li>Voer de volgende commando&#8217;s uit:
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src <br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">yum install</span> httpd-devel libxml2-devel mysql-devel ncurses-devel gcc-c++ <span style="color: #c20cb9; font-weight: bold;">make</span> <br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>nl3.php.net<span style="color: #000000; font-weight: bold;">/</span>get<span style="color: #000000; font-weight: bold;">/</span>php-5.2.3.tar.gz<span style="color: #000000; font-weight: bold;">/</span>from<span style="color: #000000; font-weight: bold;">/</span>this<span style="color: #000000; font-weight: bold;">/</span>mirror <br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xvvzf</span> php-5.2.3.tar.gz <br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> php-5.2.3 <br />
<span style="color: #666666;">shell# </span>.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>php5 <span style="color: #660033;">--with-apxs2</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">apxs</span> <span style="color: #660033;">--enable-discard-path</span> <span style="color: #660033;">--enable-force-redirect</span> <span style="color: #660033;">--with-mysql</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin <span style="color: #660033;">--enable-sockets</span> &nbsp;<span style="color: #000000; font-weight: bold;">&lt;</span>verdere<span style="color: #000000; font-weight: bold;">&gt;</span><br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">make</span> <br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>httpd<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>httpd.conf</div></td></tr></tbody></table></div>
<li>Verwijder de php5 module regel en sla op.</li>
<li>Kopieer php.ini naar de nieuwe locatie:
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# cp /etc/php.ini /opt/php5/lib/php.ini</div></td></tr></tbody></table></div>
</pre>
</li>
<li>Herstart Apache:
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# /sbin/service httpd restart</div></td></tr></tbody></table></div>
</pre>
</li>
</ul>
<p>En klaar <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  PHP 5 draait ! <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Conclusie</strong></p>
<p>Ik vind Plesk een zeer leuk controlepaneel met leuke functies die ik in DirectAdmin een beetje mis. Ik heb besloten om over te stappen op Plesk, maar dan wel de 30 domeinen licentie. Meer heb ik toch niet nodig <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/03/plesk-test.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux @ Desktop, twee maanden later</title>
		<link>http://www.ontwikkelblog.nl/2007/07/02/ubuntu-linux-desktop-twee-maand-later.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/07/02/ubuntu-linux-desktop-twee-maand-later.html#comments</comments>
		<pubDate>Mon, 02 Jul 2007 18:02:51 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/07/02/ubuntu-linux-desktop-twee-maand-later.html</guid>
		<description><![CDATA[Het is nu meer dan twee maanden geleden dan ik ook voor desktop gebruik over ben gestapt op Linux. En wel Ubuntu 7.04 Feisty Fawn. En ik mis Windows nogsteeds niet . Alles werkt nogsteeds prima en ik kan goed met de linux alternatieven overweg. Alleen blijft het wel gewoon dat ik voor bijv. powerpoint [...]]]></description>
			<content:encoded><![CDATA[<p>Het is nu meer dan twee maanden geleden dan ik ook voor desktop gebruik over ben gestapt op Linux. En wel Ubuntu 7.04 Feisty Fawn. En ik mis Windows nogsteeds niet <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  .</p>
<p>Alles werkt nogsteeds prima en ik kan goed met de linux alternatieven overweg. Alleen blijft het wel gewoon dat ik voor bijv. powerpoint presentaties even een Windows PC aan moet zetten en dat ik geen programma&#8217;s als Adobe Dreamweaver en Adobe Photoshop tot m&#8217;n beschikking heb. Gelukkig werkt ik daar niet zoveel mee, want anders zou het wel erg irritant zijn&#8230;..</p>
<p>Een gulden middenweg zou dan Mac OS X zijn. De power van Unix (BSD) en toch gewoon Adobe Dreamweaver en Adobe Photoshop kunnen gebruiken. Daarnaast vind ik Mac&#8217;s er ook nog is erg goed uitzien. Alleen er hangt aan Mac&#8217;s een nog mooier prijskaartje&#8230;&#8230; Voorlopig zit het er niet in, maar als ik een keer geld heb koop ik er zeker een <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/07/02/ubuntu-linux-desktop-twee-maand-later.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Downtime Neo</title>
		<link>http://www.ontwikkelblog.nl/2007/06/13/downtime-neo.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/06/13/downtime-neo.html#comments</comments>
		<pubDate>Wed, 13 Jun 2007 07:47:06 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Neo/Alectrona/Artemis]]></category>
		<category><![CDATA[Servers]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/06/13/downtime-neo.html</guid>
		<description><![CDATA[Op 09 juni 2007 om 18:29 ging neo.maikelg.net opeens volledig offline. Ik kon hem nogwel pingen maar verders deed hij niets meer. Toen ik er een monitor bij had gehaald zag ik dat eth0 down was. Vreemd? Ik kon hem toch pingen? Ik heb eth0 gerestart, maar het hielp niets. Dan maar rebooten. Na de [...]]]></description>
			<content:encoded><![CDATA[<p>Op 09 juni 2007 om 18:29 ging <a href="http://neo.maikelg.net">neo.maikelg.net</a> opeens volledig offline. Ik kon hem nogwel pingen maar verders deed hij niets meer. Toen ik er een monitor bij had gehaald zag ik dat eth0 down was. Vreemd? Ik kon hem toch pingen?</p>
<p>Ik heb eth0 gerestart, maar het hielp niets. Dan maar rebooten.<br />
Na de reboot werkte alles wel weer, alleen dns wou niet direct starten (zoals gewoonlijk).<br />
Weet niet waar dat aan ligt, moet ik nog een keer uitzoeken. Als ik een paar keer achter elkaar <em>named</em> intyp werkt het wel, maar als ik het één keer intyp start de server niet <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
<p>Maargoed, neo draait weer iniedergeval <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/06/13/downtime-neo.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Temperatuur applet in gnome</title>
		<link>http://www.ontwikkelblog.nl/2007/06/08/temperatuur-applet-in-gnome.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/06/08/temperatuur-applet-in-gnome.html#comments</comments>
		<pubDate>Fri, 08 Jun 2007 10:27:10 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/06/08/temperatuur-applet-in-gnome.html</guid>
		<description><![CDATA[Met dit warme weer is het belangrijk een beetje in het oog te houden of je pc niet te warm wordt. Mijn desktop pc draait Ubuntu 7.04 Feitsy Fawn. Ik ga nu uitleggen hoe je icoontjes aan gnome toe kan voegen die de temperatuur laten zien. Ga naar de shell, en typ de volgende commando&#8217;s: [...]]]></description>
			<content:encoded><![CDATA[<p>Met dit warme weer is het belangrijk een beetje in het oog te houden of je pc niet te warm wordt.<br />
Mijn desktop pc draait Ubuntu 7.04 Feitsy Fawn. Ik ga nu uitleggen hoe je icoontjes aan gnome toe kan voegen die de temperatuur laten zien.</p>
<ul>
<li>Ga naar de shell, en typ de volgende commando&#8217;s:
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">su</span><br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">apt-get install</span> lm-sensors hddtemp<br />
<span style="color: #666666;">shell# </span>sensors-detect<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">apt-get install</span> sensors-applet<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">exit</span></div></td></tr></tbody></table></div>
</pre>
<p>Bij <em>sensors-detect</em> moet je overal yes antwoorden. Reboot na het uitvoeren van deze commando&#8217;s je pc.
</li>
<li>Klik met de rechter muisknop op een gnome balk.</li>
<li>Klik op <em>Add to panel</em>.</li>
<li>Selecteer de <em>Hardware sensors monitor</em> en klik op <em>Add</em>.</li>
<li>Klik op <em>Close</em>.</li>
<li>Klik met de rechter muisknop op de zojuist toegevoegde applet.</li>
<li>Klik op <em>Preferences</em>,<br />
daar kun je instellen welke temperaturen er weergegeven moeten worden.</li>
</ul>
<p>Dat is het! Nu kan je makkelijk de temperatuur van je pc een beetje in het oog houden. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/06/08/temperatuur-applet-in-gnome.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Traffic manager af</title>
		<link>http://www.ontwikkelblog.nl/2007/06/07/traffic-manager-af.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/06/07/traffic-manager-af.html#comments</comments>
		<pubDate>Thu, 07 Jun 2007 21:23:21 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Atlas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Xen]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/06/07/traffic-manager-af.html</guid>
		<description><![CDATA[Om het dataverkeer wat door de virtuele servers wordt verzet te kunnen meten, heb ik een systeem gemaakt. Dit systeem is nu af en die zet de data ook in mooie grafiekjes. Het was niet zo heel lastig om hier een systeem voor te maken. Xen maakt voor elke virtuele server een vif aan. Vervolgens [...]]]></description>
			<content:encoded><![CDATA[<p>Om het dataverkeer wat door de virtuele servers wordt verzet te kunnen meten, heb ik een systeem gemaakt.<br />
Dit systeem is nu af en die zet de data ook in mooie grafiekjes.</p>
<p>Het was niet zo heel lastig om hier een systeem voor te maken. Xen maakt voor elke virtuele server een vif aan. Vervolgens kan je met dit commando bruikbare data verkrijgen om in bijv. php te verwerken:</p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# cat /proc/net/dev | grep vif-vm1 | tr -s &quot; &quot;</div></td></tr></tbody></table></div>
</pre>
<p>Binnenkort zal ik wat screenshots plaatsen, als het systeem draait op Atlas. <img src='http://www.ontwikkelblog.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/06/07/traffic-manager-af.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat JSP server installeren en integreren met Apache</title>
		<link>http://www.ontwikkelblog.nl/2007/06/03/tomcat-jsp-server-installeren-en-integreren-met-apache.html</link>
		<comments>http://www.ontwikkelblog.nl/2007/06/03/tomcat-jsp-server-installeren-en-integreren-met-apache.html#comments</comments>
		<pubDate>Sun, 03 Jun 2007 17:34:15 +0000</pubDate>
		<dc:creator>Maikel Gommans</dc:creator>
				<category><![CDATA[Aphrodite]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ontwikkelblog.nl/2007/06/03/tomcat-jsp-server-installeren-en-integreren-met-apache.html</guid>
		<description><![CDATA[In mijn vorige post heb ik verteld hoe ik met Java en JSP bezig ben. Hoe ik de Tomcat JSP server heb geinstalleerd en met Apache heb geintegreerd ga ik in deze post uitleggen. In dit voorbeeld gebruik ik een server met CentOS 4.4, maar de procedure is bij elke andere linux distributie vrijwel hetzelfde. [...]]]></description>
			<content:encoded><![CDATA[<p>In mijn <a href="http://www.ontwikkelblog.nl/2007/06/02/java-leren.html">vorige post</a> heb ik verteld hoe ik met Java en JSP bezig ben. Hoe ik de <a href="http://tomcat.apache.org">Tomcat</a> JSP server heb geinstalleerd en met Apache heb geintegreerd ga ik in deze post uitleggen. In dit voorbeeld gebruik ik een server met CentOS 4.4, maar de procedure is bij elke andere linux distributie vrijwel hetzelfde.</p>
<p><span id="more-26"></span></p>
<p><strong>Tomcat installeren</strong></p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>tomcat<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>tomcat<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>apache.proserve.nl<span style="color: #000000; font-weight: bold;">/</span>tomcat<span style="color: #000000; font-weight: bold;">/</span>tomcat-<span style="color: #000000;">6</span><span style="color: #000000; font-weight: bold;">/</span>v6.0.13<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>apache-tomcat-6.0.13.tar.gz<br />
<span style="color: #666666;">shell# </span>adduser tomcat<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> tomcat:tomcat <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>tomcat<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzf</span> apache-tomcat-6.0.13.tar.gz<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">rm</span> apache-tomcat-6.0.13.tar.gz<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">mv</span> apache-tomcat-6.0.13<span style="color: #000000; font-weight: bold;">/*</span> .<span style="color: #000000; font-weight: bold;">/</span><br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-r</span> apache-tomcat-6.0.13<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;JAVA_HOME = &lt;path naar Java Runtime Environment&gt;&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bashrc<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;export JAVA_HOME&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>bashrc<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">bash</span><br />
<span style="color: #666666;">shell# </span>bin<span style="color: #000000; font-weight: bold;">/</span>startup.sh</div></td></tr></tbody></table></div>
</pre>
<p>Vervang &lt;path naar Java Runtime Environment&gt; met het path naar JRE.</p>
<p><strong>User voor manager aanmaken</strong></p>
<p>Nu is Tomcat geinstalleerd en opgestart. Je kan met <em>netstat -l</em> kijken op welke poort Tomcat is gestart, daar kun je dan de manager vinden. </p>
<p>Nu is het tijd om een user aan te maken voor de manager. Met de manager kan je applications deployen en undeployen.</p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# nano /usr/local/tomcat/conf/tomcat-users.xml</div></td></tr></tbody></table></div>
</pre>
<p>Voeg tussen &lt;tomcat-users&gt; en &lt;/tomcat-users&gt; de volgende regels toe:</p>
<pre>
<div class="codecolorer-container xml default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="xml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;role</span> <span style="color: #000066;">rolename</span>=<span style="color: #ff0000;">&quot;manager&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span><br />
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;user</span> <span style="color: #000066;">username</span>=<span style="color: #ff0000;">&quot;admin&quot;</span> <span style="color: #000066;">password</span>=<span style="color: #ff0000;">&quot;pass&quot;</span> <span style="color: #000066;">roles</span>=<span style="color: #ff0000;">&quot;manager&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span></div></td></tr></tbody></table></div>
</pre>
<p>Vervang admin en pass door je eigen gebruikersnaam en wachtwoord.</p>
<p><strong>mod_jk installeren en configureren</strong></p>
<p>Nu gaan we Tomcat integreren in Apache, ik ga uit van Apache 2.2.4, maar ook voor oudere series zijn mod_jk binaries te vinden.</p>
<p>Uiteraard moet je de apache path&#8217;s gebruiken die bij jou van toepassing zijn.</p>
<pre>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>modules<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.apache.org<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>tomcat<span style="color: #000000; font-weight: bold;">/</span>tomcat-connectors<span style="color: #000000; font-weight: bold;">/</span>jk<span style="color: #000000; font-weight: bold;">/</span>binaries<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>jk-1.2.21<span style="color: #000000; font-weight: bold;">/</span>mod_jk-1.2.21-apache-<span style="color: #000000;">2.2</span>.x-linux-i686.so<br />
<span style="color: #666666;">shell# </span><span style="color: #7a0874; font-weight: bold;">cd</span> ..<span style="color: #000000; font-weight: bold;">/</span>conf<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">touch</span> ..<span style="color: #000000; font-weight: bold;">/</span>logs<span style="color: #000000; font-weight: bold;">/</span>mod_jk.log<br />
<span style="color: #666666;">shell# </span><span style="color: #c20cb9; font-weight: bold;">nano</span> httpd.conf</div></td></tr></tbody></table></div>
</pre>
<p>Voeg onderaan httpd.conf toe:</p>
<pre>
<div class="codecolorer-container apache default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br /></div></td><td><div class="apache codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #00007f;">LoadModule</span> jk_module /usr/local/apache2/modules/mod_jk.so<br />
<br />
<span style="color: #adadad; font-style: italic;"># Where to find workers.properties</span><br />
JkWorkersFile /usr/local/apache2/workers.properties <br />
<br />
<span style="color: #adadad; font-style: italic;"># Where to put jk logs</span><br />
JkLogFile /usr/local/apache2/logs/mod_jk.log<br />
<br />
<span style="color: #adadad; font-style: italic;"># Set the jk log level [debug/error/info]</span><br />
JkLogLevel info<br />
<br />
<span style="color: #adadad; font-style: italic;"># Select the log format</span><br />
JkLogStampFormat <span style="color: #7f007f;">&quot;[%a %b %d %H:%M:%S %Y] &quot;</span><br />
<br />
<span style="color: #adadad; font-style: italic;"># JkOptions indicate to send SSL KEY SIZE,</span><br />
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories<br />
<br />
<span style="color: #adadad; font-style: italic;"># JkRequestLogFormat set the request format</span><br />
JkRequestLogFormat <span style="color: #7f007f;">&quot;%w %V %T&quot;</span><br />
<br />
<span style="color: #adadad; font-style: italic;"># Send servlet for context / jsp-examples to worker named worker1</span><br />
JkMount /jspapplicatie worker1<br />
<span style="color: #adadad; font-style: italic;"># Send JSPs for context /jsp-examples/* to worker named worker1</span><br />
JkMount /jspapplicatie/* worker1</div></td></tr></tbody></table></div>
</pre>
<p>De laatste 4 regels moeten steeds herhaald worden voor extra applicaties.</p>
<p>Nu moeten we workers.properties aanmaken:</p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# nano /usr/local/apache2/workers.properties</div></td></tr></tbody></table></div>
</pre>
<p>Zet in workers.properties het volgende:</p>
<pre>
<div class="codecolorer-container ini default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br /></div></td><td><div class="ini codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">workers.tomcat_home<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/lib/apache-tomcat</span><br />
workers.java_home<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/usr/lib/jdk</span><br />
<span style="color: #000099;">ps</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">/</span><br />
worker.list<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">worker1</span><br />
<br />
worker.default.port<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">&lt;tomcat poort&gt;</span><br />
worker.default.host<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">localhost</span><br />
worker.default.type<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">ajp13</span><br />
worker.default.lbfactor<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">1</span></div></td></tr></tbody></table></div>
</pre>
<p>Vervang &lt;tomcat poort&gt; door de tomcat poort.</p>
<p>Dan kan apache gerestart worden met:</p>
<pre>
<div class="codecolorer-container text default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">shell# /usr/local/apache2/bin/apachectl -k restart</div></td></tr></tbody></table></div>
</pre>
<p>Dat is het! Nu wordt http://je-url/jspapplicatie naar de tomcat server geforward.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ontwikkelblog.nl/2007/06/03/tomcat-jsp-server-installeren-en-integreren-met-apache.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

