文系男子が日和るIT開発~IT知識なしで飛び込んだIT企業

文系男子だからIT企業に就職するなんて考えてもみませんでしたが、日和ながら日々くらいついています。

CentOS6.8からCentOS7系へアップデートにチャレンジも劣悪なネットワーク環境とpreupgコマンドに泣かされる

CentOS6.8からCentOS7へのアップデートにチャレンジ。

下調べは、特にしていないのですが、ググってみてもCentOS 6.8からCent OS 7への 移行されている方があまりいらっしゃらないようで、マイノリティな移行なようです。

手順はわからないですが、とにかくチャレンジ!

 

 まずは、現行のバージョンの確認を行います。

uname -a

cat /etc/redhat-release

これらのコマンドを実行し、バージョンを確認します。
CentOSはご覧の通り

 

6.8となります。

 

[admin@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.32-642.3.1.el6.i686 #1 SMP Tue Jul 12 17:53:37 UTC 2016 i686 i686 i386 GNU/Linux
[admin@localhost ~]$
[admin@localhost ~]$ cat /etc/redhat-release
CentOS release 6.8 (Final)

 

アップデート前に最新化 

yum -y update

[root@localhost ~]# 

[root@localhost ~]# yum -y update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Loading mirror speeds from cached hostfile
* base: mirror.readyspace.com
* epel: mirror.premi.st
* extras: mirror.readyspace.com
* remi-safe: mirror.innosol.asia
* updates: mirror.vastspace.net

~省略~

---> Package kernel-headers.i686 0:2.6.32-642.3.1.el6 will be updated
---> Package kernel-headers.i686 0:2.6.32-642.13.1.el6 will be an update
---> Package kexec-tools.i686 0:2.0.0-300.el6 will be updated
---> Package kexec-tools.i686 0:2.0.0-300.el6_8.1 will be an update
---> Package libarchive.i686 0:2.8.3-4.el6_2 will be updated
---> Package libarchive.i686 0:2.8.3-7.el6_8 will be an update
---> Package libblkid.i686 0:2.17.2-12.24.el6 will be updated
---> Package libblkid.i686 0:2.17.2-12.24.el6_8.1 will be an update
---> Package libgcrypt.i686 0:1.4.5-11.el6_4 will be updated
---> Package libgcrypt.i686 0:1.4.5-12.el6_8 will be an update
---> Package libgudev1.i686 0:147-2.73.el6 will be updated
---> Package libgudev1.i686 0:147-2.73.el6_8.2 will be an update
---> Package libsmbclient.i686 0:3.6.23-35.el6_8 will be updated
---> Package libsmbclient.i686 0:3.6.23-36.el6_8 will be an update
---> Package libudev.i686 0:147-2.73.el6 will be updated
---> Package libudev.i686 0:147-2.73.el6_8.2 will be an update
---> Package libuuid.i686 0:2.17.2-12.24.el6 will be updated
---> Package libuuid.i686 0:2.17.2-12.24.el6_8.1 will be an update
---> Package lvm2.i686 0:2.02.143-7.el6 will be updated
---> Package lvm2.i686 0:2.02.143-7.el6_8.1 will be an update
---> Package lvm2-libs.i686 0:2.02.143-7.el6 will be updated
---> Package lvm2-libs.i686 0:2.02.143-7.el6_8.1 will be an update
---> Package net-snmp.i686 1:5.5-57.el6 will be updated
---> Package net-snmp.i686 1:5.5-57.el6_8.1 will be an update
---> Package net-snmp-libs.i686 1:5.5-57.el6 will be updated
---> Package net-snmp-libs.i686 1:5.5-57.el6_8.1 will be an update
---> Package nss.i686 0:3.21.0-8.el6 will be updated
---> Package nss.i686 0:3.21.3-2.el6_8 will be an update
---> Package nss-sysinit.i686 0:3.21.0-8.el6 will be updated
---> Package nss-sysinit.i686 0:3.21.3-2.el6_8 will be an update
---> Package nss-tools.i686 0:3.21.0-8.el6 will be updated
---> Package nss-tools.i686 0:3.21.3-2.el6_8 will be an update
---> Package nss-util.i686 0:3.21.0-2.el6 will be updated
---> Package nss-util.i686 0:3.21.3-1.el6_8 will be an update
---> Package openssl.i686 0:1.0.1e-48.el6_8.1 will be updated
---> Package openssl.i686 0:1.0.1e-48.el6_8.3 will be an update
---> Package policycoreutils.i686 0:2.0.83-29.el6 will be updated
---> Package policycoreutils.i686 0:2.0.83-30.1.el6_8 will be an update
---> Package python.i686 0:2.6.6-64.el6 will be updated
---> Package python.i686 0:2.6.6-66.el6_8 will be an update
---> Package python-libs.i686 0:2.6.6-64.el6 will be updated
---> Package python-libs.i686 0:2.6.6-66.el6_8 will be an update
---> Package samba-common.i686 0:3.6.23-35.el6_8 will be updated
---> Package samba-common.i686 0:3.6.23-36.el6_8 will be an update
---> Package samba-winbind.i686 0:3.6.23-35.el6_8 will be updated
---> Package samba-winbind.i686 0:3.6.23-36.el6_8 will be an update
---> Package samba-winbind-clients.i686 0:3.6.23-35.el6_8 will be updated
---> Package samba-winbind-clients.i686 0:3.6.23-36.el6_8 will be an update
---> Package selinux-policy.noarch 0:3.7.19-292.el6 will be updated
---> Package selinux-policy.noarch 0:3.7.19-292.el6_8.2 will be an update
---> Package selinux-policy-targeted.noarch 0:3.7.19-292.el6 will be updated
---> Package selinux-policy-targeted.noarch 0:3.7.19-292.el6_8.2 will be an update
---> Package sudo.i686 0:1.8.6p3-24.el6 will be updated
---> Package sudo.i686 0:1.8.6p3-25.el6_8 will be an update
---> Package tcsh.i686 0:6.17-35.el6 will be updated
---> Package tcsh.i686 0:6.17-35.el6_8.1 will be an update
---> Package tzdata.noarch 0:2016f-1.el6 will be updated
---> Package tzdata.noarch 0:2016j-1.el6 will be an update
---> Package udev.i686 0:147-2.73.el6 will be updated
---> Package udev.i686 0:147-2.73.el6_8.2 will be an update
---> Package util-linux-ng.i686 0:2.17.2-12.24.el6 will be updated
---> Package util-linux-ng.i686 0:2.17.2-12.24.el6_8.1 will be an update
---> Package vim-common.i686 2:7.4.629-5.el6 will be updated
---> Package vim-common.i686 2:7.4.629-5.el6_8.1 will be an update
---> Package vim-enhanced.i686 2:7.4.629-5.el6 will be updated
---> Package vim-enhanced.i686 2:7.4.629-5.el6_8.1 will be an update
---> Package vim-filesystem.i686 2:7.4.629-5.el6 will be updated
---> Package vim-filesystem.i686 2:7.4.629-5.el6_8.1 will be an update
---> Package vim-minimal.i686 2:7.4.629-5.el6 will be updated
---> Package vim-minimal.i686 2:7.4.629-5.el6_8.1 will be an update
---> Package wpa_supplicant.i686 1:0.7.3-8.el6 will be updated
---> Package wpa_supplicant.i686 1:0.7.3-8.el6_8.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================
Package Arch Version Repository Size
=======================================================================================================================
Installing:
kernel i686 2.6.32-642.13.1.el6 updates 30 M
kernel-devel i686 2.6.32-642.13.1.el6 updates 11 M
Updating:
ORBit2 i686 2.14.17-6.el6_8 updates 163 k
avahi-autoipd i686 0.6.25-15.el6_8.1 updates 34 k
avahi-glib i686 0.6.25-15.el6_8.1 updates 21 k
avahi-libs i686 0.6.25-15.el6_8.1 updates 55 k
avahi-ui i686 0.6.25-15.el6_8.1 updates 32 k
bash i686 4.1.2-41.el6_8 updates 891 k
bind-libs i686 32:9.8.2-0.47.rc1.el6_8.4 updates 901 k
bind-utils i686 32:9.8.2-0.47.rc1.el6_8.4 updates 186 k
db4 i686 4.7.25-20.el6_8.1 updates 581 k
db4-utils i686 4.7.25-20.el6_8.1 updates 129 k
device-mapper i686 1.02.117-7.el6_8.1 updates 209 k
device-mapper-event i686 1.02.117-7.el6_8.1 updates 132 k
device-mapper-event-libs i686 1.02.117-7.el6_8.1 updates 124 k
device-mapper-libs i686 1.02.117-7.el6_8.1 updates 255 k
expat i686 2.0.1-13.el6_8 updates 79 k
firefox i686 45.6.0-1.el6.centos updates 74 M
ghostscript i686 8.70-21.el6_8.1 updates 4.5 M
grep i686 2.20-5.el6_8 updates 343 k
gstreamer-plugins-bad-free i686 0.10.19-5.el6_8 updates 817 k
gstreamer-plugins-good i686 0.10.23-4.el6_8 updates 1.3 M
httpd i686 2.2.15-56.el6.centos.3 updates 833 k
httpd-tools i686 2.2.15-56.el6.centos.3 updates 80 k
kernel-firmware noarch 2.6.32-642.13.1.el6 updates 28 M
kernel-headers i686 2.6.32-642.13.1.el6 updates 4.4 M
kexec-tools i686 2.0.0-300.el6_8.1 updates 337 k
libarchive i686 2.8.3-7.el6_8 updates 139 k
libblkid i686 2.17.2-12.24.el6_8.1 updates 122 k
libgcrypt i686 1.4.5-12.el6_8 updates 228 k
libgudev1 i686 147-2.73.el6_8.2 updates 65 k
libsmbclient i686 3.6.23-36.el6_8 updates 1.6 M
libudev i686 147-2.73.el6_8.2 updates 79 k
libuuid i686 2.17.2-12.24.el6_8.1 updates 71 k
lvm2 i686 2.02.143-7.el6_8.1 updates 955 k
lvm2-libs i686 2.02.143-7.el6_8.1 updates 1.0 M
net-snmp i686 1:5.5-57.el6_8.1 updates 308 k
net-snmp-libs i686 1:5.5-57.el6_8.1 updates 1.5 M
nss i686 3.21.3-2.el6_8 updates 861 k
nss-sysinit i686 3.21.3-2.el6_8 updates 47 k
nss-tools i686 3.21.3-2.el6_8 updates 446 k
nss-util i686 3.21.3-1.el6_8 updates 67 k
openssl i686 1.0.1e-48.el6_8.3 updates 1.5 M
policycoreutils i686 2.0.83-30.1.el6_8 updates 658 k
python i686 2.6.6-66.el6_8 updates 76 k
python-libs i686 2.6.6-66.el6_8 updates 5.3 M
samba-common i686 3.6.23-36.el6_8 updates 10 M
samba-winbind i686 3.6.23-36.el6_8 updates 2.2 M
samba-winbind-clients i686 3.6.23-36.el6_8 updates 2.0 M
selinux-policy noarch 3.7.19-292.el6_8.2 updates 889 k
selinux-policy-targeted noarch 3.7.19-292.el6_8.2 updates 3.1 M
sudo i686 1.8.6p3-25.el6_8 updates 703 k
tcsh i686 6.17-35.el6_8.1 updates 408 k
tzdata noarch 2016j-1.el6 updates 454 k
udev i686 147-2.73.el6_8.2 updates 366 k
util-linux-ng i686 2.17.2-12.24.el6_8.1 updates 1.6 M
vim-common i686 2:7.4.629-5.el6_8.1 updates 6.7 M
vim-enhanced i686 2:7.4.629-5.el6_8.1 updates 976 k
vim-filesystem i686 2:7.4.629-5.el6_8.1 updates 15 k
vim-minimal i686 2:7.4.629-5.el6_8.1 updates 387 k
wpa_supplicant i686 1:0.7.3-8.el6_8.1 updates 368 k

Total size: 204 M
Total download size: 203 M
Downloading Packages:
(1/53): ORBit2-2.14.17-6.el6_8.i686.rpm | 163 kB 00:06
(2/53): bash-4.1.2-41.el6_8.i686.rpm | 891 kB 01:00
(3/53): bind-libs-9.8.2-0.47.rc1.el6_8.4.i (0%) 8% [==- ] 2.4 kB/s | 80 kB 05:47 ETA

 

この203MByteのパッケージのダウンロードがどうしてもできず断念。

理由は、我が家の劣悪なネットワーク環境のせいで、この時間帯(寒い土曜日の22時頃)は、時折下り1kb/sを下回るほどひどい状況で、タイムアウトエラーによりダウンロードが終了するためです。

 ちなみに回線は@niftyのADSL39MBのプラン。

スマホテザリングのほうが当然早い環境ながら、スマホは格安SIMとして、OCNのモバイルONEで1日あたりの使用量に上限を設けているプランのせいで、テザリングにもよるダウンロードは断念。

 

 

そして翌日、今日日曜の22時に再チャレンジ。

とりあえず yum check-update を試みる。

[admin@localhost ~]$ yum check-update
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
epel/metalink | 5.3 kB 00:00
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* remi-safe: rpms.remirepo.net
* updates: ftp.riken.jp
base | 3.7 kB 00:05
epel | 4.3 kB 00:01
http://ftp.riken.jp/Linux/fedora/epel/6/i386/repodata/70c1119d16ce95a0dac7a3e206cd06208deb1e4a4bc2eaca1dd136c51bad5910-primary.sqlite.bz2: [Errno 12] Timeout on http://ftp.riken.jp/Linux/fedora/epel/6/i386/repodata/70c1119d16ce95a0dac7a3e206cd06208deb1e4a4bc2eaca1dd136c51bad5910-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/i386/repodata/70c1119d16ce95a0dac7a3e206cd06208deb1e4a4bc2eaca1dd136c51bad5910-primary.sqlite.bz2: [Errno 12] Timeout on http://ftp.cuhk.edu.hk/pub/linux/fedora-epel/6/i386/repodata/70c1119d16ce95a0dac7a3e206cd06208deb1e4a4bc2eaca1dd136c51bad5910-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
epel/primary_db | 5.0 MB 02:02
extras | 3.3 kB 00:01
remi-safe | 2.9 kB 00:01
http://rpms.remirepo.net/enterprise/6/safe/i386/repodata/bbf3931262cef0a81393011165b71ef32638957355b416a38b36704313e1c6fb-primary.sqlite.bz2: [Errno 12] Timeout on http://rpms.remirepo.net/enterprise/6/safe/i386/repodata/bbf3931262cef0a81393011165b71ef32638957355b416a38b36704313e1c6fb-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
remi-safe/primary_db | 47 kB 00:00
xupdates 77% [========================- ] 0.0 B/s | 2.6 kB --:-- ETAupdates | 3.4 kB 00:05
updates/primary_db | 4.1 MB 07:22

ORBit2.i686 2.14.17-6.el6_8 updates
avahi-autoipd.i686 0.6.25-15.el6_8.1 updates
avahi-glib.i686 0.6.25-15.el6_8.1 updates
avahi-libs.i686 0.6.25-15.el6_8.1 updates
avahi-ui.i686 0.6.25-15.el6_8.1 updates
bash.i686 4.1.2-41.el6_8 updates
bind-libs.i686 32:9.8.2-0.47.rc1.el6_8.4 updates
bind-utils.i686 32:9.8.2-0.47.rc1.el6_8.4 updates
db4.i686 4.7.25-20.el6_8.1 updates
db4-utils.i686 4.7.25-20.el6_8.1 updates
device-mapper.i686 1.02.117-7.el6_8.1 updates
device-mapper-event.i686 1.02.117-7.el6_8.1 updates
device-mapper-event-libs.i686 1.02.117-7.el6_8.1 updates
device-mapper-libs.i686 1.02.117-7.el6_8.1 updates
expat.i686 2.0.1-13.el6_8 updates
firefox.i686 45.6.0-1.el6.centos updates
ghostscript.i686 8.70-21.el6_8.1 updates
grep.i686 2.20-5.el6_8 updates
gstreamer-plugins-bad-free.i686 0.10.19-5.el6_8 updates
gstreamer-plugins-good.i686 0.10.23-4.el6_8 updates
httpd.i686 2.2.15-56.el6.centos.3 updates
httpd-tools.i686 2.2.15-56.el6.centos.3 updates
kernel.i686 2.6.32-642.13.1.el6 updates
kernel-devel.i686 2.6.32-642.13.1.el6 updates
kernel-firmware.noarch 2.6.32-642.13.1.el6 updates
kernel-headers.i686 2.6.32-642.13.1.el6 updates
kexec-tools.i686 2.0.0-300.el6_8.1 updates
libarchive.i686 2.8.3-7.el6_8 updates
libblkid.i686 2.17.2-12.24.el6_8.1 updates
libgcrypt.i686 1.4.5-12.el6_8 updates
libgudev1.i686 147-2.73.el6_8.2 updates
libsmbclient.i686 3.6.23-36.el6_8 updates
libudev.i686 147-2.73.el6_8.2 updates
libuuid.i686 2.17.2-12.24.el6_8.1 updates
lvm2.i686 2.02.143-7.el6_8.1 updates
lvm2-libs.i686 2.02.143-7.el6_8.1 updates
net-snmp.i686 1:5.5-57.el6_8.1 updates
net-snmp-libs.i686 1:5.5-57.el6_8.1 updates
nss.i686 3.21.3-2.el6_8 updates
nss-sysinit.i686 3.21.3-2.el6_8 updates
nss-tools.i686 3.21.3-2.el6_8 updates
nss-util.i686 3.21.3-1.el6_8 updates
openssl.i686 1.0.1e-48.el6_8.3 updates
policycoreutils.i686 2.0.83-30.1.el6_8 updates
python.i686 2.6.6-66.el6_8 updates
python-libs.i686 2.6.6-66.el6_8 updates
samba-common.i686 3.6.23-36.el6_8 updates
samba-winbind.i686 3.6.23-36.el6_8 updates
samba-winbind-clients.i686 3.6.23-36.el6_8 updates
selinux-policy.noarch 3.7.19-292.el6_8.2 updates
selinux-policy-targeted.noarch 3.7.19-292.el6_8.2 updates
sudo.i686 1.8.6p3-25.el6_8 updates
tcsh.i686 6.17-35.el6_8.1 updates
tzdata.noarch 2016j-1.el6 updates
udev.i686 147-2.73.el6_8.2 updates
util-linux-ng.i686 2.17.2-12.24.el6_8.1 updates
vim-common.i686 2:7.4.629-5.el6_8.1 updates
vim-enhanced.i686 2:7.4.629-5.el6_8.1 updates
vim-filesystem.i686 2:7.4.629-5.el6_8.1 updates
vim-minimal.i686 2:7.4.629-5.el6_8.1 updates
wpa_supplicant.i686 1:0.7.3-8.el6_8.1 updates

 何とかダウンロードでけた模様。

 

ここからが問題。知識がないところ。

他のブロガー様の実施方法を参考にさせていただくしだいです。

 

なんでも、ここでCent OS7へアップデートに必要なパッケージを取得していきます。

yum install -y openscap pcre-devel libxml2-devel libxslt-devel m2crypto python-simplejson
yum install -y mod_wsgi redhat-upgrade-tool preupgrade-assistant-contents

  

とりあえずコマンド実行してみます。

[root@localhost ~]#
[root@localhost ~]# yum install -y openscap pcre-devel libxml2-devel libxslt-devel m2crypto python-simplejson
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.readyspace.com
* epel: mirror.premi.st
* extras: mirror.0x.sg
* remi-safe: mirror.innosol.asia
* updates: mirror.0x.sg
Resolving Dependencies
--> Running transaction check
---> Package libxml2-devel.i686 0:2.7.6-21.el6_8.1 will be installed
--> Processing Dependency: zlib-devel for package: libxml2-devel-2.7.6-21.el6_8.1.i686
---> Package libxslt-devel.i686 0:1.1.26-2.el6_3.1 will be installed
--> Processing Dependency: libgcrypt-devel for package: libxslt-devel-1.1.26-2.el6_3.1.i686
---> Package m2crypto.i686 0:0.20.2-9.el6 will be installed
---> Package openscap.i686 0:1.2.8-2.el6.centos will be installed
---> Package pcre-devel.i686 0:7.8-7.el6 will be installed
---> Package python-simplejson.i686 0:2.0.9-3.1.el6 will be installed
--> Running transaction check
---> Package libgcrypt-devel.i686 0:1.4.5-12.el6_8 will be installed
--> Processing Dependency: libgcrypt = 1.4.5-12.el6_8 for package: libgcrypt-devel-1.4.5-12.el6_8.i686
--> Processing Dependency: libgpg-error-devel for package: libgcrypt-devel-1.4.5-12.el6_8.i686
---> Package zlib-devel.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package libgcrypt.i686 0:1.4.5-11.el6_4 will be updated
---> Package libgcrypt.i686 0:1.4.5-12.el6_8 will be an update
---> Package libgpg-error-devel.i686 0:1.7-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
libxml2-devel i686 2.7.6-21.el6_8.1 updates 1.1 M
libxslt-devel i686 1.1.26-2.el6_3.1 base 558 k
m2crypto i686 0.20.2-9.el6 base 469 k
openscap i686 1.2.8-2.el6.centos base 3.9 M
pcre-devel i686 7.8-7.el6 base 320 k
python-simplejson i686 2.0.9-3.1.el6 base 126 k
Installing for dependencies:
libgcrypt-devel i686 1.4.5-12.el6_8 updates 118 k
libgpg-error-devel i686 1.7-4.el6 base 14 k
zlib-devel i686 1.2.3-29.el6 base 44 k
Updating for dependencies:
libgcrypt i686 1.4.5-12.el6_8 updates 228 k

Transaction Summary
=================================================================================================================================
Install 9 Package(s)
Upgrade 1 Package(s)

Total download size: 6.8 M
Downloading Packages:
(1/10): libgcrypt-1.4.5-12.el6_8.i686.rpm | 228 kB 01:33
(2/10): libgcrypt-devel-1.4.5-12.el6_8.i686.rpm | 118 kB 01:19
(3/10): libgpg-error-devel-1.7-4.el6.i686.rpm | 14 kB 00:08
http://mirror.0x.sg/centos/6.8/updates/i386/Packages/libxml2-devel-2.7.6-21.el6_8.1.i686.rpm: [Errno 12] Timeout on http://mirror.0x.sg/centos/6.8/updates/i386/Packages/libxml2-devel-2.7.6-21.el6_8.1.i686.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
http://mirror.nus.edu.sg/centos/6.8/updates/i386/Packages/libxml2-devel-2.7.6-21.el6_8.1.i686.rpm: [Errno 12] Timeout on http://mirror.nus.edu.sg/centos/6.8/updates/i386/Packages/libxml2-devel-2.7.6-21.el6_8.1.i686.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(4/10): libxml2-devel-2.7.6-21.el6_8.1.i686.rpm | 1.1 MB 00:18
(5/10): libxslt-devel-1.1.26-2.el6_3.1.i686.rpm | 558 kB 00:06
(6/10): m2crypto-0.20.2-9.el6.i686.rpm | 469 kB 00:05
(7/10): openscap-1.2.8-2.el6.centos.i686.rpm | 3.9 MB 00:44
http://mirror.readyspace.com/centos/6.8/os/i386/Packages/pcre-devel-7.8-7.el6.i686.rpm: [Errno 12] Timeout on http://mirror.readyspace.com/centos/6.8/os/i386/Packages/pcre-devel-7.8-7.el6.i686.rpm: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Trying other mirror.
(8/10): pcre-devel-7.8-7.el6.i686.rpm | 320 kB 00:38
(9/10): python-simplejson-2.0.9-3.1.el6.i686.rpm | 126 kB 00:11
(10/10): zlib-devel-1.2.3-29.el6.i686.rpm | 44 kB 00:00
---------------------------------------------------------------------------------------------------------------------------------
Total 8.9 kB/s | 6.8 MB 12:55
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : libgcrypt-1.4.5-12.el6_8.i686 1/11
Installing : libgpg-error-devel-1.7-4.el6.i686 2/11
Installing : zlib-devel-1.2.3-29.el6.i686 3/11
Installing : libxml2-devel-2.7.6-21.el6_8.1.i686 4/11
Installing : pcre-devel-7.8-7.el6.i686 5/11
Installing : libgcrypt-devel-1.4.5-12.el6_8.i686 6/11
Installing : libxslt-devel-1.1.26-2.el6_3.1.i686 7/11
Installing : openscap-1.2.8-2.el6.centos.i686 8/11
Installing : python-simplejson-2.0.9-3.1.el6.i686 9/11
Installing : m2crypto-0.20.2-9.el6.i686 10/11
Cleanup : libgcrypt-1.4.5-11.el6_4.i686 11/11
Verifying : libgcrypt-devel-1.4.5-12.el6_8.i686 1/11
Verifying : libxslt-devel-1.1.26-2.el6_3.1.i686 2/11
Verifying : libgcrypt-1.4.5-12.el6_8.i686 3/11
Verifying : pcre-devel-7.8-7.el6.i686 4/11
Verifying : zlib-devel-1.2.3-29.el6.i686 5/11
Verifying : m2crypto-0.20.2-9.el6.i686 6/11
Verifying : openscap-1.2.8-2.el6.centos.i686 7/11
Verifying : python-simplejson-2.0.9-3.1.el6.i686 8/11
Verifying : libgpg-error-devel-1.7-4.el6.i686 9/11
Verifying : libxml2-devel-2.7.6-21.el6_8.1.i686 10/11
Verifying : libgcrypt-1.4.5-11.el6_4.i686 11/11

Installed:
libxml2-devel.i686 0:2.7.6-21.el6_8.1 libxslt-devel.i686 0:1.1.26-2.el6_3.1 m2crypto.i686 0:0.20.2-9.el6
openscap.i686 0:1.2.8-2.el6.centos pcre-devel.i686 0:7.8-7.el6 python-simplejson.i686 0:2.0.9-3.1.el6

Dependency Installed:
libgcrypt-devel.i686 0:1.4.5-12.el6_8 libgpg-error-devel.i686 0:1.7-4.el6 zlib-devel.i686 0:1.2.3-29.el6

Dependency Updated:
libgcrypt.i686 0:1.4.5-12.el6_8

Complete!
[root@localhost ~]#

 

[root@localhost ~]# yum install -y mod_wsgi redhat-upgrade-tool preupgrade-assistant-contents
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.readyspace.com
* epel: mirror.premi.st
* extras: mirror.0x.sg
* remi-safe: mirror.innosol.asia
* updates: mirror.0x.sg
Package mod_wsgi-3.2-7.el6.i686 already installed and latest version
No package redhat-upgrade-tool available.
No package preupgrade-assistant-contents available.
Nothing to do

 

 相川らずTimeoutしまくるネット環境。

それに負けずに進めていましたが、

No package redhat-upgrade-tool available.
No package preupgrade-assistant-contents available.
Nothing to do

というメッセージが気になります。

 

が、進めます。

preupg -s RHEL6_7

を実行します。

 

 

が、

[admin@localhost ~]$ preupg -s RHEL6_7
bash: preupg: command not found
 

[admin@localhost ~]$ which preupg
/usr/bin/which: no preupg in (/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/admin/bin)

 

preupgがありませんでした。

 

http://dev.centos.org/centos/6/upg/x86_64/Packages/

ここからwgetでダウンロードしていくのでしょうか?
試してみたいですが、、、、ネットワーク環境に阻まれる。。。。

 

ネットワークが重いと、色々試したいときに腰も重くなりますね・・・

 

 

ここまでとします。

 

CentOS 7実践ガイド

CentOS 7実践ガイド

 

 

 

できるPRO CentOS 7サーバー できるPROシリーズ

できるPRO CentOS 7サーバー できるPROシリーズ

 

 

 

15時間でわかるCentOS集中講座

15時間でわかるCentOS集中講座