質問編集履歴
14
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,21 +8,6 @@
|
|
8
8
|
|
9
9
|
現在Apacheで動いているシステムに、nginxをリバースプロキシサーバとして差し込むことになりました。その際に本番環境(RHEL6.6)は外部ネットワークから切り離されてるらしく、CDに必要ファイルを焼いてインストールする方法の手順書を纏めなければならなくなりました。そのためにテストで使っていいと与えられたKVMの仮想マシン(CentOS6.7)で試行錯誤して頑張っています。
|
10
10
|
|
11
|
-
**追記(over様):**
|
12
|
-
|
13
|
-
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
14
|
-
そちらでarchコマンドを入力すると、x86_64でした。同環境でネットワークをオンオフしテストをしています。
|
15
|
-
|
16
|
-
```
|
17
|
-
# yum localinstall /media/UDF\ Volume/*.rpm
|
18
|
-
読み込んだプラグイン:fastestmirror, refresh-packagekit, security
|
19
|
-
ローカルパッケージ処理の設定をしています
|
20
|
-
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm を調べています: GeoIP-1.6.5-1.el6.x86_64
|
21
|
-
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm をインストール済みとして設定しています
|
22
|
-
Loading mirror speeds from cached hostfile
|
23
|
-
エラー: Cannot retrieve metalink for repository: epel. Please verify its path and try again
|
24
|
-
```
|
25
|
-
|
26
11
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
27
12
|
|
28
13
|
①KVMで作成した仮想マシンAでnginxをyum downloadする(オンライン状態)
|
@@ -83,6 +68,21 @@
|
|
83
68
|
|
84
69
|
### 試したこと
|
85
70
|
|
71
|
+
**追記(over様):**
|
72
|
+
|
73
|
+
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
74
|
+
そちらでarchコマンドを入力すると、x86_64でした。同環境でネットワークをオンオフしテストをしています。
|
75
|
+
|
76
|
+
```
|
77
|
+
# yum localinstall /media/UDF\ Volume/*.rpm
|
78
|
+
読み込んだプラグイン:fastestmirror, refresh-packagekit, security
|
79
|
+
ローカルパッケージ処理の設定をしています
|
80
|
+
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm を調べています: GeoIP-1.6.5-1.el6.x86_64
|
81
|
+
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm をインストール済みとして設定しています
|
82
|
+
Loading mirror speeds from cached hostfile
|
83
|
+
エラー: Cannot retrieve metalink for repository: epel. Please verify its path and try again
|
84
|
+
```
|
85
|
+
|
86
86
|
**追記(2018/07/27)**
|
87
87
|
|
88
88
|
参考:[インターネットと疎通がないマシンに yum で RPM をインストールする](https://blog.amedama.jp/entry/2015/08/31/203556)
|
13
文言の改行
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,9 +15,12 @@
|
|
15
15
|
|
16
16
|
```
|
17
17
|
# yum localinstall /media/UDF\ Volume/*.rpm
|
18
|
-
読み込んだプラグイン:fastestmirror, refresh-packagekit, security
|
18
|
+
読み込んだプラグイン:fastestmirror, refresh-packagekit, security
|
19
|
+
ローカルパッケージ処理の設定をしています
|
19
|
-
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm を調べています: GeoIP-1.6.5-1.el6.x86_64
|
20
|
+
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm を調べています: GeoIP-1.6.5-1.el6.x86_64
|
21
|
+
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm をインストール済みとして設定しています
|
22
|
+
Loading mirror speeds from cached hostfile
|
20
|
-
|
23
|
+
エラー: Cannot retrieve metalink for repository: epel. Please verify its path and try again
|
21
24
|
```
|
22
25
|
|
23
26
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
12
コマンド実行結果の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,6 +13,13 @@
|
|
13
13
|
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
14
14
|
そちらでarchコマンドを入力すると、x86_64でした。同環境でネットワークをオンオフしテストをしています。
|
15
15
|
|
16
|
+
```
|
17
|
+
# yum localinstall /media/UDF\ Volume/*.rpm
|
18
|
+
読み込んだプラグイン:fastestmirror, refresh-packagekit, security ローカルパッケージ処理の設定をしています
|
19
|
+
/media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm を調べています: GeoIP-1.6.5-1.el6.x86_64 /media/UDF Volume/GeoIP-1.6.5-1.el6.x86_64.rpm をインストール済みとして設定しています
|
20
|
+
Loading mirror speeds from cached hostfile エラー: Cannot retrieve metalink for repository: epel. Please verify its path and try again
|
21
|
+
```
|
22
|
+
|
16
23
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
17
24
|
|
18
25
|
①KVMで作成した仮想マシンAでnginxをyum downloadする(オンライン状態)
|
11
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -13,19 +13,15 @@
|
|
13
13
|
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
14
14
|
そちらでarchコマンドを入力すると、x86_64でした。同環境でネットワークをオンオフしテストをしています。
|
15
15
|
|
16
|
-
①KVMで作成した仮想マシンAでnginxをyum downloadする(オンライン状態)
|
17
|
-
②rpmファイルをWinSCPでwindows側に移動し、DVDに格納
|
18
|
-
③DVDをマウントし、仮想マシンAでyum localinstallを実行(オフライン状態)
|
19
|
-
|
20
16
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
21
17
|
|
22
|
-
①
|
18
|
+
①KVMで作成した仮想マシンAでnginxをyum downloadする(オンライン状態)
|
23
19
|
|
24
20
|
```
|
25
21
|
# yumdownloader --resolve --destdir=/repo/packages_nginx/ nginx
|
26
22
|
```
|
27
23
|
|
28
|
-
② ①で取得したrpmファイルを
|
24
|
+
② ①で取得したrpmファイルをWinSCPでwindows側に移動し、DVDに格納
|
29
25
|
|
30
26
|
```
|
31
27
|
GeoIP-1.6.5-1.el6.x86_64.rpm
|
@@ -44,7 +40,7 @@
|
|
44
40
|
nginx-mod-stream-1.10.2-1.el6.x86_64.rpm
|
45
41
|
```
|
46
42
|
|
47
|
-
③
|
43
|
+
③DVDをマウントし、仮想マシンAでyum localinstallを実行(オフライン状態)
|
48
44
|
|
49
45
|
```
|
50
46
|
# yum localinstall /media/UDF\ Volume/nginx-1.10.2-1.el6.x86_64.rpm
|
10
文言の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,11 +8,15 @@
|
|
8
8
|
|
9
9
|
現在Apacheで動いているシステムに、nginxをリバースプロキシサーバとして差し込むことになりました。その際に本番環境(RHEL6.6)は外部ネットワークから切り離されてるらしく、CDに必要ファイルを焼いてインストールする方法の手順書を纏めなければならなくなりました。そのためにテストで使っていいと与えられたKVMの仮想マシン(CentOS6.7)で試行錯誤して頑張っています。
|
10
10
|
|
11
|
-
**追記(over様)
|
11
|
+
**追記(over様):**
|
12
12
|
|
13
13
|
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
14
|
-
そちらでarchコマンドを入力すると、x86_64でした。
|
14
|
+
そちらでarchコマンドを入力すると、x86_64でした。同環境でネットワークをオンオフしテストをしています。
|
15
15
|
|
16
|
+
①KVMで作成した仮想マシンAでnginxをyum downloadする(オンライン状態)
|
17
|
+
②rpmファイルをWinSCPでwindows側に移動し、DVDに格納
|
18
|
+
③DVDをマウントし、仮想マシンAでyum localinstallを実行(オフライン状態)
|
19
|
+
|
16
20
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
17
21
|
|
18
22
|
①yumdownloaderコマンドを実行しnginxのrpmファイルを取得
|
9
文言の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,6 +8,11 @@
|
|
8
8
|
|
9
9
|
現在Apacheで動いているシステムに、nginxをリバースプロキシサーバとして差し込むことになりました。その際に本番環境(RHEL6.6)は外部ネットワークから切り離されてるらしく、CDに必要ファイルを焼いてインストールする方法の手順書を纏めなければならなくなりました。そのためにテストで使っていいと与えられたKVMの仮想マシン(CentOS6.7)で試行錯誤して頑張っています。
|
10
10
|
|
11
|
+
**追記(over様)
|
12
|
+
|
13
|
+
本番環境はRHEL6.6らしいのですが、私に与えられている実験用の環境はKVM上のクローンでCentOS6.7です。
|
14
|
+
そちらでarchコマンドを入力すると、x86_64でした。
|
15
|
+
|
11
16
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
12
17
|
|
13
18
|
①yumdownloaderコマンドを実行しnginxのrpmファイルを取得
|
8
エラーの内容の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -49,20 +49,21 @@
|
|
49
49
|
|
50
50
|
```
|
51
51
|
(略)
|
52
|
-
|
52
|
+
--> 依存性解決を終了しました。
|
53
|
-
GeoIP-GeoLite-data-2018.04-1.el6.noarch: failure: Packages/g/GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
54
|
-
geoipupdate-2.2.1-2.el6.x86_64: failure: Packages/g/geoipupdate-2.2.1-2.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
55
|
-
nginx-filesystem-1.10.2-1.el6.noarch: failure: Packages/n/nginx-filesystem-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
56
|
-
nginx-all-modules-1.10.2-1.el6.noarch: failure: Packages/n/nginx-all-modules-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
57
|
-
nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
58
|
-
GeoIP-1.6.5-1.el6.x86_64: failure: Packages/g/GeoIP-1.6.5-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
59
|
-
nginx-mod-http-image-filter-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-image-filter-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
60
|
-
GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch: failure: Packages/g/GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
61
|
-
nginx-mod-http-geoip-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-geoip-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
62
|
-
gd-2.0.35-11.el6.x86_64: failure: Packages/gd-2.0.35-11.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
|
63
|
-
nginx-mod-http-perl-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-perl-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
64
|
-
nginx-mod-stream-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-stream-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
65
|
-
|
53
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
54
|
+
要求: nginx-all-modules = 1.10.2-1.el6
|
55
|
+
利用可能: nginx-all-modules-1.10.1-1.el6.noarch (epel)
|
56
|
+
nginx-all-modules = 1.10.1-1.el6
|
57
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
58
|
+
要求: nginx-filesystem = 1.10.2-1.el6
|
59
|
+
インストールしています: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
60
|
+
nginx-filesystem = 1.10.1-1.el6
|
61
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
62
|
+
要求: nginx-filesystem = 1.10.2-1.el6
|
63
|
+
利用可能: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
64
|
+
nginx-filesystem = 1.10.1-1.el6
|
65
|
+
問題を回避するために --skip-broken を用いることができません
|
66
|
+
これらを試行できます: rpm -Va --nofiles --nodigest
|
66
67
|
```
|
67
68
|
|
68
69
|
### 試したこと
|
7
補足情報の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -101,4 +101,9 @@
|
|
101
101
|
テスト用の仮想マシン:CentOS6.7
|
102
102
|
本番のマシン:RHEL6.6
|
103
103
|
|
104
|
+
```
|
105
|
+
# arch
|
106
|
+
x86_64
|
107
|
+
```
|
108
|
+
|
104
109
|
そもそも環境が違うから大丈夫なのかと思っています・・・
|
6
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -49,7 +49,8 @@
|
|
49
49
|
|
50
50
|
```
|
51
51
|
(略)
|
52
|
+
パッケージのダウンロードでエラー:
|
52
|
-
|
53
|
+
GeoIP-GeoLite-data-2018.04-1.el6.noarch: failure: Packages/g/GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
53
54
|
geoipupdate-2.2.1-2.el6.x86_64: failure: Packages/g/geoipupdate-2.2.1-2.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
54
55
|
nginx-filesystem-1.10.2-1.el6.noarch: failure: Packages/n/nginx-filesystem-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
55
56
|
nginx-all-modules-1.10.2-1.el6.noarch: failure: Packages/n/nginx-all-modules-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
5
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -10,69 +10,15 @@
|
|
10
10
|
|
11
11
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
12
12
|
|
13
|
-
①
|
13
|
+
①yumdownloaderコマンドを実行しnginxのrpmファイルを取得
|
14
14
|
|
15
15
|
```
|
16
|
-
glibc-2.14.1-11.2.mga2.x86_64.rpm
|
17
|
-
glibc-2.17-7.6.mga3.x86_64.rpm
|
18
|
-
nginx-1.14.0-1.mga7.x86_64.rpm
|
19
|
-
openssl-libs-1.1.0f-9.fc27.i686.rpm
|
20
|
-
perl-base-5.26.2-9.mga7.x86_64.rpm
|
21
|
-
perl-libs-5.26.2-406.fc27.i686.rpm
|
22
|
-
|
16
|
+
# yumdownloader --resolve --destdir=/repo/packages_nginx/ nginx
|
23
17
|
```
|
24
|
-
②こちらに下記コマンドを実行しました。
|
25
|
-
```
|
26
|
-
# yum localinstall /media/UDF\ Volume/nginx-1.14.0-1.mga7.x86_64.rpm
|
27
|
-
```
|
28
18
|
|
29
|
-
|
19
|
+
② ①で取得したrpmファイルをdvdに移動
|
30
20
|
|
31
|
-
ネットワークから切り離された(オフライン)状態の仮想マシンにnginxをインストールしたいです。以前の質問で教えていただいたyum localinstallコマンドを実行したのですが、どこから依存関係を解決していけばいいか、まずそこで躓いています。
|
32
|
-
|
33
|
-
### 発生している問題・エラーメッセージ
|
34
|
-
|
35
21
|
```
|
36
|
-
# yum localinstall /media/UDF\ Volume/nginx-1.14.0-1.mga7.x86_64.rpm
|
37
|
-
|
38
|
-
(略)
|
39
|
-
--> 依存性の処理をしています: libssl.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
40
|
-
--> 依存性解決を終了しました。
|
41
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
42
|
-
要求: libpcre.so.1()(64bit)
|
43
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
44
|
-
要求: libc.so.6(GLIBC_2.14)(64bit)
|
45
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
46
|
-
要求: libc.so.6(GLIBC_2.17)(64bit)
|
47
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
48
|
-
要求: libssl.so.1.1()(64bit)
|
49
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
50
|
-
要求: libcrypto.so.1.1()(64bit)
|
51
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
52
|
-
要求: perl-base >= 2:5.26.2
|
53
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
54
|
-
要求: rpm-helper >= 0.24.8-1
|
55
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
56
|
-
要求: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
|
57
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
58
|
-
要求: libperl.so.5.26()(64bit)
|
59
|
-
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
60
|
-
要求: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
|
61
|
-
問題を回避するために --skip-broken を用いることができません
|
62
|
-
これらを試行できます: rpm -Va --nofiles --nodigest
|
63
|
-
```
|
64
|
-
|
65
|
-
### 試したこと
|
66
|
-
|
67
|
-
[Search the RPM repository on rpmfind.net](https://rpmfind.net/linux/rpm2html/search.php)
|
68
|
-
上記より自分なりにダウンロードしてDVDに収めたパッケージが①の内容です。(おそらく足りていない)
|
69
|
-
|
70
|
-
**追記(kazto様)**
|
71
|
-
|
72
|
-
教えていただいたyumdownloaderコマンドを使い、依存関係を解決しつつパッケージのダウンロードを行いました。
|
73
|
-
その結果pacagesディレクトリに、下記rpmファイルがダウンロードがされました。
|
74
|
-
|
75
|
-
```
|
76
22
|
GeoIP-1.6.5-1.el6.x86_64.rpm
|
77
23
|
GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm
|
78
24
|
GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm
|
@@ -89,49 +35,42 @@
|
|
89
35
|
nginx-mod-stream-1.10.2-1.el6.x86_64.rpm
|
90
36
|
```
|
91
37
|
|
92
|
-
|
38
|
+
③dvdをマウントしパスを指定してyum localinstllを実行
|
93
39
|
|
94
40
|
```
|
95
41
|
# yum localinstall /media/UDF\ Volume/nginx-1.10.2-1.el6.x86_64.rpm
|
96
42
|
```
|
43
|
+
|
44
|
+
**実現したいこと:**
|
45
|
+
|
46
|
+
ネットワークから切り離された(オフライン)状態の仮想マシンにnginxをインストールしたいです。以前の質問で教えていただいたyum localinstallコマンドを実行したのですが、うまくインストールされません。
|
47
|
+
|
48
|
+
### 発生している問題・エラーメッセージ
|
49
|
+
|
97
50
|
```
|
98
51
|
(略)
|
99
|
-
他のミラーを試します。
|
100
|
-
|
52
|
+
GeoIP-GeoLite-data-2018.04-1.el6.noarch: failure: Packages/g/GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
101
|
-
--
|
53
|
+
geoipupdate-2.2.1-2.el6.x86_64: failure: Packages/g/geoipupdate-2.2.1-2.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
54
|
+
nginx-filesystem-1.10.2-1.el6.noarch: failure: Packages/n/nginx-filesystem-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
55
|
+
nginx-all-modules-1.10.2-1.el6.noarch: failure: Packages/n/nginx-all-modules-1.10.2-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
56
|
+
nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
102
|
-
--
|
57
|
+
GeoIP-1.6.5-1.el6.x86_64: failure: Packages/g/GeoIP-1.6.5-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
58
|
+
nginx-mod-http-image-filter-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-image-filter-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
59
|
+
GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch: failure: Packages/g/GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm from epel: [Errno 256] No more mirrors to try.
|
60
|
+
nginx-mod-http-geoip-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-geoip-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
103
|
-
-
|
61
|
+
gd-2.0.35-11.el6.x86_64: failure: Packages/gd-2.0.35-11.el6.x86_64.rpm from base: [Errno 256] No more mirrors to try.
|
104
|
-
--
|
62
|
+
nginx-mod-http-perl-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-http-perl-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
105
|
-
--> 依存性の処理をしています: nginx-filesystem のパッケージ: nginx-1.10.2-1.el6.x86_64
|
106
|
-
--> トランザクションの確認を実行しています。
|
107
|
-
---> Package nginx.x86_64 0:1.10.2-1.el6 will be インストール
|
108
|
-
|
63
|
+
nginx-mod-stream-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-stream-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
109
|
-
--> 依存性の処理をしています: nginx-filesystem = 1.10.2-1.el6 のパッケージ: nginx-1.10.2-1.el6.x86_64
|
110
|
-
---> Package nginx-filesystem.noarch 0:1.10.1-1.el6 will be インストール
|
111
|
-
--> 依存性解決を終了しました。
|
112
|
-
|
64
|
+
nginx-mod-mail-1.10.2-1.el6.x86_64: failure: Packages/n/nginx-mod-mail-1.10.2-1.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
|
113
|
-
要求: nginx-all-modules = 1.10.2-1.el6
|
114
|
-
利用可能: nginx-all-modules-1.10.1-1.el6.noarch (epel)
|
115
|
-
nginx-all-modules = 1.10.1-1.el6
|
116
|
-
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
117
|
-
要求: nginx-filesystem = 1.10.2-1.el6
|
118
|
-
インストールしています: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
119
|
-
nginx-filesystem = 1.10.1-1.el6
|
120
|
-
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
121
|
-
要求: nginx-filesystem = 1.10.2-1.el6
|
122
|
-
利用可能: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
123
|
-
nginx-filesystem = 1.10.1-1.el6
|
124
|
-
問題を回避するために --skip-broken を用いることができません
|
125
|
-
これらを試行できます: rpm -Va --nofiles --nodigest
|
126
65
|
```
|
127
66
|
|
128
|
-
|
67
|
+
### 試したこと
|
129
68
|
|
130
69
|
**追記(2018/07/27)**
|
131
70
|
|
132
71
|
参考:[インターネットと疎通がないマシンに yum で RPM をインストールする](https://blog.amedama.jp/entry/2015/08/31/203556)
|
133
72
|
|
134
|
-
|
73
|
+
上記サイトを参考にし、
|
135
74
|
|
136
75
|
```
|
137
76
|
# yum install nginx --downloadonly --downloaddir=/repo
|
4
文言の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -34,77 +34,9 @@
|
|
34
34
|
|
35
35
|
```
|
36
36
|
# yum localinstall /media/UDF\ Volume/nginx-1.14.0-1.mga7.x86_64.rpm
|
37
|
-
|
37
|
+
|
38
|
-
ローカルパッケージ処理の設定をしています
|
39
|
-
/media/UDF Volume/nginx-1.14.0-1.mga7.x86_64.rpm を調べています: nginx-1.14.0-1.mga7.x86_64
|
40
|
-
/media/UDF Volume/nginx-1.14.0-1.mga7.x86_64.rpm をインストール済みとして設定しています
|
41
|
-
Loading mirror speeds from cached hostfile
|
42
|
-
* base: centos.mirror.iweb.ca
|
43
|
-
* epel: del-repos.extreme-ix.org
|
44
|
-
* extras: centos.mirror.iweb.ca
|
45
|
-
* remi-safe: fr2.rpmfind.net
|
46
|
-
* updates: centos.mirror.iweb.ca
|
47
|
-
|
38
|
+
(略)
|
48
|
-
--> トランザクションの確認を実行しています。
|
49
|
-
---> Package nginx.x86_64 0:1.14.0-1.mga7 will be インストール
|
50
|
-
--> 依存性の処理をしています: perl-base >= 2:5.26.2 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
51
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
52
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
53
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.14)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
54
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.17)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
55
|
-
--> 依存性の処理をしています: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
56
|
-
--> 依存性の処理をしています: libssl.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
57
|
-
--> 依存性の処理をしています: libGeoIP.so.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
58
|
-
--> 依存性の処理をしています: libcrypto.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
59
|
-
--> 依存性の処理をしています: libpcre.so.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
60
|
-
--> 依存性の処理をしています: libperl.so.5.26()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
61
39
|
--> 依存性の処理をしています: libssl.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
62
|
-
--> トランザクションの確認を実行しています。
|
63
|
-
---> Package GeoIP.x86_64 0:1.6.5-1.el6 will be インストール
|
64
|
-
--> 依存性の処理をしています: geoipupdate のパッケージ: GeoIP-1.6.5-1.el6.x86_64
|
65
|
-
--> 依存性の処理をしています: GeoIP-data のパッケージ: GeoIP-1.6.5-1.el6.x86_64
|
66
|
-
---> Package nginx.x86_64 0:1.14.0-1.mga7 will be インストール
|
67
|
-
--> 依存性の処理をしています: perl-base >= 2:5.26.2 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
68
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
69
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
70
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.14)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
71
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.17)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
72
|
-
--> 依存性の処理をしています: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
73
|
-
--> 依存性の処理をしています: libssl.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
74
|
-
--> 依存性の処理をしています: libcrypto.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
75
|
-
--> 依存性の処理をしています: libpcre.so.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
76
|
-
--> 依存性の処理をしています: libperl.so.5.26()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
77
|
-
--> 依存性の処理をしています: libssl.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
78
|
-
--> トランザクションの確認を実行しています。
|
79
|
-
---> Package GeoIP-GeoLite-data.noarch 0:2018.04-1.el6 will be インストール
|
80
|
-
--> 依存性の処理をしています: GeoIP-GeoLite-data-extra = 2018.04-1.el6 のパッケージ: GeoIP-GeoLite-data-2018.04-1.el6.noarch
|
81
|
-
---> Package geoipupdate.x86_64 0:2.2.1-2.el6 will be インストール
|
82
|
-
---> Package nginx.x86_64 0:1.14.0-1.mga7 will be インストール
|
83
|
-
--> 依存性の処理をしています: perl-base >= 2:5.26.2 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
84
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
85
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
86
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.14)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
87
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.17)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
88
|
-
--> 依存性の処理をしています: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
89
|
-
--> 依存性の処理をしています: libssl.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
90
|
-
--> 依存性の処理をしています: libcrypto.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
91
|
-
--> 依存性の処理をしています: libpcre.so.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
92
|
-
--> 依存性の処理をしています: libperl.so.5.26()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
93
|
-
--> 依存性の処理をしています: libssl.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
94
|
-
--> トランザクションの確認を実行しています。
|
95
|
-
---> Package GeoIP-GeoLite-data-extra.noarch 0:2018.04-1.el6 will be インストール
|
96
|
-
---> Package nginx.x86_64 0:1.14.0-1.mga7 will be インストール
|
97
|
-
--> 依存性の処理をしています: perl-base >= 2:5.26.2 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
98
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
99
|
-
--> 依存性の処理をしています: rpm-helper >= 0.24.8-1 のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
100
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.14)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
101
|
-
--> 依存性の処理をしています: libc.so.6(GLIBC_2.17)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
102
|
-
--> 依存性の処理をしています: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
103
|
-
--> 依存性の処理をしています: libssl.so.1.1(OPENSSL_1_1_0)(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
104
|
-
--> 依存性の処理をしています: libcrypto.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
105
|
-
--> 依存性の処理をしています: libpcre.so.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
106
|
-
--> 依存性の処理をしています: libperl.so.5.26()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
107
|
-
--> 依存性の処理をしています: libssl.so.1.1()(64bit) のパッケージ: nginx-1.14.0-1.mga7.x86_64
|
108
40
|
--> 依存性解決を終了しました。
|
109
41
|
エラー: パッケージ: nginx-1.14.0-1.mga7.x86_64 (/nginx-1.14.0-1.mga7.x86_64)
|
110
42
|
要求: libpcre.so.1()(64bit)
|
@@ -195,6 +127,35 @@
|
|
195
127
|
|
196
128
|
上記となり失敗してしまいました。
|
197
129
|
|
130
|
+
**追記(2018/07/27)**
|
131
|
+
|
132
|
+
参考:[インターネットと疎通がないマシンに yum で RPM をインストールする](https://blog.amedama.jp/entry/2015/08/31/203556)
|
133
|
+
|
134
|
+
こちらを参考にし、
|
135
|
+
|
136
|
+
```
|
137
|
+
# yum install nginx --downloadonly --downloaddir=/repo
|
138
|
+
```
|
139
|
+
|
140
|
+
コマンドを実行しても、/repoに落ちるrpmファイルはまったく同じでした。
|
141
|
+
|
142
|
+
```
|
143
|
+
GeoIP-1.6.5-1.el6.x86_64.rpm
|
144
|
+
GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm
|
145
|
+
GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm
|
146
|
+
gd-2.0.35-11.el6.x86_64.rpm
|
147
|
+
geoipupdate-2.2.1-2.el6.x86_64.rpm
|
148
|
+
nginx-1.10.2-1.el6.x86_64.rpm
|
149
|
+
nginx-all-modules-1.10.2-1.el6.noarch.rpm
|
150
|
+
nginx-filesystem-1.10.2-1.el6.noarch.rpm
|
151
|
+
nginx-mod-http-geoip-1.10.2-1.el6.x86_64.rpm
|
152
|
+
nginx-mod-http-image-filter-1.10.2-1.el6.x86_64.rpm
|
153
|
+
nginx-mod-http-perl-1.10.2-1.el6.x86_64.rpm
|
154
|
+
nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64.rpm
|
155
|
+
nginx-mod-mail-1.10.2-1.el6.x86_64.rpm
|
156
|
+
nginx-mod-stream-1.10.2-1.el6.x86_64.rpm
|
157
|
+
```
|
158
|
+
|
198
159
|
### 補足情報(FW/ツールのバージョンなど)
|
199
160
|
|
200
161
|
テスト用の仮想マシン:CentOS6.7
|
3
内容の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -135,7 +135,66 @@
|
|
135
135
|
[Search the RPM repository on rpmfind.net](https://rpmfind.net/linux/rpm2html/search.php)
|
136
136
|
上記より自分なりにダウンロードしてDVDに収めたパッケージが①の内容です。(おそらく足りていない)
|
137
137
|
|
138
|
+
**追記(kazto様)**
|
138
139
|
|
140
|
+
教えていただいたyumdownloaderコマンドを使い、依存関係を解決しつつパッケージのダウンロードを行いました。
|
141
|
+
その結果pacagesディレクトリに、下記rpmファイルがダウンロードがされました。
|
142
|
+
|
143
|
+
```
|
144
|
+
GeoIP-1.6.5-1.el6.x86_64.rpm
|
145
|
+
GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm
|
146
|
+
GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm
|
147
|
+
gd-2.0.35-11.el6.x86_64.rpm
|
148
|
+
geoipupdate-2.2.1-2.el6.x86_64.rpm
|
149
|
+
nginx-1.10.2-1.el6.x86_64.rpm
|
150
|
+
nginx-all-modules-1.10.2-1.el6.noarch.rpm
|
151
|
+
nginx-filesystem-1.10.2-1.el6.noarch.rpm
|
152
|
+
nginx-mod-http-geoip-1.10.2-1.el6.x86_64.rpm
|
153
|
+
nginx-mod-http-image-filter-1.10.2-1.el6.x86_64.rpm
|
154
|
+
nginx-mod-http-perl-1.10.2-1.el6.x86_64.rpm
|
155
|
+
nginx-mod-http-xslt-filter-1.10.2-1.el6.x86_64.rpm
|
156
|
+
nginx-mod-mail-1.10.2-1.el6.x86_64.rpm
|
157
|
+
nginx-mod-stream-1.10.2-1.el6.x86_64.rpm
|
158
|
+
```
|
159
|
+
|
160
|
+
そのファイルをDVDに焼いて、下記コマンドを実行しました。
|
161
|
+
|
162
|
+
```
|
163
|
+
# yum localinstall /media/UDF\ Volume/nginx-1.10.2-1.el6.x86_64.rpm
|
164
|
+
```
|
165
|
+
```
|
166
|
+
(略)
|
167
|
+
他のミラーを試します。
|
168
|
+
依存性の解決をしています
|
169
|
+
--> トランザクションの確認を実行しています。
|
170
|
+
---> Package nginx.x86_64 0:1.10.2-1.el6 will be インストール
|
171
|
+
--> 依存性の処理をしています: nginx-all-modules = 1.10.2-1.el6 のパッケージ: nginx-1.10.2-1.el6.x86_64
|
172
|
+
--> 依存性の処理をしています: nginx-filesystem = 1.10.2-1.el6 のパッケージ: nginx-1.10.2-1.el6.x86_64
|
173
|
+
--> 依存性の処理をしています: nginx-filesystem のパッケージ: nginx-1.10.2-1.el6.x86_64
|
174
|
+
--> トランザクションの確認を実行しています。
|
175
|
+
---> Package nginx.x86_64 0:1.10.2-1.el6 will be インストール
|
176
|
+
--> 依存性の処理をしています: nginx-all-modules = 1.10.2-1.el6 のパッケージ: nginx-1.10.2-1.el6.x86_64
|
177
|
+
--> 依存性の処理をしています: nginx-filesystem = 1.10.2-1.el6 のパッケージ: nginx-1.10.2-1.el6.x86_64
|
178
|
+
---> Package nginx-filesystem.noarch 0:1.10.1-1.el6 will be インストール
|
179
|
+
--> 依存性解決を終了しました。
|
180
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
181
|
+
要求: nginx-all-modules = 1.10.2-1.el6
|
182
|
+
利用可能: nginx-all-modules-1.10.1-1.el6.noarch (epel)
|
183
|
+
nginx-all-modules = 1.10.1-1.el6
|
184
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
185
|
+
要求: nginx-filesystem = 1.10.2-1.el6
|
186
|
+
インストールしています: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
187
|
+
nginx-filesystem = 1.10.1-1.el6
|
188
|
+
エラー: パッケージ: nginx-1.10.2-1.el6.x86_64 (/nginx-1.10.2-1.el6.x86_64)
|
189
|
+
要求: nginx-filesystem = 1.10.2-1.el6
|
190
|
+
利用可能: nginx-filesystem-1.10.1-1.el6.noarch (epel)
|
191
|
+
nginx-filesystem = 1.10.1-1.el6
|
192
|
+
問題を回避するために --skip-broken を用いることができません
|
193
|
+
これらを試行できます: rpm -Va --nofiles --nodigest
|
194
|
+
```
|
195
|
+
|
196
|
+
上記となり失敗してしまいました。
|
197
|
+
|
139
198
|
### 補足情報(FW/ツールのバージョンなど)
|
140
199
|
|
141
200
|
テスト用の仮想マシン:CentOS6.7
|
2
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -133,7 +133,7 @@
|
|
133
133
|
### 試したこと
|
134
134
|
|
135
135
|
[Search the RPM repository on rpmfind.net](https://rpmfind.net/linux/rpm2html/search.php)
|
136
|
-
上記より自分なりにダウンロードしてDVDに収めたパッケージ
|
136
|
+
上記より自分なりにダウンロードしてDVDに収めたパッケージが①の内容です。(おそらく足りていない)
|
137
137
|
|
138
138
|
|
139
139
|
### 補足情報(FW/ツールのバージョンなど)
|
1
文言の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
私自身WordpressをVPSにデプロイするような本を少し読んだ程度の知識しかありません。
|
7
7
|
お手柔らかにお願いします!
|
8
8
|
|
9
|
-
現在Apacheで動いているシステムに、nginxをリバースプロキシサーバとして差し込むことになりました。その際に本番環境(RHEL6.6)は外部ネットワークから切り離されてるらしく、CDに必要ファイルを焼いてインストールする方法
|
9
|
+
現在Apacheで動いているシステムに、nginxをリバースプロキシサーバとして差し込むことになりました。その際に本番環境(RHEL6.6)は外部ネットワークから切り離されてるらしく、CDに必要ファイルを焼いてインストールする方法の手順書を纏めなければならなくなりました。そのためにテストで使っていいと与えられたKVMの仮想マシン(CentOS6.7)で試行錯誤して頑張っています。
|
10
10
|
|
11
11
|
以前の質問:[外部ネットワークに接続できない状態でのWebサーバーインストールについて](https://teratail.com/questions/137373)
|
12
12
|
|