给自己的企业建立本地ubuntu-apt仓库源(Build your own local ubuntu-apt warehouse source for your enterprise).doc
- 1、本文档共14页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
给自己的企业建立本地ubuntu-apt仓库源(Build your own local ubuntu-apt warehouse source for your enterprise)
给自己的企业建立本地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
您可能关注的文档
- 福师10秋学期《网页设计技术》在线作业一和二(附答案)(Fu Fu 10 autumn semester web design techniques online homework one and two (attached answer)).doc
- 福师11春学期《儿童文学》在线作业二(Fu Chun division 11 spring semester children's literature online homework two).doc
- 福师《前厅客房服务与管理》在线作业一(Fu division front room service and management online homework).doc
- 福师《学前儿童科学教育》在线作业一(Fu Fu division pre-school children's science education online homework).doc
- 福师《网络信息安全》在线作业一(Blessing division network information safety online homework one).doc
- 福建省保健食品生产许可公告(2012年第1期)(Fujian Province health food production license announcement (2012 first issue)).doc
- 福建省建瓯市九年级化学上学期期第一次月考试题(无答案)(The first monthly examination of grade nine chemistry in Fujian City, Jianou province (no answer)).doc
- 福建茶叶文化演变(二)(Evolution of tea culture in Fujian (two)).doc
- 私家车主头上的八座大山(Eight large mountains on the head of a private car owner).doc
- 福尔德(Fuld).doc
- 2023年江苏省镇江市润州区中考生物二模试卷+答案解析.pdf
- 2023年江苏省徐州市邳州市运河中学中考生物二模试卷+答案解析.pdf
- 2023年江苏省苏州市吴中区中考冲刺数学模拟预测卷+答案解析.pdf
- 2023年江苏省南通市崇川区田家炳中学中考数学四模试卷+答案解析.pdf
- 2023年江西省吉安市中考物理模拟试卷(一)+答案解析.pdf
- 2023年江苏省泰州市海陵区九年级(下)中考三模数学试卷+答案解析.pdf
- 2023年江苏省苏州市高新二中中考数学二模试卷+答案解析.pdf
- 2023年江苏省南通市九年级数学中考复习模拟卷+答案解析.pdf
- 2023年江苏省南通市海安市九年级数学模拟卷+答案解析.pdf
- 2023年江苏省泰州市靖江外国语学校中考数学一调试卷+答案解析.pdf
文档评论(0)