<?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>Bob Droog &#187; Server</title>
	<atom:link href="http://www.bobdroog.nl/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bobdroog.nl</link>
	<description>My life in this crazy world.</description>
	<lastBuildDate>Thu, 24 Feb 2011 01:02:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How to get yum package update notifications via e-mail?</title>
		<link>http://www.bobdroog.nl/2009/12/04/how-to-get-yum-package-update-notifications-via-e-mail/</link>
		<comments>http://www.bobdroog.nl/2009/12/04/how-to-get-yum-package-update-notifications-via-e-mail/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 10:36:53 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[automated mail sending linux]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[e-mail notifier for CentOS]]></category>
		<category><![CDATA[e-mail notifier for Fedora]]></category>
		<category><![CDATA[e-mail notifier for RHEL]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[manually]]></category>
		<category><![CDATA[notification]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[users]]></category>
		<category><![CDATA[yum]]></category>
		<category><![CDATA[yum email when upgrades]]></category>
		<category><![CDATA[yum notification]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1354</guid>
		<description><![CDATA[This will work for: Red Hat / CentOS / Fedora For Debian / Ubuntu: Please visit this website. My server sends me a notifications for everything what happens on the server through e-mail, the only thing I had to check manually every time were the updates / upgrades for my Linux system. I figured there [...]]]></description>
			<content:encoded><![CDATA[<p>This will work for: <strong>Red Hat</strong> / <strong>CentOS </strong>/ <strong>Fedora</strong><br />
For <strong>Debian </strong>/ <strong>Ubuntu</strong>: <a href="http://www.cyberciti.biz/faq/apt-get-apticron-send-email-upgrades-available/" target="_blank"><strong><em>Please visit this website.</em></strong></a></p>
<p>My server sends me a notifications for everything what happens on the server through e-mail, the only thing I had to check manually every time were the <strong>updates</strong> / <strong>upgrades</strong> for my Linux system. I figured there should be a way to get yum-update send notifications with available upgrades. So what we are going to do now is force yum to send an email when a update or upgrade is available.</p>
<p>First thing we need to do is open the yum config file.</p>

<div class="wp-terminal">root@server:$ nano /etc/yum/yum-updatesd.conf<br/></div>

<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;"><span class="br0">&#91;</span>main<span class="br0">&#93;</span><br />
<span class="co1"># how often to check for new updates (in seconds)</span><br />
run_interval <span class="sy0">=</span> <span class="nu0">3600</span><br />
<span class="co1"># how often to allow checking on request (in seconds)</span><br />
updaterefresh <span class="sy0">=</span> <span class="nu0">600</span></p>
<p><span class="co1"># how to send notifications (valid: dbus, email, syslog)</span><br />
emit_via <span class="sy0">=</span> dbus<br />
<span class="co1"># should we listen via dbus to give out update information/check for</span><br />
<span class="co1"># new updates</span><br />
dbus_listener <span class="sy0">=</span> yes</p>
<p><span class="co1"># automatically install updates</span><br />
do_update <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a><br />
<span class="co1"># automatically download updates</span><br />
do_download <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a><br />
<span class="co1"># automatically download deps of updates</span><br />
do_download_deps <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a></div>
</div>
<p>Add these variables, and change &#8220;<strong>email_to</strong>&#8221; to your e-mail address:</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">emit_via <span class="sy0">=</span> email<br />
<span class="co1"># who to send the email to:</span><br />
email_to <span class="sy0">=</span> email<span class="re0">@example</span><span class="sy0">.</span>com<br />
<span class="co1"># who send the notifications</span><br />
email_from <span class="sy0">=</span> yum<span class="sy0">-</span>update<span class="re0">@yourserver</span><span class="sy0">.</span>com</div>
</div>
<p>Here is my working config file. You can also just copy and use this one and change the e-mail addresses.</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;"><span class="br0">&#91;</span>main<span class="br0">&#93;</span><br />
<span class="co1"># how often to check for new updates (in seconds)</span><br />
run_interval <span class="sy0">=</span> <span class="nu0">3600</span><br />
<span class="co1"># how often to allow checking on request (in seconds)</span><br />
updaterefresh <span class="sy0">=</span> <span class="nu0">600</span></p>
<p><span class="co1"># how to send notifications (valid: dbus, email, syslog)</span><br />
emit_via <span class="sy0">=</span> email<br />
<span class="co1"># who to send the email to:</span><br />
email_to <span class="sy0">=</span> email<span class="re0">@example</span><span class="sy0">.</span>com<br />
<span class="co1"># who send the notifications</span><br />
email_from <span class="sy0">=</span> yum<span class="sy0">-</span>update<span class="re0">@yourserver</span><span class="sy0">.</span>com</p>
<p><span class="co1"># should we listen via dbus to give out update information/check for</span><br />
<span class="co1"># new updates</span><br />
dbus_listener <span class="sy0">=</span> yes</p>
<p><span class="co1"># automatically install updates</span><br />
do_update <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a><br />
<span class="co1"># automatically download updates</span><br />
do_download <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a><br />
<span class="co1"># automatically download deps of updates</span><br />
do_download_deps <span class="sy0">=</span> <a href="http://perldoc.perl.org/functions/no.html"><span class="kw3">no</span></a></div>
</div>
<p>After saving the file. Restart notification yum-updatesd service.</p>

<div class="wp-terminal">root@server:$ /etc/init.d/yum-updatesd restart<br/></div>

<h6></h6>
<h3>E-mail notification sample sent by yum notification.</h3>
<div class="codesnip-container" >
<div class="email codesnip" style="font-family:monospace;"><span class="sc0"><span class="kw3">Subject</span><span class="sy0">:</span> yum<span class="sy0">:</span> 9 Updates Available (on yourserver.com)</span><br />
<span class="sc0"><span class="kw3">From</span><span class="sy0">:</span> yum-<span class="re2">update@example.com</span></span><br />
<span class="sc0"><span class="kw3">Date</span><span class="sy0">:</span> &nbsp;12/4/2009 11<span class="sy0">:</span>34<span class="sy0">:</span>31</span><br />
<span class="sc0"><span class="kw3">To</span><span class="sy0">:</span> <span class="re2">email@example.com</span></span></p>
<p>Hi,<br />
This is the automatic update system on yourserver.com</p>
<p>There are 9 package updates available. Please run the system updater.</p>
<p>Packages available for update:</p>
<p>&nbsp; &nbsp; firefox &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; kernel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; cscope &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; kernel-headers &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; dnsmasq &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; kernel-devel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; apr-util &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; xulrunner &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; apr-util-devel &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</p>
<p>Thank You,<br />
Your Computer</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/12/04/how-to-get-yum-package-update-notifications-via-e-mail/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Install SABnzbd on Unix</title>
		<link>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/</link>
		<comments>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:24:21 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[5+]]></category>
		<category><![CDATA[5.2]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[downloading on server]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to download from the news groups]]></category>
		<category><![CDATA[how to install sabnzbd in linux]]></category>
		<category><![CDATA[how to install sabnzbd on linux]]></category>
		<category><![CDATA[how to install sabnzbd on server]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[nzb]]></category>
		<category><![CDATA[par2cmdline]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[SABnzbd]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[server download]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[unrar]]></category>
		<category><![CDATA[yenc]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1187</guid>
		<description><![CDATA[Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself. It does come with Python 2.4, which is OK for SABnzbd. Some extra packages are available if you allow access to the unofficial Dag Wieers repository: user@server:$ rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm Required compiler stuff: user@server:$ yum install [...]]]></description>
			<content:encoded><![CDATA[<p>Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself. It does come with Python 2.4, which is OK for SABnzbd. Some extra packages are available if you allow access to the unofficial <a href="http://dag.wieers.com/rpm/" target="_blank"><strong>Dag Wieers repository</strong></a>:</p>

<div class="wp-terminal">user@server:$ rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br/><br/></div>

<h6></h6>
<h3>Required compiler stuff:</h3>

<div class="wp-terminal">user@server:$ yum install gcc gcc-c++ python-devel<br/></div>

<h6></h6>
<h3>PyOpenSSL</h3>

<div class="wp-terminal">user@server:$ yum install pyOpenSSL<br/></div>

<h6></h6>
<h3>Cheetah</h3>

<div class="wp-terminal">user@server:$ yum install python-cheetah<br/></div>

<p><strong>OR</strong></p>

<div class="wp-terminal">user@server:$ wget http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz<br/>gzip zxf Cheetah-2.0.1.tar.gz<br/>cd Cheetah-2.0.1<br/>python setup.py install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>YEnc</h3>

<div class="wp-terminal">user@server:$ wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz<br/>tar zxf yenc-0.3.tar.gz<br/>cd yenc-0.3<br/>python setup.py install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>par2cmdline</h3>

<div class="wp-terminal">user@server:$ wget http://garr.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz<br/>wget http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch<br/>tar zxf par2cmdline-0.4.tar.gz<br/>cd par2cmdline-0.4<br/>patch < ../par2cmdline-0.4-gcc4.patch reedsolomon.cpp<br/>./configure<br/>make<br/>make check<br/>make install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>unrar</h3>
</pre>

<div class="wp-terminal">user@server:$ yum install unrar<br/></div>

<p><strong>OR</strong></p>

<div class="wp-terminal">user@server:$ wget http://www.rarlab.com/rar/unrar-3.7.7-centos.gz<br/>gzip -d unrar-3.7.7-centos.gz<br/>chmod +x unrar-3.7.7-centos<br/>cp unrar-3.7.7-centos /usr/bin/unrar    # Need to do this as admin<br/><br/></div>

<h6></h6>
<h3>Feedparser</h3>

<div class="wp-terminal">user@server:$ wget http://feedparser.googlecode.com/files/feedparser-4.1.zip<br/>mkdir feedparser-4.1<br/>cd feedparser-4.1<br/>unzip ../feedparser-4.1.zip<br/>python setup.py install    # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>SABnzbd itself</h3>

<div class="wp-terminal">user@server:$ wget http://switch.dl.sourceforge.net/sourceforge/sabnzbdplus/SABnzbd-0.4.6-src.tar.gz<br/>tar zxf SABnzbd-0.4.6-src.tar.gz<br/>cd SABnzbd-0.4.6<br/># pre-compile optimized<br/>python -OO SABnzbd.py -v<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>Start SABnzbd</h3>

<div class="wp-terminal">user@server:$ ./SABnzbd.py -s 0.0.0.0:8080<br/></div>

<h6></h6>
<p>Article Source: <strong><a href="http://sabnzbd.wikidot.com/install-centos5">CentOS 5.2 (will work for RedHat 5 too)</a></strong><br />
<a href="http://sabnzbd.wikidot.com/install-ubuntuserver804" target="_blank"><strong>Ubuntu Server 8.04</strong></a><br />
<a href="http://sabnzbd.wikidot.com/install-cc42" target="_blank"><strong>ClarkConnect 4.2 Community Edition</strong></a><br />
For more information: <strong><a href="http://sabnzbd.wikidot.com/install-unix" target="blank">look here.</a></strong></p>
<h5></h5>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No good start in August.</title>
		<link>http://www.bobdroog.nl/2009/08/09/no-good-start-in-august/</link>
		<comments>http://www.bobdroog.nl/2009/08/09/no-good-start-in-august/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 16:10:52 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[My life in Holland]]></category>
		<category><![CDATA[August]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[cellphone]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[lost]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[start]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=800</guid>
		<description><![CDATA[yeahh.. soo&#8230; this month did not go as expected. I thought this month were going to be great. But bad stuff happened. To start off with, I lost my phone. Which was like really really expensive.. Then my home server crashed and I couln&#8217;t get it back to start up. My backup for my server [...]]]></description>
			<content:encoded><![CDATA[<p>yeahh.. soo&#8230; this month did not go as expected. I thought this month were going to be great. But bad stuff happened.</p>
<p>To start off with, I lost my phone. Which was like really really expensive.. Then my home server crashed and I couln&#8217;t get it back to start up. My backup for my server was like nothing.. so that did not go easy either. Normally I can just use the backup to get my server fixed. But now I need a fresh new install.</p>
<p>Then finally I got off work, so I walked towards my bicycle and saw that both tires were empty. Like my week couldn&#8217;t get any better.</p>
<p>It was just a bad week&#8230; I&#8217;m sure more people had the same.. so for those people; I&#8217;m sorry for you! haha. lol.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/08/09/no-good-start-in-august/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

