Recently I had problem with apache after upgrade, and after checking log files, I found that error was
PHP Fatal error: [ionCube Loader] The Loader must appear as the first entry in the php.ini file in Unknown on line 0
This is because ionCube must be loaded before any of the Zend...
This tutorials will help you to install PPTP vpn on Xen vps.
PPTP installation:
Debian
apt-get install pptp
CentOS
yum -y install pptp
Configuration:
Open /etc/pptpd.conf and add following 2 lines
nano -w /etc/pptpd.conf
localip 123.123.123.123
remoteip 192.168.1.1-200
Replace...
While updating a server, I got perl dependency error with Samba
# yum upgrade
.....
.....
samba-3.0.33-3.7.el5.i386 from base has depsolving problems
--> Missing Dependency: perl(Convert::ASN1) is needed by package samba-3.0.33-3.7.el5.i386 (base)
Error: Missing Dependency:...
By default smtp servers use port 25 but some of the isps block port 25 and force their users to use their smtp server to avoid spamming, however Cpanel have a simple option to add additional smtp port so that your users can use their website's smtp server to send emails.
Login into WHM.
Click...
By default plesk 9.x and 8.x comes with php 5.1 installed, however if your application requires php 5.2 specifically then you can upgrade it manually with simple steps.
wget -q -O - http://www.ucvhost.com/installers/atomic.sh |sh
yum update php
yum install php-soap
yum install...
Cpanellogd [log processing] and cpbackup [Backups] consumes lots of CPU power of server. Therefore, it is not recommended to run cpanellogd and cpbackup at the same time on shared server. By default cpanel run them at the same time, however you can set cpanel to not to run them at the same time to...
All linux and Unix distributions comes with kill command inside.
Killing process by name
If you know the process name which you want to kill then you can simply use
killall [process_name]
killall -9 [process_name]
Killing process by process ID
You can find process ID of a process...
If you find a process creating load on your linux machine, and you want to find the application, file or script which is running this process and ps aux command is your friend.
Suppose, a php process is running and creating load, you can run
ps aux | grep php
It will show the the path to file...
Default partition of /tmp in cpanel is 500MBs and if for some reasons it get full, cpanel start sending alerts.
Drive Critical: /usr/tmpDSK (/tmp) is 100% full
It also cause the services like apache, mysql to stop working because whenever these services run, they create temporary files which stop...
There was a time when I was about to select a firewall for a server which had DirectAdmin installed and I choosed CSF. CSF is one of the best firewall available for hosting servers.
Installation of CSF in directAdmin is really easy, just download csf.
Extract it
and Install it
Just a 3...