<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu Linux on</title><link>https://dawning.ca/categories/ubuntu-linux/</link><description>Recent content in Ubuntu Linux on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright © James Snell</copyright><lastBuildDate>Tue, 20 Jan 2015 15:25:03 +0000</lastBuildDate><atom:link href="https://dawning.ca/categories/ubuntu-linux/index.xml" rel="self" type="application/rss+xml"/><item><title>Multi-threaded tar/bzip2</title><link>https://dawning.ca/posts/pbzip2/</link><pubDate>Tue, 20 Jan 2015 15:25:03 +0000</pubDate><guid>https://dawning.ca/posts/pbzip2/</guid><description>
&lt;p>I often find myself banging my head against a wall watching tar compress with a single execution thread. &lt;a href="http://compression.ca/pbzip2/">PBZIP2 is the solution&lt;/a> to that problem.&lt;/p>
&lt;p>Here&amp;rsquo;s my few recipes for using this:&lt;/p>
&lt;blockquote>
&lt;/blockquote>
&lt;p>Compress: tar cf archive.tar.bz2 &amp;ndash;use-compress-prog=pbzip2 archive/&lt;/p>
&lt;p>Uncompress:�pbzip2 -dvc archive.tar.bz2 | tar x&lt;/p>
&lt;p>Enjoy!&lt;/p></description></item><item><title>Dear Diary: Running Trac and upgrading to Ubuntu Server 14.04</title><link>https://dawning.ca/posts/dear-diary-running-trac-and-upgrading-ubuntu-server-14-04/</link><pubDate>Wed, 17 Sep 2014 17:17:20 +0000</pubDate><guid>https://dawning.ca/posts/dear-diary-running-trac-and-upgrading-ubuntu-server-14-04/</guid><description>
&lt;p>I&amp;rsquo;m a fairly heavy user of trac. I&amp;rsquo;ve got various software projects I organize using trac. I decided to upgrade one of my Ubuntu 12.04 servers to Ubuntu 14.04 and of course ran in to the typical apache2 headaches that are born out of this particular transition.&lt;/p>
&lt;p>After remembering to rename my virtual host files with .conf extensions (I find that change annoying as hell on its own), I kept running aground with an Internal Server Error message to which I couldn&amp;rsquo;t even find a hint in my logs, even after cranking up the verbosity.&lt;/p></description></item><item><title>My Diary: Upgrading Alfresco Installations</title><link>https://dawning.ca/posts/my-diary-upgrading-alfresco-installations/</link><pubDate>Fri, 11 Apr 2014 21:12:05 +0000</pubDate><guid>https://dawning.ca/posts/my-diary-upgrading-alfresco-installations/</guid><description>
&lt;p>&lt;a href="https://dawning.ca/uploads/2014/04/Screen-Shot-2014-04-11-at-10.10.58-PM.png">&lt;figure>
&lt;picture>
&lt;img
loading="lazy"
decoding="async"
alt=""
class="image_figure image_internal image_unprocessed"
src="https://dawning.ca/uploads/2014/04/Screen-Shot-2014-04-11-at-10.10.58-PM-274x300.png"
/>
&lt;/picture>
&lt;/figure>
&lt;/a>Here&amp;rsquo;s my diary from the &amp;ldquo;epic&amp;rdquo; experience of simply trying to upgrade Alfresco installations from 4.2.c to 4.2.f. I found the community documentation to be dated and had minimal confidence in its current validity. Still, it helped. These are my final notes on the process and in actuality there were a lot of wrong turns I made along the way before landing with the below. I spent like 5 hours working this out. Crazy.&lt;/p></description></item><item><title>My Diary: on running PHP 5.5+ &amp; Apache 2.4 on Ubuntu 12.04</title><link>https://dawning.ca/posts/my-diary-on-running-php-5-5-apache-2-4-on-ubuntu-12-04/</link><pubDate>Sat, 22 Feb 2014 12:09:51 +0000</pubDate><guid>https://dawning.ca/posts/my-diary-on-running-php-5-5-apache-2-4-on-ubuntu-12-04/</guid><description>
&lt;p>I&amp;rsquo;ve been working on migrating a Moodle 2.4+ installation from a rickety old Ubuntu 10.04 server on Amazon EC2 to a fresh machine as I can&amp;rsquo;t seem to update the original server to 12.04, which has newer PHP packages I require to run Moodle 2.6+, which I want specifically due to a user stats plugin I want installed.. So with one thing leading to another, I ran aground recently when I upgraded Ubuntu&amp;rsquo;s 12.04 Apache2 version to Apache 2.4 (from some PPA). This resulted in my site no longer working, it pretty much just said access denied. This was due to some new Apache security setting that my migrated Virtual Host config lacked.&lt;/p></description></item><item><title>Apt cache cheatsheet</title><link>https://dawning.ca/posts/apt-cache-cheatsheet/</link><pubDate>Fri, 08 Feb 2013 13:29:44 +0000</pubDate><guid>https://dawning.ca/posts/apt-cache-cheatsheet/</guid><description>
&lt;p>I&amp;rsquo;ve been setting up a number of apt-cacher instances on different networks I run Ubuntu boxes on. This is a well documented process. I&amp;rsquo;m posting the key steps if only for my own reference later.&lt;/p>
&lt;ol>
&lt;li>
&lt;p>&lt;em>apt-get install apt-cacher&lt;/em>&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Edit &lt;em>/etc/default/apt-cacher&lt;/em> add &lt;em>AUTOSTART=1&lt;/em>.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Edit &lt;em>/etc/apt-cacher/apt-cacher.conf&lt;/em> and make sure the allowed_hosts line is explicitly as intended.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Open client (and local server&amp;rsquo;s) &lt;em>/etc/apt/sources.list&lt;/em> and str repl &lt;em>%s/http:\/\//http:\/\/SERVERHOSTNAME:3142\/apt-cacher\//g&lt;/em>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>Default port is 3142&lt;/p>
&lt;h2 id="good-detailed-resources">Good detailed resources:&lt;/h2></description></item><item><title>AirPlay Through pfsense Bridge</title><link>https://dawning.ca/posts/airplay-through-pfsense-bridge/</link><pubDate>Thu, 23 Dec 2010 19:27:48 +0000</pubDate><guid>https://dawning.ca/posts/airplay-through-pfsense-bridge/</guid><description>
&lt;p>&lt;a href="https://dawning.ca/uploads/external/WiresharkOnAirTunes_a3fe1ae5.png">&lt;figure>
&lt;picture>
&lt;img
loading="lazy"
decoding="async"
alt=""
class="image_figure image_internal image_unprocessed"
src="https://dawning.ca/uploads/external/WiresharkOnAirTunes_a3fe1ae5.png"
/>
&lt;/picture>
&lt;/figure>
&lt;/a>Howdy all, geek-mode enabled.&lt;/p>
&lt;p>So I&amp;rsquo;ve been fighting somewhat to get my &lt;a href="http://en.wikipedia.org/wiki/Airtunes">AirPlay &lt;/a>enabled device (&lt;a href="http://en.wikipedia.org/wiki/Appletv">Apple TV&lt;/a>) to function perfectly. I use &lt;a href="http://en.wikipedia.org/wiki/Pfsense">pfsense&lt;/a> to run my router and in so doing I&amp;rsquo;ve got a Wireless and Wired network that are &lt;a href="http://en.wikipedia.org/wiki/Network_bridge">bridged together&lt;/a>. I found with the &lt;a href="http://en.wikipedia.org/wiki/Appletv">AppleTV&lt;/a> that only devices on the same physical media could stream to it, though all devices could &amp;ldquo;see&amp;rdquo; it.&lt;/p>
&lt;p>After submitting a feature request to Apple over this, I decided I wanted it solved for me anyway and I felt close to the solution. Since I had no logs to go by, I decided to bust out &lt;a href="http://en.wikipedia.org/wiki/Wireshark">Wireshark&lt;/a> to sniff all the involved network traffic. Suffice to say, I was rather entertained to find that when using AirPlay the payloads are flying around in &lt;a href="http://en.wikipedia.org/wiki/Ipv6">IPv6&lt;/a>, not &lt;a href="http://en.wikipedia.org/wiki/Ipv4">IPv4&lt;/a>. Just look at the caption in this post. All those teal packets is iTunes streaming audio to my AppleTV via AirPlay. It&amp;rsquo;s &lt;a href="http://en.wikipedia.org/wiki/User_Datagram_Protocol">UDP&lt;/a> over IPv6. Neato.&lt;/p></description></item><item><title>Ubuntu 9.10 remote mounts via sshfs</title><link>https://dawning.ca/posts/ubuntu-sshfs/</link><pubDate>Sun, 07 Feb 2010 17:30:34 +0000</pubDate><guid>https://dawning.ca/posts/ubuntu-sshfs/</guid><description>
&lt;p>Hey just a fast post here.. I&amp;rsquo;ve been using sshfs on Ubuntu (meh, linux in general) for awhile as a means of securely remotely accessing my files. I&amp;rsquo;ve taken some steps to add a line to my /etc/fstab file to make this run smoothly&amp;hellip;&lt;/p>
&lt;p>Though today I ran in to a really weird situation. I found that despite having a &lt;code>uid=xxxx&lt;/code> line, the appropriate user wasn&amp;rsquo;t getting ownership of the mount. In fact, when that user would look at the permissions for the mount, it returned something like &amp;ldquo;d???? ? ? ?&amp;rdquo;. Whisky Tango Foxtrot.&lt;/p></description></item><item><title>YouTube Grabber App</title><link>https://dawning.ca/posts/youtube-grabber-app/</link><pubDate>Tue, 24 Nov 2009 12:06:27 +0000</pubDate><guid>https://dawning.ca/posts/youtube-grabber-app/</guid><description>
&lt;p>I&amp;rsquo;ve whipped up this little YouTube video grabber for myself and I&amp;rsquo;ve opened it up for the moment. If I see it getting spammed or abused in some way, I&amp;rsquo;ll probably password protect it, nevertheless, you can check it out &lt;strong>&lt;a href="https://dawning.ca/youtube/">here&lt;/a>&lt;/strong>.&lt;/p>
&lt;h2 id="what-it-does">&lt;a href="https://dawning.ca/youtube/">&lt;figure>
&lt;picture>
&lt;img
loading="lazy"
decoding="async"
alt=""
class="image_figure image_internal image_unprocessed"
src="https://dawning.ca/uploads/2009/11/ytGrabber.png"
/>
&lt;/picture>
&lt;/figure>
&lt;/a>What it does&lt;/h2>
&lt;p>This little app takes a YouTube video link and then adds the reference in a database. A seperate script then polls that database and looks for new URLs. It then uses another script (that I did not write), called yt-download, to fetch each video and dump it to my fileserver.&lt;/p></description></item><item><title>Upgrade Experience with Ubuntu 9.04</title><link>https://dawning.ca/posts/ubuntu-9_04-upgrade/</link><pubDate>Fri, 24 Apr 2009 09:24:25 +0000</pubDate><guid>https://dawning.ca/posts/ubuntu-9_04-upgrade/</guid><description>
&lt;figure style="float: right; margin: 0 0 1em 1em; max-width: 204px;">
&lt;a href="http://www.ubuntu.com/getubuntu">&lt;img src="http://www.ubuntu.com/themes/ubuntu07/images/masthead-cds.jpg" alt="">&lt;/a>
&lt;figcaption>Ubuntu Logo&lt;/figcaption>
&lt;/figure>
&lt;p>Hello World!&lt;/p>
&lt;p>While, yesterday was Ubuntu 9.04 day! With the latest official release of Ubuntu Linux, I decided to put one foot in the water and give upgrading my mac pro from 8.10 a whirl. The process went fairly perfectly with one major flaw. Upon rebooting my upgraded system, my video driver for xorg was no longer functioning properly. The solution was to remotely login through ssh, download &amp;amp; install the latest driver (from here) and then reboot again. After that I was greeted with the beautiful new Ubuntu 9.04 login screen and the upgrade was nearly..&lt;/p></description></item><item><title>Synergy Breeze</title><link>https://dawning.ca/posts/synergy-breeze/</link><pubDate>Tue, 16 Dec 2008 19:01:20 +0000</pubDate><guid>https://dawning.ca/posts/synergy-breeze/</guid><description>
&lt;p>Here&amp;rsquo;s a little video I whipped up on account that some people STILL haven&amp;rsquo;t heard of Synergy.. Check this video out if you too are a bit unclear about what the dealio with Synergy is.&lt;/p></description></item><item><title>Ubuntu Samba Apache Active Directory Authentication</title><link>https://dawning.ca/posts/ubuntu-samba-apache-active-directory-authentication/</link><pubDate>Wed, 16 Jul 2008 07:16:25 +0000</pubDate><guid>https://dawning.ca/posts/ubuntu-samba-apache-active-directory-authentication/</guid><description>
&lt;p>So I&amp;rsquo;ve spent some time for something at work figuring out how to get an Ubuntu server to authenticate users with a Windows 2003 Server Active Directory. Using the process I&amp;rsquo;ve found by combining various sources, my instructions show how to get a machine setup such that users logging in to the shell, accessing a samba share and checking out a website (or sub-directory of one) can all be authenticated using credentials centrally stored in a separate Active Directory server.&lt;/p></description></item></channel></rss>