<?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>John McLeardebian | John McLear</title>
	<atom:link href="http://mclear.co.uk/category/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://mclear.co.uk</link>
	<description>My mission: To encourage effective use of ICT in Schools. My main focus is on ages 3-11.</description>
	<lastBuildDate>Thu, 17 May 2012 21:14:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://primaryblogger.co.uk/?v=3.3.2</generator>
		<item>
		<title>Unix find large files &#124; find large folders</title>
		<link>http://mclear.co.uk/2011/05/17/unix-find-large-files-or-to-be-precise-find-large-folders/</link>
		<comments>http://mclear.co.uk/2011/05/17/unix-find-large-files-or-to-be-precise-find-large-folders/#comments</comments>
		<pubDate>Tue, 17 May 2011 12:37:46 +0000</pubDate>
		<dc:creator>johnyma22</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[developing]]></category>
		<category><![CDATA[ICT]]></category>

		<guid isPermaLink="false">http://mclear.co.uk/?p=2943</guid>
		<description><![CDATA[Thanks to Mark for reminding me about these, I claim no credit for these, I just use them. Report This PostRelated posts: Unable to find XML-Security header files (shibboleth) When installing shibboleth 2+ on debian you may get the... Uploading files into PrimaryPad Report This Post... NEW FEATURE: Printable holiday dates onto business cards Ever [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a rel="nofollow" href="http://blog.markftw.com">Mark</a> for reminding me about these, I claim no credit for these, I just use them.</p>
<pre class="brush: plain; title: ; notranslate">
find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $8 &quot;: &quot; $5 }'
</pre>
<pre class="brush: plain; title: ; notranslate">
du --max-depth=1 -h
</pre>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=2943&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p class="relatedP">Related posts:<ol>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/23/unable-to-find-xml-security-header-files-shibboleth/' rel='bookmark' title='Unable to find XML-Security header files (shibboleth)'>Unable to find XML-Security header files (shibboleth)</a> <small>When installing shibboleth 2+ on debian you may get the...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2010/10/26/uploading-files-into-primarypad/' rel='bookmark' title='Uploading files into PrimaryPad'>Uploading files into PrimaryPad</a> <small>Report This Post...</small></li>
<li class="relatedP"><a href='http://blog.primaryt.co.uk/2011/11/09/new-feature-printable-holiday-dates-onto-business-cards/' rel='bookmark' title='NEW FEATURE: Printable holiday dates onto business cards'>NEW FEATURE: Printable holiday dates onto business cards</a> <small>Ever wanted to print your school holiday dates onto something...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2011/05/17/unix-find-large-files-or-to-be-precise-find-large-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Etherpad on Debian</title>
		<link>http://mclear.co.uk/2010/03/10/installing-etherpad-on-debian/</link>
		<comments>http://mclear.co.uk/2010/03/10/installing-etherpad-on-debian/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 23:50:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[etherpad]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installations]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2009/12/19/installing-etherpad-on-debian/</guid>
		<description><![CDATA[IMPORTANT NOTE: THIS DOCUMENTATION IS NOW DATED.  You can now install Etherpad from apt. Installing Etherpad 1.0.1 with APT Add the following line as a source in your graphical package manager (In Ubuntu: System-&#62;Administration-&#62;Synaptic package manager; then Settings-&#62;Repositories and then finally Third party software), or edit the file /etc/apt/sources.list and add it there. Answer the [...]]]></description>
			<content:encoded><![CDATA[<p>IMPORTANT NOTE: THIS DOCUMENTATION IS NOW DATED.  You can now install <a rel="nofollow" href="http://etherpad.org">Etherpad</a> from apt.</p>
<p><strong>Installing <a rel="nofollow" href="http://etherpad.org">Etherpad</a> 1.0.1 with APT</strong></p>
<p>Add the following line as a source in your graphical package manager (In Ubuntu: System-&gt;Administration-&gt;Synaptic package manager; then Settings-&gt;Repositories and then finally Third party software), or edit the file /etc/apt/sources.list and add it there.</p>
<pre class="brush: plain; title: ; notranslate">
deb http://apt.etherpad.org all .
</pre>
<pre class="brush: bash; title: ; notranslate">
apt-get update
apt-get install etherpad
</pre>
<p>Answer the questions (if any, depends on your system settings)</p>
<pre class="brush: bash; title: ; notranslate">
/etc/init.d/etherpad start
</pre>
<p>Other Linux distributions<br />
Download the .tgz and unpack it<br />
Follow instructions in README <img src='http://mclear.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>BELOW IS THE OLD GUIDE for Etherpad V1 released by Google</strong></p>
<p><span> </span> <span> </span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="800" height="440" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/JpbT5H6-qr8&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="800" height="440" src="http://www.youtube.com/v/JpbT5H6-qr8&amp;hl=en_GB&amp;fs=1&amp;" allowfullscreen="true"></embed></object></p>
<div><strong>Install prereqs</strong></div>
<pre class="brush: bash; title: ; notranslate">

echo &quot;deb http://ftp.de.debian.org/debian sid main non-free&quot; &gt;&gt; /etc/apt/sources.list
apt-get update
apt-get install sun-java6-jdk
</pre>
<p>If the above fails then do not continue.  The output of</p>
<pre class="brush: bash; title: ; notranslate">java -version</pre>
<p>Should read..</p>
<pre>java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)</pre>
<pre class="brush: bash; title: ; notranslate">
apt-get install scala mysql-server libmysql-java mercurial
</pre>
<p>Paste the below to /etc/profile</p>
<pre>export PATH
export JAVA_HOME="/usr/lib/jvm/java-6-sun"
export SCALA_HOME="/usr/share/java"
export JAVA="/usr/bin/java"
export SCALA="/usr/bin/scala"
export PATH="/usr/bin:/usr/bin:/usr/local/mysql/bin:$PATH"
export MYSQL_CONNECTOR_JAR="/usr/share/java/mysql-connector-java-5.1.10.jar"
export JAVA_HOME SCALA_HOME JAVA SCALA MYSQL_CONNECTOR_JAR PATH
umask 022</pre>
<p>Download the etherpad source to /usr/local/etherpad</p>
<pre class="brush: bash; title: ; notranslate">
hg clone https://etherpad.googlecode.com/hg/ /usr/local/etherpad
</pre>
<p><strong>Set the environment variables</strong></p>
<pre class="brush: bash; title: ; notranslate">
export JAVA_HOME=&quot;/usr/lib/jvm/java-6-sun&quot;
export SCALA_HOME=&quot;/usr/share/java&quot;
export JAVA=&quot;/usr/bin/java&quot;
export SCALA=&quot;/usr/bin/scala&quot;
export PATH=&quot;/usr/bin:/usr/bin:/usr/local/mysql/bin:$PATH&quot;
export MYSQL_CONNECTOR_JAR=&quot;/usr/share/java/mysql-connector-java-5.1.10.jar&quot;
</pre>
<p><strong>Add your domain to the superdomain section</strong></p>
<pre class="brush: bash; title: ; notranslate">

nano /usr/local/etherpad/trunk/etherpad/src/etherpad/globals.js
</pre>
<p>Search for etherpad.com and replace it with your domain (confused?  You will figure it out)</p>
<p><strong>Create the etherpad mysql db and privelidges</strong></p>
<pre class="brush: bash; title: ; notranslate">
mysql -u root -p
</pre>
<p>Enter your password when prompted</p>
<pre class="brush: sql; title: ; notranslate">
create database etherpad;
grant all privileges on etherpad.* to 'etherpad'@'localhost' identified by 'password';
quit
</pre>
<div>
<pre class="brush: bash; title: ; notranslate">
cd /usr/local/etherpad/trunk/etherpad/
ln -s /usr/share/java /usr/share/java/lib
bin/rebuildjar.sh
bin/run-local.sh
</pre>
<p><strong>Wait quite a while while it builds.</strong></p>
</div>
<p>Test by browsing to your server at http://hostnameofserver:9000</p>
<p>Making pro work&#8230;</p>
<div>
<p>Make sure it doesn&#8217;t redirect to etherpad.com for pro</p>
<p>Edit /usr/local/etherpad/trunk/etherpad/src/main.js</p>
<p>Replace all instances of Etherpad.com with yourdomain.com</p>
<p>Edit /usr/local/etherpad/trunk/etherpad/src/static/crossdomain.xml</p>
<p>Add to the obvious section</p>
<pre class="brush: xml; title: ; notranslate">

&lt;allow-access-from domain=&quot;yourdomain.com&quot; to-ports=&quot;*&quot;/&gt;

&lt;allow-access-from domain=&quot;*.yourdomain.com&quot; to-ports=&quot;*&quot;/&gt;
</pre>
</div>
<p>Edit /usr/local/etherpad/trunk/etherpad/src/etherpad/pro/pro_utils.js</p>
<p>Replace</p>
<div>
<pre class="brush: plain; title: ; notranslate">var fromDomain = 'etherpad.com';</pre>
</div>
<p>with</p>
<div>
<pre class="brush: plain; title: ; notranslate">var fromDomain = 'yourdomain.com';</pre>
</div>
<p>Note: Originally published on the 19th of Dec 2009, Revised on the 10th of March 2010</p>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=244&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2010/03/10/installing-etherpad-on-debian/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Installing Sun Java 1.6 on Debian using Apt-Get</title>
		<link>http://mclear.co.uk/2009/12/18/installing-sun-java-1-6-on-debian-using-apt-get/</link>
		<comments>http://mclear.co.uk/2009/12/18/installing-sun-java-1-6-on-debian-using-apt-get/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 18:55:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[sun]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2009/12/18/installing-sun-java-1-6-on-debian-using-apt-get/</guid>
		<description><![CDATA[echo &#8220;deb http://ftp.de.debian.org/debian sid main non-free&#8221; >> /etc/apt/sources.list apt-get install debian-backports-keyring apt-get update apt-get install sun-java6-jdk Report This PostNo related posts.]]></description>
			<content:encoded><![CDATA[<div>echo &#8220;deb http://ftp.de.debian.org/debian sid main non-free&#8221; >> /etc/apt/sources.list</div>
<div>apt-get install debian-backports-keyring</div>
<div>apt-get update</div>
<div>apt-get install sun-java6-jdk</div>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=243&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2009/12/18/installing-sun-java-1-6-on-debian-using-apt-get/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

