<?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>IT Knowledge Base &#187; Debian</title>
	<atom:link href="http://patrick.eviltools.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://patrick.eviltools.com</link>
	<description>daily life instructions</description>
	<lastBuildDate>Wed, 07 Jul 2010 10:11:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Manage Users in Debian</title>
		<link>http://patrick.eviltools.com/manage-users-in-debian/</link>
		<comments>http://patrick.eviltools.com/manage-users-in-debian/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 14:07:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[manage]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/manage-users-in-debian/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><strong>Create Groups     <br /></strong># group add finance    <br /># group add development    <br /># group add others</p>
<p><strong>Create User and Assign to Groups     <br /></strong># useradd –m –g finance –G development,others –s /bin/csh testuser</p>
<p><strong>Information about a User     <br /></strong># id testuser    <br /># groups testuser</p>
<p><strong>Modify and Delete a User     <br /></strong># usermod testuser    <br /># userdel –r testuser</p>
<p><strong>Deactivate User Account     <br /></strong># usermod –L testuser</p>
<p><strong>Switch to a user and move to home directory     <br /></strong># su – testuser</p>
<p><strong>Set a Password for a User     <br /></strong># passwd testuser</p>
<p><strong>Set Password Policies     <br /></strong># chage testuser</p>
<p><strong>User, Groups and Password Database     <br /></strong># /etc/passwd    <br /># /etc/groups    <br /># /etc/shadow</p>
<p> <strong>Template Directory for Home Folder   <br /></strong># /etc/skel/</p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/manage-users-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn Off Annoying Bell in Debian</title>
		<link>http://patrick.eviltools.com/turn-off-annoying-bell-in-debian/</link>
		<comments>http://patrick.eviltools.com/turn-off-annoying-bell-in-debian/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 15:09:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[beep]]></category>
		<category><![CDATA[bell]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[visual]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/turn-off-annoying-bell-in-debian/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Edit the file with vim:   <br /><em># vi /etc/inputrc</em></p>
<p>Remove comment:   <br /><em>set bell-style none</em></p>
<p>Or I prefer actually to have it visually displayed:   <br /><em>set bell-style visible</em></p>
<p>After that you need to restart debian.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/turn-off-annoying-bell-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get services to start up in Linux</title>
		<link>http://patrick.eviltools.com/get-services-to-start-up-in-linux/</link>
		<comments>http://patrick.eviltools.com/get-services-to-start-up-in-linux/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 10:14:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/get-services-to-start-up-in-linux/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Add Service with default runlevels:<br />
# update-rc.d apache2 defaults</p>
<p>Add Service with custom runlevels:<br />
# update-rc.d apache2 start 50 2 3 4 5 . stop 50 0 1 2 3 4 5 6 .</p>
<p>Remove Service:<br />
# update-rc.d -f apache2 remove</p>
<p>More Infos you can get here:<br />
<a title="http://www.debuntu.org/how-to-manage-services-with-update-rc.d" rel="nofollow" href="http://www.debuntu.org/how-to-manage-services-with-update-rc.d" target="_blank">http://www.debuntu.org/how-to-manage-services-with-update-rc.d</a></p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/get-services-to-start-up-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install VMWare tools in debian</title>
		<link>http://patrick.eviltools.com/install-vmware-tools-in-debian/</link>
		<comments>http://patrick.eviltools.com/install-vmware-tools-in-debian/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 13:41:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/install-vmware-tools-in-debian/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><strong>1. Install Kernel Heaeders</strong></p>
<ol>
<li>Get the Kernel version and remember it with:      <br />uname-r</li>
<li>apt-get install linux-headers-[Kernel Version]</li>
</ol>
<p><strong>2. Install VMWare Tools</strong></p>
<ol>
<li>Choose “install and upgrade VMWTools in VMWare” in your VM menu</li>
<li>mount /dev/hda /media/cdrom</li>
<li>cd /media/cdrom/</li>
<li>cp VMWareTools[whateverversion]tar.gz /tmp/</li>
<li>cd /tmp</li>
<li>tar xvzf VMWareTools[whateverversion]tar.gz</li>
<li>umount /media/cdrom/</li>
<li>cd /tmp/vmware-tools-distrib/</li>
<li>make a symlink:     <br />ln –s /usr/src/linux-headers-[Kernel Version] /usr/src/linux</li>
<li>apt-get install gcc-4.1</li>
<li>change using gcc version:     <br />export CC=/usr/bin/gcc-4.1</li>
<li>I had make and killall missing on my installation so can you get it:     <br />apt-get install psmisc make</li>
<li>./vmware-install.pl</li>
</ol>
<p><strong>3. Uninstall VMWare Tools     <br /></strong>After a failed installation of VMWare Tools I got following message:    <br />A previous installation of VMWare Software has been detected… You may want to re-install VMWare Tools.</p>
<p>The solution was to run the uninstaller first and run the VMWare setup again:   <br />1. ./vmware-uninstall.pl</p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/install-vmware-tools-in-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Set Date/Time in Debian</title>
		<link>http://patrick.eviltools.com/set-datetime-in-debian/</link>
		<comments>http://patrick.eviltools.com/set-datetime-in-debian/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 00:48:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[set]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=115</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div style="float: left; width:90px; height:90px;">
<img src="http://patrick.eviltools.com/wp-content/uploads/2009/01/linux-272x300.jpg" alt="Linux" title="Linux" width="72" height="72" class="size-thumbnail wp-image-157" /></div>
<p>Important: use two &#8220;-&#8221; before set!</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">date</span> &#8211;<span class="kw1">set</span> <span class="nu0">1998</span><span class="nu0">-11</span><span class="nu0">-02</span> </div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp;<span class="kw2">date</span> &#8211;<span class="kw1">set</span> <span class="nu0">21</span>:<span class="nu0">08</span>:<span class="nu0">0</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/set-datetime-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Startup in Debian</title>
		<link>http://patrick.eviltools.com/startup-in-debian/</link>
		<comments>http://patrick.eviltools.com/startup-in-debian/#comments</comments>
		<pubDate>Tue, 20 Jan 2009 11:39:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dhclient]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=72</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I noticed that each time I restarted my os I didn&#8217;t get an IP and I had to start dhclient manually. So how do you get dhclient to start at startup?</p>
