Home » Hosting Controller » DirectAdmin

[ HOW-TO] Install XCache on CentOS 5.2 64-bit that has DirectAdmin installed

First of all, if you are using DirectAdmin in PHP-CGI (suPHP) mode, don’t waste your time follow this HOW-TO. Although these steps work with PHP-CGI but you will get nothing from doing it. For PHP-CLI, I found that it help to decrease my server load from about 10 or more down to about 1 but [...]

Use Nginx as a reverse proxy for DirectAdmin

I try to use Nginx as a reverse proxy to see if there is any improvement over Apache Worker MPM or not. I found an instruction from DirectAdmin webboard but it’s quite old. So, I just tried to follow their steps and do some modification to match what I have read. Below is what I [...]

Updating DirectAdmin Manually

If you need to update your copy of DirectAdmin manually, you can do so by running the following commands:cd /usr/local/directadmin wget -O update.tar.gz https://www.directadmin.com/cgi-bin/daupdate?uid=123\&lid=1234 tar xvzf update.tar.gz ./directadmin p cd scripts ./update.sh service directadmin restart Where 123 and 1234 are your Client ID and License ID, respectively. Note that if you are running FreeBSD, you [...]

Setup a per-user php.ini to allow open_basedir with suPhp

new way: If you wish to use per-user php.ini files in: /usr/local/directadmin/data/users/username/php/php.ini then you can use this guideto add the code: SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/|USER|/php/ to the VirtualHost entires for that domain and it’s subdomains.   This will tell suPhp to look in that path for a php.ini. It’s loaded after the main php.ini, so if [...]

IMAP Directadmin

IMAP-2004c1 support i386 yum install krb5-devel libc-client libc-client-devel -y wget http://dave.t0xic.nl/tars/imapback-2004c1-x86.tar.gz tar xzf imapback-2004c1-x86.tar.gz cd imap-2004c1 ./buildit cd c-client mkdir /usr/local/imap-2004c1/ mkdir /usr/local/imap-2004c1/lib mkdir /usr/local/imap-2004c1/include cp *.h /usr/local/imap-2004c1/include cp *.c /usr/local/imap-2004c1/lib cp c-client.a /usr/local/imap-2004c1/lib ln -s /usr/local/imap-2004c1/c-client.a /usr/local/imap-2004c1/libc-client.a IMAP-2004c1 support x86_64 yum install krb5-devel libc-client libc-client-devel -y wget http://dave.t0xic.nl/tars/imapback-2004c1-x86_64.tar.gz tar xzf imapback-2004c1-x86_64.tar.gz cd imap-2004c1 ./buildit [...]

How to setup jailed ssh and jailed cgi (beta)

If you run custombuild, the jailed script portion of this guide is in the options.conf. #Jailed shell (beta) jail=yes Then type ./build all_jail The “./jail/jail_user.sh user” (from the custombuild dir) would be used for each user you want to jail. The remaining httpd.conf and other options from this guide still apply. 1) First, install the [...]

Exim Remove All messages From the Mail Queue

Question: I’m using Exim mail server under CentOS Linux. How do I remove all messages from the Exim mail queue using a shell prompt? Answer: Exim is a mail transfer agent (MTA) used on Unix-like operating systems. It aims to be a general and flexible mailer with extensive facilities for checking incoming e-mail.   To [...]

DirectAdmin 1.391 : pcfg_openfile: unable to check htaccess file, ensure it is readable

Today, I got a problem with one of my website. Suddenly, I could access my website using Nginx but all themes were gone. I, then, switched back to Apache. It became worse. I can’t access my website at all. The error when access my website using Apache is below : Forbidden You don’t have permission [...]

DirectAdmin PHP Intl Extension

Q: I want to install the php intl extension. I’m used to install things by yum but directadmin has hes own install by default A: cd /usr/local/directadmin/custombuild ./build used_configs Edit your PHP 5 config file, related to configuration you can have ap2 or suphp: vi /usr/local/directadmin/custombuild/configure/ap2/configure.php5 or mkdir -pv custom/ap2 cp -v configure/ap2/configure.php5 custom/ap2/configure.php5 vi /usr/local/directadmin/custombuild/custom/ap2/configure.php5 [...]

DirectAdmin with mod_fcgid

All steps below should be done with a new clean install of DirectAdmin. It is possible to make it work on the server that already have users on it. I did that and it works perfectly fine. However, the steps will be a bit different and it won’t work if you just follow instruction below. [...]

Enter your email address:

Liên Kết Website

web design | Shared linux windows problems | Dedicated server | website chất lượng cao | hosting chất lượng cao | Tutorial video collection | Troubleshooting Tips and Tutorial