<?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>The Linux Noob</title>
	<atom:link href="http://thelinuxnoob.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thelinuxnoob.com</link>
	<description>Fixin' issues one ticket at a time!</description>
	<lastBuildDate>Wed, 28 Jul 2010 16:51:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>cPHulk Brute Force Detection</title>
		<link>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/</link>
		<comments>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 16:48:22 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=149</guid>
		<description><![CDATA[Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here&#8217;s a quick and easy way to get your access back when receiving this error message. This account is currently locked out because a brute force attempt  was detected. Please wait]]></description>
			<content:encoded><![CDATA[<p>Ever run into issues with typing in your root password, or forgot what you set it to, then got locked out of WHM? Well, here&#8217;s a quick and easy way to get your access back when receiving this error message.</p>
<blockquote><p>This account is currently locked out because a brute force attempt  was detected. Please wait 10 minutes and try again. Attempting to login again will only increase this delay. If you frequently experience this problem, we recommend having your username changed to something less generic.</p></blockquote>
<p>Run the following as root in SSH.</p>
<pre dir="ltr">mysql cphulkd
mysql&gt; delete from brutes;
mysql&gt; delete from logins;</pre>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/cphulk-brute-force-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A few OpenVZ commands</title>
		<link>http://thelinuxnoob.com/linux/a-few-openvz-commands/</link>
		<comments>http://thelinuxnoob.com/linux/a-few-openvz-commands/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 02:16:18 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[openvz]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=138</guid>
		<description><![CDATA[Below are the commonly used OpenVZ commands, which are run from the main node. vzlist -a Shows list of all the VPS’s hosted on the Node. vzctl start VEID To start the VPS vzctl stop VEID To stop (Shut Down) the VPS vzctl status VEID To view the status of the particular VPS vzctl stop]]></description>
			<content:encoded><![CDATA[<p>Below are the commonly used OpenVZ commands, which are run from the main node.</p>
<p><strong>vzlist -a</strong><br />
Shows list of all the VPS’s hosted on the Node.</p>
<p><strong>vzctl start VEID</strong><br />
To start the VPS</p>
<p><strong>vzctl stop VEID</strong><br />
To stop (Shut Down) the VPS</p>
<p><strong>vzctl status VEID</strong><br />
To view the status of the particular VPS</p>
<p><strong>vzctl stop VEID –fast</strong><br />
To stop the VPS quickly and forcefully</p>
<p><strong>vzctl enter VEID</strong><br />
To enter in a particular VPS</p>
<p><strong>vzctl set VEID –hostname vps.domain.com –save</strong><br />
To set the Hostname of a VPS</p>
<p><strong>vzctl set VEID –ipadd 1.2.3.4 –save</strong><br />
To add a new IP to the hosting VPS</p>
<p><strong>vzctl set VEID –ipdel 1.2.3.4 –save</strong><br />
To delete the IP from VPS</p>
<p><strong>vzctl set VEID –userpasswd root:new_password –save</strong><br />
To reset root password of a VPS</p>
<p><strong>vzctl set VEID –nameserver 1.2.3.4 –save</strong><br />
To add the nameserver IP’s to the VPS</p>
<p><strong>vzctl exec VEID command</strong><br />
To run any command on a VPS from Node</p>
<p><strong>vzyum VEID install package_name </strong><br />
To install any package/Software on a VPS from Node</p>
<p>**VEID refers to the ID of the Particular VPS**</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/a-few-openvz-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel 11.25.0 Stable released</title>
		<link>http://thelinuxnoob.com/cpanel/cpanel-11-25-0-stable-released/</link>
		<comments>http://thelinuxnoob.com/cpanel/cpanel-11-25-0-stable-released/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 20:13:04 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=133</guid>
		<description><![CDATA[Taken from cPanel&#8217;s news bulletin. As you know, 11.25 has added a host of new features and functionality to cPanel &#038; WHM. Tonight, 11.25 makes it to our STABLE builds. We will have additional technical staff on hand for the next few days to ensure the transition goes as smoothly as possible. As always, should]]></description>
			<content:encoded><![CDATA[<p>Taken from cPanel&#8217;s news bulletin.</p>
<blockquote><p>As you know, 11.25 has added a host of new features and functionality to cPanel &#038; WHM.  Tonight, 11.25 makes it to our STABLE builds.  We will have additional technical staff on hand for the next few days to ensure the transition goes as smoothly as possible.</p>
<p>As always, should you need anything, the entire cPanel staff is here to help!</p>
<p>There have been some enhancements to the methods that cPanel uses to process log files that may result in undesired behavior with some system configurations.</p>
<p>Graceful Restarts:</p>
<p>If you are experiencing a high volume of graceful restarts in Apache due to log file rotation you may want to enable the Piped Log feature as follows:</p>
<p>* You must have root access to enable this feature.</p>
<p>* You must be running Apache 2.0 or later to enable this feature (not supported for Apache 1.x)</p>
<p>* Only available on 11.25.0 and later.</p>
<p>1. Login to WHM</p>
<p>2. Click /Service Configuration/</p>
<p>3. Click /Apache Configuration/</p>
<p>4. Click /Piped Log Configuration/</p>
<p>5. Check the box labeled /Enable piped Apache logs/</p>
<p>6. Click the Save button</p>
<p>This will cause your Apache configuration file to be rebuilt and Apache to be restarted.</p>
<p>More complete information about Piped Log can be viewed here:</p>
<p>http://forums.cpanel.net/f5/cpanel-11-25-log-processing-145417.html</p>
<p>An additional requirement for our enhanced log file processing is a larger disk space requirement inside of the /var partition.  Upon upgrading to 11.25.0 if cPanel detects that your /var partition is too small it will disable bandwidth stats processing until the space requirement is remedied. If there is inadequate space in /var, notification is set to the level 1 notification targets as specified in WHM&#8217;s Contact Manager.</p>
<p>To re-enable:</p>
<p>1. Symlink /var/cpanel/bandwidth to a partition with sufficient space</p>
<p>2. Remove the file /etc/rrdtooldisable</p>
<p>3. Re-run upcp</p>
<p>Customers who need assistance with the update may contact cPanel support for assistance via</p>
<p>https://tickets.cpanel.net/submit/index.cgi?step=2&#038;reqtype=tickets&#038;product=cpwhm</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/cpanel-11-25-0-stable-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/var/log/omgitsanupdate</title>
		<link>http://thelinuxnoob.com/tln-com/varlogomgitsanupdate/</link>
		<comments>http://thelinuxnoob.com/tln-com/varlogomgitsanupdate/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 11:28:41 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[TLN.com]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=129</guid>
		<description><![CDATA[No&#8230;that&#8217;s not really a log file&#8230;yes I did update the site. As you may notice there is now a /var/ link in the navigation, which lists files and folders in this directory along with some descriptions. More files and explanations will come with future updates]]></description>
			<content:encoded><![CDATA[<p>No&#8230;that&#8217;s not really a log file&#8230;yes I did update the site. As you may notice there is now a /<a href="http://thelinuxnoob.com/var/" target="_blank">var</a>/ link in the navigation, which lists files and folders in this directory along with some descriptions. More files and explanations will come with future updates <img src='http://thelinuxnoob.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/tln-com/varlogomgitsanupdate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long hiatus&#8230;</title>
		<link>http://thelinuxnoob.com/tln-com/long-hiatus/</link>
		<comments>http://thelinuxnoob.com/tln-com/long-hiatus/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 18:55:41 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[TLN.com]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=123</guid>
		<description><![CDATA[I apologize to all of my readers, as I&#8217;ve realized that I slacked off quite a bit on keeping this blog updated&#8230;well that&#8217;s going to change. As you can see the ugly dark design is gone, and has been replaced with a cleaner design. I&#8217;m also in the process of updating the &#8216;About&#8217; and &#8216;cPanel]]></description>
			<content:encoded><![CDATA[<p>I apologize to all of my readers, as I&#8217;ve realized that I slacked off quite a bit on keeping this blog updated&#8230;well that&#8217;s going to change. As you can see the ugly dark design is gone, and has been replaced with a cleaner design. I&#8217;m also in the process of updating the &#8216;About&#8217; and &#8216;cPanel Introduction&#8217; pages, both of which need work especially the cPanel page, since it&#8217;s a complete mess and a pain to navigate. Be sure to check back for these changes in the next few days!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/tln-com/long-hiatus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup/Restore a cPanel Account</title>
		<link>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/</link>
		<comments>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 06:08:15 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=86</guid>
		<description><![CDATA[Previous Post: WHM Scripts Now we&#8217;re going to start looking into some of those SSH commands.  Today we&#8217;ll be going over the commands pkgacct and restorepkg. Backing up and restoring cPanel account&#8217;s is, in my opinion, faster by using the command line as you don&#8217;t have to wait for a sometimes sluggish web interface to]]></description>
			<content:encoded><![CDATA[<p>Previous Post: <a href="http://thelinuxnoob.com/cpanel/whm-scripts/">WHM Scripts</a></p>
<p>Now we&#8217;re going to start looking into some of those SSH commands.  Today we&#8217;ll be going over the commands pkgacct and restorepkg.</p>
<p>Backing up and restoring cPanel account&#8217;s is, in my opinion, faster by using the command line as you don&#8217;t have to wait for a sometimes sluggish web interface to load.</p>
<p>Let&#8217;s get started then, shall we?<span id="more-86"></span></p>
<div>
<p><span id="more-48"> </span></p>
<p>1. Login to your server as root via SSH.</p>
<blockquote><p>root@lolwut [~]#</p></blockquote>
<p>2. Type: /scripts/pkgacct username (replace username with the acount username you wish to backup)</p>
<blockquote><p>root@lolwut [~]# /scripts/pkgacct clayton</p></blockquote>
<p>3. Now you&#8217;ll (hopefully) see something like this on your SSH screen:</p>
<blockquote><p>Copying Reseller Config…Done<br />
Copying Mail files….Done<br />
Copying proftpd file….Done<br />
Copying www logs…Done<br />
Grabbing mysql dbs…Done<br />
Grabbing mysql privs…Done<br />
Copying mailman lists….Done<br />
Copying mailman archives….Done<br />
Copying homedir….Done</p></blockquote>
<p>4. There should now be a file in that users /home/ directory named &#8220;cpmove-username.tar.gz&#8221; where &#8220;username&#8221; is the username you specified in Step #3.</p>
<p>5. Download the cpmove-username.tar.gz and save it. (You can use your FTP software to login to the server and download the file)</p>
<p>Now we&#8217;re going to restore the backup we just made.</p>
<p>1. Upload cpmove-username.tar.gz to the webserver’s /home directory.<br />
(You can use your FTP software to login to the server and upload the file)</p>
<p>2. Type: /scripts/restorepkg username<br />
(replace username with the account username)</p>
<p>This will restore the site, and also create the cPanel account.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/backup-restore-a-cpanel-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WHM Scripts</title>
		<link>http://thelinuxnoob.com/cpanel/whm-scripts/</link>
		<comments>http://thelinuxnoob.com/cpanel/whm-scripts/#comments</comments>
		<pubDate>Sun, 20 Dec 2009 14:23:20 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[cPanel]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=81</guid>
		<description><![CDATA[Did you know that if you have cPanel/WHM on your server, you also have a bunch of serverside commands that you can use?  These are good for advanced users, or the people who prefer to manage their servers in a hurry via the command line rather than waiting for a web interface to load. Nearly]]></description>
			<content:encoded><![CDATA[<p>Did you know that if you have cPanel/WHM on your server, you also have a bunch of serverside commands that you can use?  These are good for advanced users, or the people who prefer to manage their servers in a hurry via the command line rather than waiting for a web interface to load.</p>
<p>Nearly everything that you can do in the WHM backend can be performed via command line.  These scripts are located in your server&#8217;s /scripts/ directory.  Only use scripts that have been verified by cPanel, or that you know yourself are safe as an unsafe script may damage your server.</p>
<p>Long list of scripts after the break&#8230;<span id="more-81"></span></p>
<p>To use any of these scripts, prefix it with /scripts/, for example, to package an account for backup you would type:</p>
<blockquote><p>/scripts/pkgacct accountusernamehere (replacing that with the account name on your server that you wish to backup)</p></blockquote>
<ul>
<li> <code>build_maxemails_config</code> — Sets limits on the amount of email that users can send from domains on your server. For more information about configuring limits with this script, see our documentation <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/MaiDelimiter">here</a>.</li>
<li> <code>easyapache</code> — Upgrades and reinstalls <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a>.</li>
<li> <code>phpextensionmgr</code> — Manages <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a> extensions.</li>
<li> <code>*up</code> — Updates a service. We currently provide the following update scripts for the services noted:
<ul>
<li> <strong>bandminup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#BandMin">Bandmin</a> application.</li>
<li> <strong>courierup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmCourier">Courier</a> mail server.</li>
<li> <strong>cpaddonsup</strong> — cPanel’s addon scripts.</li>
<li> <strong>dovecotup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#DoveCot">Dovecot</a> mail server.</li>
<li> <strong>eximup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail exchanger.</li>
<li> <strong>ftpup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> servers (ProFTP and Pure-<a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a>).</li>
<li> <strong>imapup</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmImap">IMAP</a> mail server.</li>
<li> <strong>mysqlup</strong> —MySQL service.</li>
<li> <strong>nsdup</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a>.</li>
<li> <strong>phpup</strong> — Current version of <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a>.</li>
<li> <strong>suphpup</strong> — SuPHP tool for handling <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a> requests.</li>
</ul>
</li>
<li> <code>restartsrv_*</code> — Restarts a service. We currently provide restart scripts for the following; simply replace the asterisk (*) in <code>restartsrv_*</code> with the term in bold:
<ul>
<li> <strong>apache</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> web server.</li>
<li> <strong>bind</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> software.</li>
<li> <strong>chkservd</strong> — cPanel’s TailWatch log processing service.</li>
<li> <strong>clamd</strong> — ClamAV anti-virus software.</li>
<li> <strong>courier</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmCourier">Courier</a> mail server.</li>
<li> <strong><a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#CpDavd">cpdavd</a></strong> — cPanel’s WebDAV server.</li>
<li> <strong>cppop</strong> — cPanel’s POP server.</li>
<li> <strong>dovecot</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#DoveCot">Dovecot</a> mail server.</li>
<li> <strong>entropychat</strong> — Entropy chat client.</li>
<li> <strong>exim</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail exchanger.</li>
<li> <strong>eximstats</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmExim">Exim</a> mail statistics tracker.</li>
<li> <strong>ftpserver</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> server.</li>
<li> <strong>httpd</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> web server.</li>
<li> <strong>imap</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmImap">IMAP</a> server.</li>
<li> <strong>inetd</strong> — Super-server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a> for managing Internet services.</li>
<li> <strong>interchange</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#InterChange">Interchange</a> e-commerce software.</li>
<li> <strong>ipaliases</strong> — IP aliasing software.</li>
<li> <strong>melange</strong> — Melange chat client.</li>
<li> <strong>mysql</strong> — MySQL database server.</li>
<li> <strong>named</strong> — BIND <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> software.</li>
<li> <strong><a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmNsd">nsd</a></strong> — Open-source NSD <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#NameServer">nameserver</a> <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>postgres</strong> — PostgresSQL database service.</li>
<li> <strong>postgresql</strong> — PostgreSQL database service.</li>
<li> <strong>proftpd</strong> — ProFTP server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>pureftpd</strong> — Pure-<a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>rsyslogd</strong> — Open-source log forwarder <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>spamd</strong> — Spam-deferral <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>sshd</strong> — Secure <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmShell">shell</a> <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>syslogd</strong> — Log forwarder <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
<li> <strong>tailwatchd</strong> — cPanel’s TailWatch log processing service.</li>
<li> <strong>tomcat</strong> — <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmApache">Apache</a> Tomcat service.</li>
<li> <strong>xinetd</strong> — Open-source super-server <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDaemon">daemon</a>.</li>
</ul>
</li>
<li> <code>addpop</code> — Adds a POP account.</li>
<li> <code>delpop</code> — Removes a POP account.</li>
<li> <code>wwwacct</code> — Adds a cPanel account.</li>
<li> <code>killpkg</code> — Removes a package.</li>
<li> <code>restorepkg</code> — Restores a package.</li>
<li> <code>cpbackup</code> — Backs up all accounts.</li>
<li> <code>pkgacct</code> — Handles <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#CpanelPkgs">cPanel packages</a>.</li>
<li> <code>upcp</code> — Updates cPanel and WHM.</li>
<li> <code>setupmailserver</code> — Allows you to switch between mailservers.</li>
<li> <code>setupftpserver</code> — Allows you to switch between <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmFtp">FTP</a> servers.</li>
<li> <code>setupnameserver</code> — Allows switching between <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmDns">DNS</a> servers.</li>
<li> <code>checkperlmodules</code> — Contains a list of standard CPAN modules to install on cPanel servers. This script is used in conjunction with realperlinstaller, below. This script can be used with the following arguments:
<ul>
<li> <strong>&#8211;force</strong> will reinstall everymodule regardless of whether or not it is working.</li>
<li> <strong>&#8211;full </strong>will ensure that all modules are present as opposed to only checking for essential modules.</li>
</ul>
</li>
<li> <code>realperlinstaller</code> — A wrapper script that automates the installation of <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPerl">Perl</a> CPAN modules.</li>
<li> <code>suspendacct</code> — Suspends an account.</li>
<li> <code>unsuspendacct</code> — Unsuspends an account.</li>
<li> <code>runweblogs</code> — Updates statistics for a user.</li>
<li> <code>runstatsonce</code> — Updates statistics for all users.</li>
<li> <code>makecppphp</code> — Re-installs cPanel’s internal <a href="http://twiki.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WhmGlossary#WhmPhp">PHP</a>.</li>
<li> <code>portsup</code> — Updates ports (FreeBSD® systems only).</li>
</ul>
<p>Have any questions about any of these commands, what they are or what they do, don&#8217;t hesitate to leave a comment and we&#8217;ll get back to you!</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/cpanel/whm-scripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing RKHunter</title>
		<link>http://thelinuxnoob.com/security/setup-rkhunter/</link>
		<comments>http://thelinuxnoob.com/security/setup-rkhunter/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:36:22 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[rootkit]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=73</guid>
		<description><![CDATA[Be honest, how much have you considered server security in the past?  In this day and age, it&#8217;s not something that should be taken lightly.  Today I&#8217;ll be teaching you how to install RKHunter.  RKHunter (ie:  Rootkit Hunter) is a nifty little script that runs via cron daily that checks your server for the most]]></description>
			<content:encoded><![CDATA[<p>Be honest, how much have you considered server security in the past?  In this day and age, it&#8217;s not something that should be taken lightly.  Today I&#8217;ll be teaching you how to install RKHunter.  RKHunter (ie:  Rootkit Hunter) is a nifty little script that runs via cron daily that checks your server for the most obvious rootkits that might have been placed there by somebody with some kind of malicious intent.</p>
<p><span id="more-73"></span></p>
<p>Note:  This tutorial is written as of RKHunter v1.3.4.  Always make sure that you&#8217;re installing the latest version for best results.</p>
<p>First we&#8217;re going to download the script, extract it, and begin the installer.  Copy this code and paste it into your SSH window.</p>
<blockquote><p>wget http://garr.dl.sourceforge.net/sourceforge/rkhunter/rkhunter-1.3.4.tar.gz<br />
tar -zxvf rkhunter-1.3.4.tar.gz<br />
cd rkhunter-1.3.4<br />
./installer.sh &#8211;layout default &#8211;install</p></blockquote>
<p>Hard right?  Guess what, that&#8217;s it for the installation!  Next you can run a scan by pasting the following line into your SSH window:</p>
<blockquote><p>/usr/local/bin/rkhunter -c<!--more--></p></blockquote>
<p>Updating RKHunter is just about, if not easier than the installation.  Updating RKHunter retrieves the latest database from the rootkit.nl central server and matches your server OS to help prevent false positives.  To update just execute the following command:</p>
<blockquote><p>/usr/local/bin/rkhunter –update</p></blockquote>
<p>Now lets set it up so that it scans daily and emails you a copy of the results.  Let&#8217;s start by setting up a daily cron job:</p>
<blockquote><p>nano /etc/cron.daily/rkhunter.sh</p></blockquote>
<p>That created a new empty cron job, now let&#8217;s give it something to do.  Copy these lines into the new file you just created, making sure to replace your email address:</p>
<blockquote><p>#!/bin/bash<br />
(/usr/local/bin/rkhunter -c –cronjob 2&gt;&amp;1 | mail -s “Daily Rkhunter Scan Report” email@domain.com)</p></blockquote>
<p>Now we&#8217;ll save the file we just created by doing the following:</p>
<blockquote><p>ctrl-x to close the file, Hit &#8220;y&#8221; to accept the file changes, and hit enter to overwrite the file.</p></blockquote>
<p>And we&#8217;ll finish off our cron job by executing the following command:</p>
<blockquote><p>chmod +x /etc/cron.daily/rkhunter.sh</p></blockquote>
<p>And that&#8217;s it!  Keep in mind, RKHunter is only a small tool in a very large array of server security tools.  That&#8217;s for another post though.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/security/setup-rkhunter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session.save_path error</title>
		<link>http://thelinuxnoob.com/linux/session-save_path-error/</link>
		<comments>http://thelinuxnoob.com/linux/session-save_path-error/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 10:28:27 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Php.ini]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[session.save_path]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=71</guid>
		<description><![CDATA[So&#8230;I came across this error on a clients site which he was receiving when trying to install a 3rd party script. The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify]]></description>
			<content:encoded><![CDATA[<p>So&#8230;I came across this error on a clients site which he was receiving when trying to install a 3rd party script.</p>
<blockquote><p>The session.save_path setting in your php configuration file (php.ini) is not set or is set to a folder which did not exist. You might need to set the save_path setting in php.ini or verify that the folder sets in save_path exist.</p></blockquote>
<p>It&#8217;s a pretty simple fix in the servers php.ini.<span id="more-71"></span> First thing you need to do is locate your servers copy of the php.ini by running the following command via SSH.</p>
<blockquote><p>root@lolwut [~]# php -i | grep php.ini<br />
Configuration File (php.ini) Path =&gt; /usr/local/lib<br />
Loaded Configuration File =&gt; /usr/local/lib/php.ini<br />
root@lolwut [~]#</p></blockquote>
<p>Once you&#8217;ve found the php.ini, use your favorite editor and locate the following line.</p>
<blockquote><p>root@lolwut [~]# grep &#8216;session.save_path&#8217; /usr/local/lib/php.ini<br />
;     session.save_path = &#8220;N;/path&#8221;<br />
;session.save_path = /tmp<br />
;       (see session.save_path above), then garbage collection does *not*<br />
root@lolwut [~]#</p></blockquote>
<p>In this case, simply remove &#8220;;&#8221; which will uncomment the line. If you are missing the &#8220;/tmp&#8221; part of the line, you will need to add it. Make these changes and save the file, then restart apache and you&#8217;re good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/session-save_path-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install fantastico on cPanel</title>
		<link>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/</link>
		<comments>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 06:07:05 +0000</pubDate>
		<dc:creator>Clayton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[fantastico]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[makecpphp]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://thelinuxnoob.com/?p=51</guid>
		<description><![CDATA[A fantastico installation is pretty straight forward. First thing you need to do is obtain a Fantastico license from Netenburg. One of the most common issues when installing fantastico is a buggy wget install on the server, so a working wget version will need to be installed. Another common issue is cPanels internal php may]]></description>
			<content:encoded><![CDATA[<p>A fantastico installation is pretty straight forward. First thing you need to do is obtain a Fantastico license from <a href="http://www.netenberg.com/fantastico.php" target="_blank">Netenburg</a>.</p>
<p>One of the most common issues when installing fantastico is a buggy wget install on the server, so a working wget version will need to be installed. Another common issue is cPanels internal php may break, but we will discuss the fix to that later on. <span id="more-51"></span>To install the working version of wget run the following commands:</p>
<blockquote><p>rpm -qa wget ;<br />
wget ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/wget-1.10.2-3.2.1.i386.rpm<br />
chattr -ia /usr/bin/wget<br />
rpm -e wget ;<br />
rpm -ivh &#8211;force wget-1.10.2-3.2.1.i386.rpm ;<br />
rpm -qa wget ;</p></blockquote>
<p>First thing is downloading the Fantastico files to the server.</p>
<blockquote><p>/scripts/upcp<br />
cd /usr/local/cpanel/whostmgr/docroot/cgi<br />
wget -N http://www.netenberg.com/files/free/fantastico_whm_admin.tgz<br />
tar -xzpf fantastico_whm_admin.tgz<br />
rm -rf fantastico_whm_admin.tgz</p></blockquote>
<p>Once the files have been downloaded, log into WHM with your root account and select <strong>&#8220;F</strong>antastico De Luxe WHM Admin&#8221; under the plugin section on the left side of WHM at the bottom.<br />
<!-- br--></p>
<p style="text-align: center;"><img class="aligncenter" title="Fantstico side" src="/tutorials/fantastico/1.jpg" alt="" width="201" height="96" /></p>
<p><!-- br--><br />
You will then go the Fantastico main page, where you will select &#8220;Click here&#8221; under &#8216;Version Information&#8217; in the middle. Now select the stable version from the drop down menu.<br />
<!-- br--></p>
<p style="text-align: center;"><img class="aligncenter" title="Fantastico tut" src="/tutorials/fantastico/2.jpg" alt="" width="360" height="154" /></p>
<p><!-- br--><br />
Now follow the remaining steps using the default information, as all of it should be correct, though you may want to double check. Be sure to select &#8220;enable&#8221; next to suexec if it is installed on the server and also check the VPS section if you have installed this on a VPS.</p>
<p>If you receive cpanel_phpengine errors when logged into Fantastico as end user, run the following command via SSH.</p>
<blockquote>
<p style="text-align: left;">/scripts/makecpphp</p>
</blockquote>
<p>You may also run into an ioncube error when trying to log into Fantastico, which can be fixed by logging into WHM as root -&gt; Tweak Settings -&gt; Loader to use for internal cPanel PHP -&gt; IonCube -&gt; Save</p>
<p>If you have any issues with your install, feel free to comment this post.</p>
]]></content:encoded>
			<wfw:commentRss>http://thelinuxnoob.com/linux/install-fantastico-on-cpanel/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
