
上QQ阅读APP看书,第一时间看更新
6.8 YUM源端软件包扩展
默认使用ISO镜像构建的HTTP YUM源,会发现缺少很多软件包。如果服务器需要挂载移动硬盘,mount挂载移动硬盘需要ntfs-3g软件包支持,而本地光盘镜像中没有该软件包,此时需要往YUM源端添加ntfs-3g软件包,添加方法如下:
(1)切换至/var/www/html/centos目录,官网下载ntfs-3g软件包。

(2)createrepo命令更新软件包,如需新增其他软件包,把软件下载至本地,然后通过createrepo更新即可,如图6-18所示。

图6-18 createrepo update更新软件包

(3)客户端YUM验证,安装ntfs-3g软件包,如图6-19所示。

图6-19 YUM install ntfs-3g软件包