<?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>Tuts4Tech &#187; Debian</title>
	<atom:link href="http://tuts4tech.net/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://tuts4tech.net</link>
	<description>Tech Tutorials</description>
	<lastBuildDate>Sun, 18 Jul 2010 01:41:08 +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>Installing freedesktop sound theme in debian</title>
		<link>http://tuts4tech.net/2009/09/25/installing-freedesktop-sound-theme-in-debian/</link>
		<comments>http://tuts4tech.net/2009/09/25/installing-freedesktop-sound-theme-in-debian/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 21:41:45 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome-sound-property]]></category>
		<category><![CDATA[grayed out]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=589</guid>
		<description><![CDATA[I Recently found the 'system sound' tab in gnome-sound-property grayed out my work around to this was to install the freedesktop sound theme. Firstly remove gnome-audio sudo apt-get remove --purge gnome-audio Remove all your old users gconf data related to system sounds sudo rm -rf /home/*/.gconf/desktop/gnome/sound Install some needed packages sudo apt-get install libcanberra-gtk-module libcanberra-gtk0 [...]]]></description>
			<content:encoded><![CDATA[<p>I Recently found the 'system sound' tab in gnome-sound-property grayed out my work around to this was to install the freedesktop sound theme.</p>
<ol>
<li>Firstly remove gnome-audio
<pre class="brush: bash;">sudo apt-get remove --purge gnome-audio</pre>
</li>
<p></p>
<li>Remove all your old users gconf data related to system sounds
<pre class="brush: plain;">sudo rm -rf /home/*/.gconf/desktop/gnome/sound</pre>
</li>
<p></p>
<li>Install some needed packages
<pre class="brush: plain;">sudo apt-get install libcanberra-gtk-module libcanberra-gtk0 libcanberra0 gnome-session-canberra build-essential fakeroot dpkg-dev intltool debhelper</pre>
</li>
<p></p>
<li>Grab the source for freedesktop sound theme from git.debian.org
<pre class="brush: plain;">wget -O freedesktop-sound-theme.tgz 'http://git.debian.org/?p=collab-maint/freedesktop-sound-theme.git;a=snapshot;h=c6773c0c08eeaab03c466dc015d36809dff537bf;sf=tgz'</pre>
</li>
<p></p>
<li>Unpack and apply some small fixes
<pre class="brush: bash;">tar xzf freedesktop-sound-theme.tgz
cd freedesktop-sound-theme/debian
sed -e 's:touch build:./configure --prefix=/usr \&amp;\&amp; $(MAKE) \&amp;\&amp; &amp;:' rules &gt; tmp; cp tmp rules
sed -e 's:\*:&amp;.ogg:' freedesktop-sound-theme.install &gt; tmp; cp tmp freedesktop-sound-theme.install
rm tmp
cd ../</pre>
</li>
<p></p>
<li>Build and install the package
<pre class="brush: bash;">sudo dpkg-buildpackage -rfakeroot
cd ../
dpkg -i freedesktop-sound-theme_0.2-1_i386.deb</pre>
</li>
<p></p>
<li>Invoke gnome-sound-property and configure 'system sound'
<pre class="brush: plain;">gnome-sound-property
then you can select 'system sound' tab</pre>
</li>
<p></p>
<li>Finally reboot your system and you should be good to go</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/09/25/installing-freedesktop-sound-theme-in-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto Add time And Date To Your Bash History</title>
		<link>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/</link>
		<comments>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 13:00:27 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[history]]></category>
		<category><![CDATA[searching]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=547</guid>
		<description><![CDATA[This comes in very handy if your trying to track back when you had last run something. To enable it just simply add export HISTTIMEFORMAT="%h/%d - %H:%M:%S " to your .bashrc file echo 'export HISTTIMEFORMAT=&#34;%h/%d - %H:%M:%S &#34;' &#62;&#62; ~/.bashrc Then reload your .bashrc source ~/.bashrc Now when you run history you should get a [...]]]></description>
			<content:encoded><![CDATA[<p>This comes in very handy if your trying to track back when you had last run something.<br />
To enable it just simply add export HISTTIMEFORMAT="%h/%d - %H:%M:%S " to your .bashrc file
<pre class="brush: plain;">echo 'export HISTTIMEFORMAT=&quot;%h/%d - %H:%M:%S &quot;' &gt;&gt; ~/.bashrc</pre>
<p>
Then reload your .bashrc
<pre class="brush: plain;">source ~/.bashrc</pre>
<p>
Now when you run history you should get a output similar to the one below
<pre class="brush: plain;">   502  Aug/12 - 13:48:31 tail -f /home/duffy/log/access.log
  503  Aug/12 - 13:49:01 echo hello
  504  Aug/12 - 13:49:24 more /var/log/syslog</pre>
<p></p>
<h2>Some other bash history tips</h2>
<p></p>
<ol>
<li>
The best way of finding something quickly in your bash history is simply by pressing ctrl+r and then typing out the start of the command it will auto complete it with any matches found in your bash history</li>
<p></p>
<li>If you don't want to save duplicate commands in your bash history simply add export HISTCONTROL=ignoreboth to your .bashrc
<pre class="brush: plain;">echo 'export HISTCONTROL=ignoreboth' &gt;&gt; ~/.bashrc</pre>
</li>
<p></p>
<li>If you want to change the lenght of history add export HISTSIZE=1000 to your .bashrc
<pre class="brush: plain;">echo 'export HISTSIZE=1000' &gt;&gt; ~/.bashrc</pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/08/12/howto-add-time-and-date-to-your-bash-history/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a FTP Server on debian</title>
		<link>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/</link>
		<comments>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 16:26:21 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[file transfer]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[vsftpd]]></category>
		<category><![CDATA[Webhosting]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=493</guid>
		<description><![CDATA[Install vsftpd apt-get install vsftpd Edit the file /etc/vsftpd.conf and make the following changes: Change Yes to No in the following line Anonymous_enable = YES Uncomment the following lines by removing the # #local_enable = YES #write_enable = YES #local_umask = 022 #chroot_local_user = YES Finally restart the vsftpd /etc/init.d/vsftpd You and any of your [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Install vsftpd
<pre class="brush: bash;">apt-get install vsftpd</pre>
</li>
<li>Edit the file /etc/vsftpd.conf and make the following changes:
<ol>
<li>Change Yes to No in the following line
<pre class="brush: plain;">Anonymous_enable = YES</pre>
</li>
<li>Uncomment the following lines by removing the #
<pre class="brush: plain;">#local_enable = YES
#write_enable = YES
#local_umask = 022
#chroot_local_user = YES</pre>
</li>
</ol>
<p>
</li>
<li>Finally restart the vsftpd
<pre class="brush: bash;">/etc/init.d/vsftpd</pre>
</li>
<li>You and any of your users should now be able to FTP the server</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/14/setting-up-a-ftp-server-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling IPV6 on Debian</title>
		<link>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/</link>
		<comments>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 15:50:48 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[ipv4]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://tuts4tech.net/?p=458</guid>
		<description><![CDATA[If you don't use ivp6 for anything and your ISP doesn't support it theres not much of a need to have it enabled. To disable it we need to edit /etc/modprobe.d/aliases nano /etc/modprobe.d/aliases By default you will have the following line alias net-pf-10 ipv6 Replace it with the following alias net-pf-10 off alias ipv6 off [...]]]></description>
			<content:encoded><![CDATA[<p>If you don't use ivp6 for anything and your ISP doesn't support it theres not much of a need to have it enabled. To disable it we need to edit /etc/modprobe.d/aliases
<pre class="brush: bash;">nano /etc/modprobe.d/aliases</pre>
<p>By default you will have the following line
<pre class="brush: plain;">alias net-pf-10 ipv6</pre>
<p>Replace it with the following
<pre class="brush: plain;">alias net-pf-10 off
alias ipv6 off</pre>
<p>You can now remove all the ipv6 stuff from /etc/hosts and once you reboot ipv6 will be disabled</p>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/07/07/disabling-ipv6-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating aliases in bash</title>
		<link>http://tuts4tech.net/2009/05/23/creating-aliases-in-bash/</link>
		<comments>http://tuts4tech.net/2009/05/23/creating-aliases-in-bash/#comments</comments>
		<pubDate>Sat, 23 May 2009 02:15:52 +0000</pubDate>
		<dc:creator>Duffy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[aliases]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[long commands]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[time saving]]></category>

		<guid isPermaLink="false">http://tuts4tech.co.cc/?p=188</guid>
		<description><![CDATA[Are you tired off typing out full commands? if so aliases can save you time. They allow you to shorten long commands down into one word. To add a alias edit ~/.bashrc nano ~/.bashrc Then come to the bottom of that file and add your aliases like this: alias rm = &#34;rm -i&#34; alias lightyrestart [...]]]></description>
			<content:encoded><![CDATA[<p>Are you tired off typing out full commands? if so aliases can save you time. They allow you to shorten long commands down into one word. To add a alias edit ~/.bashrc</p>
<pre class="brush: plain;">nano ~/.bashrc</pre>
<p>
Then come to the bottom of that file and add your aliases like this:</p>
<pre class="brush: plain;">alias rm = &quot;rm -i&quot;
alias lightyrestart = &quot;/etc/init.d/lighttpd restart&quot;
alias server_name=&quot;ssh -v -l USERNAME IP ADDRESS&quot;</pre>
<p>Then Reload your .bashrc file and your aliases should be enabled</p>
<pre class="brush: plain;">source ~/.bashrc</pre>
]]></content:encoded>
			<wfw:commentRss>http://tuts4tech.net/2009/05/23/creating-aliases-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
