質問編集履歴

1

PC出力部分の先頭に'を追記

2017/06/22 05:00

投稿

pontarou
pontarou

スコア8

title CHANGED
File without changes
body CHANGED
@@ -8,89 +8,89 @@
8
8
  ・CentOS-Base.repo内のbaseurl=に理研のURLを貼る
9
9
  ・DNS設定済み
10
10
 
11
- CentOS-Base.repoの内容です。
11
+ 'CentOS-Base.repoの内容です。'
12
- # CentOS-Base.repo
12
+ "# CentOS-Base.repo"
13
- #
13
+ '#
14
- # The mirror system uses the connecting IP address of the client and the
14
+ '# The mirror system uses the connecting IP address of the client and the
15
- # update status of each mirror to pick mirrors that are updated to and
15
+ '# update status of each mirror to pick mirrors that are updated to and
16
- # geographically close to the client. You should use this for CentOS updates
16
+ '# geographically close to the client. You should use this for CentOS updates
17
- # unless you are manually picking other mirrors.
17
+ '# unless you are manually picking other mirrors.
18
- #
18
+ '#
19
- # If the mirrorlist= does not work for you, as a fall back you can try the
19
+ '# If the mirrorlist= does not work for you, as a fall back you can try the
20
- # remarked out baseurl= line instead.
20
+ '# remarked out baseurl= line instead.
21
- #
21
+ '#
22
- #
22
+ '#
23
23
 
24
- [base]
24
+ '[base]
25
- name=CentOS-$releasever - Base
25
+ 'name=CentOS-$releasever - Base
26
- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
26
+ '#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
27
- #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
27
+ '#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
28
- baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
28
+ 'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/os/$basearch/
29
- gpgcheck=1
29
+ 'gpgcheck=1
30
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
30
+ 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
31
31
 
32
- #released updates
32
+ '#released updates
33
- [updates]
33
+ '[updates]
34
- name=CentOS-$releasever - Updates
34
+ 'name=CentOS-$releasever - Updates
35
- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
35
+ '#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
36
- #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
36
+ '#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
37
- baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
37
+ 'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/updates/$basearch/
38
- gpgcheck=1
38
+ 'gpgcheck=1
39
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
39
+ 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
40
40
 
41
- #additional packages that may be useful
41
+ '#additional packages that may be useful
42
- [extras]
42
+ '[extras]
43
- name=CentOS-$releasever - Extras
43
+ 'name=CentOS-$releasever - Extras
44
- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
44
+ '#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra
45
- #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
45
+ '#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/
46
- baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
46
+ 'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/extras/$basearch/
47
- gpgcheck=1
47
+ 'gpgcheck=1
48
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
48
+ 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
49
49
 
50
- #additional packages that extend functionality of existing packages
50
+ '#additional packages that extend functionality of existing packages
51
- [centosplus]
51
+ '[centosplus]
52
- name=CentOS-$releasever - Plus
52
+ 'name=CentOS-$releasever - Plus
53
- #mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
53
+ '#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra
54
- #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
54
+ '#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/
55
- baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
55
+ 'baseurl=http://ftp.riken.jp/Linux/centos/$releasever/centosplus/$basearch/
56
- gpgcheck=1
56
+ 'gpgcheck=1
57
- enabled=0
57
+ 'enabled=0
58
- gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
58
+ 'gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
59
59
 
60
- yum update実行結果です。
60
+ 'yum update実行結果です。
61
- [root@localhost ~]# yum update
61
+ '[root@localhost ~]# yum update
62
- 読み込んだプラグイン:fastestmirror
62
+ '読み込んだプラグイン:fastestmirror
63
- http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.riken.jp; 不明なエラー"
63
+ 'http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: 'ftp.riken.jp; 不明なエラー"
64
- 他のミラーを試します。
64
+ '他のミラーを試します。
65
65
 
66
66
 
67
- One of the configured repositories failed (CentOS-7 - Base),
67
+ 'One of the configured repositories failed (CentOS-7 - Base),
68
- and yum doesn't have enough cached data to continue. At this point the only
68
+ 'and yum doesn't have enough cached data to continue. At this point the only
69
- safe thing yum can do is fail. There are a few ways to work "fix" this:
69
+ 'safe thing yum can do is fail. There are a few ways to work "fix" this:
70
70
 
71
- 1. Contact the upstream for the repository and get them to fix the problem.
71
+ ' 1. Contact the upstream for the repository and get them to fix the problem.
72
72
 
73
- 2. Reconfigure the baseurl/etc. for the repository, to point to a working
73
+ ' 2. Reconfigure the baseurl/etc. for the repository, to point to a working
74
- upstream. This is most often useful if you are using a newer
74
+ ' upstream. This is most often useful if you are using a newer
75
- distribution release than is supported by the repository (and the
75
+ ' distribution release than is supported by the repository (and the
76
- packages for the previous distribution release still work).
76
+ ' packages for the previous distribution release still work).
77
77
 
78
- 3. Disable the repository, so yum won't use it by default. Yum will then
78
+ ' 3. Disable the repository, so yum won't use it by default. Yum will then
79
- just ignore the repository until you permanently enable it again or use
79
+ ' just ignore the repository until you permanently enable it again or use
80
- --enablerepo for temporary usage:
80
+ ' --enablerepo for temporary usage:
81
81
 
82
- yum-config-manager --disable base
82
+ ' yum-config-manager --disable base
83
83
 
84
- 4. Configure the failing repository to be skipped, if it is unavailable.
84
+ ' 4. Configure the failing repository to be skipped, if it is unavailable.
85
- Note that yum will try to contact the repo. when it runs most commands,
85
+ ' Note that yum will try to contact the repo. when it runs most commands,
86
- so will have to try and fail each time (and thus. yum will be be much
86
+ ' so will have to try and fail each time (and thus. yum will be be much
87
- slower). If it is a very temporary problem though, this is often a nice
87
+ ' slower). If it is a very temporary problem though, this is often a nice
88
- compromise:
88
+ ' compromise:
89
89
 
90
- yum-config-manager --save --setopt=base.skip_if_unavailable=true
90
+ ' yum-config-manager --save --setopt=base.skip_if_unavailable=true
91
91
 
92
- failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
92
+ 'failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
93
- http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: ftp.riken.jp; 不明なエラー"
93
+ 'http://ftp.riken.jp/Linux/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: 'ftp.riken.jp; 不明なエラー"'
94
94
 
95
95
  まだはじめたばかりですので、至らない点がある、必要な情報がある場合はご指摘ください。
96
96
  よろしくお願いします。