Yum

在 CentOS 中使用 yum 下载 netkiller 手札 电子书


2017 版

		
		
cat > /etc/yum.repos.d/netkiller.repo <<EOF
[netkiller]
name=Netkiller Free Books
baseurl=http://www.netkiller.cn/download/rpm/
enabled=1
gpgcheck=0
gpgkey=
EOF

# yum repolist

# yum search netkiller

# yum install netkiller-centos
		
		
		

一次性使用*通配符安装所有文档

		
[root@netkiller ~]# yum install netkiller-*	
		
[root@netkiller ~]# ll /usr/share/doc/netkiller/
total 32
drwxr-xr-x 10 root root 4096 2018-01-05 22:31 architect
drwxr-xr-x 12 root root 4096 2018-01-05 22:31 database
drwxr-xr-x  6 root root 4096 2018-01-05 22:31 freebsd
drwxr-xr-x 26 root root 4096 2018-01-05 22:31 linux
drwxr-xr-x 22 root root 4096 2018-01-05 22:31 management
drwxr-xr-x 17 root root 4096 2018-01-05 22:31 mysql
drwxr-xr-x  9 root root 4096 2018-01-05 22:31 nosql
drwxr-xr-x  3 root root 4096 2018-01-05 22:31 postgresql		
		
		

2016 版

http://netkiller.sourceforge.net/pub/repo/

		
# cat >> /etc/yum.repos.d/netkiller.repo <<EOF
[netkiller]
name=Netkiller Free Books
baseurl=http://netkiller.sourceforge.net/pub/repo/
enabled=1
gpgcheck=0
gpgkey=
EOF
		
		

查找包

		
# yum search netkiller

netkiller-centos.x86_64 : Netkiller centos Cookbook
netkiller-cryptography.x86_64 : Netkiller cryptography Cookbook
netkiller-docbook.x86_64 : Netkiller docbook Cookbook		
		
		

安装包

			yum install netkiller-docbook
		

Netkiller 微信订阅号