Directadmin - Installing Web Server.
DirectAdmin control panel provide build script to install web server (Apache, PHP, Perl, etc... ) easily. This function similar to Cpanel /scripts/easyapache
To install web server on a DirectAdmin server, run following commands
cd /usr/local/directadmin/customapache/
rm -rf build
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build update_data_ap2
./build convert
./build clean
./build apache_2
./build php_ap2 y
./build mod_frontpage_ap2
./build mod_perl_ap2
./build zend
Running build script with out any option will give help options.
[root@peanut customapache]# ./build
*************************************
* *
* DirectAdmin WebServices Installer *
* *
*************************************
To build everything run:
./build all
Other options:
./build php
./build apache_mod_ssl
./build gd
./build libjpeg
./build libpng
./build zlib
./build curl
./build mcrypt
./build mhash
./build zzip
./build mod_perl
./build mod_frontpage #dso depreciated
./build frontpage_ext
./build webalizer
./build zend (not included with 'all')
Apache 2 options (beta):
./build update_data_ap2
./build convert
./build apache_2
./build php_ap2
./build mod_frontpage_ap2
./build mod_perl_ap2
Dovecot options (beta):
./build update_dovecot
./build dovecot
./build todovecot
Remove old build data:
./build clean
Get lastest build script and data
./build update
Get data for current build script
./build update_data
You can pass a 2nd argument to automate the input
./build d : do the default action
./build y : answer yes to all questions
./build n : answer no to all questions
[root@peanut customapache]#
|