Professional Documents
Culture Documents
4 update
[root@server0 yum.repos.d]# ll
總計 12
-rw-r--r--. 1 root root 200 Dec 16 19:39 centos74.repo
-rw-r--r--. 1 root root 202 Dec 16 19:33 rhel72.repo
-rw-r--r--. 1 root root 186 Jan 7 2015 rhel_dvd.repo
[root@server0 yum.repos.d]# yum-config-manager
--add-repo=http://mirror01.idc.hinet.net/CentOS/7.4.1708/updates/x86_64/
Loaded plugins: langpacks
adding repo from: http://mirror01.idc.hinet.net/CentOS/7.4.1708/updates/x86_64/
[mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_]
name=added from: http://mirror01.idc.hinet.net/CentOS/7.4.1708/updates/x86_64/
baseurl=http://mirror01.idc.hinet.net/CentOS/7.4.1708/updates/x86_64/
enabled=1
[root@server0 yum.repos.d]# ll
總計 16
-rw-r--r--. 1 root root 200 Dec 16 19:39 centos74.repo
-rw-r--r--. 1 root root 218 Dec 16 20:06
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_.repo
-rw-r--r--. 1 root root 202 Dec 16 19:33 rhel72.repo
-rw-r--r--. 1 root root 186 Jan 7 2015 rhel_dvd.repo
[root@server0 yum.repos.d]# yum repolist
Loaded plugins: langpacks
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_ | 3.4 kB 00:00
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_/pri | 4.5 MB 00:01
repo id repo name status
centos74 CENTOS 74 DVD 9,591
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_ added from: http:/ 1,540
rhel72 RHEL7.2 DVD 4,620
rhel_dvd Remote classroom c 4,305
repolist: 20,056
[mirror01.idc.hinet.net_epel_7_x86_64_]
name=added from: http://mirror01.idc.hinet.net/epel/7/x86_64/
baseurl=http://mirror01.idc.hinet.net/epel/7/x86_64/
enabled=1
Name and summary matches only, use "search all" for everything.
[root@server0 yum.repos.d]# yum install ntfs-3g ntfsprogs
Loaded plugins: langpacks
Resolving Dependencies
--> Running transaction check
---> Package ntfs-3g.x86_64 2:2017.3.23-1.el7 will be installed
---> Package ntfsprogs.x86_64 2:2017.3.23-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ntfs-3g x86_64 2:2017.3.23-1.el7 mirror01.idc.hinet.net_epel_7_x86_64_ 263 k
ntfsprogs x86_64 2:2017.3.23-1.el7 mirror01.idc.hinet.net_epel_7_x86_64_ 363 k
Transaction Summary
================================================================================
Install 2 Packages
Installed:
ntfs-3g.x86_64 2:2017.3.23-1.el7 ntfsprogs.x86_64 2:2017.3.23-1.el7
Complete!
*****************************
setup multimedia codec for CENTOS7
https://wiki.centos.org/zh-tw/TipsAndTricks/MultimediaOnCentOS7
[root@server0 yum.repos.d]# rpm -Uvh
http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-
5.el7.nux.noarch.rpm
正在擷取 http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-
5.el7.nux.noarch.rpm
警告:/var/tmp/rpm-tmp.2o6bYf: 表頭 V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
錯誤:相依關係失敗:
epel-release 被 nux-dextop-release-0-5.el7.nux.noarch 需要
[root@server0 yum.repos.d]# ll
總計 20
-rw-r--r--. 1 root root 200 Dec 16 19:39 centos74.repo
-rw-r--r--. 1 root root 218 Dec 16 20:06
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_.repo
-rw-r--r--. 1 root root 167 Dec 16 20:11 mirror01.idc.hinet.net_epel_7_x86_64_.repo
-rw-r--r--. 1 root root 202 Dec 16 19:33 rhel72.repo
-rw-r--r--. 1 root root 186 Jan 7 2015 rhel_dvd.repo
[root@server0 yum.repos.d]# rm mirror01.idc.hinet.net_epel_7_x86_64_.repo
rm:是否移除普通檔案‘mirror01.idc.hinet.net_epel_7_x86_64_.repo’? y
[root@server0 yum.repos.d]# yum install http://mirror01.idc.hinet.net/epel/epel-
release-latest-7.noarch.rpm
Loaded plugins: langpacks
epel-release-latest-7.noarch.rpm | 15 kB 00:00
Examining /var/tmp/yum-root-rKJXAU/epel-release-latest-7.noarch.rpm: epel-release-
7-11.noarch
Marking /var/tmp/yum-root-rKJXAU/epel-release-latest-7.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
epel-release noarch 7-11 /epel-release-latest-7.noarch 24 k
Transaction Summary
================================================================================
Install 1 Package
Total size: 24 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : epel-release-7-11.noarch 1/1
Verifying : epel-release-7-11.noarch 1/1
Installed:
epel-release.noarch 0:7-11
Complete!
[root@server0 yum.repos.d]# rpm -Uvh
http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-
5.el7.nux.noarch.rpm
正在擷取 http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-
5.el7.nux.noarch.rpm
警告:/var/tmp/rpm-tmp.7e5tad: 表頭 V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY
正在準備… ################################# [100%]
Updating / installing...
1:nux-dextop-release-0-5.el7.nux ################################# [100%]
[root@server0 yum.repos.d]# yum repolist
Loaded plugins: langpacks
epel/x86_64/metalink | 8.3 kB 00:00
epel | 4.7 kB 00:00
http://mirror01.idc.hinet.net/EPEL/7/x86_64/repodata/repomd.xml: [Errno -1]
repomd.xml does not match metalink for epel
Trying other mirror.
epel | 4.7 kB 00:00
nux-dextop | 2.9 kB 00:00
(1/4): epel/x86_64/group_gz | 266 kB 00:00
(2/4): epel/x86_64/updateinfo | 857 kB 00:01
(3/4): nux-dextop/x86_64/primary_db | 1.7 MB 00:01
(4/4): epel/x86_64/primary_db | 6.1 MB 00:22
repo id repo name status
centos74 CENTOS 74 DVD 9,591
epel/x86_64 Extra Packages for 12,136
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_ added from: http:/ 1,540
nux-dextop/x86_64 Nux.Ro RPMs for ge 2,566
rhel72 RHEL7.2 DVD 4,620
rhel_dvd Remote classroom c 4,305
repolist: 34,758
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
icedtea-web x86_64 1.6.2-4.el7 centos74 1.6 M
Installing for dependencies:
copy-jdk-configs noarch 2.2-5.el7_4
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_
19 k
java-1.8.0-openjdk x86_64 1:1.8.0.151-1.b12.el7_4
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_
241 k
java-1.8.0-openjdk-headless x86_64 1:1.8.0.151-1.b12.el7_4
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_
32 M
lksctp-tools x86_64 1.0.17-2.el7 centos74 88 k
tagsoup noarch 1.2.1-8.el7 centos74 112 k
Updating for dependencies:
chkconfig x86_64 1.7.4-1.el7 centos74 181 k
ntsysv x86_64 1.7.4-1.el7 centos74 38 k
tzdata-java noarch 2017c-1.el7
mirror01.idc.hinet.net_CentOS_7.4.1708_updates_x86_64_
183 k
Transaction Summary
================================================================================
Install ( 5 Dependent packages)
Upgrade 1 Package (+3 Dependent packages)
Dependency Installed:
copy-jdk-configs.noarch 0:2.2-5.el7_4
java-1.8.0-openjdk.x86_64 1:1.8.0.151-1.b12.el7_4
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.151-1.b12.el7_4
lksctp-tools.x86_64 0:1.0.17-2.el7
tagsoup.noarch 0:1.2.1-8.el7
Updated:
icedtea-web.x86_64 0:1.6.2-4.el7
Dependency Updated:
chkconfig.x86_64 0:1.7.4-1.el7 ntsysv.x86_64 0:1.7.4-1.el7
tzdata-java.noarch 0:2017c-1.el7
Complete!