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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Linux 安裝 yumLinux
- Linux下安裝java及配置(yum安裝)LinuxJava
- Linux系統配置本地yum源Linux
- linux配置本地ISO的yum源Linux
- oracle linux使用安裝盤製作本地yumOracleLinux
- CentOS安裝配置yumCentOS
- 【Linux】yum 安裝nginxLinuxNginx
- linux 安裝yum 安裝phpLinuxPHP
- linux 5&6&7 本地yum配置Linux
- Linux 使用Yum安裝Go和配置環境LinuxGo
- Linux安裝MySQL(使用yum)LinuxMySql
- Centos-Stream 配置本地yum源和配置阿里雲yum源CentOS阿里
- linux配置本地yum源 centos7.9為例LinuxCentOS
- Linux學習-通過光碟配置本地yum源Linux
- oel 7 本地yum源配置
- CentOS8配置本地yumCentOS
- Linux yum源配置以及yum命令講解Linux
- Linux伺服器---本地yumLinux伺服器
- CentOS 7 yum 安裝與配置 JDKCentOSJDK
- CentOS 7 yum 安裝與配置 RedisCentOSRedis
- CentOS 7 yum安裝與配置 TomcatCentOSTomcat
- postgresql的yum安裝及配置方法SQL
- linux yum下載依賴包到本地,不進行安裝Linux
- Linux上yum安裝mysql5.6LinuxMySql
- linux下yum無法安裝lrzszLinux
- yum安裝ansible
- yum 安裝 jenkinsJenkins
- yum安裝nginxNginx
- mysql yum 安裝MySql
- yum 安裝 PHPPHP
- centos-7.6配置本地yum源CentOS
- 02_2__配置本地YUM源
- RedHat8 配置本地yum源Redhat
- 搭建本地yum源,使用安裝光碟的rpm作為yum源的檔案
- yum安裝jdk如何配置JAVA_HOMEJDKJava
- Linux – CentOS 7 yum方式快速安裝MongoDBLinuxCentOSMongoDB
- Red Hat Linux安裝CentOS的yum源LinuxCentOS
- AIX的yum安裝AI
- postgres yum源安裝