文档详情

给自己的企业建立本地ubuntu-apt仓库源(Build your own local ubuntu-apt warehouse source for your enterprise).doc

发布:2017-08-17约6.76千字共14页下载文档
文本预览下载声明
给自己的企业建立本地ubuntu-apt仓库源(Build your own local ubuntu-apt warehouse source for your enterprise) Build your own local ubuntu-apt warehouse source for your enterprise Source: /forum/thread-185077-1-1.html Many enterprises have their own WSUS server, which can provide system update service for enterprise windows users. Under Linux, similar services are the apt source of ubuntu/deb. Here I will introduce how to build a apt update service source for enterprise users. First, we have to install apt-mirror $sudo apt-get install apt-mirror Suppose we put images and other files under the /service/ubuntu folder: Please pre create the following folder (mirror.list, which prompts us to build a new folder in advance): /service/ubuntu /service/ubuntu/mirror /service/ubuntu/skel /service/ubuntu/var Configuring apt-mirror: $sudo VI /etc/apt/mirror.list -------------------------------------------------------------- ############# config ################## # # set base_path /var/spool/apt-mirror # You change the base # if path you must create the directories below with write privlages # # set mirror_path $base_path/mirror # set skel_path $base_path/skel # set var_path $base_path/var # set cleanscript $var_path/clean.sh # set defaultarch running host architecture # we add or change as follows: Set base_path /service/ubuntu Set mirror_path $base_path/mirror Set skel_path $base_path/skel Set var_path $base_path/var Set cleanscript $var_path/clean.sh Set nthreads 20 Set _tilde 0 # End config ############## ############# We # the commonly used software synchronization over enough Deb-i386, /ubuntu, Hardy, main, restricted, universe, multiverse Deb-i386, /ubuntu, hardy-updates, main, restricted, universe, multiverse Deb-i386, /ubuntu, hardy-backports, main, restricted, universe, multiverse Deb-i386, /ubuntu, hardy-security, main, restricted, universe, multiverse Deb-i386, /ubuntu, hardy-proposed, main, restricted, universe, multiverse # when some packages have been updated on the server, or th
显示全部
相似文档