<?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>Developer Oracles &#187; WHM</title>
	<atom:link href="http://devoracles.com/tag/whm/feed" rel="self" type="application/rss+xml" />
	<link>http://devoracles.com</link>
	<description></description>
	<lastBuildDate>Sun, 21 Mar 2010 11:05:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WHM &#8211; System Reboot</title>
		<link>http://devoracles.com/whm-system-reboot/690</link>
		<comments>http://devoracles.com/whm-system-reboot/690#comments</comments>
		<pubDate>Fri, 12 Dec 2008 19:42:15 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[WHM Guides]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[web host manager]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=690</guid>
		<description><![CDATA[WHM offers two modalities of reboot: Graceful and Forceful. In every single case you should use only (really, only) the graceful method. The graceful method will kill all the running processes before sends the reboot signal, forceful on the other hand will only attempt to kill the processes.
If you are used to Windows operating systems, [...]]]></description>
			<content:encoded><![CDATA[<p>WHM offers two modalities of reboot: Graceful and Forceful. In every single case you should use only (really, only) the graceful method. The graceful method will kill all the running processes before sends the reboot signal, forceful on the other hand will only <strong>attempt</strong> to kill the processes.</p>
<p>If you are used to Windows operating systems, you know about the <em>Shut Down</em> command. Graceful reboot in WHM is similar to the Windows shut down command: it will stop every running process, save states, synchronizes the file system and so on. When everything is done, it will restart the server. The graceful reboot in WHM is very similar to the reboot command on Linux systems, but it&#8217;s not exactly the same. For example while the reboot command broadcasts a message, informing every logged in user about that the system will soon restart, WHM&#8217;s Graceful Reboot will not do that.</p>
<p>Forceful Reboot on the other hand will only attempt to stop the running processes. If it fails, it cares not about it. With a bit of exaggeration, it&#8217;s like when you push the Reset button on your PC. You should only restart your server this way if the Graceful method doesn&#8217;t work for some reason. So, when you try to reboot your server, the actions to take are the following: </p>
<ol>
<li>Try the Graceful Reboot</li>
<li>If the tool reports the Graceful reboot has failed, you try the Forceful reboot</li>
</ol>
<p>When is advised to reboot a server? The occasions are extremely rare. The Linux systems are not Windows to reboot the whole server just because you installed DirectX. I really think that the only reason to reboot if you&#8217;ve done kernel update. </p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/whm-system-reboot/690/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHM &#8211; Networking Setup</title>
		<link>http://devoracles.com/whm-networking-setup/686</link>
		<comments>http://devoracles.com/whm-networking-setup/686#comments</comments>
		<pubDate>Fri, 12 Dec 2008 15:47:57 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[WHM Guides]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=686</guid>
		<description><![CDATA[For the guys from cptxoffice.net: If you think I said something wrong, please contact me so we can correct the issue.
In the Networking  section of WHM you will find by default 3 gadgets:

Hostname
Nameserver IPs
Resolver configuration

Each of these gadgets is extremely important both for you and for the server. Especially if you want the server [...]]]></description>
			<content:encoded><![CDATA[<p><em>For the guys from cptxoffice.net: If you think I said something wrong, please contact me so we can correct the issue.</em></p>
<p>In the <em>Networking </em> section of WHM you will find by default 3 gadgets:</p>
<ol>
<li>Hostname</li>
<li>Nameserver IPs</li>
<li>Resolver configuration</li>
</ol>
<p>Each of these gadgets is extremely important both for you and for the server. Especially if you want the server to be publicly available.</p>
<p>Let&#8217;s see the first gadget, <strong>Hostname</strong>:</p>
<p>The hostname always has to be unique, this is the name of your server. Usually this name, nickname if you like is chosen from the Greek mythology, for example <em>Zeus</em>, and this name is snapped to a fully qualified domain name owned by you, like <em>example.com</em>. This domain name will have to use the server&#8217;s nameservers, this will be the first domain you will add to the server. Usually you have to specify this domain name when you order the server. So, a hostname will look like something like this:<br />
<code>zeus.example.com</code><br />
But it can be very well <em><strong>hera</strong>.example com</em> or <em>sinatra.example.com</em>, it doesn&#8217;t really matter. The only thing which matters is that this hostname will have to be unique on the server, you will not be able to use it for traditional website access or any other thing, it&#8217;s the server&#8217;s name.<br />
This hostname can also be used to access cPanel and WHM, so in conformance with the applicable <a href="http://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC</a> (1035 if am not mistaken) this hostname should never begin with a number, nor end with a hyphen (-). </p>
<p><strong>Nameserver IPs:</strong></p>
<p>This is very important gadget as well, if you want your server to be publicly accessible. What are nameservers? Nameservers tells a client on which IP a website can be found. They are part of the DNS. Internet works based on IPs (like <em>127.0.0.1</em>), but remembering IPs is hard. For example is more likely you remember <em>www.Google.com</em> than <em>72.14.205.100</em>, which is one of Google&#8217;s IPs. So, the big guys invented domain names like google.com. This is what you type in the address bar of the browser to arrive on Google&#8217;s website and perform a search to find out what kind of underwear did Britney wear yesterday.<br />
But the internet still works based on IPs, and nameservers are who basically translates the domain names in IPs. OK, I&#8217;ll try to explain this. Imagine a conversation between your PC and the nameserver, like this one:</p>
<blockquote><p>
You: Hey, gTLD nameserver. Do you know where can I find google.com?<br />
NS: Hello, sure. It&#8217;s located on the 72.14.205.100 IP. Go there.<br />
You: Thanks!
</p></blockquote>
<p>Don&#8217;t imagine for a second that it&#8217;s this simple, it&#8217;s way more complicated as there are at least 2 other men-in-the-middle before you get that info.<br />
So, the nameservers your server will manage will also have to have &#8212; if possible &#8212; a unique IP. You will see, depending on how many IPs you got with the server, at least 1 IP. It&#8217;s the nameserver of the private network. If there are more than one, each is an existent namesrver. To delete a nameserver, just click the small cross on its right.<br />
To create a new nameserver, put its name in the box below the table containing the IP(s). It will create the nameserver and will assign the next available IP to the name. The name you choose also has to be in conformance with the applicable <a href="http://www.ietf.org/rfc/rfc1035.txt" target="_blank">RFC</a>.<br />
After you created the nameserver on your server, you will have to go to your registrar and register the nameserver. Since your server is not authoritative, you can&#8217;t do this without a registrar.</p>
<p><strong>Resolvers&#8217; configuration:</strong></p>
<p>This is a wizard through which you can manage your /etc/resolv.conf . The IPs you will put here are also very important as they are used for dns resolution. When you leased the server, the datacenter most likely provided you at least one nameserver IP you can use. The problem is that you should use two. The first is the primary, the second is for backup. If these nameservers are down, your server is likely will have difficulties querying the MySQL databases, so if the DC didn&#8217;t provide you nameserver IPs you can use, choose carefully. But your best option is to contact the datacenter and pick their brains until they give you at least one IP of a DNS.<br />
Also, while the server may function properly without any nameserver IP in the resolv.conf, the connections made to the server will be extremely slow. </p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/whm-networking-setup/686/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHM &#8211; The first meeting</title>
		<link>http://devoracles.com/whm-the-first-meeting/676</link>
		<comments>http://devoracles.com/whm-the-first-meeting/676#comments</comments>
		<pubDate>Thu, 11 Dec 2008 20:53:18 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[WHM Guides]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=676</guid>
		<description><![CDATA[So, we managed to install WHM and cPanel successfully on a Linux server, now&#8217;s the time to login and see what can we do from the infamous WHM. To login, point your browser to the following location:
YOUR.PRIMARY.IP:2087
We also have to specify the port number as you see, because WHM and cPanel listens only on 2086 [...]]]></description>
			<content:encoded><![CDATA[<p>So, we managed to install WHM and cPanel successfully on a Linux server, now&#8217;s the time to login and see what can we do from the infamous WHM. To login, point your browser to the following location:<br />
<code>YOUR.PRIMARY.IP:2087</code><br />
We also have to specify the port number as you see, because WHM and cPanel listens only on 2086 and 2087, these are the default ports for these two web-tools.</p>
<p>WHM has 3 main sections and each section is basically a frame.<br />
On the top of your screen you will see the logo of WHM. Additionally this frame will also contain some navigation links, some info about the server software and OS version. Probably the most important part of this frame is the server load in the lower right corner. There are always three numbers which represents the system load during the last one, five, and fifteen minute periods. This is not a percentage, it&#8217;s just a value. If it&#8217;s below 1, you&#8217;re good because that means that the processor can handle the job and there are no processes waiting. If it&#8217;s slightly above one, then you might have to think about (for example) script improvement; in the case it&#8217;s way above 1 you might have to think about, for example adding another processor to the system. If it&#8217;s an incredibly high number, for example over, let&#8217;s say 30, then you have great issues. Usually under a DOS attack is increased that high, but it can also mean that there are too many MySQL queries in a script which is accessed numerous times per second. But for debugging, always check the number of concurrent connection and whether they are legit or not. If you have more than one processor, divide the load with the number of the processors.</p>
<p>Below the top frame, by default you will see a bunch of icons. These are the shortcuts to our server-management gadgets. When you click on an icon, in this frame will be the gadget loaded. Alternatively, clicking on a link on the left side of your screen also updates the right, big frame with the tool you selected.</p>
<p>And finally, on the left you will see a long, scrollable list containing all the in-built tools, or gadgets if you like. This is the most important for us, because by my experience, this is the easiest way to reach the gadgets. The gadgets or tools in WHM are grouped in &#8212; by default &#8212; 30 categories. I will list the 30 categories, if it&#8217;s a hyperlink, means that there&#8217;s a guide available for it. So, the categories are:</p>
<ol>
<li>Server Configuration</li>
<li>Support</li>
<li><a href="http://devoracles.com/whm-networking-setup/686">Networking Setup</a></li>
<li>Security</li>
<li>Server Contacts</li>
<li>Resellers</li>
<li>Service Configuration</li>
<li>Languages</li>
<li>Backup</li>
<li>Cluster/Remote Access</li>
<li><a href="http://devoracles.com/whm-system-reboot/690">System Reboot</a></li>
<li>Server Status</li>
<li>Account Information</li>
<li>Account Functions</li>
<li>Multi-Account Functions</li>
<li>FrontPage</li>
<li>Transfers</li>
<li>Themes</li>
<li>Packages</li>
<li>DNS Functions</li>
<li>SQL Services</li>
<li>IP Functions</li>
<li>Disk Drives</li>
<li>Software</li>
<li>Email</li>
<li>System Health</li>
<li>cPanel</li>
<li>SSL/TLS</li>
<li>Restart Services</li>
<li>Plugins</li>
</ol>
<p>These are the categories at the time off this post. These might change over time.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/whm-the-first-meeting/676/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHM &#8211; Beginners Guide &#8211; Introduction</title>
		<link>http://devoracles.com/whm-beginners-guide-introduction/664</link>
		<comments>http://devoracles.com/whm-beginners-guide-introduction/664#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:47:04 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[WHM Guides]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=664</guid>
		<description><![CDATA[
First of all, what&#8217;s with this new category? We&#8217;ve found that some of the customers we manage servers for wish to take some jobs from us. For example they want to handle on their own the DNS and Apache updates, but there are only a few and very basic guides on how to do these [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left; margin:8px;"><img src="http://devoracles.com/wp-content/uploads/2008/12/whm_logo.jpg" alt="" title="whm_logo" width="77" height="49"  /></div>
<p>First of all, what&#8217;s with this new category? We&#8217;ve found that some of the customers we manage servers for wish to take some jobs from us. For example they want to handle on their own the DNS and Apache updates, but there are only a few and very basic guides on how to do these things efficiently, so they fear to take action. We will try to cover the most basic things, spiced with some suggestions to help these customers and anyone who wants to manage his or her own server.</p>
<p>For the beginner server managers, especially if they want to manage UNIX based servers, we strongly recommend to do this job with a server management software. There are dozens of server management software  on the market; we recommend you to invest in &#8220;cPanel + WHM&#8221; because you can save for yourself a lot of pain by managing the server this way. Operating system updates become seamless, account management simpler than to write down your own name.</p>
<p>What is &#8220;cPanel + WHM&#8221;? It&#8217;s the abbreviation of control Panel + Web Host Manager, a server management software licensed, maintained and actively developed by cPanel Inc. It is a web-based tool, written in (mainly) Perl. You need a license to run this software, usually the datacenter offers this license to be leased with the server for a reasonable fee (about $20-$35 USD). You can also buy this license from cPanel Inc. itself, though the price is more scary, about $425 (USD). From now on we will talk only about WHM, because this is the side of the software-package which we will use to manage the server.</p>
<p>This software is limited to the following operating systems: CentOS, Red Hat and FreeBSD. Yes these are all Linux distros. There&#8217;s also a Windows based cPanel/WHM, called <strong>cPanel Server Suite</strong>, but since it&#8217;s a Beta release and also requires a whole category to explain everything, we won&#8217;t talk about it now. Also worth to mention that currently the only possible way to get this software seemingly is to be part of the development team.<br />
As for operating system, we recommend using CentOS. Reason? There&#8217;s no good reason, but our experiences with this Linux distribution: it&#8217;s fast, stable, easy to maintain; that&#8217;s all. </p>
<p><strong>Next post: WHM -Installation guide</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/whm-beginners-guide-introduction/664/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHM -Installation guide</title>
		<link>http://devoracles.com/whm-installation-guide/671</link>
		<comments>http://devoracles.com/whm-installation-guide/671#comments</comments>
		<pubDate>Thu, 11 Dec 2008 16:46:41 +0000</pubDate>
		<dc:creator>Gary Illyes</dc:creator>
				<category><![CDATA[WHM Guides]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://devoracles.com/?p=671</guid>
		<description><![CDATA[I think writing this article is a bit pointless, because the vast majority of the datacenters you lease the server from will do this for you. But there are also datacenters which accepts your own, home built server and in this case you will have to face that there&#8217;s no one who wants to install [...]]]></description>
			<content:encoded><![CDATA[<p>I think writing this article is a bit pointless, because the vast majority of the datacenters you lease the server from will do this for you. But there are also datacenters which accepts your own, home built server and in this case you will have to face that there&#8217;s no one who wants to install you the server management software, in our case the WHM/cPanel combo.</p>
<p>This article is a modified version of one of the 4ugroup server manager&#8217;s tutorial. There are no screenshots because most of the things look differently on various OSes. So it would be pointless to show you something which looks totally different on your side.</p>
<p>First, let&#8217;s make sure you have the minimum requirements for WHM, and that you will not run into issues caused by 3rd party applications or incompatibilities.<br />
The server specification can be low; cPanel/WHM will run even on a Pentium 1, not sure what will you do with a server like that but whatever. It would be cool if it would have 2 NIC (network interface controller) to have 2 networks available: a private and a public. The private network will be used to connect to the datacenter&#8217;s private network on which you can manage the server securely, and the public network will be used to connect to the Internet, it will be used, well, by the public.</p>
<p>You will also have to have an OS already installed. We recommend, again, CentOS for various reasons, but you can choose any other, supported Linux distro, or even FreeBSD. Make sure you have some debuggers and compilers installed. For example a C development tool is required, so is wget if you obtain the cPanel/WHM release from the cPanel Layer. If we&#8217;re at wget, do make sure that the uplink to the public network is not used by anything else and is stable. Now make sure the package management system is working properly. And these are the only tools you will need. Note, that you do not have to install Apache, PHP or anything else. They will be installed by cPanel/WHM.<br />
Now should come some words about the partitions. Not in this case, because our experience shows that in 99% of the cases the operating system created partitions are good enough for cPanel/WHM. Worth to mention though, that the /tmp directory should be on a separate partition. This is a basic security measure, if somebody wants me to explain why is this a good idea, feel free to ask in the comments section.<br />
So let&#8217;s move forward to networking and hostnames.</p>
<p>First, if the resolvers are working properly. To test it, type the following in the command prompt: <code>dig google.com@yourip </code>, nonetheless to say that you have to replace <em>yourip</em> with an IP from resolv.conf. If it resolves correctly, you&#8217;re almost ready to install cPanel/WHM. Before you proceed, make sure there&#8217;s no non-vital daemon or process running in the background. We&#8217;ve found that sometimes these rogue processes can poison the install, so if there&#8217;s running something which you think is unnecessary, just kill it. <code>kill</code>, is a Linux command which is used to end processes. The syntax is <code>kill PROCESS_ID</code>.<br />
Now, think about a hostname you will assign to the server. For this, you will have to have under your management a domain name. Common practice is to choose the nickname for the server from the Greek mythology. Many gives their server&#8217;s names like <code>zeus.yourdomain.com</code> or <code>hera.yourdomain.com</code>, but it can be absolutely anything, even <code>britneyspears.yourdomain.com</code>. Just make sure you choose a name which will never be used publicly; this hostname has to be unique.</p>
<p>OK, if you thought you have to do anything else before install, you were wrong; that was all.<br />
If you didn&#8217;t yet, login via SSH to the server, or if you&#8217;re in the front of the server, just turn it on. In both cases login as root.<br />
Type the following in your prompt:<br />
<code><br />
cd /home<br />
wget http://layer1.cpanel.net/latest<br />
sh latest<br />
</code><br />
Decryption: The first line switches to the home directory/partition, second line instructs the wget software to grab a copy of the latest cpanel from the specified URL, and the last line, install the latest cPanel/WHM. You&#8217;re 90% done with the install.</p>
<p>Now open up a web-browser. When you leased the server, you got an e-mail from the datacenter which contains amongst many other things, the primary IP of the server. Type that IP in the address bar of the browser followed by &#8220;:2087&#8243;. 2086 and 2087 are the default ports on which <del datetime="2008-12-12T21:21:39+00:00">cPanel and</del> (<a href="http://devoracles.com/whm-installation-guide/671#comment-579">read this comment</a>) WHM listens on. So your address bar should contain something like this: <code>YO.U.R.IP:2087</code>. In the popup window type <em>root</em> as username and the password associated to this super-user.<br />
Accept everything and click OK on every possible thing until you arrive to a page where are dozens of input fields and questions. You will have to fill out the following fields (there are more, but they can remain empty or they&#8217;re already defaulted by WHM):</p>
<ol>
<li><strong>Main Shared Virtual Host IP:</strong> this is <strong><em>NOT</em></strong> the primary IP of the server! You got an additional (and at least) 4 IPs with the server. Choose one from those and put it in this field.</li>
<li><strong>Server Contact E-Mail Address:</strong> your own e-mail address you check at least daily. Here will be sent the emails by the server, containing information you should be aware of</li>
<li><strong>Hostname: </strong> and here goes that hostname I told you to think about. Most likely you&#8217;ve chosen already one, if you didn&#8217;t, be creative. As I said, this will be a unique name.</li>
<li><strong>Type of Apache logs:</strong> combined or access. I&#8217;d recommend &#8220;access&#8221;, this way there will be no unnecessary, additional CPU load on the server. If there&#8217;s a problem with Apache, just switch to combined</li>
<li><strong>Nameservers:</strong> enter at least 2 nameservers in these fields. The more the better. Normally only the first is used and the rest is for backup. Note that these nameservers have to be registered with a registrar before they can work.</li>
</ol>
<p>And this was all. WHM and cPanel is functional from now on.</p>
<p>To log in to your WHM, just type in your address bar:</p>
<p><code>YO.U.R.IP:2087</code></p>
<p>You will need the root password each time you log in, keep it in the nearby but in secure place. If arrives in the wrong hand, serious damages can be made in no time. Also, you should change this password every few weeks. If you change this password, please ensure you inform the datacenter about the password modification because if they can&#8217;t login, they can&#8217;t help if you need help from them.</p>
]]></content:encoded>
			<wfw:commentRss>http://devoracles.com/whm-installation-guide/671/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
