Archive for CPanel
Control Panel: Advantages & Disadvantages
Posted by: | CommentsTo control panel, or not to control panel? It’s a perennial question, and one all conscientious web masters have had to ask at some point during their career. It doesn’t matter what kind, style, or flavor of website you’re hoping to create: Odds are you’ll have to wage the costs and benefits of using a control panel (like cPanel) to manage your media, or going Bear Grylls and relying entirely on the command shell. However, just because the problem is a ubiquitous one does not mean it has to be a hard one. In fact, with a little foreknowledge and just a smidgen of guidance, you might find the decision between graphical front-ends and pure control is simpler than you think. With that in mind, we’ve compiled a short list of some of the pros and cons of using a control panel alongside your website. It’s by no means a complete listing, but if you’re on the fence, it will certainly help you along the right path.
Pros:
1. No Software Required: We may have just modified a Phil Collins song to meet our needs, but that doesn’t make the point any less valid: If you’re using a control panel, there’s absolutely no need to clutter up your home computer with FTP software of any kind. This, after all, is really the point of having a control panel in the first place. With something like cPanel in place, you can access your site from any location around the globe via browser. From there, you’re free to upload, mangle, and download your system’s files as needed. It’s quick, efficient, and saves you hard drive space in the long run.
2.Easy Stats: Another advantage to using a control panel over the traditional terminal are the various statistical tools available for your perusal. Using these tools, you can stay up to date on a minute-by-minute basis with who has been accessing your site, from where, and when down to the second. Want to know how many of your users have been coming from the Southeast? With a control panel in place, it’s no problem at all to find out. In fact, we might even say it’s easy as pie—especially considering pie charts are a definite possibility.
3. Ease of Installation: Another benefit to using a control panel is its ease of software installation. Essentially, with a package like cPanel creating a front-end for your site, you’re allowed to add, remove, or modify web applications as you please. Want to add a forum to your site? No problem, assuming you have a control panel! How about shopping carts, bags, help desks, image galleries, billing software, or even a content management software like WordPress? With all of the above, it’s a done deal, assuming you’ve got the control panel to match. Best of all, these installations can be removed just as easily as they’re added, allowing for an unprecedented level of control over your site’s performance.
4. Know Your Usage: Typically, when a web hosting provider comes stock with a control panel, the panel is capable of tracking your data usage, just like Sprint, Verizon, and AT&T allow users to track their minutes and allowances from the Web. In this way, it’s a cinch to keep a tab on just how much of your plan you’ve been using, allowing you to scale back next month if needed, or ramp up the features, should your site experience a sudden hike in popularity.
Cons:
1. Big Tasks Suck: However, a control panel isn’t always sunshine and rainbows. In fact, when it comes to certain filing procedures, they can be a right pain in the derriere. For example, let’s imagine you have a directory that’s currently housing something like 5,000 unique files. Now, what if you wanted to move all 5k of these items to a new folder? How about only the files that begin with a specific phrase? Using a graphical control panel, this could take hours of tedious clicking and sorting. However, with the command line, a single string can take care of the whole operation in only seconds. Now that’s power!
2. Getting Dirty Requires Less: Let’s create another example: Let’s say your server begins acting strangely, and all of your files suddenly change their permission states. With a control panel, sorting out the mess could, again, require hours of manipulation, and even then, privileges are notoriously hard to manage with a graphical front-end. When it comes to such root level functions as modifying folder permissions, visibility, or password protection, using the shell terminal is really the only way to go.
3. Security is Shell-Oriented: Another notch in the terminals favor is the fact that graphical interfaces are typically far less secure. These control panels rely on a software relationship between the hardware, the shell, and the pretty, eye-candy studded panel you deal with on a daily basis. All of this connectivity adds up to an impressive level of control, but also to a lot of compromised security. Not to mention the fact that cPanel’s popularity makes it a prime target for hackers looking to make a quick steal. The shell terminal, on the other hand, is direct, password encrypted, and one-way. With this in mind, it’s nearly impossible to hijack a shell tunnel, providing an infinitely more secure experience, and at no cost to your overall control.
So there you have it! On the whole, there’s really only one quick question you need to ask yourself when considering the application of a graphical control panel: And that is, “How much ease of use am I really after?” If quickly and simply managing your site is of the utmost importance to you, there’s no better way to do it than with a program like cPanel. Otherwise, for the dedicated and control-based webmaster, the shell truly is king.
Related posts:
Using cPanel to Setup Cron Jobs
Posted by: | CommentsThe “cron job” is one of the basic programming tools that remind you that you can get a lot of function out of learning just a little code. A “cron job” is simply a command that you instruct your server to perform at regular intervals. It can literally be any command that you can run normally.
You have the power!
Not only are the advantages of this obvious, but once you realize the power you can get from this in just a few commands, much of what you use control panels for may start to seem frivolous. You can, for example, in just a single command backup an entire directory once a week and email it to yourself. Don’t be scared: we are diving a bit into expert stuff here, but only to prove the point. You can do a lot with very little.
So how do you do it?
Even by cPanel standards this is one of the easier functions to perform. Scroll down in your cPanel home page. You’ll probably find “Cron Jobs” in the Advanced section. Click on it and you’ll be asked whether you like it easy or hard. Personal preferences aside, there’s not much reason to go hard. Click on “Standard” to get to the main cron jobs screen.
You will first enter the email address that the results of the cron job will be sent: if it is not successful, the email will contain the error message, though this may require some debugging on your part. Next you will enter the command. One unavoidable technical note: the command must be typed in using the full path. So if you are running a script that is in your home directory, you must specify the full server path to it.
Get your timing right
Now you need to specify how often you want the cron job to run. Most of this is self-explanatory, though there is at least one potentially confusing item. You can specify the days that the job will run both by days of the month and days of the week. That’s not confusing by itself, but what happens if you choose both? Let’s look at the combinations.
- “Days” = “Every Day” and “Week Days” = “Every Week Day”: This will run the cron job on every single day.
- “Days” = “2” and “Week Days” = “Every Week Day”: This will run the job on the 2nd day of the month only.
- “Days” = “Every Day” and “Week Days” = “Tuesday”: This will run the job on every Tuesday.
- “Days” = “2” and “Week Days” = “Tuesday”: This will run the job on the 2nd Tuesday of the month only.
That’s it!
Now hit “Save Crontab” and you’re done! You can then go back to this later and delete or modify the job. Note that you can also create mulitple cron jobs, even if they use the same commands. You might want to, say, backup a certain directory every day, and your entire account every month.
Now the only thing you need to do is learn the commands you want to run. This should make clear that this is worth the effort. Cron jobs are one of the most useful basic tools for just about any developer, and cPanel makes using them even easier.
Related posts:
The Ins and Outs of DirectAdmin
Posted by: | CommentsBy just about every measure, cPanel is the #1 web hosting control panel. In the web hosting world, though, that typically means that there are a gaggle of alternatives that are 2nd best and trying harder. While not all of them have gained a strong footing among web hosts, one that is climbing the ranks is DirectAdmin.
The first complete version of DirectAdmin was released on Mar 1, 2003. Reviews of some of its earliest versions circa 2005-6 weren’t so hot. Lately, however, it’s been gaining traction, as evidenced by the active user support forum for it, and the increasing number of hosts offering it alongside of cPanel. In fact, vpsLink, HostPC and SiteValley includes this control panel among their standard hosting options.
So what is the main drawing point for DirectAdmin?
Simple: It’s simple.
DirectAdmin’s main draw is how light it is as a software package. “Light” means a lot of good things for the user.
First, it means that it is fast to operate, not having cPanel’s heavy overhead. This is especially critical on shared hosting services, since it might be several dozen users at once using these. That kind of processing can add up fast if not done right. Second, it means that it is easy to use and navigate through. Its interface is also very similar to cPanel, so users crossing over won’t spend a lot of time re-educating themselves.
Third, being a lightweight package means that it is far more reliable and doesn’t crash nearly as much. When it does crash, the recovery is comparatively pretty quick and clean. Finally, being a smaller package means that it’s also a cheaper package, resulting in lower price passed on to you, the end user. A number of free web hosts use DirectAdmin for this reason.
Simple isn’t all good … is it?
The downside of this easier approach means that DirectAdmin doesn’t quite have the full rainbow of options that cPanel has.
Or does it? In multiple reviews online comparing cPanel to DirectAdmin I found users talking about the advanced administrator tasks that you can only do in cPanel. However, when pressed to name what those tasks were, I did not see a single specific one listed.
This doesn’t mean that they don’t exist. With a package as established and worked over as cPanel, its probably a sure thing that there are some cPanel wizard tricks that you cannot do, or do easily with DirectAdmin. On top of that, even if there isn’t that much in direct functionality that’s different, cPanel has a larger set of tutorials, FAQs, and current users ready to share their knowledge of the product.
Less popular because it’s less popular?
One web site suggests that the preference towards cPanel in the hosting world might be little more than momentum. If that’s true, then considering the fact that DirectAdmin is also largely considered to be the more secure of the two control panels (again, for reasons of programming simplicity), this might not be the case forever.
Whatever the reason, DirectAdmin is clearly rising in the web hosting world as a respected control panel package. If your host offers this, you might consider looking into it.
Related posts:
What’s A Preinstalled Script, And Do I Need It?
Posted by: | CommentsWhen setting up your next website, you will inevitably come across a need for dynamic web applications. These are things that your users can work with, adding their own content, viewing yours in a quick manner, and even manipulating it to a fine-edge. From a server-side perspective, having dynamic web apps allows you to create media in a speedy way, and then get it out to all of your various end-game sites in a pinch.
With this in mind, many current web hosts provide preinstalled scripts of varying types. These are applications that are often times built into the cPanel, or can be installed with a mere click of a button. Think of how many hosts you’ve seen offering WordPress at the get-go: Seems like most of them, right? In fact, everything from Joomla to Magento to MediaWiki can be yours, depending on the provider.
Long story short, when creating a new website, should you be taking advantage of these preinstalled script offerings to flesh out your site with dynamic content?
Short answer in long form: Yes! Here’s why, too!
These Scripts Are Safe
Because your provider knows its servers, and because they’ve become intimately acquainted with the software they’re looking to install, you can be almost absolutely positive they’ll have the thing locked down. This doesn’t mean your new system will be hacker-proof, but it’s certainly better off than if you had installed it yourself on an unfamiliar server you don’t even have direct access too. All in all, it’s their basket, and they have an eye on it. If you’re looking to keep your server as secure as possible, leave the app installation to the provider, and use what they’re offering.
It’s Easy Like Apple Pie
Even better, relying on preinstalled dynamic web apps takes a huge load off of you. You don’t have to worry about uploading code to the server, installing it properly, locking it down with better security protection, and managing it as problems arise. Better yet, when problems do occur—and trust us, they will—it’s up to your provider to help you sort them out. With an automatically installed script, the host takes care of the installation, manages the script once placed, and brings the content to you hassle free. It’s like being given a Christmas gift that unwraps itself, plays without stopping, and fixes any tears that appear.
If that’s not a win, we don’t know what is!
Related posts:
What To Remember When Moving To A New Control Panel
Posted by: | CommentsVery rarely will you have to move your website to a new control panel interface, especially if you’re using shared hosting. Most web hosting providers will not give you the choice of several different offerings, or even the option to migrate to a new base. However, if you’re using VPS or dedicated hosting, you may be looking at a totally different animal. The control panel at work is under your thumb, and should you get a wild hair to swap from cPanel to Plesk, it’s your prerogative.
With that in mind, there are several things that need to be kept in mind when deciding to migrate from one control panel to another. It’s not an easy task, and considering the benefits, you may want to reconsider. So, here’s our quick thoughts on what you need to know before swapping to a different control panel.
It’s In The Matrix, Neo:
First off the bat, we’d like to remind you that not all control panels are wired the same. Each interface achieves its goals in completely different ways. We aren’t just talking about a scripting language here, either. Who knows if the underlying code of your new system won’t be completely different from the one before it? Not to mention the fact that your new panel may not play well with the various packages and applications you’d like to use.
As an example, your control panel may be hard-wired to run with Apache HTTP. By swapping to a server panel that’s not, you run the risk of losing all of your existing scripts, your hard-won applications, and perhaps even some of your content. At the least, be aware of the fact that different panel’s may use very different coding structures. If at all possible, do some research, and get to know your new neighborhood.
Moving Out Is Hard To Do:
Because structures may be so completely different, you may yet have a bear of a time transferring all of your data to the new panel. Imagine all those scripts and applications you have laying about. Will they all work with a new panel? If they don’t, can you find a ported version of the same item to match your new system? Not to mention, are you capable of coding for the new platform you have in mind?
Moving one whole site to a new panel isn’t too big a pain in the derriere. But if you have many multiple servers and sites, imagine moving them all to a new structure.
Related posts:
CloudLinux 6.1 Launches
Posted by: | CommentsA couple days ago CloudLinux, the cloud-based operating system developer, released the 6.1 edition of their flagship product—an hunk of code appropriately titled “CloudLinux 6.1.”
Obvious pieces of information aside, what is CloudLinux 6.1 and why the bloody hell should I care? Well, for starters, the operating system is designed for web hosts, and is built upon the 2.6.32 kernel, which provides updated security, stability, and compatibility. On the subject of compatibility, CloudLinux is fully ready to roll with Red Hat and CentOS, as well as almost every control panel you can name. This includes cPanel, Plesk, DirectAdmin, and a choice few others.
If you’re concerned (or even just interested) in making the swap to CloudLinux, the company promises it can be done in under ten minutes without any damage to your existing systems. Not only that, but until October 15, the company will even provide you with free installation or conversion.
But still, what’s so great about CloudLinux? Well, not only is it the sole commercially-supported (think better tech-support) Linux OS made specifically for shared hosting, but it also comes with a unique feature set. The service brands each user account with a dedicated Lightweight Virtual Environment (that’s an LVE for those with the savoir faire). Each virtual environment allows the superuser—that’d be you, web hosters—to limit the CPU, memory, and concurrent connections allowed for each tenant.
Essentially, this eliminates any negative feelings between neighbors, or bad vibes between you and your tenants. Never again will one of your delinquent users suck up all the bandwidth, or use more than their fair share of the server’s CPU. With total control over your consumers, you might actually start to feel like the virtual slumlord you are.
Not to mention that CloudLinux offers MySQL Governor for further control over available database resources. The developer will also soon release the first virtualized file system available for shared hosters. This system, titled CageFS, will take some large steps towards ensuring your consumers’ files can only be accessed by them, or their associates.
All in all, CloudLinux is shaping up to be quite the Linux-based operating system. If you’re looking to swap, now is the time, what with the free installation and conversion. If you’d like more information, feel free to shoot the developer a message here. They’ll answer your questions, and of course, try to hook you even harder than we just did.