<?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>joepetruska.com &#187; webmin</title>
	<atom:link href="https://joepetruska.com/wordpress/?feed=rss2&#038;tag=webmin" rel="self" type="application/rss+xml" />
	<link>https://joepetruska.com/wordpress</link>
	<description>nerd tech junk stuff hacks and the like</description>
	<lastBuildDate>Wed, 09 Apr 2014 21:42:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=491</generator>
	<item>
		<title>Hacking the POGOplug.  The definitive guide in progress. [PT2]</title>
		<link>https://joepetruska.com/wordpress/?p=49</link>
		<comments>https://joepetruska.com/wordpress/?p=49#comments</comments>
		<pubDate>Wed, 25 Apr 2012 07:25:22 +0000</pubDate>
		<dc:creator><![CDATA[Joe]]></dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[The Pogoplug]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[lamp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[webmin]]></category>

		<guid isPermaLink="false">http://joepetruska.com/wordpress/?p=49</guid>
		<description><![CDATA[[Pt2] GOAL: Install all system updates and a handful of useful tools as well as the Webmin utility. THINGS YOU WILL NEED: Pogoplug that has been hacked from Part 1 LETS GET STARTED: Fire up...]]></description>
				<content:encoded><![CDATA[<h1 style="text-align: left;"><span style="color: #99cc00;"><strong>[Pt2]</strong></span></h1>
<h1 style="text-align: left;"></h1>
<h1 style="text-align: left;"></h1>
<p><a href="http://joepetruska.com/wordpress/wp-content/uploads/2012/04/Photo-Apr-22-17-21-31-Small.jpg"><img class="aligncenter" title="pogoplug" src="http://joepetruska.com/wordpress/wp-content/uploads/2012/04/Photo-Apr-22-17-21-31-Small-300x300.jpg" alt="" width="300" height="300" /></a></p>
<p><strong><span style="color: #00ff00;">GOAL:</span><br />
</strong>Install all system updates and a handful of useful tools as well as the Webmin utility.</p>
<p><span style="color: #00ff00;"><strong>THINGS YOU WILL NEED:</strong></span></p>
<ul>
<li>Pogoplug that has been hacked from <span style="color: #ff0000;"><a title="Part 1" href="http://joepetruska.com/wordpress/?p=12"><span style="color: #ff0000;">Part 1</span></a></span></li>
</ul>
<p><span style="color: #00ff00;"><strong>LETS GET STARTED:</strong></span></p>
<p>Fire up your terminal program.  We will do a little maintenance and install a few apps you may want/need down the line.  Copy and paste the following code boxes in order, one at a time.<br />
<span style="color: #ffff00;"><strong><span style="text-decoration: underline;">Make sure to read the content as not all boxes are copy paste.</span></strong></span></p>
<p><span style="color: #00ff00;"><strong>Step 1:<br />
Updates and Tools:</strong></span></p>
<p>Lets start by making sure the system is totally up to date with all installed packages</p>
<pre class="brush: plain; title: ; notranslate">
## Update Pacman Sources
pacman -Syy ## package sync
pacman -Syu ## system update
</pre>
<p>Next lets update the pacman installer.  This step may not be needed but it does not hurt.</p>
<pre class="brush: plain; title: ; notranslate">
## Update Pacman Installer
pacman -S pacman
</pre>
<p>Followed by some zip and archive tools</p>
<pre class="brush: plain; title: ; notranslate">
## update various apps
pacman -S ntp bzip2 zip p7zip gftp unzip libzip ##tools for later
</pre>
<p>And then two popular terminal based text editors</p>
<pre class="brush: plain; title: ; notranslate">
## Text Editors Installation
pacman -S vim nano  ## nano and vim text editors
</pre>
<p><strong><span style="color: #00ff00;">Step 2:</span></strong><br />
<strong><span style="color: #00ff00;">Fixing the clock<br />
</span></strong><br />
From here we are going to edit a file to fix the system clock.  This pogoplug does not support the hwclock, so we will replace it with ntpd.<strong><br />
</strong></p>
<pre class="brush: plain; title: ; notranslate">nano /etc/rc.conf</pre>
<p>At the top find TIMEZONE</p>
<pre class="brush: plain; title: ; notranslate">
## REPLACE WITH YOUR TIMEZONE
TIMEZONE=&quot;America/Chicago&quot;
## EXAMPLE
TIMEZONE=&quot;America/NewYork&quot;
</pre>
<p>Scroll down to the bottom, and find DAEMONS</p>
<p>Find hwclock replace with ntpd</p>
<pre class="brush: plain; title: ; notranslate">
## BEFORE ##
DAEMONS=(hwclock syslog-ng network netfs crond sshd)
## AFTER ##
DAEMONS=(ntpd syslog-ng network netfs crond sshd)
</pre>
<p>Hit control+x, follow by &#8220;y&#8221;, follow by enter.</p>
<p>You have now successfully fixed your system time.</p>
<h1><strong><span style="color: #ff0000;">Reboot your Pogoplug.<br />
</span></strong></h1>
<p><span style="color: #00ff00;"><strong>Step 3:<br />
Webmin Install</strong></span></p>
<p>Start by downloading webmin</p>
<pre class="brush: plain; title: ; notranslate">pacman -S webmin perl-net-ssleay ##webmin and perl modules</pre>
<p>Once installed you can start the server with</p>
<pre class="brush: plain; title: ; notranslate">rc.d start webmin</pre>
<p>Once you have webmin installed, you can access the admin interface by pointing your browser to https://youriphere:10000</p>
<p>Upon first visit you will be presented with an access denied message, to allow access to more than just localhost we will need to do some slight modifications.</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/webmin/miniserv.conf</pre>
<p>Scroll down to the very bottom and find that line that begins with ALLOW</p>
<pre class="brush: plain; title: ; notranslate">
## add an ALLOW line for whatever IP you plan on accessing the interface from or a range of IPs
ALLOW=127.0.0.1
## Example address configuration
ALLOW=127.0.0.1
ALLOW=192.168.1.0 ## allows all users in that IP range
</pre>
<p>Hit control+x, follow by “y”, follow by enter.<br />
Return to the boot setup.</p>
<pre class="brush: plain; title: ; notranslate">nano /etc/rc.conf</pre>
<p>Scroll down to the bottom, and find DAEMONS<br />
Add webmin to startup</p>
<pre class="brush: plain; title: ; notranslate">
## BEFORE ##
DAEMONS=(ntpd syslog-ng network netfs crond sshd)
## AFTER ##
DAEMONS=(ntpd syslog-ng network netfs crond sshd webmin)
</pre>
<p>Save the file.</p>
<h1><span style="color: #ff0000;">Reboot your pogoplug.</span></h1>
<p>Once it comes back online you can access many of the pogoplug servers through the webmin page.<br />
Log in with your root username and passwords.</p>
<p>From here you have a fully functional Linux based headless server.  This is a great vanilla start to install anything you want, the possibilities are really unlimited.</p>
<p><span style="color: #00ff00;"><strong>** Basic Commands **</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
rc.d (start/restart/quit) webmin ## basic webmin controls
date - displays device date
</pre>
<p>In the next installment of &#8220;<strong>Hacking the POGOplug.  The definitive guide.</strong>&#8221; We will turn the light on, with a fully functional LAMP server!</p>
<p><span style="color: #ff9900;"><strong>Please let me know of any questions that you may have!</strong></span></p>
<p><span style="color: #ff00ff;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=8WXPWHENX8X3Y"><span style="color: #ff00ff;">If I helped you out consider buying me a beer <img src="https://s.w.org/images/core/emoji/72x72/1f61b.png" alt="😛" class="wp-smiley" style="height: 1em; max-height: 1em;" /></span></a></span></p>
<h1><span style="color: #ff0000;"><a href="http://joepetruska.com/wordpress/?p=133"><span style="color: #ff0000;">[ Part 3 ]</span></a></span></h1>
]]></content:encoded>
			<wfw:commentRss>https://joepetruska.com/wordpress/?feed=rss2&#038;p=49</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
