X

CentALTでnginxとmariadbのupdate

CentALTでnginxとmariadbのupdateが出てたのでupdateをしてみました。

普段は開放していないCentALTリポジトリを開放して
yum check updateをすると新しいバージョンのCentALTリポジトリから提供されています。

# yum --enablerepo=CentALT check-update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.nara.wide.ad.jp
* epel: ftp.iij.ad.jp
* extras: ftp.nara.wide.ad.jp
* updates: ftp.nara.wide.ad.jp

bind-libs.x86_64 36:9.9.3-4.P2.el6 CentALT
bind-utils.x86_64 36:9.9.3-4.P2.el6 CentALT
mariadb.x86_64 5.5.32-2.el6 CentALT
mariadb-libs.x86_64 5.5.32-2.el6 CentALT
mariadb-server.x86_64 5.5.32-2.el6 CentALT
nginx.x86_64 1.5.3-1.el6 CentALT
vsftpd.x86_64 2.3.5-2.el6 CentALT

早速アップデートしました。

vsftpdは、なんか設定ファイルが変わるようでめんどくさいし大して使ってないので上げませんw

nginxとmariadbを指定してupdateする事とします。


# yum --enablerepo=CentALT update nginx mariadb
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* base: ftp.nara.wide.ad.jp
* epel: ftp.iij.ad.jp
* extras: ftp.nara.wide.ad.jp
* updates: ftp.nara.wide.ad.jp
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 0:5.5.32-1.el6 will be updated
--> Processing Dependency: real-mariadb(x86-64) = 5.5.32-1.el6 for package: mariadb-server-5.5.32-1.el6.x86_64
---> Package mariadb.x86_64 0:5.5.32-2.el6 will be an update
--> Processing Dependency: mariadb-libs(x86-64) = 5.5.32-2.el6 for package: mariadb-5.5.32-2.el6.x86_64
---> Package nginx.x86_64 0:1.5.2-1.el6 will be updated
---> Package nginx.x86_64 0:1.5.3-1.el6 will be an update
--> Running transaction check
---> Package mariadb-libs.x86_64 0:5.5.32-1.el6 will be updated
---> Package mariadb-libs.x86_64 0:5.5.32-2.el6 will be an update
---> Package mariadb-server.x86_64 0:5.5.32-1.el6 will be updated
---> Package mariadb-server.x86_64 0:5.5.32-2.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================
Updating:
mariadb x86_64 5.5.32-2.el6 CentALT 10 M
nginx x86_64 1.5.3-1.el6 CentALT 917 k
Updating for dependencies:
mariadb-libs x86_64 5.5.32-2.el6 CentALT 822 k
mariadb-server x86_64 5.5.32-2.el6 CentALT 13 M

Transaction Summary
=============================================================================================================================================================================
Upgrade 4 Package(s)

Total download size: 25 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): mariadb-5.5.32-2.el6.x86_64.rpm | 10 MB 00:11
(2/4): mariadb-libs-5.5.32-2.el6.x86_64.rpm | 822 kB 00:09
(3/4): mariadb-server-5.5.32-2.el6.x86_64.rpm | 13 MB 00:09
(4/4): nginx-1.5.3-1.el6.x86_64.rpm | 917 kB 00:08
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 614 kB/s | 25 MB 00:41
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : mariadb-libs-5.5.32-2.el6.x86_64 1/8
Updating : mariadb-5.5.32-2.el6.x86_64 2/8
Updating : mariadb-server-5.5.32-2.el6.x86_64 3/8
Updating : nginx-1.5.3-1.el6.x86_64 4/8
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Staring new master nginx: [ OK ]
Graceful shutdown of old nginx: [ OK ]
Cleanup : mariadb-server-5.5.32-1.el6.x86_64 5/8
Cleanup : mariadb-5.5.32-1.el6.x86_64 6/8
Cleanup : mariadb-libs-5.5.32-1.el6.x86_64 7/8
Cleanup : nginx-1.5.2-1.el6.x86_64 8/8
Verifying : mariadb-libs-5.5.32-2.el6.x86_64 1/8
Verifying : nginx-1.5.3-1.el6.x86_64 2/8
Verifying : mariadb-5.5.32-2.el6.x86_64 3/8
Verifying : mariadb-server-5.5.32-2.el6.x86_64 4/8
Verifying : nginx-1.5.2-1.el6.x86_64 5/8
Verifying : mariadb-libs-5.5.32-1.el6.x86_64 6/8
Verifying : mariadb-server-5.5.32-1.el6.x86_64 7/8
Verifying : mariadb-5.5.32-1.el6.x86_64 8/8

Updated:
mariadb.x86_64 0:5.5.32-2.el6 nginx.x86_64 0:1.5.3-1.el6

Dependency Updated:
mariadb-libs.x86_64 0:5.5.32-2.el6 mariadb-server.x86_64 0:5.5.32-2.el6

Complete!

updateができたかな?

# nginx -v
nginx version: nginx/1.5.3


# rpm -qa | grep mariadb
mariadb-server-5.5.32-2.el6.x86_64
mariadb-5.5.32-2.el6.x86_64
mariadb-libs-5.5.32-2.el6.x86_64

できてるようですね。

higherhope: