usr

How to resolve PHP Pecl Memcached module installation problems

I am using on several projects memcached and on the application side the php memcached module. This can be installed as any pear/pecl module, or from source by downloading the source .tgz and running the classic phpize; ./configure; make; make install; While trying to upgrade the memcached module to the latest version available 2.1.2 I [...]

How to Get IP geolocation on Ubuntu with MaxMind geoip

MaxMind GeoIP is a collection of APIs for looking up the location of an IP address. It includes support for lookup of country, region, city, latitude, and longitude. Free GeoLite databases are available for the country and city.

How to configure Virtual Hosting using Apache 2 on Ubuntu

Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works. I become pretty handy as well while develloping different web project on the same machine and allows you to access to your local repository using addresses such as http://dev.mysite.com instead of http://localhost/~myuser/myproject/ :) . [...]

How to configure xinetd package in fedora

 xinetd, the eXtended InterNET Daemon, is an open-source daemon which runs on many Linux and Unix systems and manages Internet-based connectivity. It offers a more secure extension to or version of inetd, the Internet daemon. xinetd performs the same function as inetd: it starts programs that provide Internet services. Instead of having such servers started [...]

How to Implement Disk Quotas on Linux

This tutorial walks you through implementing disk quotas for both users and groups on Linux, using a virtual filesystem, which is a filesystem created from a disk file. Since quotas work on a per-filesystem basis, this is a way to implement quotas on a sub-section, or even multiple subsections of your drive, without reformatting. This [...]

How to install Zend Optimizer

The Zend Optimizer is a free runtime application that enables PHP to run the files encoded by the Zend Guard. This can be freely used by anyone looking to run encoded applications. Please download and follow the installation instructions included in the distributions. The simplest way to get a PHP runtime that includes Zend Optimizer [...]

How to Configure NFS to take backup from remote server

First, you have to make the appropriate directories available to nfs by “exporting” them. On the remote server, edit the /etc/exports file to expose the directories you need to the hosts that need to access them. See the man page for exports to find out all your options, but here’s a simple example from my [...]

How to install and configure webalizer in multiple domain on Centos 4.6

Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser. It was written to solve several problems with currently available analysis packages. A vast majority of them were written in Perl or some other scripting language, [...]

How to Back Up and Restore OpenVZ VMs With vzdump on CentOS

OpenVZ is an operating system-level virtualization technology based on the Linux kernel and operating system. OpenVZ allows a physical server to run multiple isolated operating system instances, known as containers, Virtual Private Servers (VPSs), or Virtual Environments (VEs). It’s similar to FreeBSD Jails and Solaris Zones. vzdump is a backup and restore utility for OpenVZ [...]

How To Install NicTool on FreeBSD 7

It includes an attractive web interface for users, admins, and clients to access and update their DNS zone data as well as a rich API for provisioning systems to interact with. All zone data is stored in MySQL and is extracted by export scripts to the DNS server of choice (tinydns, BIND, PowerDNS). Updates are [...]

How to Install and Configure the eAccelerator PHP cache on Apache

If you are looking for a way to speed up your PHP pages on Apache, this is the software you want to install. Huge performance gains can be had when using this software to precompile and cache your PHP pages, and it is very simple to install.

How to set PHP include_path

There are at least 2 ways you can set your PHP include_path. Edit your /etc/php.ini file. Inside that file is a directive section for “Paths and Directories.” By default it is set to “.:/usr/local/lib/php”. You can change that value to whatever you like or add to (or eliminate) the default like this: include_path = .:/usr/local/lib/php:./include [...]

How to Install and Configure CVS Server on Ubuntu – A version control system

Version control is the art of managing changes to information. It has long been a critical tool for programmers, who typically spend their time making small changes to software and then undoing those changes the next day. But the usefulness of version control software extends far beyond the bounds of the software development world. Anywhere you can find people using computers to manage information that changes often, there is room for version control

How to run a PHP script on cron

Lots of programmers like PHP for its ability to code and develop web applications fast. Code-debugging is a lot easier than with PERL or C. However, there is one thing a lot of developers are puzzled about, “How to run PHP Scripts with crontab?” Cron is normally available on all Unix and Linux distributions; if [...]