DirectAdmin Build 安装、升级、降级功能
使用Build来安装&升级Directadmin自带软件,无需再配置其他东西.
关联等一些东西DirectAdmin会自动做好,省事.
cd /usr/local/directadmin/custombuild/
./build dovecot
#这样便会升级dovecot,依赖性也会一次性解决
对于php ftp等组件,也可以强制指定版本(软件版本降级):
./build set php_ver 5.2
.build php n #如果php的版本高于5.2,就相当于降级了.
此操作php的版本会变回 5.2
如果运行 ./build all 则会升级所有配套软件,升级的前提条件是同级目录下的options.conf 里的选项为”yes”的软件
Directadmin build的所有功能及选项:
+--------------------------------------------------------+
DirectAdmin WebServices Installer
Written by Martynas Bendorius and DirectAdmin
Version: 1.1.28
+--------------------------------------------------------+
To build everything run:
./build all
NOTE: Command all will compile everything as it is set
in the options.conf file, please take a look at
"./build options"!
+--------------------------------------------------------+
Install/update server components:
./build apache
./build autoconf
./build automake
./build awstats
./build clamav
./build curl
./build dovecot
./build exim
./build freetype
./build iconv
./build icu
./build libjpeg
./build libpng
./build libtool
./build libxml2
./build libxslt
./build m4
./build mcrypt
./build mhash
./build mod_perl
./build mysql
./build pcre
./build php
./build proftpd
./build pureftpd
./build suphp
./build spamassassin
./build webalizer
./build zend
./build zlib
+--------------------------------------------------------+
Components configuration options:
./build exim_conf
./build rewrite_confs
./build secure_php
+--------------------------------------------------------+
Install/update web applications:
./build phpmyadmin
./build atmail
./build roundcube
./build squirrelmail
./build uebimiau
+--------------------------------------------------------+
CustomBuild related options/functions:
./build create_options
./build cron
./build options
./build set option_name value
./build set_fastest
./build set_fastest_quiet
./build update_da
./build update_versions
./build update_webapps
./build used_configs
./build versions
+--------------------------------------------------------+
Jailed shell (beta):
./build all_jail
./build coreutils
./build shell
./build smtp_mail
./jail/jail_user.sh user
+--------------------------------------------------------+
Remove old build data:
./build clean
./build clean_old_webapps
+--------------------------------------------------------+
Get latest build script or (and) data:
./build update
./build update_script
+--------------------------------------------------------+
Get data for current build script:
./build update_data
+--------------------------------------------------------+
Recommended for experienced users only (!):
./build php5-cli
./build php6-cli
./build php5-cgi
./build php6-cgi
./build todovecot
+--------------------------------------------------------+
You can pass a 2nd argument to automate the input:
./build
本文来转载自:http://www.hitsword.org/bo/directadmin-build/