<?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>Onlyjoe</title>
	<atom:link href="http://www.onlyjoe.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onlyjoe.net/blog</link>
	<description>Ones Voice to be Heardin the Wilderness.</description>
	<lastBuildDate>Wed, 16 May 2012 23:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Reset Network Drivers to eth0&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/05/17/reset-network-drivers-to-eth0/</link>
		<comments>http://www.onlyjoe.net/blog/2012/05/17/reset-network-drivers-to-eth0/#comments</comments>
		<pubDate>Wed, 16 May 2012 23:00:00 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=717</guid>
		<description><![CDATA[Recently I came across a issue, where a added a dual network card to my ubuntu server and instead of taking over the eth0 and continuing down the line in sequence. Ubuntu decided to just continue the sequence of eth1 &#8230; <a href="http://www.onlyjoe.net/blog/2012/05/17/reset-network-drivers-to-eth0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I came across a issue, where a added a dual network card to my ubuntu server and instead of taking over the eth0 and continuing down the line in sequence. Ubuntu decided to just continue the sequence of eth1 and eth2. So it got me wondering why does it not take over the eth0, since the old network card is not there. It seems the culprit is the udev rules and the network cache which remembers the mac address of the previous card and leaves that eth0. So no other ethernet card can be eth0, till you delete the network cache and udev regenerates the device with the new network card. To resolve this issue you just need to delete the fie below and reboot.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> rm -f /etc/udev/rules.d/70-persistent-net.rules</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/05/17/reset-network-drivers-to-eth0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Squid in 600 seconds&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/05/16/install-squid-in-600-seconds/</link>
		<comments>http://www.onlyjoe.net/blog/2012/05/16/install-squid-in-600-seconds/#comments</comments>
		<pubDate>Wed, 16 May 2012 01:48:20 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[squid]]></category>
		<category><![CDATA[squid3]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=704</guid>
		<description><![CDATA[Currently I have a few firewall issues and while I am trying to resolve those issues. I decided I still needed to surf the internet. Till I can resolve my firewall issues, my option was to either surf with my &#8230; <a href="http://www.onlyjoe.net/blog/2012/05/16/install-squid-in-600-seconds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Currently I have a few firewall issues and while I am trying to resolve those issues. I decided I still needed to surf the internet. Till I can resolve my firewall issues, my option was to either surf with my mobile 3g unit, do my internet surfing only at work, or none at all. My other option was to install squid, as a bandaid issue.</p>
<p>The steps to get squid working is shown below.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-add install squid3</p>
<p>We need to edit the squid configuration, before we can start the application.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd /etc/squid3<br />
<strong>#</strong> cp squid.conf squid.conf.orig<br />
<strong>#</strong> vi squid.conf</p>
<p>We now modify the squid configuration file, and modify, add the following into the squid.conf</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">acl our_networks src 192.168.0.0/24<br />
acl localnet src 127.0.0.1/255.255.255.255<br />
http_access allow our_networks<br />
http_access allow localnet</p>
<p>An optional extra is if you want to modify the cache of squid the line that needs to be modified is</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">cache_dir ufs /var/spool/squid3 7000 16 256</p>
<p>The only part you may wish to modify is the 7000 which denotes the amount of megabytes. You can increase or decrease the size of your cache, depending on your needs.<br />
Before you start squid you need to create the cache, with the following command.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> squid -z</p>
<p>You now can start squid with the command</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /etc/init.d/squid restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/05/16/install-squid-in-600-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Nagios in 600 seconds&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/04/11/install-nagios-in-600-seconds/</link>
		<comments>http://www.onlyjoe.net/blog/2012/04/11/install-nagios-in-600-seconds/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 23:00:46 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[network monitoring]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=632</guid>
		<description><![CDATA[Recently I installed Nagios from the Ubuntu 10.04 repositories and found that the repository version is a version behind the current behind. I decided to install Nagios from source code directly. It is a simple process, below is how it &#8230; <a href="http://www.onlyjoe.net/blog/2012/04/11/install-nagios-in-600-seconds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I installed Nagios from the Ubuntu 10.04 repositories and found that the repository version is a version behind the current behind. I decided to install Nagios from source code directly. It is a simple process, below is how it is installed. Note there are two parts to Nagios, the core application and the plugins.</p>
<p><strong>Nagios Core:</strong></p>
<p>We need to install dependancies before we install nagios.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-add install build-essential php5-gd wget libgd2-xpm libgd2-xpm-dev</p>
<p>We now need to create the nagios user on the system, for the nagios software to run under.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> adduser &#8211;system &#8211;no-create-home &#8211;disabled-login &#8211;group nagios</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> groupadd nagcmd</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> usermod -G nagcmd nagios usermod -a -G nagcmd www-data</p>
<p>Now that we have create the nagios user for the system, we need to download the nagios software.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd /usr/src</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.3.1.tar.gz</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz</p>
<p>Now we build the Nagios software</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> tar -xzvf /opt/nagios-3.3.1.tar.gz cd /opt/nagios-3.2.3 ./configure &#8211;with-command-group=nagcmd</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>cd nagios-3.3.1</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>./configure &#8211;with-command-group=nagcmd</p>
<p>We now compile the software and install it, upon the system.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>make all</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>make install</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>make install-init</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> make install-config</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> make install-commandmode</p>
<p>Configure the Nagios core.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong># </strong>vi /usr/local/nagios/etc/objects/contacts.cfg</p>
<p>You need to edit the alias and email lines.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd /usr/src/nagios-3.3.1</p>
<p>We need to install the web based frontend software.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> make install-webconf</p>
<p>We need to create the login name of the user from the apache frontend. You wil also need to enter a password for the nagiosadmin user.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin</p>
<p>We need to reload the apache2 configuration.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /etc/init.d/apache2 reload</p>
<p><strong>Nagios Plugin:</strong><br />
We now need to build the plugins from source. Below are the steps below.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd /usr/src</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> tar xzf nagios-plugins-1.4.15.tar.gz</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd nagios-plugins-1.4.15.tar.gz</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> ./configure &#8211;with-nagios-user=nagios &#8211;with-nagios-group=nagios</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> make</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> make install</p>
<p>Now we get Nagios running. We need to get the permissions corrected so the startup files work.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> chmod +x /etc/init.d/nagios</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /usr/sbin/update-rc.d -f nagios defaults</p>
<p>We need to check that our nagios configuration is good, or Nagios will not start. The configuration check will show us if there are any errors in the configuration file.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg</p>
<p>If no errors are shown, you are able to start Nagios now.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /etc/init.d/nagios start</p>
<p>You will be able to access Nagios from a web browser. The address will be http://localhost/nagios or http://&lt;ip address of the server&gt;/nagios Remember when you created the Nagios admin user above, you need to remember<br />
<strong></strong></p>
<p><strong>Mail Alerts</strong></p>
<p>If you want Nagios to email you on alerts, when things go wrong. You need to install</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong>apt-get install mailutils sendmail</p>
<p>Select your mail server as a internet site. Note that you can modify the nagios /usr/local/nagios/etc/objects/commands.cfg file or easier process is to link /usr/bin/mail to /bin/mail. You do not need to restart nagios if you just done the soft link of the mail files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/04/11/install-nagios-in-600-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Plone under Ubuntu&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/04/10/install-plone-under-ubuntu/</link>
		<comments>http://www.onlyjoe.net/blog/2012/04/10/install-plone-under-ubuntu/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 02:04:28 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[plone]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=687</guid>
		<description><![CDATA[I have been looking for a good cms/wiki to document the changes at my work. I tried mediawiki and got fustrated by the weird markup language, to create a textbox. I tried moinmoin and found security was a issue. So &#8230; <a href="http://www.onlyjoe.net/blog/2012/04/10/install-plone-under-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been looking for a good cms/wiki to document the changes at my work. I tried mediawiki and got fustrated by the weird markup language, to create a textbox. I tried moinmoin and found security was a issue. So now I have decided to try Plone. I thought Plone looks good. But there are no Ubuntu packages and I need to install the software from source.</p>
<p>Before you can install Plone from source you need to install some pre-requisite Ubuntu packages.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-get install build-essential libssl-dev libxml2-dev libbz2-dev libjpeg62-dev libreadline5-dev wv poppler-utils</p>
<p>You need to get the Plone software to your server so you can install.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd /usr/src</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget https://launchpad.net/plone/4.1/4.1.4/+download/Plone-4.1.4-UnifiedInstaller.tgz</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> gzip -d Plone-4.1.4-UnifiedInstaller.tgz</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> tar -xvf Plone-4.1.4-UnifiedInstaller.tar</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd Plone-4.1.4-UnifiedInstaller</p>
<p>Now we can install Plone..</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong>./install.sh standalone</p>
<p>The standalone option for means it will only be installed on the server, and be a self contained cms. Once this is done you need to start Plone.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong>cd /usr/local/Plone/zinstance</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong>./plonectl start</p>
<p>You can now acces the Plone cms from the address from http://localhost:8080 or http://:8080.<br />
Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/04/10/install-plone-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java for Ubuntu&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/03/30/java-for-ubuntu/</link>
		<comments>http://www.onlyjoe.net/blog/2012/03/30/java-for-ubuntu/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 06:59:47 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=623</guid>
		<description><![CDATA[Recently I needed to install Oracles java, and not the open source java for android development. Oracle do not allow Conical to distribute java with Ubuntu distributions. So you need to add the Oracle repositories after your Ubuntu installation. below &#8230; <a href="http://www.onlyjoe.net/blog/2012/03/30/java-for-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I needed to install Oracles java, and not the open source java for android development. Oracle do not allow Conical to distribute java with Ubuntu distributions. So you need to add the Oracle repositories after your Ubuntu installation. below shown is a example of how it done.</p>
<p>You need to add the Oracle repository to your Ubuntu installation.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-add-repository pap:flexiondotorg/java</p>
<p>You now need to update your repository database.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-get update</p>
<p>Now you can add the Oracle Java repositories.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong><strong>#</strong> </strong>apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin</p>
<p>Thats all its done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/03/30/java-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Wyse 60 Terminal Emulation&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/03/07/mac-wyse-60-terminal-emulation/</link>
		<comments>http://www.onlyjoe.net/blog/2012/03/07/mac-wyse-60-terminal-emulation/#comments</comments>
		<pubDate>Tue, 06 Mar 2012 20:00:21 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[emulation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wyse 60]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=19</guid>
		<description><![CDATA[Recently I have had to go back to Wyse 60 terminal emulation. I needed Wyse 60 terminal emulation due to legacy applications that have no other option but to be accessed. I could spend a fair few dollars on a &#8230; <a href="http://www.onlyjoe.net/blog/2012/03/07/mac-wyse-60-terminal-emulation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I have had to go back to Wyse 60 terminal emulation. I needed Wyse 60 terminal emulation due to legacy applications that have no other option but to be accessed. I could spend a fair few dollars on a commercial Wyse 60 terminal emulator. But in the spirit of free and open source, there is a free Wyse 60 terminal emulator out there for use.</p>
<p>You can download the Wyse 60 source from the following site.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">http://code.google.com/p/wy60/</p>
<p>You can also directly download the source code from&#8230;</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">http://code.google.com/p/wy60/downloads/detail?name=wy60-2.0.9.tar.gz&amp;can=2&amp;q=</p>
<p>Once you have the source code downloaded, you can upack the source code.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> tar -xvfz wy60-2.0.9.tar.gz</p>
<p>Now we can compile the source code and install the executable.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd wy60-2.0.9<br />
<strong>#</strong> ./configure<br />
<strong>#</strong> make<br />
<strong>#</strong> make install</p>
<p>Once you have compiled an installed the code. To activate the Wyse 60 emulation you type.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wy60</p>
<p>Once this is run, you screen is now in Wyse 60 emulation, and you are able to ssh etc like any other screen, but in Wyse 60 emulation.<br />
Or Under Ubuntu 10.04, you can just add this as a package.</p>
<p><strong>Ubuntu 10.04</strong></p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-get install wy60</p>
<p>This is simpler than compiling the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/03/07/mac-wyse-60-terminal-emulation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup a PPTP server:</title>
		<link>http://www.onlyjoe.net/blog/2012/03/06/setup-a-pptp-server/</link>
		<comments>http://www.onlyjoe.net/blog/2012/03/06/setup-a-pptp-server/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 20:00:37 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[pptpd]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=551</guid>
		<description><![CDATA[Recently I have been wanting to connect to my home network, from anywhere in the world. I want to connect back home via the device I have in my hands on me at the time. This could be my osx, &#8230; <a href="http://www.onlyjoe.net/blog/2012/03/06/setup-a-pptp-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently I have been wanting to connect to my home network, from anywhere in the world. I want to connect back home via the device I have in my hands on me at the time. This could be my osx, windows 7, linux laptop, ipad, iphone or android device. I was originally thinking of setting up openvpn, as this was the easiest to setup, but decided against as there is clients for windows, android, linux, osx but not for ios devices. So I had to look for another virtual private network software. I was looking of setting up a ipsec/l2tp server, but decided at the moment against this, as it will take some time to setup and debug. This left me with pptp. This protocol is common to all devices and needed no extra client installed for it to run.</p>
<p>The following steps below will show you howto setup a pptp server.</p>
<p><strong>Ubuntu 10.04</strong></p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> apt-get install ppp pptpd pptp-linux</p>
<p>Enable port 22 in your firewall to pass throu for emergency purposes to ssh back into the machine. Here is the command to allow ssh through. You need to edit your permanent firewalls for this work on reboot.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /sbin/iptables -A INPUT &#8211;protocol tcp &#8211;dport 22 -j ACCEPT</p>
<p>Enable port 1723 in your firewall to pass throu for pptp protocol to work on your system.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /sbin/iptables -A INPUT &#8211;protocol tcp &#8211;dport 1723 -j ACCEPT<br />
<strong># </strong>/sbin/iptables -A INPUT &#8211;protocol udp &#8211;dport 1723 -j ACCEPT</p>
<p>now we modify the <strong>/etc/pptpd.conf</strong> file. Look for the lines below in your file and modify them. These lines represent the ip address the vpn connections can have upon your local network.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">localip 192.168.0.1 remoteip 192.168.0.241-255</p>
<p>The localip is the ip if the internal nic behind the wan port. This ip address is the ip of the pptp server. The remoteip is the ip&#8217;s allocated by the pptp process when you make a connection. I have allocated 15 ip&#8217;s. This allows me to have 15 devices connected to the server. I probably only need two ips allocated.</p>
<p>Now we modify <strong>/etc/ppp/pptpd.options</strong> edit the ms-dns entries to reflect the domain nameserver your network uses. A example is below. ms-dns 8.8.8.8 ms-dns 8.8.4.4</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">ms-dns 8.8.8.8<br />
ms-dns 8.8.4.4</p>
<p>Also modify your file <strong>/etc/sysctl.conf</strong></p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">net.ipv4.ip_forward=1</p>
<p>No we need to restart the system controls. The other option than below is restarting the machine.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> sysctl -p</p>
<p>You now need to add users to the system, so we can make a login into the pptp server. You modify the <strong>/etc/ppp/chap-secrets</strong> file.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;">username &lt;TAB&gt; * &lt;TAB&gt; user-password &lt;TAB&gt; *</p>
<p>You now need to restart the pptpd daemon for all the changes to be implemented.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> /etc/init.d/pptpd restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/03/06/setup-a-pptp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a VirtualBox Headless Machine&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2012/03/05/create-a-virtualbox-headless-machine/</link>
		<comments>http://www.onlyjoe.net/blog/2012/03/05/create-a-virtualbox-headless-machine/#comments</comments>
		<pubDate>Mon, 05 Mar 2012 01:39:30 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[headless]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=576</guid>
		<description><![CDATA[More and more I have been running Virtualbox virtual servers upon my main Ubuntu 10.04 server. I used to create the virtual server upon my Macbook Pro 13&#8243;, then export the image, and reimport the image upon the linux headless &#8230; <a href="http://www.onlyjoe.net/blog/2012/03/05/create-a-virtualbox-headless-machine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>More and more I have been running Virtualbox virtual servers upon my main Ubuntu 10.04 server. I used to create the virtual server upon my Macbook Pro 13&#8243;, then export the image, and reimport the image upon the linux headless server. Recently I found it was much easier to create the VirtualBox server upon a headless linux server. Certainly creating the virtual server upon a guy based tool is a lot easier, but it does not save time when you need to export and import the image across to the linux server.</p>
<p>The following steps below will show you howto setup a VirtualBox virtual headless server.</p>
<p><strong>Ubuntu 10.04.03</strong></p>
<p>We now create and register the virtual server with the command <strong>VBoxManage</strong>.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage createvm -name &#8220;server&#8221; &#8211;ostype Ubuntu_64 &#8211;register</p>
<p>We allocated the amount of memory the virtual server will have, the sequence of boot, e.g. dvd first, and which either net adapter does the virtual machine attach itself too. The memory we have allocated is 1024mb and the ethernet it uses is eth4.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage modifyvm &#8220;server&#8221; &#8211;memory 1024 &#8211;acpi on &#8211;boot1 dvd &#8211;nic1 bridged &#8211;bridge adapter1 eth4</p>
<p>We now create the hard disk or virtual disk for the virtual server. We allocated 100gb of hard disk space, and store the virtual hard disk file in <strong>/home/vbox</strong></p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage createvdi &#8211;filename &#8220;/home/vbox/server.vdi&#8221; &#8211;size 100000</p>
<p>We state that the virtual server uses a ide controller. We can use ahci also, but ide is safe to use.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage storagectl &#8220;server&#8221; &#8211;name &#8220;IDE Controller&#8221; &#8211;add ide</p>
<p>We state that the virtual server uses the ide controller and attach the vital server hard disk to the ide controller.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage storageattach &#8220;server&#8221; &#8211;storagectl &#8220;IDE Controller&#8221; &#8211;port 0 &#8211;device 0 &#8211;type hdd &#8211;medium &#8220;/home/vbox/server.vdi&#8221;</p>
<p>We need also attach the dvd driver to the ide storage controller. Also we attach the iso image to the dvd drive, so that when we boot the virtual server for the first time, it boots the  virtual dvd driver and uses the iso image.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage storageattach &#8220;server&#8221; &#8211;storagectl &#8220;IDE Controller&#8221; &#8211;port 1 &#8211;device 0 &#8211;type dvddrive &#8211;medium &#8220;/home/vbox/ubuntu-10.04.3-server-amd64.iso&#8221;</p>
<p>We now allow remote desktop software to connect to the virtual server.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage modifyvm &#8220;server&#8221; &#8211;vrde on&#8221;</p>
<p>We now set the port, we can connect to the virtual server on with the remote desktop software. We can connect to the virtual server on port 3392. You can use Microsoft Remote Desktop Connection to connect.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage modifyvm &#8220;server&#8221; &#8211;vrdeport 3392</p>
<p>Once this is all done we can now startup the headless virtual server.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxHeadless &#8211;startvm &#8220;server&#8221; &amp;</p>
<p>You can shutdown the virtual server with the following command.</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> VBoxManage controlvm &#8220;server&#8221; poweroff</p>
<p>You can pause and restart the virtual server, but within the means of this document, I will not explain them, as they are commands not really needed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2012/03/05/create-a-virtualbox-headless-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fujitsu P1620 a new hope&#8230;</title>
		<link>http://www.onlyjoe.net/blog/2011/10/24/fujitsu-p1620-a-new-hope/</link>
		<comments>http://www.onlyjoe.net/blog/2011/10/24/fujitsu-p1620-a-new-hope/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 22:00:38 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[gadgets]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[fujitsu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[p1620]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=528</guid>
		<description><![CDATA[I have had for a while a Fujitsu P1620 small form factor convertable. I have had for a while Windows Seven working upon the machine, but with only two gigabytes of ram, performance was limited at best. I have decided &#8230; <a href="http://www.onlyjoe.net/blog/2011/10/24/fujitsu-p1620-a-new-hope/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have had for a while a Fujitsu P1620 small form factor convertable. I have had for a while Windows Seven working upon the machine, but with only two gigabytes of ram, performance was limited at best. I have decided to install ubuntu 11.04, 64 bit desktop, and remove the gnome desktop for the xfce desktop. The other issue is the very slow 4200rpm 100gb hard disk. The installation was about sixty minutes to install. Half of the installation was downloading packages from the ubuntu repository. I used a external usb dvd rom drive to install ubuntu 11.04, 64 bit desktop. I will further along the way try to document the configuration of software and hardware as in the touchscreen which seems a tricky issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2011/10/24/fujitsu-p1620-a-new-hope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Converting RHEL to CentOS:</title>
		<link>http://www.onlyjoe.net/blog/2011/10/20/converting-rhel-to-centos/</link>
		<comments>http://www.onlyjoe.net/blog/2011/10/20/converting-rhel-to-centos/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 22:00:32 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[5]]></category>
		<category><![CDATA[centos 5.7]]></category>
		<category><![CDATA[centros]]></category>
		<category><![CDATA[enterprise]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://www.onlyjoe.net/blog/?p=27</guid>
		<description><![CDATA[One of the biggest issues when running RedHat Linux in any verison is how to get updates when you do not pay for mantenance. As far as I know, you cannot get the updates from redhat for free once your &#8230; <a href="http://www.onlyjoe.net/blog/2011/10/20/converting-rhel-to-centos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>One of the biggest issues when running RedHat Linux in any verison is how to get updates when you do not pay for mantenance. As far as I know, you cannot get the updates from redhat for free once your 30 day trail is over. Many companies need to run redhat due to the applications we designed around redhat in linux. There are many ways to get around this when running different flavours of linux, but they necessary become a pain in the backside when it comes to this, as the next update of the flavour may break the application. A workaround is too use the free version of redhat enterprise linux which is CentOS. You can convert a redhat machine to CentOS, very easily. Below will show you the process of how it is done.</p>
<p><strong>CentOS 5:</strong></p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> yum clean all</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> mkdir ~/centos</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> cd ~/centos/</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5/os/i386/RPM-GPG-KEY-CentOS-5</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5/os/i386/CentOS/centos-release-5-8.el5.centos.i386.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5.7/os/i386/CentOS/centos-release-notes-5.8-0.i386.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-3.2.22-39.el5.centos.noarch.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> wget http://mirror.centos.org/centos/5/os/i386/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> rpm –import RPM-GPG-KEY-CentOS-5</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> rpm -e –nodeps redhat-release</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> rpm -e yum-rhn-plugin</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> rpm -Uvh –force *.rpm</p>
<p style="padding: 2px 6px 4px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 2px solid;"><strong>#</strong> yum upgrade</p>
<p>At the time of this post CentOS 5.7 is the highest release to upgrade a redhat enterprise 5 installation. I am yet to work out howto upgrade a redhat enterprise 6 release to CentOS 6.</p>
<p>update 2012.04.04</p>
]]></content:encoded>
			<wfw:commentRss>http://www.onlyjoe.net/blog/2011/10/20/converting-rhel-to-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

