<?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>Life of a Plesk Admin</title>
	<atom:link href="http://www.lifeofapleskadmin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifeofapleskadmin.com</link>
	<description>Where i go for for [ insert word ]</description>
	<lastBuildDate>Fri, 16 Jul 2010 20:17:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Restart Apache</title>
		<link>http://www.lifeofapleskadmin.com/2010/07/restart-php/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/07/restart-php/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 20:16:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=209</guid>
		<description><![CDATA[sudo /etc/init.d/apache2 restart
]]></description>
			<content:encoded><![CDATA[<pre>sudo /etc/init.d/apache2 restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/07/restart-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit file in gedit</title>
		<link>http://www.lifeofapleskadmin.com/2010/07/edit-file-in-gedit/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/07/edit-file-in-gedit/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 20:16:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=207</guid>
		<description><![CDATA[sudo gedit /some/path/filename.php
]]></description>
			<content:encoded><![CDATA[<pre>sudo gedit /some/path/filename.php</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/07/edit-file-in-gedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow external connections to MySQL server on Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2010/05/allow-external-connections-to-mysql-server-on-plesk/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/05/allow-external-connections-to-mysql-server-on-plesk/#comments</comments>
		<pubDate>Thu, 27 May 2010 22:49:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=203</guid>
		<description><![CDATA[Comment out &#8220;skip-networking parameter&#8221; in /etc/my.cnf
]]></description>
			<content:encoded><![CDATA[<p>Comment out &#8220;skip-networking parameter&#8221; in /etc/my.cnf</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/05/allow-external-connections-to-mysql-server-on-plesk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using s3sync.rb to synchronize files to/from Amazon</title>
		<link>http://www.lifeofapleskadmin.com/2010/05/using-s3sync-to-synchronize-files-tofrom-amazon/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/05/using-s3sync-to-synchronize-files-tofrom-amazon/#comments</comments>
		<pubDate>Mon, 24 May 2010 03:41:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Amazon]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=198</guid>
		<description><![CDATA[Examples:
&#8212;&#8212;&#8212;
(using S3 bucket &#8216;mybucket&#8217; and prefix &#8216;pre&#8217;)
Put the local etc directory itself into S3
s3sync.rb  -r  /etc  mybucket:pre
(This will yield S3 keys named  pre/etc/&#8230;)
Put the contents of the local /etc dir into S3, rename dir:
s3sync.rb  -r  /etc/  mybucket:pre/etcbackup
(This will yield S3 keys named  pre/etcbackup/&#8230;)
Put contents of S3 &#8220;directory&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Examples:<br />
&#8212;&#8212;&#8212;<br />
(using S3 bucket &#8216;mybucket&#8217; and prefix &#8216;pre&#8217;)</p>
<p>Put the local etc directory itself into S3</p>
<pre>s3sync.rb  -r  /etc  mybucket:pre</pre>
<p>(This will yield S3 keys named  pre/etc/&#8230;)</p>
<p>Put the contents of the local /etc dir into S3, rename dir:</p>
<pre>s3sync.rb  -r  /etc/  mybucket:pre/etcbackup</pre>
<p>(This will yield S3 keys named  pre/etcbackup/&#8230;)</p>
<p>Put contents of S3 &#8220;directory&#8221; etc into local dir</p>
<pre>s3sync.rb  -r  mybucket:pre/etc/  /root/etcrestore</pre>
<p>(This will yield local files at  /root/etcrestore/&#8230;)</p>
<p>Put the contents of S3 &#8220;directory&#8221; etc into a local dir named etc</p>
<pre>s3sync.rb  -r  mybucket:pre/etc  /root</pre>
<p>(This will yield local files at  /root/etc/&#8230;)</p>
<p>Put S3 nodes under the key pre/etc/ to the local dir etcrestore<br />
**and create local dirs even if S3 side lacks dir nodes**</p>
<pre>s3sync.rb  -r  --make-dirs  mybucket:pre/etc/  /root/etcrestore</pre>
<p>(This will yield local files at  /root/etcrestore/&#8230;)</p>
<p>Source: <a href="http://s3.amazonaws.com/ServEdge_pub/s3sync/README.txt">http://s3.amazonaws.com/ServEdge_pub/s3sync/README.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/05/using-s3sync-to-synchronize-files-tofrom-amazon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create .htaccess file on a WAMP System</title>
		<link>http://www.lifeofapleskadmin.com/2010/03/create-htaccess-file-on-a-wamp-system/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/03/create-htaccess-file-on-a-wamp-system/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 09:07:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=195</guid>
		<description><![CDATA[If you are creating a new passwd file:
 C:\wamp\bin\apache\Apache2.2.11\bin\htpasswd.exe -c passfile username
If your are editing and existing password file:
 C:\wamp\bin\apache\Apache2.2.11\bin\htpasswd.exe passfile username
.htaccess contents:
AuthType Basic
require valid-user
Satisfy all
AuthUserFile C:/webroot/passwdfile
AuthName "My Secret Folder"
Move the created pass file to the desired location. and add a .htaccess file to the folder you want to protect and then gracefully restart apache.
This is done through the [...]]]></description>
			<content:encoded><![CDATA[<p>If you are creating a new passwd file:</p>
<pre> C:\wamp\bin\apache\Apache2.2.11\bin\htpasswd.exe -c passfile username</pre>
<p>If your are editing and existing password file:</p>
<pre> C:\wamp\bin\apache\Apache2.2.11\bin\htpasswd.exe passfile username</pre>
<p>.htaccess contents:</p>
<pre>AuthType Basic
require valid-user
Satisfy all
AuthUserFile C:/webroot/passwdfile
AuthName "My Secret Folder"</pre>
<p>Move the created pass file to the desired location. and add a .htaccess file to the folder you want to protect and then gracefully restart apache.</p>
<p>This is done through the wamp system tray icon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/03/create-htaccess-file-on-a-wamp-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easily find or search files or directories</title>
		<link>http://www.lifeofapleskadmin.com/2010/02/easily-find-or-search-files-or-directories/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/02/easily-find-or-search-files-or-directories/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 00:02:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=190</guid>
		<description><![CDATA[To search the current directory and all subdirectories for a folder or file, use the following command:
find . -name filename
Source: http://www.tech-recipes.com/rx/976/unixlinux-easily-find-or-search-files-or-directories/
]]></description>
			<content:encoded><![CDATA[<p>To search the current directory and all subdirectories for a folder or file, use the following command:</p>
<pre>find . -name filename</pre>
<p>Source: <a href="http://www.tech-recipes.com/rx/976/unixlinux-easily-find-or-search-files-or-directories/">http://www.tech-recipes.com/rx/976/unixlinux-easily-find-or-search-files-or-directories/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/02/easily-find-or-search-files-or-directories/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Extract list of email accounts from Plesk that have a mailbox and no redirect</title>
		<link>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/</link>
		<comments>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 20:35:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=183</guid>
		<description><![CDATA[
SELECT mail.mail_name, domains.name
FROM domains
LEFT JOIN mail ON domains.id = mail.dom_id
LEFT JOIN DomainServices ON domains.id = DomainServices.dom_id
WHERE mail.postbox =  'true'
AND mail.mail_group =  'false'
AND DomainServices.type =  'mail'
AND DomainServices.status =  '0'
]]></description>
			<content:encoded><![CDATA[<pre>
SELECT mail.mail_name, domains.name
FROM domains
LEFT JOIN mail ON domains.id = mail.dom_id
LEFT JOIN DomainServices ON domains.id = DomainServices.dom_id
WHERE mail.postbox =  'true'
AND mail.mail_group =  'false'
AND DomainServices.type =  'mail'
AND DomainServices.status =  '0'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2010/02/extract-list-of-email-accounts-from-plesk-that-have-a-mailbox-and-no-redirect/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Create .htaccess restricted login</title>
		<link>http://www.lifeofapleskadmin.com/2009/12/create-htaccess-restricted-login/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/12/create-htaccess-restricted-login/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 17:35:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=180</guid>
		<description><![CDATA[Go here http://tools.dynamicdrive.com/password/
]]></description>
			<content:encoded><![CDATA[<p>Go here <a href="http://tools.dynamicdrive.com/password/">http://tools.dynamicdrive.com/password/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/12/create-htaccess-restricted-login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Grep UID in Plesk from Qmail log</title>
		<link>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 12:33:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>
		<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=167</guid>
		<description><![CDATA[Click on the header link in the mail server queue:
Received: (qmail 30501 invoked by uid 10077); 3 Dec 2009 21:47:42 -0500
Date: 3 Dec 2009 21:47:42 -0500
Message-ID: &#60;20091204024742.30498.qmail@hostserver.com&#62;
To: email@domain.com
Subject: This is a test.
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: &#60;user@domain.com&#62;
It says its invoked by uid 10077 which corresponds to the account on the /etc/password file:
-bash-3.2# more /etc/passwd &#124; grep [...]]]></description>
			<content:encoded><![CDATA[<p>Click on the header link in the mail server queue:</p>
<pre>Received: (qmail 30501 invoked by uid <strong>10077</strong>); 3 Dec 2009 21:47:42 -0500
Date: 3 Dec 2009 21:47:42 -0500
Message-ID: &lt;20091204024742.30498.qmail@hostserver.com&gt;
To: email@domain.com
Subject: This is a test.
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
From: &lt;user@domain.com&gt;</pre>
<p>It says its invoked by uid 10077 which corresponds to the account on the /etc/password file:</p>
<pre>-bash-3.2# more /etc/passwd | grep <strong>10077</strong>
username:x:10077:2522::/var/www/vhosts/domain.com:/bin/false</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/12/grep-uid-in-plesk-from-qmail-log/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Limit to Postini IP Range in Plesk</title>
		<link>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/</link>
		<comments>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 20:41:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[plesk]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=164</guid>
		<description><![CDATA[
Login to Plesk and go to SYSTEM -&#62; MODULES -&#62; FIREWALL
Choose Add Custom Rule
Enter in a rule name
Choose what direction to match, in this case, incoming
Choose ALLOW
Enter in port 25
Leave as TCP
Press ADD
Enter in 74.125.148.0/22 in the five boxes, the fifth box being the 22 (no slash)
Press ADD
Press OK

That rule will accept Postini&#8217;s block. Then, [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Login to Plesk and go to SYSTEM -&gt; MODULES -&gt; FIREWALL</li>
<li>Choose Add Custom Rule</li>
<li>Enter in a rule name</li>
<li>Choose what direction to match, in this case, incoming</li>
<li>Choose ALLOW</li>
<li>Enter in port 25</li>
<li>Leave as TCP</li>
<li>Press ADD</li>
<li>Enter in 74.125.148.0/22 in the five boxes, the fifth box being the 22 (no slash)</li>
<li>Press ADD</li>
<li>Press OK</li>
</ul>
<p>That rule will accept Postini&#8217;s block. Then, to block the rest of the email:</p>
<ul>
<li>Choose Add Custom Rule</li>
<li>Enter in a rule name</li>
<li>Choose incoming</li>
<li>Choose DENY</li>
<li>Enter in port 25 and press ADD</li>
<li>Leave the network space blank</li>
<li>Press OK</li>
</ul>
<p>It is important that you have the rules in this order, otherwise all email will be denied. Ensure that the ALLOW is above the DENY in the display list when you are done, then commit the changes.</p>
<p>Source: <a href="http://www.experts-exchange.com/OS/Linux/Q_24418022.html">http://www.experts-exchange.com/OS/Linux/Q_24418022.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2009/12/limit-to-postini-ip-range-in-plesk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
