Archive for 'Plesk'

Redirect Subdomain to another ip address or url

I have a tumblr site.We can use our own domain instead tumbr address, redirect our domain to tumblr. Not only a domain,we also can redirect a subdomain to tumblr. It’s easy. Go to our domain control panel. Choose your DNS Zone. We must point the domain’s A-Record to tumblr’s ip address. Add a DNS Record [...]

Turn On and Update Plesk Stat

Stat in one of servers is turn off and doesn’t updating for two days.
Check ‘root’ user crontab
crontab -l
output : 7 4 * * * /usr/local/psa/admin/sbin/statistics >/dev/null 2>&1
Check cron logs for records about the statistic utility executions
vi /var/log/cron
Check apache logs size. Make sure no bigger than 2GB.
Check database directories (mysql : /var/lib/mysql) have read/write permissions to [...]

FTP ‘connection timed out’

Ftp suddenly goes off and got ‘connection timed out’ before even connected
To determine what’s wrong with FTP :

take a look /var/log/messages file for detailed error reports.
the server hostname may not be resolved. In this case you should put the record like “SERVER_IP SERVER_HOSTNAME” into /etc/hosts.
Make sure that inetd/xinetd is running.If inetd/xinetd is not [...]

Important! Backup Part 1 : in Virtuozzo

Backup is an important thing to do before updating or upgrading Plesk (also important if we’re going to update or upgrade CentOS/RHEL). We can restore system to a previous state, if something goes wrong.
There are many ways to do backups. Here is a series of Backups :
I’m starting with Virtuozzo. Virtuozzo backups all system, files [...]

Installing phpMyAdmin outside CPanel or Plesk

CPanel and Plesk have phpMyAdmin inside their Control Panel/Administration Site. Only ‘root or ’superuser’ can access phpMyAdmin. This can be difficult if we have a development team, which each member needs to access databases. So we install phpMyAdmin outside Control Panel.

Download phpMyAdmin version 2.9.x or above
Extract phpMyAdmin and upload to server. Create a ‘not easy [...]

New Information:Updating Plesk 7.5.4 (Plesk 7.5 Reloaded) PHP (4) and MySQL (3) to PHP 5.0 and MySQL 4.1

Has been 4 days since my last post, i had (tons of) things to do from my office, so i didn’t have time to update Nineteen Labs. And now, I’m back with few information to update, such as updating PHP and MySQL.
I stopped httpd and plesk/psa and, started them again after yum update on how [...]

Installing mcrypt php extension

For Plesk 7.5 Reloaded with PHP version 5.0 :
Download php-mcrypt package
# wget http://3es.atomicrocketturtle.com/atomic-testing/art/4ES/RPMS/php-mcrypt-5.0.4-14.rhel4.art.i386.rpm
Install php-mcrypt package
# rpm -i php-mcrypt-5.0.4-14.rhel4.art.i386.rpm –nodeps
Note : –nodeps needed to avoid ‘failed dependencies’ warning
For Plesk 7.5 Reloaded without PHP version 5.0 (still in original version) :
# wget http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
# rpm –import RPM-GPG-KEY.dag.txt
# wget http://dag.wieers.com/rpm/packages/libmcrypt/libmcrypt-devel-2.5.7-1.2.el4.rf.i386.rpm
# rpm -i libmcrypt-devel-2.5.7-1.2.el4.rf.i386.rpm
# wget http://dag.wieers.com/rpm/packages/libmcrypt/libmcrypt-2.5.7-1.2.el4.rf.i386.rpm
# rpm -i [...]

Update Plesk 7.5.4 (Plesk 7.5 Reloaded) PHP and Mysql (to PHP 5.0 and MySQL 4.1)

This post has some additional informations. There is new actions here while updating Plesk 7.5 Reloaded PHP and MySQL, add command old_passwords=1 in /etc/my.cnf (please read below)
Update PHP, MYSQL and OpenSSL
# yum update php
# yum update mysql
# yum update openssl
Stop httpd
# /etc/init.d/httpd stop
Stop plesk/psa
# /etc/init.d/psa stop
Start all of them (httpd,named and psa)
# /etc/init.d/psa start
Check PHP [...]