<?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>Wired Gorilla</title>
	<atom:link href="http://wiredgorilla.com.au/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiredgorilla.com.au</link>
	<description>Server - VPS - Web Hosting Info</description>
	<lastBuildDate>Sat, 03 Apr 2010 11:25:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Virtuozzo: Fixing Windows VPS Container Start Errors</title>
		<link>http://wiredgorilla.com.au/2010/03/virtuozzo-fixing-windows-vps-system-errors/</link>
		<comments>http://wiredgorilla.com.au/2010/03/virtuozzo-fixing-windows-vps-system-errors/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 01:53:49 +0000</pubDate>
		<dc:creator>jada</dc:creator>
				<category><![CDATA[Windows Tutorials]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[Virtuozzo]]></category>
		<category><![CDATA[Virtuozzo Admin]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server 2003]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=674</guid>
		<description><![CDATA[Due to the way the Virtuozzo virtualization platform works, all VPS containers are linked to the Host Node Operating System. For this reason, Windows updates are specifically disabled in Virtuozzo VPS Containers as any changes or updates to Windows System Files or Drivers, that differ from the host node can render the VPS Container unusable


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/unsuspend-plesk-domain-accounts/' rel='bookmark' title='Permanent Link: Unsuspend Plesk Domain Accounts'>Unsuspend Plesk Domain Accounts</a> <small>Occasionally Plesk can be a little temperamental and suspend accounts...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Due to the way the Virtuozzo virtualization platform works, all VPS containers are linked to the Host Node Operating System. For this reason, Windows updates are specifically disabled in Virtuozzo VPS Containers as any changes or updates to Windows System Files or Drivers, that differ from the host node can render the VPS Container unusable &#8211; All Windows Updates must be approved by SWSoft/Parallels and offered as Virtuozzo updates, which have to be applied on the Host Node.</p>
<p><span id="more-674"></span></p>
<p>Unfortunately, some users not familiar with Virtuozzo will often attempt to manually override the disabled Windows Update options, for example by downloading and manually installing Windows Updates. All will be fine until a container restart is attempted which will fail with the following errors or something similar:<br />
<strong><br />
Failed to start Virtual Private Server &#8217;21656&#8242;. System error 1:<br />
Virtuozzo API function call &#8216;VzkrnlStartVps&#8217; failed dwErr = 0x000004FB </strong></p>
<p>This generally means the VPS was updated using Windows update, as above &#8211; with Virtuozzo you can only install approved patches from SWSoft/Parallels (http://www.parallels.com)</p>
<p>In order to fix this, the easiest method would be to restore a recent VPS Container backup. However, this may not always be an option with users either having no backups, or backups which are out of date.</p>
<p>In order to begin fixing this, we will need to resynchronize the problem Container&#8217;s system files with that of the Host Node Operating System. If these file differs from the Host Node, the VPS Container simply cannot start ie. Copying the &#8220;c:\Windows\System32\drivers\&#8221; folder.</p>
<p>To do this you must log into the Virtuozzo Host Node via RDP, open a command prompt, and perform the following, which simply replaces what was patched/replaced with what the Host Node is using:</p>
<p><strong>copy c:\WINDOWS\system32\drivers\ c:\vz\privte\VEID\root\c\WINDOWS\system32\drivers\</strong></p>
<p>Where &#8220;VEID&#8221; is the VPS Container ID.</p>
<p>Now, because the VPS Container is down, Virtuozzo will most likely have unmounted the root file system for this container. Which means you will have to temporarily mount the file system in order to make changes to the file system, which you can perform with the following steps:</p>
<p>1) Make sure the container is stopped</p>
<p><strong>vzctl stop VEID</strong></p>
<p>You may also wish to backup the containers file system at this point eg. Do copy of  z:\vz\private\VEID\root.efd for emergency cases.</p>
<p>2) a) Mount the root.efd file</p>
<p><strong>vzdskctl mount z:\vz\private\VEID\root.efd GUID</strong> &#8211; making sure the root.efd path is correct for this container.</p>
<p>2) b) To obtain the container&#8217;s unique GUID required above:</p>
<p><strong>vzcfgt get VEID GUID </strong></p>
<p>This will return the unique GUID in the form &#8220;{799251BE-720C-468E-B877-913F49476001}&#8221;</p>
<p>3) Once the vzdskctl mount command returns &#8220;SUCCESS&#8221;, the file system for the container is mounted and you can copy the Windows System files over.</p>
<p>4) Once you&#8217;ve finished copying:</p>
<p><strong>vzdskctl umount GUID</strong></p>
<p>This will unmount the file system, so you can attempt to start the container again. However, you may also want to assimilate the VPS Container by running the following command from the Virtuozzo BIN folder (usually C:\Program Files\SWsoft\Virtuozzo\BIN):</p>
<p><strong>vzfsctl assimilate VEID</strong></p>
<p>Now to restart the container either via PIM or command line</p>
<p><strong>vzctl start VE</strong></p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/unsuspend-plesk-domain-accounts/' rel='bookmark' title='Permanent Link: Unsuspend Plesk Domain Accounts'>Unsuspend Plesk Domain Accounts</a> <small>Occasionally Plesk can be a little temperamental and suspend accounts...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2010/03/virtuozzo-fixing-windows-vps-system-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unsuspend Plesk Domain Accounts</title>
		<link>http://wiredgorilla.com.au/2010/02/unsuspend-plesk-domain-accounts/</link>
		<comments>http://wiredgorilla.com.au/2010/02/unsuspend-plesk-domain-accounts/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 23:09:10 +0000</pubDate>
		<dc:creator>jada</dc:creator>
				<category><![CDATA[Windows Tutorials]]></category>
		<category><![CDATA[Active]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Plesk]]></category>
		<category><![CDATA[Suspend]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[Unsuspend]]></category>
		<category><![CDATA[Windows Admin]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=670</guid>
		<description><![CDATA[Occasionally Plesk can be a little temperamental and suspend accounts over expired validity errors. Attempting to &#8220;unsuspend&#8221; the account from your Plesk control panel will generally fail, and you will need to activate the domain by force using the command line. In Windows, goto Start -&#62; Run and cd to your Plesk &#8220;bin&#8221; folder &#8211;


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Occasionally Plesk can be a little temperamental and suspend accounts over expired validity errors. Attempting to &#8220;unsuspend&#8221; the account from your Plesk control panel will generally fail, and you will need to activate the domain by force using the command line.</p>
<p>In Windows, goto Start -&gt; Run and cd to your Plesk &#8220;bin&#8221; folder &#8211; typically c:\Program Files\Parallels\Plesk\admin\bin</p>
<p>Then type the following:</p>
<p><span style="color: #800000;">domain.exe &#8211;on yourdomain.com</span></p>
<p>This can take a little while but you should see &#8220;SUCCESS, status of domain changed&#8221;, and the domain will again appear as &#8220;Active&#8221; from your Plesk Control Panel.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2010/02/unsuspend-plesk-domain-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rebuilding/Restarting Exim Mail Server</title>
		<link>http://wiredgorilla.com.au/2010/02/rebuildingrestarting-exim-mail-server/</link>
		<comments>http://wiredgorilla.com.au/2010/02/rebuildingrestarting-exim-mail-server/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 01:24:53 +0000</pubDate>
		<dc:creator>jada</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[Exim]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Restart]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=667</guid>
		<description><![CDATA[When troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If you need to restart or rebuild Exim, you can dump your databases * /etc/exim.conf * /var/spool/exim/db Which Exim just rebuilds automatically by issuing the following command via SSH: rm -fv /var/spool/exim/db/* Then to start Exim: /scripts/eximup &#8211;force No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>When troubleshooting the Exim log file:</p>
<p>tail -f /var/log/exim_mainlog</p>
<p>If you need to restart or rebuild Exim, you can dump your databases<br />
* /etc/exim.conf<br />
* /var/spool/exim/db</p>
<p>Which Exim just rebuilds automatically by issuing the following command via SSH:</p>
<p>rm -fv /var/spool/exim/db/*</p>
<p>Then to start Exim:</p>
<p>/scripts/eximup &#8211;force</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2010/02/rebuildingrestarting-exim-mail-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Server Type: Restoring MySQL SimLink.</title>
		<link>http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/</link>
		<comments>http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 07:08:04 +0000</pubDate>
		<dc:creator>jada</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Simlink]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=664</guid>
		<description><![CDATA[If you&#8217;re unable to restart mysqld and troubleshooting the cause: if u log into SSH and go to /tmp you may see that there is no simlink To create a simlink you can do the following: cd /var/lib/mysql/ touch mysql.sock chmod 1777 mysql.sock chown mysql.mysql mysql.sock Create a symlink for the sock file :- ln


No related posts.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re unable to restart mysqld and troubleshooting the cause: if u log into SSH and go to /tmp you may see that there is no simlink</p>
<p>To create a simlink you can do the following:</p>
<p>cd /var/lib/mysql/<br />
touch mysql.sock<br />
chmod 1777 mysql.sock<br />
chown mysql.mysql mysql.sock</p>
<p>Create a symlink for the sock file :-<br />
ln -s /var/lib/mysql/mysql.sock /tmp</p>
<p>Restart mysql :- service mysql restart</p>
<p>Then your MySQL service should be back to normal.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux server tip: force reboot/shutdown</title>
		<link>http://wiredgorilla.com.au/2009/04/linux-server-tip-force-rebootshutdown/</link>
		<comments>http://wiredgorilla.com.au/2009/04/linux-server-tip-force-rebootshutdown/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 15:31:05 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[cPanel Guidelines]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=661</guid>
		<description><![CDATA[Forcing reboot A Linux Server is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc, it’s


No related posts.]]></description>
			<content:encoded><![CDATA[<p><strong>Forcing reboot</strong></p>
<p>A Linux Server is not Windows XP and if reboot fail you usually still connect by SSH and do something. This commands will show you how to remotely hard reboot machine. Hard reboot mean that shutdown scripts will not run and machine reboot immediately without syncing hard disk drives, shutdown applications etc, it’s more like hitting the reset button.</p>
<p><span style="color: #ff0000;">echo 1 &gt; /proc/sys/kernel/sysrq</span></p>
<p><span style="color: #ff0000;"> echo b &gt; /proc/sysrq-trigger</span></p>
<p>This commands enable sysrq and after this calls fast reboot. If you want to force shutdown machine try this.</p>
<p><strong>Force shutdown</strong></p>
<p><span style="color: #ff0000;">echo 1 &gt; /proc/sys/kernel/sysrq</span></p>
<p><span style="color: #ff0000;"> echo o &gt; /proc/sysrq-trigger</span></p>
<p>This came handy, when I had a server that had some IO error and it can no longer read from disk, only few cached binaries into memory kept it running (kernel, SSHD, bash), I could still access the machine via SSH but can no longer do anything, forcing the reboot as mentioned above was my only resort, and it worked like charm…</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/04/linux-server-tip-force-rebootshutdown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Set Up A Load-Balanced MySQL Cluster With MySQL 5.1</title>
		<link>http://wiredgorilla.com.au/2009/04/set-loadbalanced-mysql-cluster-mysql-51/</link>
		<comments>http://wiredgorilla.com.au/2009/04/set-loadbalanced-mysql-cluster-mysql-51/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 01:05:47 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[load balance]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=657</guid>
		<description><![CDATA[This tutorial is based on Falko Timme&#8217;s tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an Ultra Monkey package which provides heartbeat (for checking if the other node is


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This tutorial is based on Falko Timme&#8217;s tutorial for MySQL Cluster 5.0. It shows how to configure a MySQL 5.1 cluster with five nodes: 1 x management, 2 x storage nodes and 2 x balancer nodes. This cluster is load-balanced by an Ultra Monkey package which provides heartbeat (for checking if the other node is still alive) and ldirectord (to split up the requests to the nodes of the MySQL cluster).<br />
<span id="more-657"></span></p>
<p>In this document I use Debian Etch 4.0 for all nodes. Therefore the setup might differ a bit for other distributions. The two data nodes were x64 to use all of the 8GB RAM. Servers were compiled from source so you should be able to make it running on any platform. The MySQL version I use in this setup is 5.1.24-rc. It&#8217;s a release candidate, but I wanted to use 5.1 to take advantage of Memory-Disk Based tables.</p>
<p>Beginning with MySQL 5.1.6, it is possible to store the non-indexed columns of NDB tables on disk, rather than in RAM as with previous versions of MySQL Cluster.[More here]</p>
<p>This howto is just a scratch to make it running, for many of you I am suggesting to read some off docs from MySQL page to be prepared to how manage the whole cluster and always know whats going on.</p>
<p>This document comes without warranty of any kind! Bare in mind you need to make tests and prepare your databases before using it in production mode.</p>
<p><a href="http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-mysql5.1">http://www.howtoforge.com/setting-up-a-loadbalanced-mysql-cluster-with-mysql5.1</a></p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/04/set-loadbalanced-mysql-cluster-mysql-51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to update Virtuozzo Node to the newest Kernel</title>
		<link>http://wiredgorilla.com.au/2009/04/update-virtuozzo-kernel/</link>
		<comments>http://wiredgorilla.com.au/2009/04/update-virtuozzo-kernel/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 13:38:57 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com.au/?p=654</guid>
		<description><![CDATA[Virtuozzo includes a utility to update itself and the included templates. To run this, you will need to ssh into the hardware node and execute the command: vzup2date In order to update the templates, add a -t to the command thusly: vzup2date -t It should be noted that if Virtuozzo is installed on the server,


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/03/virtuozzo-fixing-windows-vps-system-errors/' rel='bookmark' title='Permanent Link: Virtuozzo: Fixing Windows VPS Container Start Errors'>Virtuozzo: Fixing Windows VPS Container Start Errors</a> <small>Due to the way the Virtuozzo virtualization platform works, all...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Virtuozzo includes a utility to update itself and the included templates. To run this, you will need to ssh into the hardware node and execute the command:</p>
<p>vzup2date</p>
<p>In order to update the templates, add a -t to the command thusly:</p>
<p>vzup2date -t</p>
<p>It should be noted that if Virtuozzo is installed on the server, the standard Redhat up2date command should never be run.</p>
<p>If you are running Virtuozzo on a Windows server, then you can run the Virtuozzo update utility accessed through the Start menu.</p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/03/virtuozzo-fixing-windows-vps-system-errors/' rel='bookmark' title='Permanent Link: Virtuozzo: Fixing Windows VPS Container Start Errors'>Virtuozzo: Fixing Windows VPS Container Start Errors</a> <small>Due to the way the Virtuozzo virtualization platform works, all...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/04/update-virtuozzo-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-mail Alert on Root SSH Login</title>
		<link>http://wiredgorilla.com.au/2009/03/email-alert-root-ssh-login/</link>
		<comments>http://wiredgorilla.com.au/2009/03/email-alert-root-ssh-login/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 12:18:57 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=549</guid>
		<description><![CDATA[Want to be notified instantly when someone logs into your server as root? No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you&#8217;re dealing with the super user account. We recommend that you use an email


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Want to be notified instantly when someone logs into your server as root?</p>
<p>No problem, check out this nice tutorial on email notification for root logins. Keeping track of who logs into your server and when is very important, especially when you&#8217;re dealing with the super user account. We recommend that you use an email address not hosted on the server your sending the alert from</p>
<p><span id="more-549"></span></p>
<p><strong>1.</strong> Login to your server and su to root, I know the irony!</p>
<p><strong>2.</strong> <em>cd /root</em></p>
<p><strong>3.</strong> <em>pico .bashrc</em></p>
<p><strong>4.</strong> Scroll to the end of the file then add the following:<br />
<em>echo &#8216;ALERT &#8211; Root Shell Access (YourserverName) on:&#8217; `date` `who` | mail -s &#8220;Alert: Root Access from `who | cut -d&#8221;(&#8221; -f2 | cut -d&#8221;)&#8221; -f1`&#8221; </em><a href="mailto:%20%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20var%20prefix%20=%20%27ma%27%20+%20%27il%27%20+%20%27to%27;%20var%20path%20=%20%27hr%27%20+%20%27ef%27%20+%20%27=%27;%20var%20addy60775%20=%20%27you%27%20+%20%27@%27;%20addy60775%20=%20addy60775%20+%20%27yourdomain%27%20+%20%27.%27%20+%20%27com%27;%20document.write%28%20%27%3Ca%20%27%20+%20path%20+%20%27%5C%27%27%20+%20prefix%20+%20%27:%27%20+%20addy60775%20+%20%27%5C%27%3E%27%20%29;%20document.write%28%20addy60775%20%29;%20document.write%28%20%27%3C%5C/a%3E%27%20%29;%20//--%3E%5Cn%20%3C/script%3E%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20document.write%28%20%27%3Cspan%20style=%5C%27display:%20none;%5C%27%3E%27%20%29;%20//--%3E%20%3C/script%3EThis%20e-mail%20address%20is%20being%20protected%20from%20spam%20bots,%20you%20need%20JavaScript%20enabled%20to%20view%20it%20%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20document.write%28%20%27%3C/%27%20%29;%20document.write%28%20%27span%3E%27%20%29;%20//--%3E%20%3C/script%3E"><em> <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy60775 = 'y&amp;#111;&amp;#117;' + '&amp;#64;';
 addy60775 = addy60775 + 'y&amp;#111;&amp;#117;rd&amp;#111;m&amp;#97;&amp;#105;n' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy60775 + '\'&gt;' );
 document.write( addy60775 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script></em></a><em><a href="mailto:you@yourdomain.com">you@yourdomain.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span></em></p>
<p>Replace <em>YourServerName </em>with the handle for your actual server<br />
Replace <a href="mailto:%20%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20var%20prefix%20=%20%27ma%27%20+%20%27il%27%20+%20%27to%27;%20var%20path%20=%20%27hr%27%20+%20%27ef%27%20+%20%27=%27;%20var%20addy60775%20=%20%27you%27%20+%20%27@%27;%20addy60775%20=%20addy60775%20+%20%27yourdomain%27%20+%20%27.%27%20+%20%27com%27;%20document.write%28%20%27%3Ca%20%27%20+%20path%20+%20%27%5C%27%27%20+%20prefix%20+%20%27:%27%20+%20addy60775%20+%20%27%5C%27%3E%27%20%29;%20document.write%28%20addy60775%20%29;%20document.write%28%20%27%3C%5C/a%3E%27%20%29;%20//--%3E%5Cn%20%3C/script%3E%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20document.write%28%20%27%3Cspan%20style=%5C%27display:%20none;%5C%27%3E%27%20%29;%20//--%3E%20%3C/script%3EThis%20e-mail%20address%20is%20being%20protected%20from%20spam%20bots,%20you%20need%20JavaScript%20enabled%20to%20view%20it%20%3Cscript%20language=%27JavaScript%27%20type=%27text/javascript%27%3E%20%3C%21--%20document.write%28%20%27%3C/%27%20%29;%20document.write%28%20%27span%3E%27%20%29;%20//--%3E%20%3C/script%3E"><em> <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy60775 = 'y&amp;#111;&amp;#117;' + '&amp;#64;';
 addy60775 = addy60775 + 'y&amp;#111;&amp;#117;rd&amp;#111;m&amp;#97;&amp;#105;n' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy60775 + '\'&gt;' );
 document.write( addy60775 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script></em></a><em><a href="mailto:you@yourdomain.com">you@yourdomain.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span></em> with your actual email address</p>
<p><strong>5.</strong> <em>Crtl + X</em> then <em>Y</em></p>
<p><em></em>Now logout of SSH, close the connection?and log back in! You should receive an email address of the root login alert a few minutes afterwards.</p>
<p><strong>Note: </strong>This is a great tool for servers that have multiple admins or if you give someone SSH access for whatever reason, although you should give out the root password to as few people as humanly possible and be sure to change it often.</p>
<p>This will not magically alert you when a hacker runs the latest kernel exploit on your server and logs into SSH because they will create their own SSH/telnet connection. You should keep your system up to date, install a firewall and follow the latest security releases.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/email-alert-root-ssh-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turbo charging MySQL by setting up the query cache</title>
		<link>http://wiredgorilla.com.au/2009/03/turbo-charging-mysql-setting-query-cache/</link>
		<comments>http://wiredgorilla.com.au/2009/03/turbo-charging-mysql-setting-query-cache/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 12:06:06 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=532</guid>
		<description><![CDATA[To make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell command locate , in our case we are running on a CentOS 5.2  distro and to its my.cnf located in


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>To make sure MySQL uses the query cache, there are a few variables you need to set in the configuration file . Usually its my.cnf or my.ini so check on your server with the shell command locate , in our case we are running on a CentOS 5.2  distro and to its my.cnf located in /etc so we opened it by using :   <span style="color: #ff0000;">nano /etc/my.cnf </span></p>
<p><span id="more-532"></span></p>
<div>First, is the query_cache_type. There are three possible settings: 0 (for off, do not use), 1 (for on, cache queries) and 2 (on demand). To ensure it is always on, place:<em></em></div>
<div><span style="color: #ff0000;"><em>query-cache-type = 1</em></span></div>
<div>in the configuration file.</div>
<div>The query_cache_type is set to ON now. However, there is one more to set, and that is the query_cache_size. If set to 0 (the default), the cache will be disabled. This variable determines the memory, in bytes, used for the query cache. For our purposes, we will set it to 20 MB:</div>
<div><span style="color: #ff0000;"><em>query-cache-size = 20M</em></span></div>
<div>Hope that helped a little <img src='http://wiredgorilla.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And if you want to check out whats happening in the mySql cache just run this comand<br />
<em><br />
<span style="color: #ff0000;">mysql -e &#8220;SHOW STATUS LIKE &#8216;%qcache%&#8217;;&#8221;</span><br />
</em></div>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/turbo-charging-mysql-setting-query-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving mySQL DBs between servers</title>
		<link>http://wiredgorilla.com.au/2009/03/moving-mysql-dbs-servers/</link>
		<comments>http://wiredgorilla.com.au/2009/03/moving-mysql-dbs-servers/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 12:02:59 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=530</guid>
		<description><![CDATA[Moving mySQL DBs from one server to another: mysqldump -uUSER -pPASSWORD txp_database &#62; txp_database.sql puts the entire thing in one nicely portable text file. on a new server it takes mysql -uUSER -pPASSWORD txp_database &#60; txp_database.sql to import it. Related posts:Linux Server Type: Restoring MySQL SimLink. If you&#8217;re unable to restart mysqld and troubleshooting the


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Moving mySQL DBs from one server to another:</p>
<p><span style="color: #ff0000;">mysqldump -uUSER -pPASSWORD txp_database &gt; txp_database.sql </span></p>
<p>puts the entire thing in one nicely portable text file.</p>
<p>on a new server it takes</p>
<p><span style="color: #ff0000;">mysql -uUSER -pPASSWORD txp_database &lt; txp_database.sql </span></p>
<p>to import it.</p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/moving-mysql-dbs-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Cron Jobs Explained</title>
		<link>http://wiredgorilla.com.au/2009/03/linux-cron-jobs-explained/</link>
		<comments>http://wiredgorilla.com.au/2009/03/linux-cron-jobs-explained/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 11:59:26 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=527</guid>
		<description><![CDATA[Cron allows users to automate repetitive system administration tasks such as tape backups, database reorganization, and general file cleanups (such as emptying log files and queues). The Crontab File&#8217;s Syntax To tell cron what you want it to run, and how often you want it to run it, you need to create a crontab file.


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/rebuildingrestarting-exim-mail-server/' rel='bookmark' title='Permanent Link: Rebuilding/Restarting Exim Mail Server'>Rebuilding/Restarting Exim Mail Server</a> <small>When troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Cron allows users to automate repetitive system administration tasks such as tape  backups, database reorganization, and general file cleanups (such as emptying  log files and queues).</p>
<p>The Crontab File&#8217;s Syntax<br />
To tell cron what you want it to run, and how often you want it to run it, you    need to create a crontab file. A crontab file is just a text file with the following    syntax:</p>
<p><span id="more-527"></span></p>
<p>Code:</p>
<p>minute hour day-of-month month-of-year day-of-week command</p>
<p>Each of the above columns can be in one of the following formats (these examples    are for the minute column):<br />
30<br />
Run command at 30 minutes past the hour.</p>
<p>0-59/10<br />
Run command once every 10 minutes, for entire hour.</p>
<p>15-30<br />
Run command once every minute, from 15 to 30 minutes past the hour.</p>
<p>0,10,50<br />
Run command at 0 minutes past the hour, 10 minutes past the hour, and 50 minutes    past the hour.<br />
*<br />
Run command once every minute.</p>
<p>And here&#8217;s the range of numbers available for each of the time and date columns:<br />
Minute : 0-59<br />
Hour : 0-23<br />
day-of-month : 0-31<br />
month-of-year : 1-12<br />
day-of-week : 0-6<br />
(0=Sun, 1=Mon, 2=Tue, 3=Wed, 4=Thu, 5=Fri, 6=Sat)<br />
Here&#8217;s an example crontab file:</p>
<p>Code:</p>
<p>30 0 * * * ./backup.sh<br />
0,10,50 9-15 * * * ./compute.sh<br />
0-59/10 * * * 1,3,5 ./netgrab.sh<br />
30 0 * * * ./backup.sh</p>
<p>Run the backup.sh script (located in your home directory) at half-past (30)    midnight (0), on every day of the month (*), and every day of the year (*),    and every day of the week (*).<br />
0,10,50 9-15 * * * ./compute.sh</p>
<p>Run the compute.sh script every 0 minutes, 10 minutes, and 50 minutes past    the hours (0,10,50), between 9am and 5pm (9-15), every day of the year.</p>
<p>0-59/10 * * * 1,3,5 ./netgrab.sh</p>
<p>Run the netgrab.sh script every 10 minutes (0-59/10), every Monday, Wednesday,    and Friday (1,3,5).</p>
<p>Creating and Submitting Your Crontab File to Cron</p>
<p>There are two methods to create/modify and submit a crontab file:</p>
<p>Method 1<br />
Create a crontab file in a text editor. You can call it whatever you want and    save it wherever you like. Now you have to submit the crontab file. To do this    enter:<br />
crontab filename<br />
&#8230;replacing filename with the location and name of your crontab file e.g. if    the file was named crontab and was in your current directory you would enter:<br />
crontab crontab</p>
<p>Method 2</p>
<p>crontab -e<br />
To open your default editor (which is Vi). When saving the file just enter :wq    without specifying a Filename; to quit Vi, and automatically submit the crontab    file.</p>
<p>Note<br />
When you sumbit a file, a copy of it is stored in the /var/spool/cron directory,    with your username as the filename. So if I submitted the file mycron whilst    logged into the account laurence, a copy would be stored as /var/spool/cron/laurence.    It&#8217;s this file the cron daemon uses, and not the master file you created if    you used method 1. If you used Method 2 then only one copy of the file exists.    Never directly edit files in /var/spool/cron. Cron will not be updated and you    can potentially mess things up. Instead use either Method 1 or 2 again, to modify    your crontab file.</p>
<p>Listing and Removing Your Crontab File<br />
To display the contents of your crontab file held in the /var/spool/cron directory,    enter:<br />
crontab -l<br />
And to remove your crontab file from the /var/spool/cron directory, enter:<br />
crontab -r</p>
<p>Restricting Users<br />
By default only root can submit and modify a crontab file. To allow users to    have their own crontab file add their username to the /etc/cron.allow file,    e.g:<br />
john<br />
julie<br />
Indicating that john and julie are now permitted to submit their own crontab    file.</p>
<p>Putting Theory Into Practice<br />
Here&#8217;s a handy little automation exercise for you to try out. It will backup    the contents of your home directory to a .tar.gz file each morning at 2.30a.m.<br />
If you haven&#8217;t already done so, enter:<br />
su -c &#8216;pico /etc/cron.allow&#8217;<br />
&#8230;and add your username to this file to allow you to submit crontab files.<br />
/ 1<br />
If you&#8217;re not already in your home directory, enter:<br />
cd<br />
/ 2<br />
Enter:<br />
pico backup<br />
&#8230;and enter the following:<br />
rm backup.tar.gz<br />
tar cfz backup.tar.gz .<br />
&#8230;then press Ctrl+o to save the file, and Ctrl+x to exit.</p>
<p>/ 3 -<br />
Now make the script executable by entering:<br />
chmod +x backup</p>
<p>/4 -<br />
Enter:<br />
crontab -e</p>
<p>/ 5 -<br />
Press i to enter Insert mode and enter the following:</p>
<p>30 2 * * * ./backup</p>
<p>&#8230;then press Esc to return to Command mode, and enter:<br />
:wq<br />
&#8230;to exit Vi and submit your crontab file. That&#8217;s all there is to it. Now you    can spend hours thinking of bigger and better ways to make your life as a system    administrator an easy one.</p>
<p>If you don&#8217;t have access to cron, consult your local admin. And<br />
remember, in shell you can access the cron manual by doing :</p>
<p>man cron<br />
Or<br />
man crontab</p>
<p>Some good additional links:</p>
<p>1. http://www.clockwatchers.com/cron_main.html<br />
2. http://www.linuxforums.org/tutorial&#8230;orial-4017.html</p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/rebuildingrestarting-exim-mail-server/' rel='bookmark' title='Permanent Link: Rebuilding/Restarting Exim Mail Server'>Rebuilding/Restarting Exim Mail Server</a> <small>When troubleshooting the Exim log file: tail -f /var/log/exim_mainlog If...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/linux-cron-jobs-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking backup of mysql database using cron</title>
		<link>http://wiredgorilla.com.au/2009/03/backup-mysql-database-cron/</link>
		<comments>http://wiredgorilla.com.au/2009/03/backup-mysql-database-cron/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 11:56:38 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=522</guid>
		<description><![CDATA[Taking backup of mysql database using cron Create a file called database_backup.sh and also an empty directory called mysql_backup. The database_backup.sh script should have the following info : &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- #!/bin/sh date=`date &#8216;+%m-%d-%y&#8217;` mysqldump -u database_username -pdatabase_password database_name &#62; ~/mysql_backup/database_name.$date &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Run the script that performs the backup job. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- * 23 * * * your_userid


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Taking backup of mysql database using cron</p>
<p>Create a file called database_backup.sh and also an empty directory called mysql_backup.  The database_backup.sh script should have the following info :</p>
<p><span id="more-522"></span></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
#!/bin/sh</p>
<p>date=`date &#8216;+%m-%d-%y&#8217;`<br />
mysqldump -u database_username -pdatabase_password database_name &gt; ~/mysql_backup/database_name.$date<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Run the script that performs the backup job.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
* 23 * * * your_userid /path/to/backup/script<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Set this script up to run every night, etc. as a cron job. It will save an    sql dump of your database every night in the mysql_backup.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/backup-mysql-database-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PRM (Process Resource Monitoring) in Linux Servers</title>
		<link>http://wiredgorilla.com.au/2009/03/prm-process-resource-monitoring-linux-servers/</link>
		<comments>http://wiredgorilla.com.au/2009/03/prm-process-resource-monitoring-linux-servers/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:05:09 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=440</guid>
		<description><![CDATA[The great people from R-FX Networks are bringing us a number of powerfull tools for the Linux Server enviroment PRM (Process Resource Monitoring) monitors the process table on a given system and matches process id&#8217;s with set resource limits in the config file or per-process based rules. Process id&#8217;s that match or exceed the set


No related posts.]]></description>
			<content:encoded><![CDATA[<p>The great people from R-FX Networks are bringing us a number of powerfull tools for the Linux Server enviroment</p>
<p><span style="color: #000000;"> PRM (Process Resource Monitoring)</span> monitors the process table on a given system and matches process id&#8217;s with set resource limits in the config file or per-process based rules. Process id&#8217;s that match or exceed the set limits are logged and killed; includes e-mail alerts, kernel logging routine and more&#8230;</p>
<p><span id="more-440"></span></p>
<p class="style33"><strong>Installation:</strong></p>
<p class="style33">First  the package:<br />
<span style="color: #0000ff;">wget http://www.rfxnetworks.com/downloads/prm-current.tar.gz</span></p>
<p class="style33">Extract it:</p>
<p class="style33"><span style="color: #0000ff;">tar xvfz prm-current.tar.gz</span></p>
<p class="style33">The current version of prm as of this writing is 0.5, so lets cd to the 0.5 extracted path:<br />
<span style="color: #0000ff;">cd prm-0.5/</span></p>
<p class="style33">And finally run the enclosed install.sh script:<br />
<span style="color: #0000ff;">./install.sh</span></p>
<p>Download the current release of PRM distributed under the <a href="http://www3.wiredgorilla.com/COPYING.GPL" target="_blank">GNU GENERAL PUBLIC LICENSE</a>:<br />
<strong><a href="http://www.r-fx.ca/downloads/prm-current.tar.gz" target="_blank">- http://www.r-fx.ca/downloads/prm-current.tar.gz </a></strong></p>
<p>All projects on rfxnetworks.com are free for use and distribution in accordance with the <a href="http://www3.wiredgorilla.com/COPYING.GPL" target="_blank">gnu gpl</a>; funding for the continued development and research into this and other projects, is solely dependent on public contributions and donations.</p>
<p><a href="http://www.rfxnetworks.com/index.php" target="_blank">R-FX Networks </a><br />
ReadMe<br />
<a href="http://www3.wiredgorilla.com/appdocs/README.prm" target="_blank">http://www.rfxnetworks.com/appdocs/README.prm</a><br />
Version History:<br />
<a href="http://www3.wiredgorilla.com/appdocs/CHANGELOG.prm" target="_blank">http://www.rfxnetworks.com/appdocs/CHANGELOG.prm</a></p>
<hr />


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/prm-process-resource-monitoring-linux-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Reset your Linux Root Password</title>
		<link>http://wiredgorilla.com.au/2009/03/reset-linux-root-password/</link>
		<comments>http://wiredgorilla.com.au/2009/03/reset-linux-root-password/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 12:02:45 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=434</guid>
		<description><![CDATA[Whenever you can&#8217;t remember Root password, you can read this tutorial and do step by step to Reset it &#8230; You can log in with single-user mode and create a new root password. Reboot your computer. When GRUB is presenting the menu list, follow those instructions: use the arrows to select the boot entry you


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Whenever you can&#8217;t remember <span style="font-weight: bold;">Root password</span>, you can read this tutorial and do step by step to Reset it &#8230;    <span class="fullpost">You can log in with single-user mode and create a new root password.<br />
Reboot your computer. When GRUB is presenting the menu list, follow those instructions:</span></p>
<p><span class="fullpost"><span id="more-434"></span></span></p>
<ul>
<li><span class="fullpost">use the arrows to select the boot entry you want to 	modify</span></li>
<li><span class="fullpost">press <span style="color: #ff0000;"><strong>e</strong></span> to edit the entry</span></li>
<li><span class="fullpost">use the arrows to go to kernel line</span></li>
<li><span class="fullpost">press <strong><span style="color: #ff0000;">e </span></strong>to edit this entry</span></li>
<li><span class="fullpost">at the end of the line add the word <span style="font-weight: bold;"><span style="color: #ff0000;">single </span>(there should be a space between like  / single) </span></span></li>
<li><span class="fullpost">press ENTER to go back to the parent menu</span></li>
<li><span class="fullpost">press <strong><span style="color: #ff0000;">b</span></strong> to boot this kernel</span></li>
</ul>
<p><span class="fullpost"><br />
As root, changing password <span style="font-weight: bold;">does not ask for your old password</span>. Now, you can change root&#8217;s password by typing:</span></p>
<p>bash# <span style="font-weight: bold; color: #ff0000;">passwd</span><span style="color: #ff0000;"> root</span></p>
<p>You&#8217;ll be asked to re-type the password for verification. Once you&#8217;re finished, the password will be changed and you can reboot by typing <span style="font-weight: bold; color: #ff0000;">shutdown -r</span> now at the prompt; then you can log in to root as before</p>
<h2><span style="font-size: 12pt;">My boot loader is LILO</span></h2>
<p>At LILO boot loader type linux single and press [ENTER] key:<br />
<code>Boot: <span style="color: #ff0000;"><strong>linux single</strong></span></code><br />
When you get the # prompt you will need to type passwd root to reset password:<br />
<code># <span style="color: #ff0000;">passwd</span></code><br />
Reboot system:<br />
<code># <span style="color: #ff0000;">sync</span><br />
# <span style="color: #ff0000;">reboot</span></code></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/reset-linux-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS &#8211; what happened to netconfig in 5.1</title>
		<link>http://wiredgorilla.com.au/2009/03/centos-happened-netconfig-51/</link>
		<comments>http://wiredgorilla.com.au/2009/03/centos-happened-netconfig-51/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 07:33:12 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=427</guid>
		<description><![CDATA[For whatever reason CentOS decided to drop netconfig and renamed it to system-config-network No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>For whatever reason CentOS decided to drop netconfig and renamed it to</p>
<pre><span style="font-size: 12pt; font-family: arial,helvetica,sans-serif; color: #ff0000;">system-config-network</span></pre>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/centos-happened-netconfig-51/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common SSH Commands and Linux Shell Commands</title>
		<link>http://wiredgorilla.com.au/2009/03/common-ssh-commands-linux-shell-commands/</link>
		<comments>http://wiredgorilla.com.au/2009/03/common-ssh-commands-linux-shell-commands/#comments</comments>
		<pubDate>Thu, 26 Mar 2009 07:30:20 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=425</guid>
		<description><![CDATA[We&#8217;ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This guide will continue to be updated and should not be considered a complete list of SSH commands or linux shell


No related posts.]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve put together some of the more frequently used SSH commands or linux shell commands, and organized them by name so you can easily find a command, their description and how to use it. This guide will continue to be updated and should not be considered a complete list of SSH commands or linux shell commands, but commands, we found, often used. If you would like to add to this guide, please email us and let us know.</p>
<p><span id="more-425"></span></p>
<p>Common SSH Commands or Linux Shell Commands,<br />
ls : list files/directories in a directory, comparable to dir in windows/dos.<br />
ls -al : shows all files (including ones that start with a period), directories,    and details attributes for each file.</p>
<p>cd : change directory ? ? cd /usr/local/apache : go to /usr/local/apache/    directory<br />
cd ~ : go to your home directory<br />
cd &#8211; : go to the last directory you were in<br />
cd .. : go up a directory cat : print file contents to the screen</p>
<p>cat filename.txt : cat the contents of filename.txt to your screen</p>
<p>tail : like cat, but only reads the end of the file<br />
tail /var/log/messages : see the last 20 (by default) lines of /var/log/messages<br />
tail -f /var/log/messages : watch the file continuously, while it&#8217;s being updated<br />
tail -200 /var/log/messages : print the last 200 lines of the file to the screen</p>
<p>more : like cat, but opens the file one screen at a time rather than all at    once<br />
more /etc/userdomains : browse through the userdomains file. hit to go to the    next page, to quit</p>
<p>pico : friendly, easy to use file editor<br />
pico /home/burst/public_html/index.html : edit the index page for the user&#8217;s    website.</p>
<p>vi : another editor, tons of features, harder to use at first than pico<br />
vi /home/burst/public_html/index.html : edit the index page for the user&#8217;s website.</p>
<p>grep : looks for patterns in files<br />
grep root /etc/passwd : shows all matches of root in /etc/passwd<br />
grep -v root /etc/passwd : shows all lines that do not match root</p>
<p>touch : create an empty file<br />
touch /home/burst/public_html/404.html : create an empty file called 404.html    in the directory /home/burst/public_html/</p>
<p>ln : create&#8217;s &#8220;links&#8221; between files and directories<br />
ln -s /usr/local/apache/conf/httpd.conf /etc/httpd.conf : Now you can edit /etc/httpd.conf    rather than the original. changes will affect the orginal, however you can delete    the link and it will not delete the original.</p>
<p>rm : delete a file<br />
rm filename.txt : deletes filename.txt, will more than likely ask if you really    want to delete it<br />
rm -f filename.txt : deletes filename.txt, will not ask for confirmation before    deleting.<br />
rm -rf tmp/ : recursively deletes the directory tmp, and all files in it, including    subdirectories. BE VERY CAREFULL WITH THIS COMMAND!!!</p>
<p>last : shows who logged in and when<br />
last -20 : shows only the last 20 logins<br />
last -20 -a : shows last 20 logins, with the hostname in the last field</p>
<p>w : shows who is currently logged in and where they are logged in from.</p>
<p>netstat : shows all current network connections.<br />
netstat -an : shows all connections to the server, the source and destination    ips and ports.<br />
netstat -rn : shows routing table for all ips bound to the server.</p>
<p>top : shows live system processes in a nice table, memory information, uptime    and other useful info. This is excellent for managing your system processes,    resources and ensure everything is working fine and your server isn&#8217;t bogged    down.<br />
top then type Shift + M to sort by memory usage or Shift + P to sort by CPU    usage</p>
<p>ps: ps is short for process status, which is similar to the top command. It&#8217;s    used to show currently running processes and their PID.<br />
A process ID is a unique number that identifies a process, with that you can    kill or terminate a running program on your server (see kill command).<br />
ps U username : shows processes for a certain user<br />
ps aux : shows all system processes<br />
ps aux &#8211;forest : shows all system processes like the above but organizes in    a hierarchy that&#8217;s very useful!</p>
<p>file : attempts to guess what type of file a file is by looking at it&#8217;s content.<br />
file * : prints out a list of all files/directories in a directory</p>
<p>du : shows disk usage.<br />
du -sh : shows a summary, in human-readble form, of total disk space used in    the current directory, including subdirectories.<br />
du -sh * : same thing, but for each file and directory. helpful when finding    large files taking up space.</p>
<p>wc : word count<br />
wc -l filename.txt : tells how many lines are in filename.txt</p>
<p>cp : copy a file<br />
cp filename filename.backup : copies filename to filename.backup<br />
cp -a /home/burst/new_design/* /home/burst/public_html/ : copies all files,    retaining permissions form one directory to another.</p>
<p>kill: terminate a system process<br />
kill -9 PID EG: kill -9 431<br />
kill PID EG: kill 10550<br />
Use top or ps ux to get system PIDs (Process IDs)</p>
<p>EG:<br />
PID TTY TIME COMMAND<br />
10550 pts/3 0:01 /bin/csh</p>
<p>10574 pts/4 0:02 /bin/csh</p>
<p>10590 pts/4 0:09 APP</p>
<p>Each line represents one process, with a process being loosely defined as a    running instance of a program. The column headed PID (process ID) shows the    assigned process numbers of the processes. The heading COMMAND shows the location    of the executed process.</p>
<p>Putting commands together<br />
Often you will find you need to use different commands on the same line. Here    are some examples. Note that the | character is called a pipe, it takes date    from one program and pipes it to another.<br />
&gt; means create a new file, overwriting any content already there.<br />
&gt;&gt; means tp append data to a file, creating a newone if it doesn not already    exist.<br />
&lt; send input from a file back into a command.</p>
<p>grep User /usr/local/apache/conf/httpd.conf |more<br />
This will dump all lines that match User from the httpd.conf, then print the    results to your screen one page at a time.</p>
<p>last -a &gt; /root/lastlogins.tmp<br />
This will print all the current login history to a file called lastlogins.tmp    in /root/</p>
<p>tail -10000 /var/log/exim_mainlog |grep domain.com |more<br />
This will grab the last 10,000 lines from /var/log/exim_mainlog, find all occurances    of domain.com (the period represents &#8216;anything&#8217;,<br />
&#8211; comment it out with a so it will be interpretted literally), then send it    to your screen page by page.</p>
<p>netstat -an |grep :80 |wc -l<br />
Show how many active connections there are to apache (httpd runs on port 80)</p>
<p>mysqladmin processlist |wc -l<br />
Show how many current open connections there are to mysql</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/common-ssh-commands-linux-shell-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The old JavaScript cPanel Server exploit</title>
		<link>http://wiredgorilla.com.au/2009/03/javascript-cpanel-server-exploit/</link>
		<comments>http://wiredgorilla.com.au/2009/03/javascript-cpanel-server-exploit/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 12:03:58 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=437</guid>
		<description><![CDATA[The Javascript exploit has been an old saga on a few Linux distros running cPanel and Plesk . The compromise is at the root level and a rootkit has been installed. This rootkit will attach to several syscalls within the kernel and begin serving malicious javascript to random web visitors. This root compromise is not


No related posts.]]></description>
			<content:encoded><![CDATA[<p>The Javascript exploit has been an old saga on a few Linux distros running cPanel and Plesk .</p>
<p>The compromise is at the root level and a rootkit has been installed. This  rootkit will attach to several syscalls within the kernel and begin serving  malicious javascript to random web visitors.</p>
<p>This root compromise is not  related to cPanel directly, as it has been reported on many different control  panels on many different servers. The compromise is at the system level, and  only Redhat 4, CentOS 4, and FC6 appear to be vulnerable at this time. We are  actively researching this issue and will have an in-depth analysis of current  information posted soon.<span id="more-437"></span></p>
<p><a href="http://forums.cpanel.net/showthread.php?t=74963&amp;page=10&amp;highlight=centos5" target="_blank">http://forums.cpanel.net/showthread.php?t=74963&amp;page=10&amp;highlight=centos5</a></p>
<div id="post_message_348485">The easiest way to confirm the compromise is to attempt to make a directory with  a numerical name. Run &#8216;mkdir 1&#8242; or &#8216;touch 2&#8242;. If this fails with an error  similar to the errors below, then it&#8217;s recommended to contact your datacenter,  NOC or a qualified admin who can recover the system properly.</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 0px; overflow: auto; width: 640px; height: 98px; text-align: left;" dir="ltr">[root\@cpanel ~]# mkdir 1
mkdir: cannot create directory `1': No such file or directory
[root\@cpanel ~]# touch 2
touch: cannot touch `2': No such file or directory</pre>
</div>
</div>
<div>__________________</div>
<div id="post_message_351361">These attacks have started slowing down as the  attackers behind this know the heat is on. They appear to be changing a few  parts of the attack to make it much harder to notice. If anyone feels they are  infected, please run the tcpdump command below to briefly watch the web requests  for the javascript being served.</div>
<div id="post_message_351361">More details can be found at <a href="http://www.cpanel.net/security/notes/random_js_toolkit.html" target="_blank">http://www.cpanel.net/security/notes&#8230;s_toolkit.html</a></div>
<div id="post_message_351361">
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 0px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">tcpdump -nAs 2048 src port 80 | grep "[a-zA-Z]\{5\}\.js'"</pre>
</div>
<p>This  command on a server infected by this specific rootkit will result in something  similar to:</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Code:</div>
<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 0px; overflow: auto; width: 640px; height: 146px; text-align: left;" dir="ltr">root@server log]# tcpdump -nAs 2048 src port 80 | grep "[a-zA-Z]\{5\}\.js'"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 2048 bytes
&lt;script language='JavaScript' type='text/javascript' src='ateyc.js'&gt;&lt;/script&gt;
&lt;script language='JavaScript' type='text/javascript' src='taopp.js'&gt;&lt;/script&gt;
1311 packets captured
2627 packets received by filter
0 packets dropped by kernel</pre>
</div>
</div>
<div>__________________<br />
Todd Shipway<br />
cPanel Technical Support</div>
<div>Another is to check your outgoing packets,</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Quote:</div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tcpdump  			-nAs 2048 src port 80 | grep &#8220;[a-zA-Z]\{5\}\.js&#8217;&#8221;</td>
</tr>
</tbody>
</table>
</div>
<p>For older  versions of tcpdump (Such as the ones provided with RHEL3/centOS3)</p>
<div style="margin: 5px 20px 20px;">
<div class="smallfont" style="margin-bottom: 2px;">Quote:</div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tbody>
<tr>
<td class="alt2" style="border: 1px inset;">tcpdump  			-XX -ns 2048 src port 80 | grep &#8220;[a-zA-Z]\{5\}\.js&#8217;&#8221;</td>
</tr>
</tbody>
</table>
</div>
<p>The  grsecurity fix people are mentioning does <strong>not</strong> remove this, it simply  stops it from writing to /dev/mem (or /dev/kmem depending on what is available)  however the second you boot out of this kernel you are likely to be vulnerable  again.</p>
<p>The rootkit itself is rather simple in terms of how it actually  functions, it uses common binaries as listed in the article (there’s another  binary not listed from the older variants of this [that don't prevent the  numbers at the start of file names/directories]). Replacing those binaries in  the manner suggested is not the safest option and there is not always a copy,  you should replace these from the binaries from your distribution. In the  particular case it’s actually rather easy to do , simply remove the attributes  to the files, remove the files themselves(not needed, but do it anyway) and then  reinstalled the RPM’s (As this is always on an RPM based distribution) there’s  only 3 rpm’s that are needed to be reinstalled.</p>
<p>Lastly, if you are not  comfortable working with the kernel/debuggers then <strong>HIRE A QUALIFIED  ADMINISTRATOR</strong> there’s plenty of them out there</div>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/03/javascript-cpanel-server-exploit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.1 Server Setup: LAMP, Email, DNS, FTP, ISPConfig (a.k.a. The Perfect Server)</title>
		<link>http://wiredgorilla.com.au/2009/02/centos-51-server-setup-lamp-email-dns-ftp-ispconfig-aka-perfect-server/</link>
		<comments>http://wiredgorilla.com.au/2009/02/centos-51-server-setup-lamp-email-dns-ftp-ispconfig-aka-perfect-server/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 12:06:18 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=443</guid>
		<description><![CDATA[This tutorial shows how to set up a CentOS 5.1 based server that offers all services needed by ISPs and web hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of


Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This tutorial shows how to set up a <strong>CentOS 5.1</strong> based server that offers all services needed by ISPs and web hosters: Apache web server (SSL-capable), Postfix mail server with SMTP-AUTH and TLS, BIND DNS server, Proftpd FTP server, MySQL server, Dovecot POP3/IMAP, Quota, Firewall, etc. This tutorial is written for the 32-bit version of CentOS 5.1, but should apply to the 64-bit version with very little modifications as well.</p>
<p><span id="more-443"></span></p>
<p>I will use the following software:</p>
<blockquote>
<ul>
<li>Web Server: Apache 2.2 with PHP 5.1.6</li>
<li>Database Server: MySQL 5.0</li>
<li>Mail Server: Postfix</li>
<li>DNS Server: BIND9 (chrooted)</li>
<li>FTP Server: Proftpd</li>
<li>POP3/IMAP server: Dovecot</li>
<li>Webalizer for web site statistics</li>
</ul>
</blockquote>
<p>In the end you should have a system that works reliably, and if you like you can install the free webhosting control panel <a href="http://www.ispconfig.org/" target="_blank">ISPConfig</a> (i.e., ISPConfig runs on it out of the box).</p>
<p>I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!</p>
<p><a href="http://www.howtoforge.com/centos-5.1-server-lamp-email-dns-ftp-ispconfig" target="_blank">Read the full article here</a></p>


<p>Related posts:<ol><li><a href='http://wiredgorilla.com.au/2010/02/linux-server-type-restoring-mysql-simlink/' rel='bookmark' title='Permanent Link: Linux Server Type: Restoring MySQL SimLink.'>Linux Server Type: Restoring MySQL SimLink.</a> <small>If you&#8217;re unable to restart mysqld and troubleshooting the cause:...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/02/centos-51-server-setup-lamp-email-dns-ftp-ispconfig-aka-perfect-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install mod_gzip on a Linux server</title>
		<link>http://wiredgorilla.com.au/2009/01/install-modgzip-linux-server/</link>
		<comments>http://wiredgorilla.com.au/2009/01/install-modgzip-linux-server/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 12:17:24 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Techno Babble]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=546</guid>
		<description><![CDATA[This guide will show you how to install mod_gzip on your Linux server mod_gzip &#8211; what&#8217;s that, anyway? mod_gzip &#8211; serving compressed content by the Apache webserver mod_gzip is an external extension module for the WWW&#8217;s most popular web server Apache, created in autumn, 2000. Its implementation allows for using the compression method gzip for


No related posts.]]></description>
			<content:encoded><![CDATA[<p>This guide will show you how to install mod_gzip on your Linux server</p>
<h2><span style="font-family: Arial,Helvetica,sans-serif; font-size: small;"><strong>mod_gzip &#8211; what&#8217;s    that, anyway?</strong></span></h2>
<p>mod_gzip &#8211; serving compressed content by the Apache webserver<br />
mod_gzip is an external extension module for the WWW&#8217;s most popular web server    Apache, created in autumn, 2000.<br />
Its implementation allows for using the compression method gzip for a significant    reduction of the volume of web page content served over the HTTP protocol.</p>
<p><span id="more-546"></span>If you are having difficulties with getting mod_gzip to work when compiled with using easyapache, then you can go and use this step by step manual install.</p>
<p>Log into you server using shell and your root account and download mod_gzip-1.3.26.1a.tgz    (or whatever the latest version) from sourceforge.net</p>
<p>I used</p>
<p><span style="color: #0000ff;">wget http://optusnet.dl.sourceforge.net/sourceforge/mod-gzip/mod_gzip-1.3.26.1a.tgz</span><br />
after that</p>
<p><span style="color: #0000ff;">tar -zxvf mod_gzip-1.3.26.1a.tgz<br />
cd mod_gzip-1.3.26.1a</span></p>
<p><span style="color: #0000ff;">make APXS=/usr/local/apache/bin/apxs<br />
make install APXS=/usr/local/apache/bin/apxs</span></p>
<p>Then edit your httpd.conf file</p>
<p><span style="color: #0000ff;">pico /etc/httpd/conf/httpd.conf </span></p>
<p>and add the following (in the AddModule stuff):</p>
<p>first uncomment:</p>
<p><span style="color: #0000ff;">#LoadModule gzip_module libexec/mod_gzip.so</span><br />
to<br />
<span style="color: #0000ff;">LoadModule gzip_module libexec/mod_gzip.so</span></p>
<p>and</p>
<p><span style="color: #0000ff;">#AddModule mod_gzip.c</span><br />
to<br />
<span style="color: #0000ff;">AddModule mod_gzip.c</span></p>
<p>and after AddModule mod_gzip.c add this below</p>
<p><span style="color: #0000ff;">&lt;IfModule mod_gzip.c&gt;<br />
mod_gzip_on Yes<br />
mod_gzip_can_negotiate Yes<br />
mod_gzip_static_suffix .gz<br />
AddEncoding gzip .gz<br />
mod_gzip_update_static No<br />
mod_gzip_command_version &#8216;/mod_gzip_status&#8217;<br />
mod_gzip_temp_dir /tmp<br />
mod_gzip_keep_workfiles No<br />
mod_gzip_minimum_file_size 500<br />
mod_gzip_maximum_file_size 500000<br />
mod_gzip_maximum_inmem_size 60000<br />
mod_gzip_min_http 1000<br />
mod_gzip_handle_methods GET POST<br />
mod_gzip_item_exclude reqheader &#8220;User-agent: Mozilla/4.0[678]&#8221;<br />
mod_gzip_item_include file \.html$<br />
mod_gzip_item_include file \.shtml$<br />
mod_gzip_item_include file \.htm$<br />
mod_gzip_item_include file \.shtm$<br />
mod_gzip_item_include file \.php$<br />
mod_gzip_item_include file \.phtml$<br />
mod_gzip_item_exclude file \.js$<br />
mod_gzip_item_exclude file \.css$<br />
mod_gzip_item_exclude file \.wml$<br />
mod_gzip_item_include file \.pl$<br />
mod_gzip_item_include file \.cgi$<br />
mod_gzip_item_include handler ^cgi-script$<br />
mod_gzip_item_include mime ^text/html$<br />
mod_gzip_item_include mime ^text/plain$<br />
mod_gzip_item_include mime ^httpd/unix-directory$<br />
mod_gzip_item_include mime ^application/x-httpd-php<br />
mod_gzip_item_include handler ^perl-script$<br />
mod_gzip_item_exclude mime ^image/<br />
mod_gzip_dechunk Yes<br />
mod_gzip_add_header_count Yes<br />
mod_gzip_send_vary Yes<br />
&lt;/IfModule&gt;</span></p>
<p>Then restart apache with</p>
<p><span style="color: #0000ff;">service httpd restart</span></p>
<p>That&#8217;s about it. There is nothing too typical about installtion and getting    it to work, except for in cases where one is using mod_proxy also for proxying    a back-end httpd in which case mod_gzip would fail because of a bug. Other than    that it works fine.</p>
<p>Compiled tutorial with info from Anup <img src='http://wiredgorilla.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh, and nearly forgot; you can check if you have successfully installed gZip by going here :  <a href="http://leknor.com/code/gziped.php?url=http%3A%2F%2Fwiredgorilla.com%2Fmain%2Findex.php" target="blank">http://leknor.com/code/gziped.php?</a></p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/01/install-modgzip-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving large files from one linux server to your new linux server</title>
		<link>http://wiredgorilla.com.au/2009/01/moving-large-files-linux-server-linux-server/</link>
		<comments>http://wiredgorilla.com.au/2009/01/moving-large-files-linux-server-linux-server/#comments</comments>
		<pubDate>Mon, 26 Jan 2009 12:12:40 +0000</pubDate>
		<dc:creator>wiredgorilla</dc:creator>
				<category><![CDATA[Linux Tutorials]]></category>

		<guid isPermaLink="false">http://wiredgorilla.com/?p=449</guid>
		<description><![CDATA[Ok, so you like to move your 3 gig backup from your old server to your new server, but the the good old wget command is not doing the trick? There is an easy way around with the scp command Log into your old server where you want to move that big tar file from


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Ok, so you like to move your 3 gig backup from your old server to your new server, but the the good old <span style="color: #ff0000;">wget </span>command is not doing the trick?</p>
<p>There is an easy way around with the <span style="color: #ff0000;">scp </span>command</p>
<p><span id="more-449"></span></p>
<p>Log into your old server where you want to move that big tar file from and</p>
<blockquote><p><span style="color: #ff0000;">scp </span><span style="color: #3366ff;">yourlarge3gigfile.tgz   <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy45584 = 'r&amp;#111;&amp;#111;t' + '&amp;#64;';
 addy45584 = addy45584 + 'n&amp;#101;ws&amp;#101;rv&amp;#101;rIP' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy45584 + '\'&gt;' );
 document.write( addy45584 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script><a href="mailto:root@newserverIP.com">root@newserverIP.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span>:/home/</span><br />
(enter the 	root pass for the <span class="highlight">new</span> <span class="highlight">server</span> and let it copy the file over)</p></blockquote>
<p>If you run SSH on a different port (that is, not the default port 22) and you need to scp then it can be done by:</p>
<blockquote><p><span style="color: #3366ff;"><span style="color: #ff0000;">scp </span>-P &lt;port&gt; yourlarge3gigfile.tgz   <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy45584 = 'r&amp;#111;&amp;#111;t' + '&amp;#64;';
 addy45584 = addy45584 + 'n&amp;#101;ws&amp;#101;rv&amp;#101;rIP' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy45584 + '\'&gt;' );
 document.write( addy45584 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script><a href="mailto:root@newserverIP.com">root@newserverIP.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span>:/home/</span></p></blockquote>
<p>For example, if your ssh/scp is on port 2000 then:</p>
<blockquote><p><span style="color: #3366ff;"><span style="color: #ff0000;">scp </span>-P 2000 yourlarge3gigfile.tgz   <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy45584 = 'r&amp;#111;&amp;#111;t' + '&amp;#64;';
 addy45584 = addy45584 + 'n&amp;#101;ws&amp;#101;rv&amp;#101;rIP' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy45584 + '\'&gt;' );
 document.write( addy45584 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script><a href="mailto:root@newserverIP.com">root@newserverIP.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span>:/home/</span></p></blockquote>
<p>the above command will connect to scp/ssh port 2000 and copy the file to the remote user&#8217;s home directory in the remote server.</p>
<p>If you use SSH key based authentication then when you scp, scp will not ask for user&#8217;s password. It will copy your file to the remote server using your ssh private key. Example,</p>
<blockquote><p><span style="color: #3366ff;"><span style="color: #ff0000;">scp </span>-i your_private_key yourlarge3gigfile.tgz   <script type="text/javascript"><!--
 &lt;! 
 var prefix = '&amp;#109;a' + 'i&amp;#108;' + '&amp;#116;o';
 var path = 'hr' + 'ef' + '=';
 var addy45584 = 'r&amp;#111;&amp;#111;t' + '&amp;#64;';
 addy45584 = addy45584 + 'n&amp;#101;ws&amp;#101;rv&amp;#101;rIP' + '&amp;#46;' + 'c&amp;#111;m';
 document.write( '&lt;a ' + path + '\'' + prefix + ':' + addy45584 + '\'&gt;' );
 document.write( addy45584 );
 document.write( '&lt;\/a&gt;' );
 // &gt;\n
// --></script><a href="mailto:root@newserverIP.com">root@newserverIP.com</a><script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;span style=\'display: none;\'&gt;' );
 // &gt;</p>
<p>// --></script><span style="display: none;">This e-mail address is being protected from spam bots, you need JavaScript enabled to view it  <script type="text/javascript"><!--
 &lt;! 
 document.write( '&lt;/' );
 document.write( 'span&gt;' );
 // &gt;</p>
<p>// --></script></span>:/home/</span></p></blockquote>
<p>the above command will use your ssh private key and copy the file (file.txt) in the remote_user&#8217;s home directory.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://wiredgorilla.com.au/2009/01/moving-large-files-linux-server-linux-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 1.075 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2010-09-03 20:23:03 -->
