Category: Direct Admin

server setup + directadmin

1)First install yum This is for x86_64 Bit centos -5.3. http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/ rpm –import http://mirror.centos.org/centos-5/5.3/os/x86_64/RPM-GPG-KEY-CentOS-5rpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-elementtree-1.2.6-5.x86_64.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-sqlite-1.1.7-1.2.1.x86_64.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/m2crypto-0.16-6.el5.3.x86_64.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/python-urlgrabber-3.1.0-5.el5.noarch.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/sqlite-3.3.6-2.x86_64.rpmrpm -ivh http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/rpm-python-4.4.2.3-9.el5.x86_64.rpmrpm –nodeps -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpmrpm -ihv http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/libxml2-2.6.26-2.1.2.7.x86_64.rpm rpm...

Updating and Compiling Apache and PHP

To update apache and compile everything, run the following: cd /usr/local/directadmin/customapache./build cleanrm -f configure.*./build update./build all Once the update has completed, you’ll need to restart apache: /sbin/service httpd restart Share it..

Directadmin: Log File paths

The first place you should go when trying to debug a problem is the log file for that program. The list of Log Files are as follows: DirectAdmin:/var/log/directadmin/error.log/var/log/directadmin/errortaskq.log/var/log/directadmin/system.log/var/log/directadmin/security.log Apache:/var/log/httpd/error_log/var/log/httpd/access_log/var/log/httpd/suexec_log/var/log/httpd/fpexec_log/var/log/httpd/domains/domain.com.error.log/var/log/httpd/domains/domain.com.log/var/log/messages (generic errors) Proftpd:/var/log/proftpd/access.log/var/log/proftpd/auth.log/var/log/messages (generic errors)...

Directadmin: Nameservers setup

Setup Your Nameservers on Directadmin To setup your nameservers, simply do the following: – Login to your DirectAdmin panel as “admin”– Go to your IP Management section, and add two new IP addresses– Once...

Restore directadmin data from backup drive

Direct Admin rsync process to restore accounts from backup drive. #Transfer /home data rsync -av –progress /backup/root/home / #Transfer important files from /etc drive. rsync -av –progress /backup/root/etc/passwd /etcrsync -av –progress /backup/root/etc/shadow /etcrsync -av...

Optimization WordPress Plugins & Solutions by W3 EDGE