<?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>Bradleyland.net &#187; Tutorials</title>
	<atom:link href="http://bradleyland.net/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradleyland.net</link>
	<description>tech that doesn't suck</description>
	<lastBuildDate>Fri, 18 Jun 2010 22:16:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Nagios kills group/user associations required by Webmin/Virtualmin</title>
		<link>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/</link>
		<comments>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 01:46:45 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[holycrapitstoppedworking]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=42</guid>
		<description><![CDATA[So here we go again! I am looking around for a new monitoring setup. I install Nagios to take a look at it on my CC box. My CC box is currently running several sites through Webmin/Virtualmin. When I installed &#8230; <a href="http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So here we go again! I am looking around for a new monitoring setup. I install Nagios to take a look at it on my CC box. My CC box is currently running several sites through Webmin/Virtualmin. When I installed Nagios, I noticed that all of my sites stopped working with the exception of Webmin itself and Nagios.</p>
<p>The errors associated with this issue are a standard 403 on the client side. On the server side you get &#8220;pcfg_openfile: unable to check htaccess file, ensure it is readable&#8221;.</p>
<p>In my quest to fix the issue, I double checked permissions to ensure that they were correct. They were. I double checked that the apache group existed and was working correctly. It was. I searched high and low for a fix for this issue. I even wrote a support request to the people over at Nagios right before I uninstalled it out of anger and spite (which didn&#8217;t fix the issue either BTW). Sadly, about 10 minutes after hitting the send button, I had a thought.</p>
<p>The way that Virtualmin works is to include the apache user in the groups it creates for hosting accounts. It appears that Nagios removed the apache user from all groups except for the one that it created. Good times huh?</p>
<p>The easy way to fix it on a small box is to add the apache user back to the groups for your hosting users. If you have a larger box, go ahead and script it. After you are done getting apache added back to your hosted groups, go ahead and restart Apache and all should be good in the world again.</p>
<p>Oh yeah. A message to the good folks over at Nagios. You have known about this issue for quite some time due to the multitude of Plesk, CPanel and Virtualmin users that have asked about it or related issues. Why don&#8217;t you go ahead and fix it? You lost a potential paying customer today because this simple issue has not been resolved.</p>
<p>All done. Ciao all.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/12/nagios-kills-groupuser-associations-required-by-webminvirtualmin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Enabling Sudo on Fedora 10</title>
		<link>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/</link>
		<comments>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/#comments</comments>
		<pubDate>Thu, 28 May 2009 19:03:12 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[sudo]]></category>
		<category><![CDATA[sudoers]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=31</guid>
		<description><![CDATA[Since I posted my 64 bit flash tutorial, I have been getting a lot of questions on how to enable a user to sudo on Fedora 10. For those of you that wanted it, here you go! Oh yeah, next &#8230; <a href="http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since I posted my <a title="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/" href="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/" target="_self">64 bit flash tutorial</a>, I have been getting a lot of questions on how to enable a user to sudo on Fedora 10. For those of you that wanted it, here you go! Oh yeah, next time, RTFM. *grin*</p>
<blockquote><p>Note that I am doing all of this from the command line. If you care to survive the Linux world, you should at least have a vague idea of how to use the command line. A terminal from within X will work fine as well for these steps.</p>
<p>Also note that this will work with MOST distros out there. I have yet to see a problem with any that I have tried, but I mostly work in the RPM world, so my exposure to other distros is somewhat limited.</p></blockquote>
<p>Get logged in and open a terminal window if your system starts X automatically. If you need a tutorial on how to do that, google will be your friend for a while. Before we actually edit anything, we will be finding out what groups your user belongs to you will be looking for a couple of them that are quite important. &#8220;wheel&#8221; and whatever group mirrors your username.</p>
<blockquote><p>[dude@computer ~]$ groups<br />
dude wheel pulse-access pulse-rt pulse<br />
[dude@computer ~]$</p></blockquote>
<p>Once you are logged in and know what groups you belong to, you will edit &#8220;<em>/etc/sudoers</em>&#8220;. This will require you to be root to do this. (Type in &#8220;su&#8221; at the command prompt and enter the root password for the system when you are prompted.) Once you are root, enter the following command.</p>
<blockquote><p>vim /etc/sudoers</p></blockquote>
<p>Here is where those groups come in handy. If you had <em>wheel</em> listed, we simply have to uncomment a line. If not, we have to create a new line that includes your users&#8217; group. It will make sense in a minute.</p>
<p>Lets start with the less likely situation that <em>wheel</em> was part of your groups list by default. You have two lines that you are looking for within sudoers.</p>
<blockquote><p># Uncomment to allow people in group wheel to run all commands<br />
# %wheel  ALL=(ALL)       ALL</p>
<p># Same thing without a password<br />
# %wheel        ALL=(ALL)       NOPASSWD: ALL</p></blockquote>
<p>It is quite simple at this point. If you would like to require that the sudo enabled users put their password in every time they run a command with sudo, uncomment the &#8220;<em># %wheel  ALL=(ALL)       ALL</em>&#8221; line by removing the # at the start of the line. If you don&#8217;t wish to require a password for every use of sudo, do the same with the &#8220;<em># %wheel        ALL=(ALL)       NOPASSWD: ALL</em>&#8221; line.</p>
<p>Now, what if you are like 99.9% of the fresh installs out there? What if you are not part of the wheel group, or have a situation where you only want your user to have sudo access? This is also very simple. Simply change &#8220;wheel&#8221; on whichever line you prefer to your group name and uncomment as before.</p>
<p>Done!</p>
<p>If you have issues using VI, there are a multitude of VI tutorials on the net. If you would rather use EMACS or nano or something, feel free. It should all work the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/05/enabling-sudo-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress MU redirect loop during install</title>
		<link>http://bradleyland.net/2009/04/wordpress-mu-redirect-loop-during-install/</link>
		<comments>http://bradleyland.net/2009/04/wordpress-mu-redirect-loop-during-install/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 02:18:45 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress MU]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=32</guid>
		<description><![CDATA[I am using WordPress MU for a project that I am working on right now and I have run into and found a solution to a problem that seems to be plaguing the blogsphere. The sad thing is that the &#8230; <a href="http://bradleyland.net/2009/04/wordpress-mu-redirect-loop-during-install/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am using WordPress MU for a project that I am working on right now and I have run into and found a solution to a problem that seems to be plaguing the blogsphere. The sad thing is that the solution was already posted in the MU forums, but not given the proper attention. I am here to fix that.</p>
<p><strong>Problem Description</strong></p>
<p>When installing WPMU, if the installation is not completed because of a database issue, an endless loop will occur. This happens because the DB is not populated with the correct information, but the wp-config.php has already been written. Every time you hit the index.php, it tries to look at the DB and notices that the information is not there. Default behavior seems to be to try again, which has the same behavior as the first time through. Endless loop, here we come.</p>
<blockquote><p>Yeah, I know it is more complicated than that. I am trying to keep it simple.</p></blockquote>
<p>To be truthful, this was my fault for not having my DB permissions set up correctly during install.</p>
<p><strong>The Fix</strong></p>
<p>The simple way to resolve the issue is to rename or delete the wp-config.php that was generated during the first install. After this is done, reload the site and go through the install again. Make sure you have corrected the DB problem before you go through the install again.</p>
<p><strong>The Bitch</strong></p>
<p>While it was my fault that I had the DB permissions jacked up, the WPMU installer needs to be tweaked a bit to avoid this issue. If the DB stuff fails, we should probably avoid writing the wp-config.php with information that isn&#8217;t going to do a whole lot of good and will probably scare off someone that isn&#8217;t as determined as I am.</p>
<p>This is the part where I get comments and emails telling me to fix it if I am that worried about it. This is also the part where I tell you that I am not a programmer. I am an admin and an enthusiast. If I could fix it, I would damn well do it.</p>
<p>This is also the part where I explain that this isn&#8217;t a gripe against WordPress MU or WordPress in general. They are great tools. I am just trying to help someone that might be having the same problem I had.</p>
<p>Ok. That&#8217;s all. Go about your business.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2009/04/wordpress-mu-redirect-loop-during-install/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Native 64 bit Flash on Fedora 10</title>
		<link>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/</link>
		<comments>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 08:51:40 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[fedora 10]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://bradleyland.net/?p=12</guid>
		<description><![CDATA[I just read an article at http://spoilt.blogsite.org/ that went over how to install 32 bit Flash on both 32 bit and 64 bit versions of Fedora 10. It however didn&#8217;t mention the new 64 bit beta of Flash that Adobe &#8230; <a href="http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I just read an article at <a title="http://spoilt.blogsite.org/wordpress/index.php/2008/10/15/how-to-install-flash-10-on-fedora-9" href="http://spoilt.blogsite.org/wordpress/index.php/2008/10/15/how-to-install-flash-10-on-fedora-9" target="_blank">http://spoilt.blogsite.org/</a> that went over how to install 32 bit Flash on both 32 bit and 64 bit versions of Fedora 10. It however didn&#8217;t mention the new 64 bit beta of Flash that Adobe is testing.</p>
<blockquote><p>If you are already running 32 bit Flash in 64 bit Firefox, make sure you remove that before you install the 64 bit version of Flash. This goes for both the system-wide install or the single user installs.</p></blockquote>
<p>If you head to the <a title="64 Bit Flash in Linux" href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" target="_blank">Adobe Labs site</a>, you can snag the .tar.gz file that includes the flash plugin.</p>
<p>To uncompress the bugger:</p>
<p><em>tar -zxvf libflashplayer-10.0.d21.1.linux-x86_64.so.tar.gz<br />
</em></p>
<p>After that completes, you should have libflashplayer.so in the same directory as the .tar.gz file. This is where you need to choose how you would like to do the install. You can install this for your user only, or install it system-wide. If you would like to install system-wide, you will do the following:</p>
<p>Change the user and group associations for the file to root.</p>
<p><em>sudo chown root:root libflashplayer.so</em></p>
<p>Then change the permissions if need be to 755. (This may already be the default, but you should still check to be safe&#8230;)</p>
<p><em>sudo chmod 755 libflashplayer.so</em></p>
<p>Time to move the file to the worldwide plugins directory&#8230;</p>
<p><em>sudo cp libflashplayer.so /usr/lib64/mozilla/plugins</em></p>
<p>This should do it. You should be able to restart Firefox and start seeing flash in all of its native 64 bit glory!</p>
<p>As for those of you that might not have permissions to do a system-wide install, you can do the following.</p>
<p><em>cp libflashplayer.so ~/.mozilla/plugins</em></p>
<p>You don&#8217;t need to do any of those other steps besides decompressing the file and restarting Firefox.</p>
<p>I certainly hope this helps everyone out there dealing with the BS of having to get 32 bit Flash working on 64 bit Fedora. This should also work for just about any other distro out there. The locations might be changed, but everything is pretty much the same.</p>
]]></content:encoded>
			<wfw:commentRss>http://bradleyland.net/2008/12/native-64-bit-flash-on-fedora-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
