<?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 Geek</description>
	<lastBuildDate>Fri, 18 May 2012 12:48:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to delete all .svn folder in Linux</title>
		<link>http://www.lifeofapleskadmin.com/2012/05/how-to-delete-all-svn-folder-in-linux/</link>
		<comments>http://www.lifeofapleskadmin.com/2012/05/how-to-delete-all-svn-folder-in-linux/#comments</comments>
		<pubDate>Fri, 18 May 2012 12:47:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[svn]]></category>
		<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=379</guid>
		<description><![CDATA[To delete all .svn folder in Linux just follow the steps below:- Start Terminal change your current directory to your project folder (ex: /Users/me/Sites/project_a) type find ./ -name ".svn" &#124; xargs rm -Rf and enter. Done, all your .svn folder &#8230; <a href="http://www.lifeofapleskadmin.com/2012/05/how-to-delete-all-svn-folder-in-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To delete all .svn folder in Linux just follow the steps below:-</p>
<p>Start Terminal</p>
<p>change your current directory to your project folder (ex: /Users/me/Sites/project_a)</p>
<p>type</p>
<pre>find ./ -name ".svn" | xargs rm -Rf</pre>
<p>and enter.</p>
<p>Done, all your .svn folder has been deleted.</p>
<p>Source: <a href="http://www.techiecorner.com/154/how-to-delete-all-svn-folder-in-linux-mac/">http://www.techiecorner.com/154/how-to-delete-all-svn-folder-in-linux-mac/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2012/05/how-to-delete-all-svn-folder-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Disable Password Authentication for SSH</title>
		<link>http://www.lifeofapleskadmin.com/2012/05/how-to-disable-password-authentication-for-ssh/</link>
		<comments>http://www.lifeofapleskadmin.com/2012/05/how-to-disable-password-authentication-for-ssh/#comments</comments>
		<pubDate>Thu, 17 May 2012 19:48:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=377</guid>
		<description><![CDATA[Once you have SSH Keys configured, you can add some extra security to your server by disabling password authentication for SSH. (Note that if you do lose your private key, this will make the server inaccessible and you will need &#8230; <a href="http://www.lifeofapleskadmin.com/2012/05/how-to-disable-password-authentication-for-ssh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Once you have SSH Keys configured, you can add some extra security to your server by disabling password authentication for SSH. (Note that if you do lose your private key, this will make the server inaccessible and you will need to contact HostGator to have this re-enabled.)</p>
<p>To disable this setting, you can do the following:</p>
<pre>vi /etc/ssh/sshd_config</pre>
<p>In this file, set the following settings to the following values. If these settings are already in the file, set them to &#8220;no&#8221; rather than add new lines.</p>
<pre>ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no</pre>
<p>Once this is done, restart the SSH daemon to apply the settings.</p>
<pre>/etc/init.d/sshd restart</pre>
<p>Source: <a href="http://support.hostgator.com/articles/specialized-help/technical/how-to-disable-password-authentication-for-ssh">http://support.hostgator.com/articles/specialized-help/technical/how-to-disable-password-authentication-for-ssh</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2012/05/how-to-disable-password-authentication-for-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass update several rows in a MySQL database</title>
		<link>http://www.lifeofapleskadmin.com/2012/05/mass-update-several-rows-in-a-mysql-database/</link>
		<comments>http://www.lifeofapleskadmin.com/2012/05/mass-update-several-rows-in-a-mysql-database/#comments</comments>
		<pubDate>Mon, 07 May 2012 23:14:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=374</guid>
		<description><![CDATA[Will set all rows as enabled UPDATE Catalog SET Status='Enabled']]></description>
			<content:encoded><![CDATA[<p>Will set all rows as enabled</p>
<pre>UPDATE Catalog SET Status='Enabled'</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2012/05/mass-update-several-rows-in-a-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Do I Display the Contents of a Linux File?</title>
		<link>http://www.lifeofapleskadmin.com/2012/01/how-do-i-display-the-contents-of-a-linux-file/</link>
		<comments>http://www.lifeofapleskadmin.com/2012/01/how-do-i-display-the-contents-of-a-linux-file/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 18:11:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[unix / linux]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=369</guid>
		<description><![CDATA[$ cat filename The cat command (short for concatenate) shown in this example is like the DOS type command. In response to the command cat pig_info, the system simply splatters the file on the screen. If there is more data &#8230; <a href="http://www.lifeofapleskadmin.com/2012/01/how-do-i-display-the-contents-of-a-linux-file/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<pre>$ cat filename</pre>
<p>The cat command (short for concatenate) shown in this example is like the DOS type command. In response to the command cat pig_info, the system simply splatters the file on the screen. If there is more data in the file than will fit on one screen, the contents whiz by before you can see it. The more command solves this problem by displaying the file screen by screen:</p>
<pre>$ more filename</pre>
<p>Source: <a href="http://lowfatlinux.com/linux-display-files-cat.html">http://lowfatlinux.com/linux-display-files-cat.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2012/01/how-do-i-display-the-contents-of-a-linux-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable connecting remotely to mysql database on CentOS</title>
		<link>http://www.lifeofapleskadmin.com/2011/10/enable-connecting-remotely-to-mysql-database-on-centos/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/10/enable-connecting-remotely-to-mysql-database-on-centos/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 13:24:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=366</guid>
		<description><![CDATA[Edit file: /etc/my.cnf Comment out line: skip-networking So should look like this: #skip-networking Restart MySQL /etc/init.d/mysqld restart]]></description>
			<content:encoded><![CDATA[<p>Edit file:</p>
<pre>/etc/my.cnf</pre>
<p>Comment out line:</p>
<pre>skip-networking</pre>
<p>So should look like this:</p>
<pre>#skip-networking</pre>
<p>Restart MySQL</p>
<pre>/etc/init.d/mysqld restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/10/enable-connecting-remotely-to-mysql-database-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Start svn server</title>
		<link>http://www.lifeofapleskadmin.com/2011/10/start-svn-server/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/10/start-svn-server/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 20:14:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=354</guid>
		<description><![CDATA[svnserve -d]]></description>
			<content:encoded><![CDATA[<pre>svnserve -d
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/10/start-svn-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup a Proxy Server using Hamachi and Privoxy</title>
		<link>http://www.lifeofapleskadmin.com/2011/07/how-to-setup-a-proxy-server-using-hamachi-and-privoxy/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/07/how-to-setup-a-proxy-server-using-hamachi-and-privoxy/#comments</comments>
		<pubDate>Thu, 21 Jul 2011 14:21:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=350</guid>
		<description><![CDATA[What You’ll Need Always on Computer: This can be your at home desktop. It will be the computer you will install your proxy server on, create a tunnel to and securely browse the internet through. Hamachi: A free (for non-commercial &#8230; <a href="http://www.lifeofapleskadmin.com/2011/07/how-to-setup-a-proxy-server-using-hamachi-and-privoxy/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>What You’ll Need</strong></p>
<ul>
<li><strong>Always on Computer: </strong>This can be your at home desktop. It will be the computer you will install your proxy server on, create a tunnel to and securely browse the internet through.</li>
<li><strong><a href="https://secure.logmein.com/products/hamachi2/">Hamachi:</a></strong> A free (for non-commercial use), cross-platform VPN service that, gives you secure access to your home network no matter where you are.</li>
<li><strong><a href="http://www.privoxy.org/">Privoxy</a>:</strong> A free, easy to set up web proxy with advanced privacy features.</li>
</ul>
<p><strong> </strong></p>
<h2>Step One: Install and Set Up Hamachi</h2>
<p>The first thing you’ll want to do is install Hamachi on the computer that’s going to act as you proxy and on the computer(s) you want to browse securely on when you’re on a public network. For example, I’ve got Hamachi installed on my Windows desktop computer at home (which will act as my secure proxy), then also installed on my MacBook Air (which I’ll be using on public networks).</p>
<p><a href="http://pccured.com/Cures/wp-content/uploads/2011/03/proxyserver21.jpg"></a></p>
<p>Once you’ve installed and powered on Hamachi (the first time you launch it, you need to click to blue power button to “Power on”), you’ll need to create a new private network. To do so, click the Network menu, then select Create a new network. Give your network a unique ID and password (remember the password), then click Create. That’s all there is to setting up your new network.</p>
<p>Next, download and install Hamachi on your laptop or other machine. Again, power on Hamachi, but this time, instead of creating a new network, select Network &gt; Join an existing network, and then enter the Network ID and password you set up on the first machine.</p>
<p>Note: You can also create and manage your networks by signing into LogMeIn. For our purposes it’s not necessary, but it is a great way to further manage Hamachi.</p>
<p>You can rinse and repeat this on every machine you want to do this with, for up to 16 clients (that’s the limit for Hamachi’s free-for-non-commercial-use version). Now that you’re set up with Hamachi, it’s time to install Privoxy on your always-on home machine.</p>
<h2>Step 2: Install and Set Up Privoxy</h2>
<p>Privoxy is a free, open source web proxy that we’re going to install to your always-on home machine. So download Privoxy <a href="http://sourceforge.net/projects/ijbswa/files/">from Sourceforge</a> for your system and <a href="http://www.privoxy.org/user-manual/installation.html">install</a>. Privoxy is available for Windows, Mac, and Linux, so you should be able to find a download to fit your needs. For my example, I’m using Windows, which you can easily install by running through a regular old installer. Things may run slightly different on other systems, but it should be the same basic setup. If you need help, check <a href="http://www.privoxy.org/user-manual/installation.html">Privoxy’s installation page</a>.</p>
<p>After you’ve installed Privoxy, launch the application. (If you’re running a firewall, you may need to give it access to open a port.) In Windows, Privoxy loads as a blank window. Don’t worry, that doesn’t mean it isn’t working. In fact, you can close this window; Privoxy will still be running in your system tray.</p>
<p>Now it’s time to configure Privoxy to shuttle traffic through your Hamachi setup, so right-click Privoxy in the system tray and select Edit &gt; Main Configuration. Notepad will open with a text file called <code>config.txt</code>; this is Privoxy’s main configuration file. Press Ctrl+f and search for <code>listen-address 127.0.0.1:8118</code>. Comment out that code by entering # in front of it, then paste <code>listen-address</code> followed by the IP address created by Hamachi. You can see, for example, that my proxy is set to <code>listen-address 5.xxx.xxx.xx:8118</code>. Save <code>config.txt</code> and restart Privoxy.</p>
<h2>Step 3: Set Up Your Web Browser to Use Your New Secure Proxy</h2>
<p>Now you just need to set your browser to use the secure Hamachi+Privoxy proxy you’ve set up so far. This last step varies by browser, but I’ll walk through setting it up on Chrome or Firefox.</p>
<h3>ON CHROME</h3>
<ol>
<li>Install the <a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj">Proxy Switchy extension</a>. Once installed, it should automatically open a new tab with its options. (If it doesn’t, right-click the Proxy Switchy icon in your toolbar and select Options.)</li>
<li>Enter a profile name—something like Privoxy.</li>
<li>In the HTTP Proxy box under Manual Configuration, enter the Hamachi VPN IP address to the computer where you set up your proxy. Set the port to 8118. (Remember that you need Hamachi running on both computers when you want to use this proxy, and you can get the IP of any other computer on your Hamachi network by right-clicking the computer name and selecting Copy address.)</li>
<li>Click Save and you’re done.</li>
</ol>
<p>Whenever you want to browse using your secure proxy—whenever you hit your coffee shop, for example—just click the Proxy Switchy icon in Chrome, then select your Privoxy connection.</p>
<h3>ON FIREFOX</h3>
<ol>
<li>Open your Firefox preferences, then click on the Advanced tab. Click the Network tab, then the Settings button next to “Configure how Firefox connects to the Internet”.</li>
<li>Click Manual proxy configuration, then enter the IP address of your Hamachi-powered proxy server and 8118 as your port. (In my case, for example, I’d right click “Windows” in Hamachi and copy the address for the Windows computer.)</li>
<li>Click OK.</li>
</ol>
<h3>MAKE SURE IT’S WORKING</h3>
<p>To test that Privoxy is working, you can simply point your browser to<a href="http://config.privoxy.org/">http://config.privoxy.org/</a>. If it is, you’ll see a message like “This is Privoxy 3.0.17 on Windows (5.xxx.xxx.xx), port 8118, enabled.” If not, you’ll see a page that reads “Privoxy is not being used”. Also, if you’re on a public Wi-Fi connection and you navigate to something like <a href="http://www.whatismyip.com/">WhatIsMyIP.com</a> with your proxy turned off, you should see a different IP when you reload the page with your proxy turned on. (Essentially, when turned on, your home’s public IP address should be showing.)</p>
<p>Source: <a href="http://pccured.com/headquarters/how-to-setup-a-proxy-server-and-why/">http://pccured.com/headquarters/how-to-setup-a-proxy-server-and-why/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/07/how-to-setup-a-proxy-server-using-hamachi-and-privoxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find &amp; Replace Data in MySQL</title>
		<link>http://www.lifeofapleskadmin.com/2011/07/how-to-find-replace-data-in-mysql/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/07/how-to-find-replace-data-in-mysql/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 23:48:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=301</guid>
		<description><![CDATA[To find a string in a certain field and replace it with another string: update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]'); Source: http://www.mediacollege.com/computer/database/mysql/find-replace.html]]></description>
			<content:encoded><![CDATA[<p>To find a string in a certain field and replace it with another string:</p>
<pre>update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');</pre>
<p>Source: <a href="http://www.mediacollege.com/computer/database/mysql/find-replace.html">http://www.mediacollege.com/computer/database/mysql/find-replace.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/07/how-to-find-replace-data-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable Apache Module mod_authz_user</title>
		<link>http://www.lifeofapleskadmin.com/2011/04/enable-apache-module-mod_authz_user/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/04/enable-apache-module-mod_authz_user/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 00:18:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=293</guid>
		<description><![CDATA[This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site. mod_authz_user grants access if the authenticated user is listed in a Require user directive. Alternatively Require valid-user can be &#8230; <a href="http://www.lifeofapleskadmin.com/2011/04/enable-apache-module-mod_authz_user/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This module provides authorization capabilities so that authenticated users can be allowed or denied access to portions of the web site. mod_authz_user grants access if the authenticated user is listed in a Require user directive. Alternatively Require valid-user can be used to grant access to all successfully authenticated users.</p>
<p>Uncomment this line in /etc/httpd/conf/httpd.conf:</p>
<pre>LoadModule authz_user_module modules/mod_authz_user.so</pre>
<p>Then restart apache.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/04/enable-apache-module-mod_authz_user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup Proxy on WAMP server</title>
		<link>http://www.lifeofapleskadmin.com/2011/03/setup-proxy-on-wamp-server/</link>
		<comments>http://www.lifeofapleskadmin.com/2011/03/setup-proxy-on-wamp-server/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 00:34:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://www.lifeofapleskadmin.com/?p=245</guid>
		<description><![CDATA[Edit this file C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf]]></description>
			<content:encoded><![CDATA[<p>Edit this file</p>
<pre>C:\wamp\bin\apache\Apache2.2.11\conf\extra\httpd-vhosts.conf</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.lifeofapleskadmin.com/2011/03/setup-proxy-on-wamp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

