linux配置本地yum安裝--FTP yum
1:首先將ISO檔案複製到伺服器上
2:進行ISO檔案掛載
mount -o loop /backup/soft/rhel-server-6.4-x86_64-dvd.iso /mnt/cdrom/
3:配置yum
[root@db_test yum.repos.d]# cat local.repo
[base]
name=local
baseurl=file:///mnt/cdrom/
gpgcheck=0
enabled=1
4:進行yum 安裝
[root@db_test yum.repos.d]# yum install vsftpd
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================
Installing:
vsftpd x86_64 2.2.2-11.el6 base 151 k
Transaction Summary
===============================================================================================================================================================================================
Install 1 Package(s)
Total download size: 151 k
Installed size: 331 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : vsftpd-2.2.2-11.el6.x86_64 1/1
Installed products updated.
Verifying : vsftpd-2.2.2-11.el6.x86_64 1/1
Installed:
vsftpd.x86_64 0:2.2.2-11.el6
Complete!
2:進行ISO檔案掛載
mount -o loop /backup/soft/rhel-server-6.4-x86_64-dvd.iso /mnt/cdrom/
3:配置yum
[root@db_test yum.repos.d]# cat local.repo
[base]
name=local
baseurl=file:///mnt/cdrom/
gpgcheck=0
enabled=1
vi /etc/yum.repos.d/yumftp.repo
[ftp]
name=ftpyum
baseurl=ftp://10.10.15.110/Server
gpgcheck=0
4:進行yum 安裝
[root@db_test yum.repos.d]# yum install vsftpd
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vsftpd.x86_64 0:2.2.2-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================
Installing:
vsftpd x86_64 2.2.2-11.el6 base 151 k
Transaction Summary
===============================================================================================================================================================================================
Install 1 Package(s)
Total download size: 151 k
Installed size: 331 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : vsftpd-2.2.2-11.el6.x86_64 1/1
Installed products updated.
Verifying : vsftpd-2.2.2-11.el6.x86_64 1/1
Installed:
vsftpd.x86_64 0:2.2.2-11.el6
Complete!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28869493/viewspace-2101206/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ▲▲▲▲▲▲▲▲▲▲▲yum源的配置(本地和ftp)▲▲▲▲▲▲▲▲▲▲▲▲▲vFTP
- Linux本地yum配置Linux
- RedHat Linux 本地Yum源安裝RedhatLinux
- Linux 本地yum源配置Linux
- 配置本地yum源及安裝必要的包
- 12C安裝及本地YUM源配置
- Linux下配置本地yum源Linux
- CentOS安裝配置yumCentOS
- Linux下安裝java及配置(yum安裝)LinuxJava
- 【Linux】Linux軟體安裝管理2 使用安裝光碟配置本地yum倉庫Linux
- Linux 安裝 yumLinux
- Linux系統配置本地yum源Linux
- linux配置本地ISO的yum源Linux
- yum的安裝與配置
- 本地yum庫製作及本地安裝DockerDocker
- linux 安裝yum 安裝phpLinuxPHP
- 【Linux】yum 安裝nginxLinuxNginx
- linux 5&6&7 本地yum配置Linux
- Linux yum 本地源Linux
- CentOS配置Nginx官方的Yum源及yum安裝phpCentOSNginxPHP
- Redhat 簡單本地yum 配置Redhat
- redhat6.2配置本地yumRedhat
- yum安裝
- Oracle Enterprise Linux 6.0配置本地yumOracleLinux
- 【Linux】Linux軟體安裝管理4 使用rpm包配置本地yum倉庫Linux
- Linux安裝MySQL(使用yum)LinuxMySql
- linux下yum安裝mongoLinuxGo
- linux系統安裝yumLinux
- RedHat Linux安裝CentOS YUMRedhatLinuxCentOS
- Redhat linux 6.5 yum安裝RedhatLinux
- linux配置yumLinux
- Linux 配置YUMLinux
- Centos-Stream 配置本地yum源和配置阿里雲yum源CentOS阿里
- postgresql的yum安裝及配置方法SQL
- CentOS 7 yum 安裝與配置 JDKCentOSJDK
- CentOS 7 yum 安裝與配置 RedisCentOSRedis
- Puppet+foreman 本地yum安裝手冊REM
- RHEL6.5使用安裝光碟搭建本地YUM