Connect to SSH using customed port from UBuntu Terminal

Scope and conditions :

  1. SSH service is running on remote server.
  2. SSH is binded to IP address 10.10.10.10.
  3. SSH service is running on Port 9394 or customed port (SSH default port 22).
  4. There is no firewall on your computer or your network. (more…)

Not enough space in tmp due to eaccelerator

OS : Linux CentOS 5, cPanel® 11.24

Problem :

a. Centos /tmp keeps on getting full, culprit identified is EAcclerator.
b. Production server that needs minimal down time minimal changes.

Scope :

a. OS is CentOS 5.2 redhat
b. /var has more than 4GB free space
c. Have administrator and root access

Possible solution :

a. Recompile Apache with EAccelerator disabled.
b. Create cron to clear to clear space in regular interval.
c. Create a customed script that clears EAccelerator cache at regular interval.

What is your choice ? (more…)

Install PEAR in Windows Vista or Windows Server 2008

System and OS : Windows Vista or Windows Server 2008
PHP Version :  PHP 5.2.6 or 5.2 major version
Web Server : IIS6 or IIS7
Assumption : PHP 5 is installed and web application running PHP-CGI or FastCGI

1. Open command prompt as Administrator. (more…)

Update wordpress manually step-by-step

1. Disable all your plugin and change template to default wordpress.

2. Logon to SSH using your favorite SSH Client.

(more…)