File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ # Yum 下载安装包及对应依赖包
2+
3+ ------
4+
5+ ## 安装
6+
7+
8+ - 安装该软件:` yum install -y yum-plugin-downloadonly `
9+
10+ - 以下载 openssh-server 为例:
11+ - ` yum install -y openssh-server --downloadonly --downloaddir=/opt/ssh `
12+ - 在 /opt/ssh 目录下有如下内容:
13+
14+ ``` bash
15+ -rw-r--r--. 1 root root 280524 Aug 13 2015 openssh-5.3p1-112.el6_7.x86_64.rpm
16+ -rw-r--r--. 1 root root 448872 Aug 13 2015 openssh-clients-5.3p1-112.el6_7.x86_64.rpm
17+ -rw-r--r--. 1 root root 331544 Aug 13 2015 openssh-server-5.3p1-112.el6_7.x86_64.rpm
18+ ```
19+
20+ - 安装下载的 rpm 文件:` sudo rpm -ivh *.rpm `
21+
22+
23+ ## NFS 资料
24+
25+ - < http://www.jianshu.com/p/5930545b5591 >
Original file line number Diff line number Diff line change 66- [ Bash 命令] ( Bash.md )
77- [ CentOS 其他常用命令] ( CentOS-Other-Bash.md.md )
88- [ Linux 下常用压缩文件的解压、压缩] ( File-Extract-Compress.md )
9+ - [ Yum 下载安装包及对应依赖包] ( Off-line-Yum-Install.md )
910- [ SSH(Secure Shell)介绍] ( SSH.md )
1011- [ FTP(File Transfer Protocol)介绍] ( FTP.md )
1112- [ VPN(Virtual Private Network)介绍] ( VPN.md )
You can’t perform that action at this time.
0 commit comments