Tagged: linux

Server Management 1

YUM: Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Have you ever ecounter this error “Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast”?

If you are running a server that was not able ti connect to an active repository server for weeks, that error will prompt about an outdated repository entries. This can be solved by purging the “yum data”

PHP Programming Start to End 0

PHP Autoloading Class

Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having to write a long list of needed includes at the beginning of each script (one for each class).

In PHP 5, this is no longer necessary. The spl_autoload_register() function registers any number of autloaders, enabling for classes and interfaces to be automatically loaded if they are currently not defined. By registering autoloaders, PHP is given a last chance to load the class or interface before it fails with an error.

Digital sign your email with DKIM 4

Digitally Sign Your Email with DKIM

Digitally sign your email with DKIM (DomainKeys Identified Mail) and help prevent email spoofing on your side. DKIM adds a private key which stays in your server and a public key that stays in your DNS record. The outgoing email header that you send gets encrypted and the recipient servers then retrieve the public key to decrypt the incoming headers and verify that the messages really comes from your domain and was not altered while it is on transit.

CentOS - Community Powered Operating System 0

Save Bandwidth Using Delta RPM

“What are Delta RPMs anyway?”. Linux OS providers have come up of a way to save bandwidth when installing or updating your Linux packages/programs. One of the answers are Delta RPMs. A Delta RPM basically collects the difference from the old RPM (packages on your computer) from the one available on the repository and only downloads the correct RPM stripped down to the exact changes.

Wordpress multi site using subdomain 0

Setup WordPress Multiple Site Using Subdomains on VIrtualmin

I keep on seeing a few multi-site Wordpress installation using a sub directory but a few have a multi-site using a subdomain. Firing up curiosity, I tried installing a one using subdomains instead.

This guide will teach you the easy way to do things using virtualmin.