WenRou's Blog

新浪微薄腾讯微薄

最新碎语:测试图片碎语哦

您的位置:WenRou's Blog >面板> DirectAdmin 的 Build 升级或降级功能

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><option> y : answer yes to all questions  
|     ./build </option><option> n : answer no to all questions   
+--------------------------------------------------------</option>

---

转载请注明本文标题和链接:《DirectAdmin 的 Build 升级或降级功能

发表评论

32 + 5 =
路人甲 表情
看不清楚?点图切换 Ctrl+Enter快速提交