Entries Tagged as 'tutorials'

Installing Subversion – Fixing Missing Dependency: perl(URI)

Without a doubt, the Missing Dependency: perl(URI) error is the most annoying error to run into when doing a quick, so-called painless yum install of subversion. We use subversion here to handle all our source code and when rolling that code out to new servers. So it’s pretty important that all our Linux servers (all running CentOS) are equipped with subversion. But time and time again, I was running into this problem and finally, through many Google searches, and compiling tips from a variety of sites, found a method that works for us here. Hopefully it works for you too.
[Read more →]

Power of Perl – Controlling and expanding Cpanel/WHM through the Cpanel/WHM API

When running a shared hosting environment, it is impossible to stay competitive without the use of some form of control panel. And in the world of linux shared web hosting, no control panel is as widely used as cPanel Inc’s cPanel/WHM combo. The Cpanel team has put a lot of time and effort into the remote administration of WHM, and through that Cpanel. With a little ingenuity and not much work, really, this API can be extended to include any functions you can imagine, up to and including the system administration of the machine itself. So lets look at the basics thereof.
[Read more →]

Debugging Perl on Linux – Just __END__ it now! <DATA> it later.

The art of debugging differs, some, with each language and it’s specific tools. Perl provides an interesting challenge to programmers since it, like most linux-originating languages, has no real IDE wherein it can be debugged step by step with breakpoints and like methodologies. Instead, the perl programmer must resort to using print statements, logging mechanisms, and then there is the __END__.
[Read more →]

Mime Types

cpanelMime types tell browsers how to handle certain extensions. For example, the text/html mime type equates to .htm, .html, and .shtml extensions on most servers, and this tells your browser to interpret all files with those extensions as HTML files.
[Read more →]

Building Web Sites for Profit and Fun – The Process.

So now you have the tools of the web developer. You have mastered photoshop, conquered XHTML formatting with CSS, and can develop ajax web components in your sleep, and often do. The tools and skills needed you possess; they are yours. Now it is time to bring them all together with… the process. One process to rule them all, one process to find them. One process to bring them all and in the web-sphere, bind them.
[Read more →]