<?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>Compiled Thoughts by John Ciacia &#187; ubuntu</title>
	<atom:link href="http://www.johnciacia.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnciacia.com</link>
	<description>Science, Technology, and Beyond</description>
	<lastBuildDate>Fri, 06 Jan 2012 15:46:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Sinatra on Ubuntu 11.04</title>
		<link>http://www.johnciacia.com/2011/11/22/sinatra-on-ubuntu-11-04/</link>
		<comments>http://www.johnciacia.com/2011/11/22/sinatra-on-ubuntu-11-04/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 03:11:29 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sinatra]]></category>
		<category><![CDATA[thin]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=1343</guid>
		<description><![CDATA[The following guide is non-authoritative and probably will not work for you. It is simply the commands I use to reproduce a particular environment: Ruby 1.8.7 with Gems 1.8.10 and Sinatra (using Thin). Before we get started, here is some information about my system: [code]ubuntu@domU-12-31-38-04-6D-D7:~$ uname -a Linux domU-12-31-38-04-6D-D7 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 [...]]]></description>
			<content:encoded><![CDATA[<p>The following guide is non-authoritative and probably will not work for you. It is simply the commands I use to reproduce a particular environment: Ruby 1.8.7 with Gems 1.8.10 and Sinatra (using Thin).</p>
<p>Before we get started, here is some information about my system:<br />
[code]ubuntu@domU-12-31-38-04-6D-D7:~$ uname -a<br />
Linux domU-12-31-38-04-6D-D7 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 07:04:38 UTC 2011 i686 i686 i386 GNU/Linux<br />
ubuntu@domU-12-31-38-04-6D-D7:~$ lsb_release -a<br />
No LSB modules are available.<br />
Distributor ID:	Ubuntu<br />
Description:	Ubuntu 11.04<br />
Release:	11.04<br />
Codename:	natty<br />
[/code]</p>
<p>1. Install the necessary Ubuntu packages (not sure if you need all of these).<br />
[code]sudo apt-get install git build-essential libssl-dev libreadline5 libreadline5-dev zlib1g zlib1g-dev [/code]<br />
<strong>Note: For Ubuntu 11.10 use libreadline-gplv2-dev instead of libreadline5-dev<br />
</strong><br />
2. Install RVM. At the time of writing this, the Ruby and Gems in the official repo are a little out of date. Note: I am running this as root for a multi-user install (more on this can be found <a href="http://beginrescueend.com/rvm/install/">here</a>.)<br />
[code]sudo bash &lt; &lt;(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)[/code]</p>
<p>3. Add necessary users to the RVM group.<br />
[code]sudo usermod -a -G rvm ubuntu[/code]</p>
<p>4. Now you need to restart your shell for the changes to take affect. You can try to <code>source</code> the necessary files, but it is just as easy to exit and restart a new session.</p>
<p>5. At this point, it is a good idea to run <code>rvm notes</code> and <code>rvm requirements</code> and do/install anything it tells you (at the time of writing this, there was nothing extra I needed to install. By the time you read this, that probably will not be the case)</p>
<p>6. I was having some major problems with zlib, so I had to install that (<a href="https://rvm.beginrescueend.com/packages/zlib/">here</a> for more information).<br />
[code]rvm pkg install zlib[/code]</p>
<p>7. Install Ruby 1.8.7 and set it as the default<br />
[code]rvm install 1.8.7<br />
rvm --defaut use 1.8.7[/code]</p>
<p>8. Install Sinatra and Thin<br />
[code]gem install sinatra<br />
gem install thin[/code]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2011/11/22/sinatra-on-ubuntu-11-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Authenticate to Active Directory with Ubuntu</title>
		<link>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/</link>
		<comments>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 17:48:15 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[domain controller]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=208</guid>
		<description><![CDATA[While Linux is a fantastic operating system, when it comes to user rights management, Active Directory is far superior than anything Linux currently implements. As a result many businesses and organizations implement the technology. For a longtime it was extremely difficult to get a Linux operating system to authenticate with active directory &#8211; configuring multiple [...]]]></description>
			<content:encoded><![CDATA[<p>While Linux is a fantastic operating system, when it comes to user rights management, Active Directory is far superior than anything Linux currently implements. As a result many businesses and organizations implement the technology. For a longtime it was extremely difficult to get a Linux operating system to authenticate with active directory &#8211; configuring multiple services and managing to get them to work with each other, let alone work with Windows was a task best left for those with years of Linux administration experience. However, in recent years as Linux has become more user friendly, and it should be no surprise that authenticating with active directory has become easy too. In the past few days I have been working with an opensource software called <a href="http://www.likewise.com/">likewise-open</a> which is in the official Ubuntu repositories. Below is a quick guide to getting started and some tips/issues I have found.</p>
<p><strong>Authenticating with likewise-open 4.1 (from Ubuntu 8.04 repository)</strong></p>
<p>1. Install likewise-open<br />
# sudo apt-get install likewise-open</p>
<p>2. Join the domain<br />
# sudo domainjoin-cli join your.fqdn domain_admin<br />
For example:<br />
# sudo domainjoin-cli join example.com Administrator</p>
<p>REBOOT</p>
<p>3. Update rc.d<br />
# sudo update-rc.d likewise-open defaults</p>
<p>4. Start likewise-open<br />
# sudo /etc/init.d/likewise-open start</p>
<p><strong>Using the default domain with likewise-open 4.1</strong><br />
To use the default domain (and avoid using DOMAIN\user to login) append the following line to /etc/samba/lwiauthd.conf<br />
winbind use default domain = yes<br />
==============================================================</p>
<p><strong>Authenticating with likewise-open 5.1 (from Ubuntu 9.04 repository)</strong></p>
<p>1. Install likewise-open5<br />
# sudo apt-get install likewise-open5</p>
<p>2. Join the domain<br />
# sudo domainjoin-cli join your.fqdn domain_admin<br />
For example:<br />
# sudo domainjoin-cli join example.com Administrator</p>
<p>REBOOT</p>
<p>3. Update rc.d<br />
# sudo update-rc.d likewise-open defaults</p>
<p>4. Start likewise-open<br />
# sudo /etc/init.d/lsassd start</p>
<p><strong>Using the default domain with likewise-open 5.1</strong><br />
To use the default domain (and avoid using DOMAIN\user to login) uncomment the following line in /etc/likewise-open5/lsassd.conf<br />
assume-default-domain = yes<br />
==============================================================</p>
<p><strong>Giving domain administrators sudo privileges</strong><br />
Append the following line to /etc/sudoers<br />
%your.fdqn\\domain^admins ALL=(ALL) ALL</p>
<p>==============================================================<br />
<strong>Known issues</strong><br />
1. After rebooting the computer and logging in you are given the error &#8220;Domain Controller unreachable, using cached credentials instead. Network resource may be unavailable.&#8221; Likewise does not start correctly. You have to login as a local admin and run the following command and then users will be able to login.<br />
# sudo /etc/init.d/likewise-open restart<br />
Issue seems to be resolved with likewise-open5</p>
<p>2. If you are having issues authenticating wirelessly, make sure your wireless connection is established. In many instances, wireless will only connect AFTER you login.</p>
<p>3. Samba does not hide hidden windows shares</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/07/09/authenticate-to-active-directory-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up a LAMP server with Ubuntu</title>
		<link>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/</link>
		<comments>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 03:03:16 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=199</guid>
		<description><![CDATA[Ubuntu, known for its ease of use, makes no exception for setting up an apache, mysql, and php stack. Since the release of Feisty Fawn, Ubuntu has come packed with tasksel &#8211; a user interface for installing tasks. 1. At your command prompt, run tasksel as root. john@earth:~$ sudo tasksel 2. Select LAMP server 3. [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu, known for its ease of use, makes no exception for setting up an apache, mysql, and php stack. Since the release of Feisty Fawn, Ubuntu has come packed with <strong>tasksel</strong> &#8211; a user interface for installing tasks. </p>
<p>1. At your command prompt, run tasksel as root.</p>
<blockquote><p>john@earth:~$ sudo tasksel</p></blockquote>
<p>2. Select LAMP server<br />
<a href="http://www.johnciacia.com/wp-content/uploads/2009/07/1.png"><img src="http://www.johnciacia.com/wp-content/uploads/2009/07/1-300x198.png" alt="1" title="1" width="300" height="198" class="aligncenter size-medium wp-image-200" /></a></p>
<p>3. Continue the installation by following the prompts.</p>
<p>It works!<br />
<a href="http://www.johnciacia.com/wp-content/uploads/2009/07/4.png"><img src="http://www.johnciacia.com/wp-content/uploads/2009/07/4-300x206.png" alt="4" title="4" width="300" height="206" class="aligncenter size-medium wp-image-201" /></a></p>
<p>One tool I have difficulty living without is phpMyAdmin. From the command prompt type<br />
<blockquote>sudo apt-get install phpmyadmin</p></blockquote>
<p> Continue the installation by following the prompts. If you are using a version of Ubuntu older than 9.04 (Jaunty) you will need to add the following line to /etc/apache2/apache2.conf Continue the installation by following the prompts. Version 9.04 does this automatically. You will be able to access phpMyAdmin by browsing directly to http://<hostname>/phpmyadmin </p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/07/05/setting-up-a-lamp-server-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Universal Netboot Installer</title>
		<link>http://www.johnciacia.com/2009/06/07/universal-netboot-installer/</link>
		<comments>http://www.johnciacia.com/2009/06/07/universal-netboot-installer/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 22:43:41 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Software Review]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[UNetbootin]]></category>
		<category><![CDATA[Universal Netboot Installer]]></category>
		<category><![CDATA[usb boot]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=174</guid>
		<description><![CDATA[The first thing I did when I received my new Asus F6Ve-B1 was download Ubuntu 9.04 and ready myself for a clean installation of a decent operating system. I burnt the ISO, rebooted my PC, and entered the Ubuntu installation menu. Shortly after I was presented with a screen full of errors. [ 57.764316] Buffer [...]]]></description>
			<content:encoded><![CDATA[<p>The first thing I did when I received my new <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16834220495">Asus F6Ve-B1</a> was download Ubuntu 9.04 and ready myself for a clean installation of a decent operating system. I burnt the ISO, rebooted my PC, and entered the Ubuntu installation menu. Shortly after I was presented with a screen full of errors. </p>
<blockquote><p>[ 57.764316] Buffer I/O error on device sr0, logical block 22</p></blockquote>
<p>This means that the CD cannot be read. Either because of faulty or misconfiguration hardware or faulty media. After a quick Google search, there appeared to be several solutions. The most popular ones being &#8220;Try a new CD ROM drive&#8221; and &#8220;Burn your ISO at a lower speed and verify the md5 signature.&#8221; I opted for neither of these solutions, an instead did a USB install. A very useful piece of software to aid in this process is <a href="http://unetbootin.sourceforge.net/">UNetbootin</a>. </p>
<blockquote><p>UNetbootin can create a bootable Live USB drive, or it can make a &#8220;frugal install&#8221; on your local hard disk if you don&#8217;t have a USB drive. It can load distributions by automatically downloading their ISO (CD image) files, or by using existing ISO files, floppy/hard disk images, or kernel/initrd files, for installing other distributions. </p></blockquote>
<p><a href="http://www.johnciacia.com/wp-content/uploads/2009/06/screenshot.jpg"><img src="http://www.johnciacia.com/wp-content/uploads/2009/06/screenshot-300x219.jpg" alt="screenshot" title="screenshot" width="300" height="219" class="aligncenter size-medium wp-image-175" /></a></p>
<p>This is a must have piece of software for your toolbox! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/06/07/universal-netboot-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Note that the MySQL client library is not bundled anymore!</title>
		<link>http://www.johnciacia.com/2009/05/09/note-that-the-mysql-client-library-is-not-bundled-anymore/</link>
		<comments>http://www.johnciacia.com/2009/05/09/note-that-the-mysql-client-library-is-not-bundled-anymore/#comments</comments>
		<pubDate>Sun, 10 May 2009 03:29:11 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=82</guid>
		<description><![CDATA[Unable to get PHP configured to my specifications using the Ubuntu repositories, I decided to install it from source. However, I kept getting the error: Note that the MySQL client library is not bundled anymore! Not wanting to install MySQL from source, I found a package in the Ubuntu repositories that installed the necessary library [...]]]></description>
			<content:encoded><![CDATA[<p>Unable to get PHP configured to my specifications using the Ubuntu repositories, I decided to install it from source. However, I kept getting the error: </p>
<blockquote><p>Note that the MySQL client library is not bundled anymore!</p></blockquote>
<p>Not wanting to install MySQL from source, I found a package in the Ubuntu repositories that installed the necessary library files.</p>
<blockquote><p>sudo apt-get install libmysqlclient15-dev</p></blockquote>
<p>After I installed that package, PHP was able to install successfully. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/05/09/note-that-the-mysql-client-library-is-not-bundled-anymore/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Slow connection to Ubuntu repositories</title>
		<link>http://www.johnciacia.com/2009/05/09/slow-connection-to-ubuntu-repositories/</link>
		<comments>http://www.johnciacia.com/2009/05/09/slow-connection-to-ubuntu-repositories/#comments</comments>
		<pubDate>Sun, 10 May 2009 03:21:27 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.johnciacia.com/?p=80</guid>
		<description><![CDATA[While attempting to get a fully functional LAMP stack running on my Ubuntu install, I opted to use the repositories for some necessary libraries. The first package I installed was approximately 20MB and it took about three hours. While it was downloading (since I had some spare time), I checked my internet connection. I soon [...]]]></description>
			<content:encoded><![CDATA[<p>While attempting to get a fully functional LAMP stack running on my Ubuntu install, I opted to use the repositories for some necessary libraries. The first package I installed was approximately 20MB and it took about three hours. While it was downloading (since I had some spare time), I checked my internet connection. I soon found out that it wasn&#8217;t my ISP since I was getting <a href="http://www.speedtest.net/result/470257450.png">12Mb/s down</a>. I also scanned the Ubuntu forums for any sign of server maintenance that could be causing the slowness. I didn&#8217;t find anything. I then tried changing the repository download location:</p>
<blockquote><p>System->Administration->Synaptic Package Manager from there Settings->Repositories. From the &#8220;Download from&#8221; drop down, select &#8220;Other.&#8221; Click on &#8220;Select Best Server&#8221; will ping all of the repository locations and select the location with the best ping.</p></blockquote>
<p>That didn&#8217;t help either. After many fruitless attempts I narrowed the fault down to my router. I upgraded its firmware and that fixed it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnciacia.com/2009/05/09/slow-connection-to-ubuntu-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.johnciacia.com @ 2012-02-05 09:45:37 -->