<p>Here are the steps you need to do:<br />
<strong>1. vi etc/init.d/local</strong></p>
<p>And put following code:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1"><span class="co0">#! /bin/bash</span></div>
</li>
<li class="li1">
<div class="de1">dhclient</div>
</li>
</ol>
</div>
<p><strong>2. Make the file executable</strong></p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">chmod</span> +x <span class="sy0">/</span>etc<span class="sy0">/</span>init.d<span class="sy0">/</span><span class="kw3">local</span></div>
</li>
</ol>
</div>
<p><strong>3. Put it into the autostart</strong></p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">update-rc.d <span class="kw3">local</span> defaults <span class="nu0">60</span></div>
</li>
</ol>
</div>
<p>The smaller the number is the earlier the file will be executed.</p>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/startup-in-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Debian Web Server</title>
		<link>http://patrick.eviltools.com/install-debian-web-server/</link>
		<comments>http://patrick.eviltools.com/install-debian-web-server/#comments</comments>
		<pubDate>Wed, 07 May 2008 07:53:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Setup]]></category>
		<category><![CDATA[Webserver]]></category>

		<guid isPermaLink="false">http://patrick.eviltools.com/?p=15</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href='http://patrick.eviltools.com/wp-content/uploads/2008/05/linux-penguin1.jpg'><img src="http://patrick.eviltools.com/wp-content/uploads/2008/05/linux-penguin1.jpg" alt="" title="linux-penguin1" width="200" height="221" class="alignnone size-medium wp-image-17" /></a></p>
<p>I don&#8217;t have a lot of experience in Linux environment but anyway I got the job to install a new webserver at my work. The old server was running on debian already so I decided to take the same linux distribution.  </p>
<p>The newest ISO you get from here from here:<br />
<a href="http://www.debian.org" target="_new" rel=”nofollow”>www.debian.org</a></p>
<p class="MsoNormal">For my installation I just needed the CD1.  Because I wanted to try it out first I decided to install debian on VMWare Server. So I booted the ISO file in VMWare and did the standard installation without the GUI. We don’t really need a GUI (Graphic User Interface) for a web server. The installation is actually straight forward.</p>
<p class="MsoNormal">So now we are logged in as root and are in the command line. So what now???</p>
<p class="MsoNormal">Follow the instructions on this webpage:<br />
<a href="http://www.mysql-apache-php.com/" target="_new" rel=”nofollow”>www.mysql-apache-php.com</a></p>
<p class="MsoNormal">I actually got some error when I tried to install apache and php with apt-get.  To add some more sources to the apt source.list file solved the problem.</p>
<p>To edit the source do following:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">nano</span> <span class="sy0">/</span>etc<span class="sy0">/</span>apt<span class="sy0">/</span><span class="kw3">source</span>.list</div>
</li>
</ol>
</div>
<p>You might want to use your own source list. This one worked for me:</p>
<div class="geshi no bash">
<ol>
<li class="li1">
<div class="de1">deb http:<span class="sy0">//</span>packages.dotdeb.org stable all</div>
</li>
<li class="li1">
<div class="de1">deb-src http:<span class="sy0">//</span>packages.dotdeb.org stable all</div>
</li>
<li class="li1">
<div class="de1">deb http:<span class="sy0">//</span>people.debian.org<span class="sy0">/</span>~dexter php4 sarge</div>
</li>
<li class="li1">
<div class="de1">deb-src http:<span class="sy0">//</span>people.debian.org<span class="sy0">/</span>~dexter php4 sarge</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="co0"># stable</span></div>
</li>
<li class="li1">
<div class="de1">deb http:<span class="sy0">//</span><span class="kw2">ftp</span>.at.debian.org<span class="sy0">/</span>debian sarge main non-<span class="kw2">free</span> contrib</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://patrick.eviltools.com/install-debian-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
