directadmin的build升级或降级功能

使用build来升级Directadmin自带的软件,无需再配置其他东西.
关联性等一些东西DA会自动做好,这样也省事.
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.19
|
+——————————————————–
| 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 curl
| ./build dovecot
| ./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 suphp
| ./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 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 <option> d : do the default action
| ./build <option> y : answer yes to all questions
| ./build <option> n : answer no to all questions
+——————————————————–

0 0 投票数
文章评分
订阅评论
提醒
guest

1 评论
最旧
最新 最多投票
内联反馈
查看所有评论
an9
an9
2011年6月2日 17:04

我来了。

1
0
希望看到您的想法,请您发表评论x