Archive forDecember, 2007

Plesk Migration

The best way it is make Plesk backup using PleskX.pl migration agent and restore it on the new server. Follow the steps below:

- mount the old drive, for example to /restore folder. If there are several partitions on the old drive, for example ‘/’ and ‘/var’, they all should be mounted as they were in the old system, so ‘/’ is mounted to /restore/ and ‘/var/’ to ‘/restore/var/’

__(’Read the rest of this entry »’)

Comments

PHP on Linux

Download the latest source from php.net

Requirements:
httpd
httpd-devel
gd
libjpeg-devel
libpng-devel
libc-client

__(’Read the rest of this entry »’)

Comments

Cacti

What is Cacti?
Cacti uses RRDTool to generate graphs for network statistics.

Requirements:
Mysql
Php
Rrdtool
net-snmp

__(’Read the rest of this entry »’)

Comments

Ruby on Rails

Here’s how to install Ruby on Rails on a cPanel system:

First install Ruby:
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.gz
tar -xvzf ruby-1.8.6.tar.gz
cd ruby-1.8.6
./configure

__(’Read the rest of this entry »’)

Comments

Install RPMFORGE on CentOS

RPMForge is a collaboration of Dag, Dries, and other packagers. They provide over 2600 packages for CentOS, including mplayer, xmms-mp3, and other popular media tools. It is not part of RedHat or CentOS but is designed to work with these major distributions.

http://wiki.centos.org/Repositories/RPMForge

rpmforge

__(’Read the rest of this entry »’)

Comments

Backing & Restoring MySQL Dbs

mysqldump tool can be used to backup and restore a MySQL Database

Backing Up DBs

# mysqldump db_name > db_name.sql

Restoring DBs

__(’Read the rest of this entry »’)

Comments

Grant privileges to Local & Remote Users - MySQL

Login to mysql shell and key in :

For Local users :

  • mysql> grant all on database.* to username@’localhost’ identified by’password’;
  • mysql> flush privileges;

Now connect as: mysql -u username -p databasename

__(’Read the rest of this entry »’)

Comments

FFMPEG Installation in 20 STEPS

FFMPEG Installation in 20 STEPS

1. Verify Packages

rpm -qa | grep automake

rpm -qa | grep autoconf

rpm -qa | grep libtool

rpm -qa | grep m4

rpm -qa | grep gcc-c++

 

__(’Read the rest of this entry »’)

Comments (1)