1.nginx:
location / {
root /usr/local/Kylin-Server-V10-SP3-General-Release-2303-X86_64;
autoindex on;
autoindex_localtime on;
autoindex_exact_size off;
}
注:指定到鏡像的包名?
?2.修改yum源地址
cd /etc/yum.repos.d/
vim kylin_x86_64.repo
注: --enabled設(shè)置為1文章來源:http://www.zghlxwxcb.cn/news/detail-682524.html
?3.重建yum緩存文章來源地址http://www.zghlxwxcb.cn/news/detail-682524.html
yum clean all
yum makecache
yum repolist
到了這里,關(guān)于linux內(nèi)網(wǎng)yum源服務(wù)器搭建的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!