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
- +--------------------------------------------------------
你好,发现
服务器当前版本 1.44.0
最新可使用版本 1.441000
如何升级DA面板呢
/usr/local/directadmin/custombuild/build update
/usr/local/directadmin/custombuild/build update_versions
你好,我想降级 DA 的apache 2.2 版本的 ,现在是 2.4.3 的,请问可以降级吗
你好,没试过降级apache,理论上应该没问题。
降到2.2的版本,如果不行的话再升上去就可以了(没把握的话,操作前最好先备份一下)
您好,我想升级DA的php版本到最新5.36,但我之前有很多站点在上面,直接按照您的这个教程升级,那些站点不会出现问题吧?
你好,应该不会有什么大问题,具体要看php的版本有无限制什么,最好能先测试一下,生产环境没有把握的话,不要贸然动手。