<?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>Srsbsns</title>
	<atom:link href="http://srsbsns.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://srsbsns.net</link>
	<description>this is Serious Business</description>
	<lastBuildDate>Sun, 01 Aug 2010 04:40:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Managing Users in uBuntu</title>
		<link>http://srsbsns.net/managing-users-in-ubuntu/</link>
		<comments>http://srsbsns.net/managing-users-in-ubuntu/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 04:13:13 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=133</guid>
		<description><![CDATA[This post is a brief description of the very basic tools used to manage users and groups in uBuntu. Like many of my posts, this list is a quick reference of stuff you probably already know and have used before.
Add and Remove users
Add a new user. This command also creates a home directory at /home/username
adduser [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a brief description of the very basic tools used to manage users and groups in uBuntu. Like many of my posts, this list is a quick reference of stuff you probably already know and have used before.</p>
<p><strong>Add and Remove users</strong></p>
<p>Add a new user. This command also creates a home directory at /home/username</p>
<pre>adduser username</pre>
<p>Delete a user. This command also removes the user&#8217;s home directory.</p>
<pre>sudo deluser --remove-home username</pre>
<p><strong>Add and Remove Groups</strong></p>
<p>Before creating a group, check if it exits</p>
<pre>grep developers /etc/group</pre>
<p>Then to create the group:</p>
<pre>sudo addgroup superuberusergroup</pre>
<p><strong>Assign a user to groups</strong></p>
<p>See what groups the user is in:</p>
<pre>id username</pre>
<p>Set a user&#8217;s primary group:</p>
<pre>usermod -g primarygroup username</pre>
<p>Add a user to another group:</p>
<pre>usermod -a -G anothergroup username</pre>
<p><strong>Set resource permissions</strong></p>
<p>Change ownership of resources. This command recursively sets the group owner of a file or folder to the specified group</p>
<pre>sudo chown -R :GROUPNAME location_of_resources</pre>
<p>Make resources group writeable. This command sets the &#8216;group writeable&#8217; flag on a resource</p>
<pre>chmod -R g+w location_of_resources</pre>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/managing-users-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Essential Linux Commands</title>
		<link>http://srsbsns.net/essential-linux-commands/</link>
		<comments>http://srsbsns.net/essential-linux-commands/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 07:47:49 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=117</guid>
		<description><![CDATA[A brief dump of the linux commands that I can&#8217;t live without, and sometimes need a reminder on how to use. I use ubuntu, usually the latest &#8217;stable&#8217; release, so the example in this post and later updates will reflect that. Right now (last update) I&#8217;m running uBuntu 10.04
cat
Short for Concatenate. It&#8217;s designed for concatenating [...]]]></description>
			<content:encoded><![CDATA[<p>A brief dump of the linux commands that I can&#8217;t live without, and sometimes need a reminder on how to use. I use ubuntu, usually the latest &#8217;stable&#8217; release, so the example in this post and later updates will reflect that. Right now (last update) I&#8217;m running uBuntu 10.04</p>
<h3>cat</h3>
<p>Short for <em>Concatenate</em>. It&#8217;s designed for concatenating files. Use it like &#8216;type&#8217; on windows for outputting file contents to the console.<br />
Example: get the version of linux that you are running.</p>
<pre>cat /proc/version</pre>
<h3>top</h3>
<p>Top is the Task Manager of linux. <a href="http://linux.about.com/od/commands/l/blcmdl1_top.htm">Detailed description here</a>. Use it to see what process is hogging your memory.</p>
<p>Example use:</p>
<pre>top</pre>
<h3>wget</h3>
<p>wget is for downloading files</p>
<p>Example use:</p>
<pre>wget http://www.stuff.com/file.7z</pre>
<p><strong>rm</strong></p>
<p>Delete stuff!</p>
<p>Example use: delete folder and contents</p>
<pre>rm -f -r tempdir</pre>
<h3>find</h3>
<p>Find stuff!</p>
<p>Example use: find &#8216;c&#8217; files</p>
<pre>find . -name '*.c'</pre>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/essential-linux-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set JAVA_HOME in uBuntu</title>
		<link>http://srsbsns.net/set-java_home-in-ubuntu/</link>
		<comments>http://srsbsns.net/set-java_home-in-ubuntu/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 06:11:44 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=126</guid>
		<description><![CDATA[Many programs use the JAVA_HOME environment variable in Linux. Here&#8217;s how to &#8217;set&#8217; it permanently. Note that the paths mentioned are accurate for uBuntu 10.04, and mileage may vary with other Linux flavours.
The path to use for JAVA_HOME is &#8216;/usr/lib/jvm/java-6-sun&#8216;. Check that the path exists before continuing.
Add the following line to /etc/environment. Remember to sudo [...]]]></description>
			<content:encoded><![CDATA[<p>Many programs use the JAVA_HOME environment variable in Linux. Here&#8217;s how to &#8217;set&#8217; it permanently. Note that the paths mentioned are accurate for uBuntu 10.04, and mileage may vary with other Linux flavours.</p>
<p>The path to use for JAVA_HOME is &#8216;<strong>/usr/lib/jvm/java-6-sun</strong>&#8216;. Check that the path exists before continuing.</p>
<p>Add the following line to /etc/environment. Remember to sudo to launch your text editor, as this is a privileged file.<br />
<strong>JAVA_HOME=&#8221;/usr/lib/jvm/java-6-sun&#8221;</strong></p>
<p>You&#8217;re done! If you are using a desktop environment, log out and log in again to get it to stick. </p>
<p>If you are connected over ssh or running on the console of the server version, run this command to get your changes to stick:<br />
<strong>source /etc/environment</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/set-java_home-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commonly Used File Permissions</title>
		<link>http://srsbsns.net/commonly-used-file-permissions/</link>
		<comments>http://srsbsns.net/commonly-used-file-permissions/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 11:11:35 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=75</guid>
		<description><![CDATA[We need to use file permissions on servers, see? it&#8217;s good, hmmkay?
This page on wikipedia treats the subject in marvelous detail, but here&#8217;s a quick reference to the levels of permissions:
Quick Reference



Octal
Symbolic
English


0
&#8212;
no permission


1
&#8211;x
execute


2
-w-
write


3
-wx
write and execute


4
r&#8211;
read


5
r-x
read and execute


6
rw-
read and write


7
rwx
read write and execute



Commands
To query file permissions, ls -l gives you the symbolic notation.
To set file permissions, [...]]]></description>
			<content:encoded><![CDATA[<p>We need to use file permissions on servers, see? it&#8217;s good, hmmkay?</p>
<p><a title="File System Permissions on Wikipedia" href="http://en.wikipedia.org/wiki/File_system_permissions">This page on wikipedia</a> treats the subject in marvelous detail, but here&#8217;s a quick reference to the levels of permissions:</p>
<p><strong>Quick Reference</strong></p>
<table style="height: 269px;" border="0" width="417">
<tbody>
<tr>
<th>Octal</th>
<th>Symbolic</th>
<th>English</th>
</tr>
<tr>
<td>0</td>
<td>&#8212;</td>
<td>no permission</td>
</tr>
<tr>
<td>1</td>
<td>&#8211;x</td>
<td>execute</td>
</tr>
<tr>
<td>2</td>
<td>-w-</td>
<td>write</td>
</tr>
<tr>
<td>3</td>
<td>-wx</td>
<td>write and execute</td>
</tr>
<tr>
<td>4</td>
<td>r&#8211;</td>
<td>read</td>
</tr>
<tr>
<td>5</td>
<td>r-x</td>
<td>read and execute</td>
</tr>
<tr>
<td>6</td>
<td>rw-</td>
<td>read and write</td>
</tr>
<tr>
<td>7</td>
<td>rwx</td>
<td>read write and execute</td>
</tr>
</tbody>
</table>
<p><strong>Commands</strong></p>
<p>To query file permissions, <strong>ls -l</strong> gives you the symbolic notation.</p>
<p>To set file permissions, use the <strong>chmod</strong> command. <strong>&#8221; chmod -R 755 * &#8221; </strong>for example, sets all children of the current location to world readable and executable.</p>
<p><strong>Commonly Used Permissions</strong></p>
<p>OK, now, the main point of this post is to document some of the commonly used combinations. Note that in all examples below, we&#8217;re setting the last two digits the same. This is because we&#8217;re only really designing for two users: us and them. We want us to have high permissions, and only give the minimum of permissions to them.</p>
<table style="height: 271px;" border="0" width="703">
<tbody>
<tr>
<th>Octal</th>
<th>Symbolic</th>
<th>English</th>
</tr>
<tr>
<td>000</td>
<td>&#8212;&#8212;&#8212;-</td>
<td>no permissions</td>
</tr>
<tr>
<td>777</td>
<td>-rwxrwxrwx</td>
<td>all permissions &#8211; careful!</td>
</tr>
<tr>
<td>755</td>
<td>-rwxr-xr-x</td>
<td>read and execute &#8211; necessary for scripts on a webserver</td>
</tr>
<tr>
<td>644</td>
<td>-rw-r&#8211;r&#8211;</td>
<td>read only &#8211; fine for non-executable static content &#8211; images and html files.</td>
</tr>
<tr>
<td>666</td>
<td>-rw-rw-rw-</td>
<td>read and write, but no execute &#8211; good for if a web page needs to modify its own configuration files, but they don&#8217;t need to be executed</td>
</tr>
</tbody>
</table>
<p><strong>Commands</strong></p>
<p>World Writable 777</p>
<p>chmod -R 777 *</p>
<p>Everyone can write. Some scripts may require these settings while installing themselves.</p>
<p><strong>See Also</strong></p>
<p>https://help.ubuntu.com/community/FilePermissions</p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/commonly-used-file-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up VirtualHosts in Apache2 on uBuntu (in brief)</title>
		<link>http://srsbsns.net/virtualhosts-apache2-ubuntu-in-brief/</link>
		<comments>http://srsbsns.net/virtualhosts-apache2-ubuntu-in-brief/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 10:26:07 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=104</guid>
		<description><![CDATA[The detailed guide on how to go this can be found <a href="http://www.debian-administration.org/articles/412">here</a>.
This post is a quick reference guide that you'll mostly find useful if you've done it before.]]></description>
			<content:encoded><![CDATA[<p>The detailed guide on how to go this can be found <a href="http://www.debian-administration.org/articles/412">here</a>.</p>
<p>This post is a quick reference guide that you&#8217;ll mostly find useful if you&#8217;ve done it before.</p>
<p>First create the folders to put your files in:</p>
<pre class="brush: plain;">
cd /home/www
mkdir mysite.net
mkdir mysite.net/htdocs
mkdir mysite.net/cgi-bin
mkdir mysite.net/logs
</pre>
<p>Then set the appropriate permissions on the folders</p>
<pre class="brush: plain;">
chmod -R 755 mysite.net/htdocs
</pre>
<p>The apache configuration files are located in <strong>/etc/apache2/sites-available</strong>, so locate a suitable config file to start from in that folder, make a copy of it, and edit it appropriately.</p>
<p>Your finished config file might look something like this:</p>
<pre class="brush: plain;">

# This configuration file is for mysite.net
&lt;VirtualHost *&gt;
 ServerAdmin webmaster@mysite.net
 ServerName  www.mysite.net
 ServerAlias mysite.net

 # Indexes + Directory Root.
 DocumentRoot /home/www/mysite.net/htdocs/
 &lt;Directory /&gt;
 DirectoryIndex index.php index.html
 Options FollowSymLinks
 AllowOverRide All
 &lt;/Directory&gt;

 # CGI Directory
 ScriptAlias /cgi-bin/ /home/www/mysite.net/cgi-bin/
 &lt;Location /cgi-bin&gt;
 Options +ExecCGI
 &lt;/Location&gt;

 # Logfiles
 ErrorLog  /home/www/mysite.net/logs/error.log
 CustomLog /home/www/mysite.net/logs/access.log combined
&lt;/VirtualHost&gt;
</pre>
<p>Good, now to enable your new site, execute</p>
<pre class="brush: plain;">
a2ensite mysite.net
/etc/init.d/apache2 reload
</pre>
<p>and you&#8217;re done!</p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/virtualhosts-apache2-ubuntu-in-brief/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tarzan Rubberband</title>
		<link>http://srsbsns.net/tarzan-rubberband/</link>
		<comments>http://srsbsns.net/tarzan-rubberband/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 22:45:46 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[memes]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=90</guid>
		<description><![CDATA[Ladies and Gentlemen, my personal favourite viral video of all time, Tarzan Rubberband!

After googling long and hard for a better quality version of the Tarzan Rubberband video, I&#8217;m very sad to find that the website of the artists, Jew B. &#038; Milky Whyte, is no longer. However, you can still buy the album in MP3 [...]]]></description>
			<content:encoded><![CDATA[<p>Ladies and Gentlemen, my personal favourite viral video of all time,<strong> Tarzan Rubberband</strong>!</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/kGIJavsxauA&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kGIJavsxauA&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
<p>After googling long and hard for a better quality version of the Tarzan Rubberband video, I&#8217;m very sad to find that the website of the artists, Jew B. &#038; Milky Whyte, is no longer. However, <a href="http://www.amazon.com/gp/product/B0026HZ1YA?ie=UTF8&#038;tag=stree0e-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0026HZ1YA">you can still buy the album in MP3 format from Amazon! Click here to buy it!</a><img src="http://www.assoc-amazon.com/e/ir?t=stree0e-20&#038;l=as2&#038;o=1&#038;a=B0026HZ1YA" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/tarzan-rubberband/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rackspace Backup</title>
		<link>http://srsbsns.net/rackspace-backup/</link>
		<comments>http://srsbsns.net/rackspace-backup/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 02:32:23 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[rackspace]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=67</guid>
		<description><![CDATA[Backing up machine images in Rackspace Sites is very easy to do]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently moved this blog to a virtual server hosted on <a title="visit the Rackspace website" href="http://rackspace.com">Rackspace</a>. Many things impress me about Rackspace, but the one thing I&#8217;m really excited about right now is the backup system. On our old managed shared hosting, <a title="visit the Hostgator website" href="http://www.hostgator.com/">HostGator</a>, the few times we messed something up and needed to restore a full backup, we had to pay US$15 for the privilege. Now on Rackspace, I can do the same thing with a just a few clicks! Now whenever I update WordPress (for example), I make a manual backup through the rackspace management panel before proceeding, just in case I break something!</p>
<p>It&#8217;s this easy:</p>
<div id="attachment_69" class="wp-caption aligncenter" style="width: 621px"><img class="size-full wp-image-69" title="screenshot1" src="http://srsbsns.net/wp-content/uploads/2010/02/screenshot1.png" alt="3 clicks to the backup settings" width="611" height="247" /><p class="wp-caption-text">3 clicks to the backup settings</p></div>
<p style="text-align: left;">
<p style="text-align: left;">Now it&#8217;s just a matter of specifying a name for the backup, and clicking <em>Save Backup</em>.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div id="attachment_70" class="wp-caption aligncenter" style="width: 486px"><img class="size-full wp-image-70" title="screenshot2" src="http://srsbsns.net/wp-content/uploads/2010/02/screenshot2.png" alt="Make a manual Backup" width="476" height="265" /><p class="wp-caption-text">Make a manual Backup</p></div>
<p style="text-align: left;">
<p style="text-align: left;">While the backup is running, you&#8217;ll see an icon of a camera with a little grey clock overlay. When the backup is complete, the clock turns green. On my 10GB VM, this took less than a minute.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div id="attachment_71" class="wp-caption aligncenter" style="width: 229px"><img class="size-full wp-image-71" title="screenshot3" src="http://srsbsns.net/wp-content/uploads/2010/02/screenshot3.png" alt="Backup in Progress" width="219" height="133" /><p class="wp-caption-text">Backup in Progress</p></div>
<p style="text-align: left;">
<p style="text-align: left;">Once the backup is ready, restoring it is just as easy. Just select the backup you want to restore and click <em>Restore Selected</em>.</p>
<p style="text-align: left;">
<p style="text-align: left;">
<div id="attachment_72" class="wp-caption aligncenter" style="width: 481px"><img class="size-full wp-image-72" title="screenshot4" src="http://srsbsns.net/wp-content/uploads/2010/02/screenshot4.png" alt="Backup Ready" width="471" height="171" /><p class="wp-caption-text">Restoring a Backup</p></div>
<p style="text-align: left;">
<p style="text-align: left;">Absolutely no sweat! Thankyou Rackspace! The official <a title="6 Tips For Hosting WordPress On Rackspace Cloud Sites" href="http://www.rackspacecloud.com/blog/2009/12/21/wordpress-hosting-on-rackspace-cloud-sites/">Rackspace Blog</a> also discusses a WordPress plugin for backing up WordPress files and database to storage on EC2. That&#8217;s something I&#8217;ll have to try out next! After all, this is Serious Business.</p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/rackspace-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>StreetGeek Viral 2009</title>
		<link>http://srsbsns.net/streetgeek-viral-2009/</link>
		<comments>http://srsbsns.net/streetgeek-viral-2009/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:56:05 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[memes]]></category>
		<category><![CDATA[streetgeek]]></category>
		<category><![CDATA[viral]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=60</guid>
		<description><![CDATA[The results are in for StreetGeek Viral 2009!

StreetGeek Crotch Party by M took out 3rd place

Read Between the Blocks by Snax took out 2nd place

My Definition of a Good LAN Party by DrFrag took out 1st place
]]></description>
			<content:encoded><![CDATA[<p>The results are in for <a title="StreetGeek LAN Parties" href="http://streetgeek.com.au">StreetGeek </a>Viral 2009!</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/GsYuC3u9pB8&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GsYuC3u9pB8&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
<p><strong>StreetGeek Crotch Party by M </strong>took out 3rd place</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/ZaI_CMD_ipQ&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ZaI_CMD_ipQ&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
<p><strong>Read Between the Blocks by Snax </strong>took out 2nd place</p>
<p><object width="640" height="505"><param name="movie" value="http://www.youtube.com/v/r3eyhACb3ZE&#038;hl=en_US&#038;fs=1&#038;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/r3eyhACb3ZE&#038;hl=en_US&#038;fs=1&#038;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="505"></embed></object></p>
<p><strong>My Definition of a Good LAN Party by DrFrag</strong> took out 1st place</p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/streetgeek-viral-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Join a uBuntu client to a Windows Active Directory Domain</title>
		<link>http://srsbsns.net/join-a-ubuntu-client-to-a-windows-active-directory-domain/</link>
		<comments>http://srsbsns.net/join-a-ubuntu-client-to-a-windows-active-directory-domain/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:23:47 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[likewiseopen]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=50</guid>
		<description><![CDATA[Join a uBuntu client to a Windows Domain quick and easy with Likewise Open]]></description>
			<content:encoded><![CDATA[<p>Why would you want to add a uBuntu client to a Windows Active Directory Domain? I got to this point because I was unable to resolve by uBuntu servers by name.</p>
<pre class="brush: plain;">
ping beans
Ping request could not find host beans. Please check the name and try again.
</pre>
<p>Well, I never completely solved this problem, but I did work around it by adding my uBuntu servers to my domain. Then, although I still cannot resolve <strong>beans</strong>, I can now ping <strong>beans.mydomain.internal</strong>. And, it was really easy to do with a neat piece of OSS called <a title="visit the Likewise Open website" href="http://www.likewise.com/products/likewise_open/">Likewise Open</a>.</p>
<pre class="brush: plain;">
sudo apt-get update
sudo apt-get install likewise-open
sudo domainjoin-cli join mydomain.internal Administrator
sudo update-rc.d likewise-open defaults
sudo /etc/init.d/likewise-open start
</pre>
<p>Where<em> mydomain.internal</em> is the domain you want to add the computer too, and <em>Administrator</em> is the user who has the rights to add a computer to the domain.</p>
<p>I rebooted at this point, but I&#8217;m told it&#8217;s not necessary to do so.</p>
<pre class="brush: plain;">
H:\&gt;ping beans.mydomain.internal

Pinging beans.mydomain.internal [192.168.0.30]
Reply from 192.168.0.30: bytes=32 time&lt;1ms TTL=64
Reply from 192.168.0.30: bytes=32 time&lt;1ms TTL=64
Reply from 192.168.0.30: bytes=32 time&lt;1ms TTL=64
Reply from 192.168.0.30: bytes=32 time&lt;1ms TTL=64
</pre>
<p>It works!</pre>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/join-a-ubuntu-client-to-a-windows-active-directory-domain/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formatting Numbers in .NET</title>
		<link>http://srsbsns.net/formatting-numbers-in-net/</link>
		<comments>http://srsbsns.net/formatting-numbers-in-net/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 07:16:39 +0000</pubDate>
		<dc:creator>Boinst</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://srsbsns.net/?p=41</guid>
		<description><![CDATA[There are a few ways to convert numbers to strings.
Leading Zeroes
beans.ToString(&#8220;D4&#8243;);       0007
string.Format(&#8220;{0:00}&#8221;, beans);   07
Precision
string.Format(&#8220;{0:0.000}&#8221;, beans);         7.1234
]]></description>
			<content:encoded><![CDATA[<p>There are a few ways to convert numbers to strings.</p>
<p><strong>Leading Zeroes</strong><br />
beans.ToString(&#8220;D4&#8243;);       0007<br />
string.Format(&#8220;{0:00}&#8221;, beans);   07</p>
<p><strong>Precision</strong><br />
string.Format(&#8220;{0:0.000}&#8221;, beans);         7.1234</p>
]]></content:encoded>
			<wfw:commentRss>http://srsbsns.net/formatting-numbers-in-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
