Generating RSA key using Linux or Ubuntu
For linux or ubuntu user who is lazy to login to remote by typing password or plainly to improve security measure. You may generate a RSA key type to authenticate the login process. Generating the RSA key is the very first step.
rsync using ssh which is using customed port
Rsync is a common command that users and administrator alike uses it to synchronize files. The closest function that Microsoft uses is xcopy .
Connect to SSH using customed port from UBuntu Terminal
Scope and conditions :
- SSH service is running on remote server.
- SSH is binded to IP address 10.10.10.10.
- SSH service is running on Port 9394 or customed port (SSH default port 22).
- 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…)