LPIC1の概要
- 2011/06/30(木) 00:47:08
Linuxサーバの準備も一応できたのでLPICの勉強を始めます。
LPICのサイトで確認すると、
LPIC1は「実務で必要なLinuxの基本操作とシステム管理が行えるエンジニアとして認定されます。Linuxサーバ環境の構築・運用・保守をするための基本的な操作が行えることを証明できます。」とあります。
LPIC1の認定を受けるには、101と102の2科目を受験し、800満点中500点を取れば合格となるようです。
次に各試験の主題範囲の概要を確認します。
101試験
| 主題 | 内容 |
|---|---|
| システムアーキテクチャ |
|
| Linuxのインストールとパッケージ管理 |
|
| GNUとUnixのコマンド |
|
| デバイス、Linuxファイルシステム、ファイルシステム階層標準 |
|
102試験
| 主題 | 内容 |
|---|---|
| シェル、スクリプト、およびデータ管理 |
|
| ユーザインターフェイスとデスクトップ |
|
| 管理業務 |
|
| 重要なシステムサービス |
|
| ネットワークの基礎 |
|
| セキュリティ |
|
Linux認定資格の初級ということで「広く浅く」という印象です。
LPICのサイトにはも載っていますが(101と102)、追々見ていくことにします。
またLPICサイト内には例題もありますが、今の段階ではわかるのはせいぜい1問か2問でした。
LPIC無料セミナーも随時開催されており、そのときのプレゼン資料がPDFでダウンロードできたりするので、やたら親切です。
「Linux標準教科書」「Linuxサーバー構築標準教科書」なるものがダウンロードできます。製本版は1000円+送料がかかるのでもちろんPDF版をダウンロードしました。
当分はこれで勉強することにします。・・・なんてったってタダですから!!
yum update
- 2011/06/29(水) 03:32:54
yumコマンドでパッケージをupdateするコマンドは「yum update [パッケージ名]」です。
アンインストールのときは同じように「yum remove [パッケージ名]」のようです。
updateコマンドはパッケージ名を省略すると、すべてのパッケージを対象とし、パッケージ名が指定された場合は、指定されたパッケージとそれに依存するパッケージが対象になるようです。
removeコマンドはパッケージ名の省略はできないようです。
・・・省略してすべてのパッケージがアンインストールされたら笑えますからねw
ではパッケージ名を省略して、すべてのパッケージをupdateします。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.iij.ad.jp
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
| addons | | 951 B | 00:00 |
| base | | 2.1 kB | 00:00 |
| extras | | 2.1 kB | 00:00 |
| updates | | 1.9 kB | 00:00 |
| vz-base | | 951 B | 00:00 |
| vz-updates | | 951 B | 00:00 |
Resolving Dependencies
--> Running transaction check
---> Package apr.x86_64 0:1.2.7-11.el5_6.5 set to be updated
---> Package audit-libs.x86_64 0:1.7.18-2.el5 set to be updated
---> Package audit-libs-python.x86_64 0:1.7.18-2.el5 set to be updated
---> Package centos-release.x86_64 10:5-6.el5.centos.1 set to be updated
---> Package centos-release-notes.x86_64 0:5.6-0 set to be updated
---> Package coreutils.x86_64 0:5.97-23.el5_6.4 set to be updated
---> Package cups-libs.x86_64 1:1.3.7-26.el5_6.1 set to be updated
---> Package curl.i386 0:7.15.5-9.el5_6.2 set to be updated
---> Package curl.x86_64 0:7.15.5-9.el5_6.2 set to be updated
---> Package dbus.x86_64 0:1.1.2-15.el5_6 set to be updated
---> Package dbus-libs.x86_64 0:1.1.2-15.el5_6 set to be updated
---> Package device-mapper.i386 0:1.02.55-2.el5 set to be updated
---> Package device-mapper.x86_64 0:1.02.55-2.el5 set to be updated
---> Package device-mapper-event.x86_64 0:1.02.55-2.el5 set to be updated
---> Package device-mapper-multipath.x86_64 0:0.4.7-42.el5_6.3 set to be updated
---> Package dhclient.x86_64 12:3.0.5-23.el5_6.4 set to be updated
---> Package filesystem.x86_64 0:2.4.0-3.el5.centos set to be updated
---> Package gdbm.x86_64 0:1.8.0-26.2.1.el5_6.1 set to be updated
---> Package glibc.i686 0:2.5-58.el5_6.3 set to be updated
---> Package glibc.x86_64 0:2.5-58.el5_6.3 set to be updated
---> Package glibc-common.x86_64 0:2.5-58.el5_6.3 set to be updated
---> Package httpd.x86_64 0:2.2.3-45.el5.centos.1 set to be updated
---> Package initscripts.x86_64 0:8.45.33-1.el5.centos set to be updated
---> Package jwhois.x86_64 0:3.2.3-12.el5 set to be updated
---> Package kpartx.x86_64 0:0.4.7-42.el5_6.3 set to be updated
---> Package krb5-libs.i386 0:1.6.1-55.el5_6.1 set to be updated
---> Package krb5-libs.x86_64 0:1.6.1-55.el5_6.1 set to be updated
---> Package less.x86_64 0:436-7.el5 set to be updated
---> Package libgcc.i386 0:4.1.2-50.el5 set to be updated
---> Package libgcc.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libselinux.i386 0:1.33.4-5.7.el5 set to be updated
---> Package libselinux.x86_64 0:1.33.4-5.7.el5 set to be updated
---> Package libselinux-python.x86_64 0:1.33.4-5.7.el5 set to be updated
---> Package libselinux-utils.x86_64 0:1.33.4-5.7.el5 set to be updated
---> Package libsmbclient.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
---> Package libstdc++.i386 0:4.1.2-50.el5 set to be updated
---> Package libstdc++.x86_64 0:4.1.2-50.el5 set to be updated
---> Package libtiff.x86_64 0:3.8.2-7.el5_6.7 set to be updated
---> Package libuser.x86_64 0:0.54.7-2.1.el5_5.2 set to be updated
---> Package lvm2.x86_64 0:2.02.74-5.el5_6.1 set to be updated
---> Package m2crypto.x86_64 0:0.16-7.el5 set to be updated
---> Package man-pages.noarch 0:2.39-17.el5 set to be updated
---> Package mkinitrd.x86_64 0:5.1.19.6-68.el5_6.1 set to be updated
--> Processing Dependency: iscsi-initiator-utils for package: mkinitrd
---> Package mod_ssl.x86_64 1:2.2.3-45.el5.centos.1 set to be updated
---> Package nash.x86_64 0:5.1.19.6-68.el5_6.1 set to be updated
---> Package nscd.x86_64 0:2.5-58.el5_6.3 set to be updated
---> Package nss.x86_64 0:3.12.8-4.el5_6 set to be updated
---> Package openldap.x86_64 0:2.3.43-12.el5_6.7 set to be updated
---> Package openssh.x86_64 0:4.3p2-72.el5_6.3 set to be updated
---> Package openssh-clients.x86_64 0:4.3p2-72.el5_6.3 set to be updated
---> Package openssh-server.x86_64 0:4.3p2-72.el5_6.3 set to be updated
---> Package passwd.x86_64 0:0.73-2 set to be updated
---> Package pcre.x86_64 0:6.6-6.el5_6.1 set to be updated
---> Package perl.x86_64 4:5.8.8-32.el5_6.3 set to be updated
---> Package popt.x86_64 0:1.10.2.3-22.el5 set to be updated
---> Package postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 set to be updated
---> Package psmisc.x86_64 0:22.2-7.el5_6.2 set to be updated
--> Processing Dependency: libpython2.4.so.1.0()(64bit) for package: python
--> Processing Dependency: libpython2.4.so.1.0()(64bit) for package: libsemanage
---> Package python.x86_64 0:2.4.3-44.el5 set to be updated
---> Package python-urlgrabber.noarch 0:3.1.0-6.el5 set to be updated
---> Package quota.x86_64 1:3.13-5.el5 set to be updated
---> Package rpm.x86_64 0:4.4.2.3-22.el5 set to be updated
---> Package rpm-libs.x86_64 0:4.4.2.3-22.el5 set to be updated
---> Package rpm-python.x86_64 0:4.4.2.3-22.el5 set to be updated
---> Package samba.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
---> Package samba-client.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
---> Package samba-common.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
---> Package samba-swat.x86_64 0:3.0.33-3.29.el5_6.2 set to be updated
---> Package screen.x86_64 0:4.0.3-4.el5 set to be updated
---> Package sed.x86_64 0:4.1.5-8.el5 set to be updated
---> Package shadow-utils.x86_64 2:4.0.17-18.el5_6.1 set to be updated
---> Package sudo.x86_64 0:1.7.2p1-10.el5 set to be updated
---> Package tmpwatch.x86_64 0:2.9.7-1.1.el5.5 set to be updated
---> Package tzdata.x86_64 0:2011g-1.el5 set to be updated
---> Package udev.x86_64 0:095-14.24.el5 set to be updated
---> Package util-linux.x86_64 0:2.13-0.56.el5 set to be updated
---> Package vim-common.x86_64 2:7.0.109-7.el5 set to be updated
---> Package vim-enhanced.x86_64 2:7.0.109-7.el5 set to be updated
---> Package vim-minimal.x86_64 2:7.0.109-7.el5 set to be updated
---> Package yum.noarch 0:3.2.22-33.el5.centos set to be updated
--> Running transaction check
---> Package iscsi-initiator-utils.x86_64 0:6.2.0.872-6.el5 set to be updated
---> Package python-libs.x86_64 0:2.4.3-44.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================================
| Package | Arch | Version | Repository | Size |
| Updating: | ||||
| apr | x86_64 | 1.2.7-11.el5_6.5 | updates | 119 k |
| audit-libs | x86_64 | 1.7.18-2.el5 | base | 78 k |
| audit-libs-python | x86_64 | 1.7.18-2.el5 | base | 82 k |
| centos-release | x86_64 | 10:5-6.el5.centos.1 | base | 20 k |
| centos-release-notes | x86_64 | 5.6-0 | base | 40 k |
| coreutils | x86_64 | 5.97-23.el5_6.4 | updates | 3.5 M |
| cups-libs | x86_64 | 1:1.3.7-26.el5_6.1 | updates | 195 k |
| curl | i386 | 7.15.5-9.el5_6.2 | updates | 233 k |
| curl | x86_64 | 7.15.5-9.el5_6.2 | updates | 230 k |
| dbus | x86_64 | 1.1.2-15.el5_6 | updates | 233 k |
| dbus-libs | x86_64 | 1.1.2-15.el5_6 | updates | 123 k |
| device-mapper | i386 | 1.02.55-2.el5 | base | 766 k |
| device-mapper | x86_64 | 1.02.55-2.el5 | base | 797 k |
| device-mapper-event | x86_64 | 1.02.55-2.el5 | base | 21 k |
| device-mapper-multipath | x86_64 | 0.4.7-42.el5_6.3 | updates | 3.0 M |
| dhclient | x86_64 | 12:3.0.5-23.el5_6.4 | updates | 283 k |
| filesystem | x86_64 | 2.4.0-3.el5.centos | updates | 1.0 M |
| gdbm | x86_64 | 1.8.0-26.2.1.el5_6.1 | updates | 28 k |
| glibc | i686 | 2.5-58.el5_6.3 | updates | 5.3 M |
| glibc | x86_64 | 2.5-58.el5_6.3 | updates | 4.8 M |
| glibc-common | x86_64 | 2.5-58.el5_6.3 | updates | 16 M |
| httpd | x86_64 | 2.2.3-45.el5.centos.1 | updates | 1.2 M |
| initscripts | x86_64 | 8.45.33-1.el5.centos | base | 1.6 M |
| jwhois | x86_64 | 3.2.3-12.el5 | updates | 97 k |
| kpartx | x86_64 | 0.4.7-42.el5_6.3 | updates | 437 k |
| krb5-libs | i386 | 1.6.1-55.el5_6.1 | updates | 666 k |
| krb5-libs | x86_64 | 1.6.1-55.el5_6.1 | updates | 679 k |
| less | x86_64 | 436-7.el5 | base | 108 k |
| libgcc | i386 | 4.1.2-50.el5 | base | 96 k |
| libgcc | x86_64 | 4.1.2-50.el5 | base | 99 k |
| libselinux | i386 | 1.33.4-5.7.el5 | base | 77 k |
| libselinux | x86_64 | 1.33.4-5.7.el5 | base | 78 k |
| libselinux-python | x86_64 | 1.33.4-5.7.el5 | base | 74 k |
| libselinux-utils | x86_64 | 1.33.4-5.7.el5 | base | 56 k |
| libsmbclient | x86_64 | 3.0.33-3.29.el5_6.2 | updates | 916 k |
| libstdc++ | i386 | 4.1.2-50.el5 | base | 362 k |
| libstdc++ | x86_64 | 4.1.2-50.el5 | base | 353 k |
| libtiff | x86_64 | 3.8.2-7.el5_6.7 | updates | 314 k |
| libuser | x86_64 | 0.54.7-2.1.el5_5.2 | updates | 450 k |
| lvm2 | x86_64 | 2.02.74-5.el5_6.1 | updates | 2.9 M |
| m2crypto | x86_64 | 0.16-7.el5 | updates | 495 k |
| man-pages | noarch | 2.39-17.el5 | base | 4.2 M |
| mkinitrd | x86_64 | 5.1.19.6-68.el5_6.1 | updates | 461 k |
| mod_ssl | x86_64 | 1:2.2.3-45.el5.centos.1 | updates | 93 k |
| nash | x86_64 | 5.1.19.6-68.el5_6.1 | updates | 1.1 M |
| nscd | x86_64 | 2.5-58.el5_6.3 | updates | 167 k |
| nss | x86_64 | 3.12.8-4.el5_6 | updates | 1.1 M |
| openldap | x86_64 | 2.3.43-12.el5_6.7 | updates | 304 k |
| openssh | x86_64 | 4.3p2-72.el5_6.3 | updates | 289 k |
| openssh-clients | x86_64 | 4.3p2-72.el5_6.3 | updates | 452 k |
| openssh-server | x86_64 | 4.3p2-72.el5_6.3 | updates | 278 k |
| passwd | x86_64 | 0.73-2 | base | 21 k |
| pcre | x86_64 | 6.6-6.el5_6.1 | updates | 118 k |
| perl | x86_64 | 4:5.8.8-32.el5_6.3 | updates | 12 M |
| popt | x86_64 | 1.10.2.3-22.el5 | base | 77 k |
| postgresql-libs | x86_64 | 8.1.23-1.el5_6.1 | updates | 196 k |
| psmisc | x86_64 | 22.2-7.el5_6.2 | updates | 62 k |
| python | x86_64 | 2.4.3-44.el5 | updates | 57 k |
| python-urlgrabber | noarch | 3.1.0-6.el5 | base | 132 k |
| quota | x86_64 | 1:3.13-5.el5 | updates | 348 k |
| rpm | x86_64 | 4.4.2.3-22.el5 | base | 1.2 M |
| rpm-libs | x86_64 | 4.4.2.3-22.el5 | base | 923 k |
| rpm-python | x86_64 | 4.4.2.3-22.el5 | base | 63 k |
| samba | x86_64 | 3.0.33-3.29.el5_6.2 | updates | 16 M |
| samba-client | x86_64 | 3.0.33-3.29.el5_6.2 | updates | 5.7 M |
| samba-common | x86_64 | 3.0.33-3.29.el5_6.2 | updates | 6.8 M |
| samba-swat | x86_64 | 3.0.33-3.29.el5_6.2 | updates | 8.2 M |
| screen | x86_64 | 4.0.3-4.el5 | updates | 571 k |
| sed | x86_64 | 4.1.5-8.el5 | updates | 178 k |
| shadow-utils | x86_64 | 2:4.0.17-18.el5_6.1 | updates | 1.1 M |
| sudo | x86_64 | 1.7.2p1-10.el5 | base | 354 k |
| tmpwatch | x86_64 | 2.9.7-1.1.el5.5 | base | 19 k |
| tzdata | x86_64 | 2011g-1.el5 | updates | 794 k |
| udev | x86_64 | 095-14.24.el5 | base | 2.4 M |
| util-linux | x86_64 | 2.13-0.56.el5 | base | 1.8 M |
| vim-common | x86_64 | 2:7.0.109-7.el5 | base | 6.4 M |
| vim-enhanced | x86_64 | 2:7.0.109-7.el5 | base | 1.3 M |
| vim-minimal | x86_64 | 2:7.0.109-7.el5 | base | 333 k |
| yum | noarch | 3.2.22-33.el5.centos | base | 1.0 M |
| Installing for dependencies: | ||||
| iscsi-initiator-utils | x86_64 | 6.2.0.872-6.el5 | base | 988 k |
| python-libs | x86_64 | 2.4.3-44.el5 | updates | 5.9 M |
================================================================================================================================
Install 2 Package(s)
Upgrade 79 Package(s)
Total download size: 132 M
Is this ok [y/N]: y
TeraTermでのログがうまく取れませんでしたので、暇を見て編集します
| (1/81): tmpwatch-2.9.7-1.1.el5.5.x86_64.rpm | | 19 kB | 00:00 |
| (2/81): centos-release-5-6.el5.centos.1.x86_64.rpm | | 20kB | 00:00 |
| (3/81):passwd-0.73-2.x86_64.rpm | | 21kB | 00:00 |
| (4/81):device-mapper-event-1.02.55-2.el5.x86_64.rpm | | 21kB | 00:00 |
| (5/81):gdbm-1.8.0-26.2.1.el5_6.1.x86_64.rpm | | 28kB | 00:00 |
| (6/81):centos-release-notes-5.6-0.x86_64.rpm | | 40kB | 00:00 |
| (7/81):libselinux-utils-1.33.4-5.7.el5.x86_64.rpm | | 56kB | 00:00 |
| (8/81):python-2.4.3-44.el5.x86_64.rpm | | 57kB | 00:00 |
| (9/81):psmisc-22.2-7.el5_6.2.x86_64.rpm | | 62kB | 00:00 |
| (10/81):rpm-python-4.4.2.3-22.el5.x86_64.rpm | | 63kB | 00:00 |
| (11/81):libselinux-python-1.33.4-5.7.el5.x86_64.rpm | | 74kB | 00:00 |
| (12/81):libselinux-1.33.4-5.7.el5.i386.rpm | | 77kB | 00:00 |
| (13/81): popt-1.10.2.3-22.el5.x86_64.rpm | | 77 kB | 00:00 |
| (14/81): libselinux-1.33.4-5.7.el5.x86_64.rpm | | 78 kB | 00:00 |
| (15/81): audit-libs-1.7.18-2.el5.x86_64.rpm | | 78 kB | 00:00 |
| (16/81): audit-libs-python-1.7.18-2.el5.x86_64.rpm | | 82 kB | 00:00 |
| (17/81): mod_ssl-2.2.3-45.el5.centos.1.x86_64.rpm | | 93 kB | 00:00 |
| (18/81): libgcc-4.1.2-50.el5.i386.rpm | | 96 kB | 00:00 |
| (19/81): jwhois-3.2.3-12.el5.x86_64.rpm | | 97 kB | 00:00 |
| (20/81): libgcc-4.1.2-50.el5.x86_64.rpm | | 99 kB | 00:00 |
| (21/81): less-436-7.el5.x86_64.rpm | | 108 kB | 00:00 |
| (22/81): pcre-6.6-6.el5_6.1.x86_64.rpm | | 118 kB | 00:00 |
| (23/81): apr-1.2.7-11.el5_6.5.x86_64.rpm | | 119 kB | 00:00 |
| (24/81): dbus-libs-1.1.2-15.el5_6.x86_64.rpm | | 123 kB | 00:00 |
| (25/81): python-urlgrabber-3.1.0-6.el5.noarch.rpm | | 132 kB | 00:00 |
| (26/81): nscd-2.5-58.el5_6.3.x86_64.rpm | | 167 kB | 00:00 |
| (27/81): sed-4.1.5-8.el5.x86_64.rpm | | 178 kB | 00:00 |
| (28/81): cups-libs-1.3.7-26.el5_6.1.x86_64.rpm | | 195 kB | 00:00 |
| (29/81): postgresql-libs-8.1.23-1.el5_6.1.x86_64.rpm | | 196 kB | 00:00 |
| (30/81): curl-7.15.5-9.el5_6.2.x86_64.rpm | | 230 kB | 00:00 |
| (31/81): curl-7.15.5-9.el5_6.2.i386.rpm | | 233 kB | 00:00 |
| (32/81): dbus-1.1.2-15.el5_6.x86_64.rpm | | 233 kB | 00:00 |
| (33/81): openssh-server-4.3p2-72.el5_6.3.x86_64.rpm | | 278 kB | 00:00 |
| (34/81): dhclient-3.0.5-23.el5_6.4.x86_64.rpm | | 283 kB | 00:00 |
| (35/81): openssh-4.3p2-72.el5_6.3.x86_64.rpm | | 289 kB | 00:00 |
| (36/81): openldap-2.3.43-12.el5_6.7.x86_64.rpm | | 304 kB | 00:00 |
| (37/81): libtiff-3.8.2-7.el5_6.7.x86_64.rpm | | 314 kB | 00:00 |
| (38/81): vim-minimal-7.0.109-7.el5.x86_64.rpm | | 333 kB | 00:00 |
| (39/81): quota-3.13-5.el5.x86_64.rpm | | 348 kB | 00:00 |
| (40/81): libstdc++-4.1.2-50.el5.x86_64.rpm | | 353 kB | 00:00 |
| (41/81): sudo-1.7.2p1-10.el5.x86_64.rpm | | 354 kB | 00:00 |
| (42/81): libstdc++-4.1.2-50.el5.i386.rpm | | 362 kB | 00:00 |
| (43/81): kpartx-0.4.7-42.el5_6.3.x86_64.rpm | | 437 kB | 00:00 |
| (44/81): libuser-0.54.7-2.1.el5_5.2.x86_64.rpm | | 450 kB | 00:00 |
| (45/81): openssh-clients-4.3p2-72.el5_6.3.x86_64.rpm | | 452 kB | 00:00 |
| (46/81): mkinitrd-5.1.19.6-68.el5_6.1.x86_64.rpm | | 461 kB | 00:00 |
| (47/81): m2crypto-0.16-7.el5.x86_64.rpm | | 495 kB | 00:00 |
| (48/81): screen-4.0.3-4.el5.x86_64.rpm | | 571 kB | 00:00 |
| (49/81): krb5-libs-1.6.1-55.el5_6.1.i386.rpm | | 666 kB | 00:00 |
| (50/81): krb5-libs-1.6.1-55.el5_6.1.x86_64.rpm | | 679 kB | 00:00 |
| (51/81): device-mapper-1.02.55-2.el5.i386.rpm | | 766 kB | 00:00 |
| (52/81): tzdata-2011g-1.el5.x86_64.rpm | | 794 kB | 00:00 |
| (53/81): device-mapper-1.02.55-2.el5.x86_64.rpm | | 797 kB | 00:00 |
| (54/81): libsmbclient-3.0.33-3.29.el5_6.2.x86_64.rpm | | 916 kB | 00:00 |
| (55/81): rpm-libs-4.4.2.3-22.el5.x86_64.rpm | | 923 kB | 00:00 |
| (56/81): iscsi-initiator-utils-6.2.0.872-6.el5.x86_64.rpm | | 988 kB | 00:00 |
| (57/81): yum-3.2.22-33.el5.centos.noarch.rpm | | 1.0 MB | 00:00 |
| (58/81): filesystem-2.4.0-3.el5.centos.x86_64.rpm | | 1.0 MB | 00:00 |
| (59/81): shadow-utils-4.0.17-18.el5_6.1.x86_64.rpm | | 1.1 MB | 00:00 |
| (60/81): nss-3.12.8-4.el5_6.x86_64.rpm | | 1.1 MB | 00:00 |
| (61/81): nash-5.1.19.6-68.el5_6.1.x86_64.rpm | | 1.1 MB | 00:00 |
| (62/81): rpm-4.4.2.3-22.el5.x86_64.rpm | | 1.2 MB | 00:00 |
| (63/81): httpd-2.2.3-45.el5.centos.1.x86_64.rpm | | 1.2 MB | 00:00 |
| (64/81): vim-enhanced-7.0.109-7.el5.x86_64.rpm | | 1.3 MB | 00:00 |
| (65/81): initscripts-8.45.33-1.el5.centos.x86_64.rpm | | 1.6 MB | 00:00 |
| (66/81): util-linux-2.13-0.56.el5.x86_64.rpm | | 1.8 MB | 00:00 |
| (67/81): udev-095-14.24.el5.x86_64.rpm | | 2.4 MB | 00:00 |
| (68/81): lvm2-2.02.74-5.el5_6.1.x86_64.rpm | | 2.9 MB | 00:00 |
| (69/81): device-mapper-multipath-0.4.7-42.el5_6.3.x86_64.rpm | | 3.0 MB | 00:00 |
| (70/81): coreutils-5.97-23.el5_6.4.x86_64.rpm | | 3.5 MB | 00:00 |
| (71/81): man-pages-2.39-17.el5.noarch.rpm | | 4.2 MB | 00:00 |
| (72/81): glibc-2.5-58.el5_6.3.x86_64.rpm | | 4.8 MB | 00:00 |
| (73/81): glibc-2.5-58.el5_6.3.i686.rpm | | 5.3 MB | 00:01 |
| (74/81): samba-client-3.0.33-3.29.el5_6.2.x86_64.rpm | | 5.7 MB | 00:00 |
| (75/81): python-libs-2.4.3-44.el5.x86_64.rpm | | 5.9 MB | 00:00 |
| (76/81): vim-common-7.0.109-7.el5.x86_64.rpm | | 6.4 MB | 00:00 |
| (77/81): samba-common-3.0.33-3.29.el5_6.2.x86_64.rpm | | 6.8 MB | 00:00 |
| (78/81): samba-swat-3.0.33-3.29.el5_6.2.x86_64.rpm | | 8.2 MB | 00:01 |
| (79/81): perl-5.8.8-32.el5_6.3.x86_64.rpm | | 12 MB | 00:01 |
| (80/81): samba-3.0.33-3.29.el5_6.2.x86_64.rpm | | 16 MB | 00:01 |
| (81/81): glibc-common-2.5-58.el5_6.3.x86_64.rpm | | 16 MB | 00:01 |
| Total | 6.7 MB/s | 132 MB | 00:19 |
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
| Updating | : centos-release-notes | 1/160 |
| Updating | :centos-release | 2/160 |
| Updating | :filesystem | 3/160 |
| Updating | :tzdata | 4/160 |
| Updating | :glibc-common | 5/160 |
| Updating | :nash | 6/160 |
| Updating | :man-pages | 7/160 |
| Updating | :libgcc | 8/160 |
| Updating | :libgcc | 9/160 |
| Updating | :glibc | 10/160 |
| Updating | :libselinux | 11/160 |
| Updating | :glibc | 12/160 |
| Updating | :popt | 13/160 |
| Updating | :audit-libs | 14/160 |
| Updating | :openldap | 15/160 |
| Updating | :nss | 16/160 |
| Updating | :device-mapper | 17/160 |
| Updating | :psmisc | 18/160 |
| Updating | :sed | 19/160 |
| Updating | :libstdc++ | 20/160 |
| Updating | :gdbm | 21/160 |
| Updating | :perl | 22/160 |
| Updating | :libtiff | 23/160 |
| Updating | :pcre | 24/160 |
| Updating | :kpartx | 25/160 |
| Updating | :apr | 26/160 |
| Updating | :device-mapper-multipath | 27/160 |
| Updating | :vim-minimal | 28/160 |
| Updating | :vim-common | 29/160 |
| Updating | :vim-enhanced | 30/160 |
| Updating | :sudo | 31/160 |
| Updating | :tmpwatch | 32/160 |
| Updating | :less | 33/160 |
| Updating | :jwhois | 34/160 |
| Updating | :libselinux | 35/160 |
| Updating | :coreutils | 36/160 |
| Updating | :krb5-libs | 37/160 |
| Updating | :shadow-utils | 38/160 |
| Updating | :udev | 39/160 |
| Updating | :util-linux | 40/160 |
warning: /etc/pam.d/remote saved as /etc/pam.d/remote.rpmsave
| Updating | :initscripts | 41/160 |
| Updating | :device-mapper | 42/160 |
| Updating | :cups-libs | 43/160 |
| Updating | :krb5-libs | 44/160 |
| Updating | :device-mapper-event | 45/160 |
| Updating | :lvm2 | 46/160 |
| Updating | :openssh | 47/160 |
| Updating | :httpd | 48/160 |
| Updating | :curl | 49/160 |
| Updating | :libsmbclient | 50/160 |
| Updating | :samba-common | 51/160 |
| Updating | :samba | 52/160 |
| Updating | :postgresql-libs | 53/160 |
| Updating | :curl | 54/160 |
| Updating | :libstdc++ | 55/160 |
| Updating | :samba-swat | 56/160 |
| Updating | :samba-client | 57/160 |
| Updating | :mod_ssl | 58/160 |
| Updating | :openssh-server | 59/160 |
| Updating | :openssh-clients | 60/160 |
| Updating | :dhclient | 61/160 |
| Updating | :quota | 62/160 |
| Updating | :nscd | 63/160 |
| Updating | :screen | 64/160 |
| Updating | :libselinux-utils | 65/160 |
| Updating | :python | 66/160 |
| Updating | :rpm-libs | 67/160 |
| Updating | :rpm | 68/160 |
| Updating | :libuser | 69/160 |
| Updating | :dbus-libs | 70/160 |
| Updating | :rpm-python | 71/160 |
| Updating | :m2crypto | 72/160 |
| Installing | : python-libs | 73/160 |
| Installing | : iscsi-initiator-utils | 74/160 |
| Updating | :dbus | 75/160 |
| Updating | :mkinitrd | 76/160 |
| Updating | :passwd | 77/160 |
| Updating | :libselinux-python | 78/160 |
| Updating | :audit-libs-python | 79/160 |
| Updating | :python-urlgrabber | 80/160 |
| Updating | :yum | 81/160 |
| Cleanup | :rpm-libs | 82/160 |
| Cleanup | :psmisc | 83/160 |
| Cleanup | :krb5-libs | 84/160 |
| Cleanup | :glibc | 85/160 |
| Cleanup | :libselinux | 86/160 |
| Cleanup | :libstdc++ | 87/160 |
| Cleanup | :rpm-python | 88/160 |
| Cleanup | :audit-libs | 89/160 |
| Cleanup | :popt | 90/160 |
| Cleanup | :nss | 91/160 |
| Cleanup | :vim-enhanced | 92/160 |
| Cleanup | :passwd | 93/160 |
| Cleanup | :perl | 94/160 |
| Cleanup | :krb5-libs | 95/160 |
| Cleanup | :coreutils | 96/160 |
| Cleanup | :mkinitrd | 97/160 |
| Cleanup | :cups-libs | 98/160 |
| Cleanup | :samba-common | 99/160 |
| Cleanup | :shadow-utils | 100/160 |
| Cleanup | :python | 101/160 |
| Cleanup | :curl | 102/160 |
| Cleanup | :man-pages | 103/160 |
| Cleanup | :tzdata | 104/160 |
| Cleanup | :m2crypto | 105/160 |
| Cleanup | :curl | 106/160 |
| Cleanup | :mod_ssl | 107/160 |
| Cleanup | :openssh | 108/160 |
| Cleanup | :libstdc++ | 109/160 |
| Cleanup | :nscd | 110/160 |
| Cleanup | :libsmbclient | 111/160 |
| Cleanup | :postgresql-libs | 112/160 |
| Cleanup | :libtiff | 113/160 |
| Cleanup | :openssh-server | 114/160 |
| Cleanup | :libselinux-utils | 115/160 |
| Cleanup | :libselinux | 116/160 |
| Cleanup | :filesystem | 117/160 |
| Cleanup | :python-urlgrabber | 118/160 |
| Cleanup | :dhclient | 119/160 |
| Cleanup | :screen | 120/160 |
| Cleanup | :gdbm | 121/160 |
| Cleanup | :glibc-common | 122/160 |
| Cleanup | :initscripts | 123/160 |
| Cleanup | :samba | 124/160 |
| Cleanup | :rpm | 125/160 |
| Cleanup | :vim-common | 126/160 |
| Cleanup | :samba-swat | 127/160 |
| Cleanup | :openldap | 128/160 |
| Cleanup | :openssh-clients | 129/160 |
| Cleanup | :apr | 130/160 |
| Cleanup | :yum | 131/160 |
| Cleanup | :less | 132/160 |
| Cleanup | :libselinux-python | 133/160 |
| Cleanup | :vim-minimal | 134/160 |
| Cleanup | :samba-client | 135/160 |
| Cleanup | :udev | 136/160 |
| Cleanup | :kpartx | 137/160 |
| Cleanup | :dbus-libs | 138/160 |
| Cleanup | :quota | 139/160 |
| Cleanup | :libgcc | 140/160 |
| Cleanup | :dbus | 141/160 |
| Cleanup | :audit-libs-python | 142/160 |
| Cleanup | :libgcc | 143/160 |
| Cleanup | :sed | 144/160 |
| Cleanup | :device-mapper-multipath | 145/160 |
| Cleanup | :device-mapper-event | 146/160 |
| Cleanup | :device-mapper | 147/160 |
| Cleanup | :jwhois | 148/160 |
| Cleanup | :glibc | 149/160 |
| Cleanup | :tmpwatch | 150/160 |
| Cleanup | :pcre | 151/160 |
| Cleanup | :libuser | 152/160 |
| Cleanup | :centos-release-notes | 153/160 |
| Cleanup | :sudo | 154/160 |
| Cleanup | :centos-release | 155/160 |
| Cleanup | :util-linux | 156/160 |
| Cleanup | :httpd | 157/160 |
| Cleanup | :lvm2 | 158/160 |
| Cleanup | :device-mapper | 159/160 |
| Cleanup | :nash | 160/160 |
Dependency Installed:
| iscsi-initiator-utils.x86_64 0:6.2.0.872-6.el5 | python-libs.x86_64 0:2.4.3-44.el5 |
Updated:
| apr.x86_64 0:1.2.7-11.el5_6.5 | audit-libs.x86_64 0:1.7.18-2.el5 |
| audit-libs-python.x86_64 0:1.7.18-2.el5 | centos-release.x86_64 10:5-6.el5.centos.1 |
| centos-release-notes.x86_64 0:5.6-0 | coreutils.x86_64 0:5.97-23.el5_6.4 |
| cups-libs.x86_64 1:1.3.7-26.el5_6.1 | curl.i386 0:7.15.5-9.el5_6.2 |
| curl.x86_64 0:7.15.5-9.el5_6.2 | dbus.x86_64 0:1.1.2-15.el5_6 |
| dbus-libs.x86_64 0:1.1.2-15.el5_6 | device-mapper.i386 0:1.02.55-2.el5 |
| device-mapper.x86_64 0:1.02.55-2.el5 | device-mapper-event.x86_64 0:1.02.55-2.el5 |
| device-mapper-multipath.x86_64 0:0.4.7-42.el5_6.3 | dhclient.x86_64 12:3.0.5-23.el5_6.4 |
| filesystem.x86_64 0:2.4.0-3.el5.centos | gdbm.x86_64 0:1.8.0-26.2.1.el5_6.1 |
| glibc.i686 0:2.5-58.el5_6.3 | glibc.x86_64 0:2.5-58.el5_6.3 |
| glibc-common.x86_64 0:2.5-58.el5_6.3 | httpd.x86_64 0:2.2.3-45.el5.centos.1 |
| initscripts.x86_64 0:8.45.33-1.el5.centos | jwhois.x86_64 0:3.2.3-12.el5 |
| kpartx.x86_64 0:0.4.7-42.el5_6.3 | krb5-libs.i386 0:1.6.1-55.el5_6.1 |
| krb5-libs.x86_64 0:1.6.1-55.el5_6.1 | less.x86_64 0:436-7.el5 |
| libgcc.i386 0:4.1.2-50.el5 | libgcc.x86_64 0:4.1.2-50.el5 |
| libselinux.i386 0:1.33.4-5.7.el5 | libselinux.x86_64 0:1.33.4-5.7.el5 |
| libselinux-python.x86_64 0:1.33.4-5.7.el5 | libselinux-utils.x86_64 0:1.33.4-5.7.el5 |
| libsmbclient.x86_64 0:3.0.33-3.29.el5_6.2 | libstdc++.i386 0:4.1.2-50.el5 |
| libstdc++.x86_64 0:4.1.2-50.el5 | libtiff.x86_64 0:3.8.2-7.el5_6.7 |
| libuser.x86_64 0:0.54.7-2.1.el5_5.2 | lvm2.x86_64 0:2.02.74-5.el5_6.1 |
| m2crypto.x86_64 0:0.16-7.el5 | man-pages.noarch 0:2.39-17.el5 |
| mkinitrd.x86_64 0:5.1.19.6-68.el5_6.1 | mod_ssl.x86_64 1:2.2.3-45.el5.centos.1 |
| nash.x86_64 0:5.1.19.6-68.el5_6.1 | nscd.x86_64 0:2.5-58.el5_6.3 |
| nss.x86_64 0:3.12.8-4.el5_6 | openldap.x86_64 0:2.3.43-12.el5_6.7 |
| openssh.x86_64 0:4.3p2-72.el5_6.3 | openssh-clients.x86_64 0:4.3p2-72.el5_6.3 |
| openssh-server.x86_64 0:4.3p2-72.el5_6.3 | passwd.x86_64 0:0.73-2 |
| pcre.x86_64 0:6.6-6.el5_6.1 | perl.x86_64 4:5.8.8-32.el5_6.3 |
| popt.x86_64 0:1.10.2.3-22.el5 | postgresql-libs.x86_64 0:8.1.23-1.el5_6.1 |
| psmisc.x86_64 0:22.2-7.el5_6.2 | python.x86_64 0:2.4.3-44.el5 |
| python-urlgrabber.noarch 0:3.1.0-6.el5 | quota.x86_64 1:3.13-5.el5 |
| rpm.x86_64 0:4.4.2.3-22.el5 | rpm-libs.x86_64 0:4.4.2.3-22.el5 |
| rpm-python.x86_64 0:4.4.2.3-22.el5 | samba.x86_64 0:3.0.33-3.29.el5_6.2 |
| samba-client.x86_64 0:3.0.33-3.29.el5_6.2 | samba-common.x86_64 0:3.0.33-3.29.el5_6.2 |
| samba-swat.x86_64 0:3.0.33-3.29.el5_6.2 | screen.x86_64 0:4.0.3-4.el5 |
| sed.x86_64 0:4.1.5-8.el5 | shadow-utils.x86_64 2:4.0.17-18.el5_6.1 |
| sudo.x86_64 0:1.7.2p1-10.el5 | tmpwatch.x86_64 0:2.9.7-1.1.el5.5 |
| tzdata.x86_64 0:2011g-1.el5 | udev.x86_64 0:095-14.24.el5 |
| util-linux.x86_64 0:2.13-0.56.el5 | vim-common.x86_64 2:7.0.109-7.el5 |
| vim-enhanced.x86_64 2:7.0.109-7.el5 | vim-minimal.x86_64 2:7.0.109-7.el5 |
| yum.noarch 0:3.2.22-33.el5.centos |
Complete!
途中いくつかwarningが出ていましたが、設定ファイルを保存しているだけのようなので気にしません。
最後に「Complete!」と出ていますので問題ないでしょう。
yum updateの前に
- 2011/06/15(水) 22:38:38
セキュリティパッチがでているかも知れないということで、インストール済みのパッケージで更新されているパッケージをyumコマンドで調べます。
まずは何がインストールされているのか一応見てみます。
見てもどれが必要でどれが不要かはまだわからないのですが、備忘録ということでw ・・・いつか役に立つかもしれません。
コマンドは「yum list installed」です。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.iij.ad.jp
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
Installed Packages
| MAKEDEV.x86_64 | 3.23-1.2 | installed |
| SysVinit.x86_64 | 2.86-15.el5 | installed |
| apr.x86_64 | 1.2.7-11.el5_5.3 | installed |
| apr-util.x86_64 | 1.2.7-11.el5_5.2 | installed |
| aspell.i386 | 12:0.60.3-7.1 | installed |
| aspell.x86_64 | 12:0.60.3-7.1 | installed |
| aspell-en.x86_64 | 50:6.0-2.1 | installed |
| audit-libs.x86_64 | 1.7.17-3.el5 | installed |
| audit-libs-python.x86_64 | 1.7.17-3.el5 | installed |
| authconfig.x86_64 | 5.3.21-6.el5 | installed |
| basesystem.noarch | 8.0-5.1.1.el5.centos | installed |
| bash.x86_64 | 3.2-24.el5 | installed |
| binutils.x86_64 | 2.17.50.0.6-14.el5 | installed |
| bzip2.x86_64 | 1.0.3-6.el5_5 | installed |
| bzip2-libs.x86_64 | 1.0.3-6.el5_5 | installed |
| centos-release.x86_64 | 10:5-5.el5.centos | installed |
| centos-release-notes.x86_64 | 5.5-0 | installed |
| chkconfig.x86_64 | 1.3.30.2-2.el5 | installed |
| coreutils.x86_64 | 5.97-23.el5_4.2 | installed |
| cpio.x86_64 | 2.6-23.el5_4.1 | installed |
| cracklib.x86_64 | 2.8.9-3.3 | installed |
| cracklib-dicts.x86_64 | 2.8.9-3.3 | installed |
| crontabs.noarch | 10月8日 | installed |
| cups-libs.x86_64 | 1:1.3.7-18.el5_5.8 | installed |
| curl.i386 | 7.15.5-9.el5 | installed |
| curl.x86_64 | 7.15.5-9.el5 | installed |
| cyrus-sasl.x86_64 | 2.1.22-5.el5_4.3 | installed |
| cyrus-sasl-lib.x86_64 | 2.1.22-5.el5_4.3 | installed |
| db4.x86_64 | 4.3.29-10.el5_5.2 | installed |
| dbus.x86_64 | 1.1.2-14.el5 | installed |
| dbus-libs.x86_64 | 1.1.2-14.el5 | installed |
| device-mapper.i386 | 1.02.39-1.el5_5.2 | installed |
| device-mapper.x86_64 | 1.02.39-1.el5_5.2 | installed |
| device-mapper-event.x86_64 | 1.02.39-1.el5_5.2 | installed |
| device-mapper-multipath.x86_64 | 0.4.7-34.el5_5.6 | installed |
| dhclient.x86_64 | 12:3.0.5-23.el5_5.2 | installed |
| diffutils.x86_64 | 2.8.1-15.2.3.el5 | installed |
| distcache.x86_64 | 1.4.5-14.1 | installed |
| dmidecode.x86_64 | 1:2.10-3.el5 | installed |
| dmraid.x86_64 | 1.0.0.rc13-63.el5 | installed |
| dmraid-events.x86_64 | 1.0.0.rc13-63.el5 | installed |
| e2fsprogs.x86_64 | 1.39-23.el5_5.1 | installed |
| e2fsprogs-libs.i386 | 1.39-23.el5_5.1 | installed |
| e2fsprogs-libs.x86_64 | 1.39-23.el5_5.1 | installed |
| ed.x86_64 | 0.2-39.el5_2 | installed |
| elfutils.x86_64 | 0.137-3.el5 | installed |
| elfutils-libelf.x86_64 | 0.137-3.el5 | installed |
| elfutils-libs.x86_64 | 0.137-3.el5 | installed |
| ethtool.x86_64 | 6-4.el5 | installed |
| expat.x86_64 | 1.95.8-8.3.el5_5.3 | installed |
| file.x86_64 | 4.17-15.el5_3.1 | installed |
| filesystem.x86_64 | 2.4.0-3.el5 | installed |
| findutils.x86_64 | 1:4.2.27-6.el5 | installed |
| finger.x86_64 | 0.17-32.2.1.1 | installed |
| finger-server.x86_64 | 0.17-32.2.1.1 | installed |
| fipscheck.x86_64 | 1.2.0-1.el5 | installed |
| fipscheck-lib.x86_64 | 1.2.0-1.el5 | installed |
| ftp.x86_64 | 0.17-35.el5 | installed |
| gawk.x86_64 | 3.1.5-14.el5 | installed |
| gdbm.x86_64 | 1.8.0-26.2.1 | installed |
| glib2.x86_64 | 2.12.3-4.el5_3.1 | installed |
| glibc.i686 | 2.5-49.el5_5.7 | installed |
| glibc.x86_64 | 2.5-49.el5_5.7 | installed |
| glibc-common.x86_64 | 2.5-49.el5_5.7 | installed |
| gnupg.x86_64 | 1.4.5-14.el5_5.1 | installed |
| gnutls.x86_64 | 1.4.1-3.el5_4.8 | installed |
| gpm.x86_64 | 1.20.1-74.1 | installed |
| grep.x86_64 | 2.5.1-55.el5 | installed |
| groff.x86_64 | 1.18.1.1-11.1 | installed |
| gzip.x86_64 | 1.3.5-11.el5.centos.1 | installed |
| hesiod.x86_64 | 3.1.0-8 | installed |
| hmaccalc.x86_64 | 0.9.6-3.el5 | installed |
| httpd.x86_64 | 2.2.3-43.el5.centos.3 | installed |
| info.x86_64 | 4.8-14.el5 | installed |
| initscripts.x86_64 | 8.45.30-3.el5.centos | installed |
| iproute.x86_64 | 2.6.18-11.el5 | installed |
| iptables.x86_64 | 1.3.5-5.3.el5_4.1 | installed |
| iptables-ipv6.x86_64 | 1.3.5-5.3.el5_4.1 | installed |
| iputils.x86_64 | 20020927-46.el5 | installed |
| jwhois.x86_64 | 3.2.3-8.el5 | installed |
| keyutils-libs.i386 | 1.2-1.el5 | installed |
| keyutils-libs.x86_64 | 1.2-1.el5 | installed |
| kpartx.x86_64 | 0.4.7-34.el5_5.6 | installed |
| krb5-libs.i386 | 1.6.1-36.el5_5.6 | installed |
| krb5-libs.x86_64 | 1.6.1-36.el5_5.6 | installed |
| less.x86_64 | 436-2.el5 | installed |
| libacl.x86_64 | 2.2.39-6.el5 | installed |
| libattr.x86_64 | 2.4.32-1.1 | installed |
| libcap.x86_64 | 10月26日 | installed |
| libgcc.i386 | 4.1.2-48.el5 | installed |
| libgcc.x86_64 | 4.1.2-48.el5 | installed |
| libgcrypt.x86_64 | 1.4.4-5.el5 | installed |
| libgpg-error.x86_64 | 4月2日 | installed |
| libidn.i386 | 0.6.5-1.1 | installed |
| libidn.x86_64 | 0.6.5-1.1 | installed |
| libjpeg.x86_64 | 6b-37 | installed |
| libpng.x86_64 | 2:1.2.10-7.1.el5_5.3 | installed |
| libselinux.i386 | 1.33.4-5.5.el5 | installed |
| libselinux.x86_64 | 1.33.4-5.5.el5 | installed |
| libselinux-python.x86_64 | 1.33.4-5.5.el5 | installed |
| libselinux-utils.x86_64 | 1.33.4-5.5.el5 | installed |
| libsemanage.x86_64 | 1.9.1-4.4.el5 | installed |
| libsepol.i386 | 1.15.2-3.el5 | installed |
| libsepol.x86_64 | 1.15.2-3.el5 | installed |
| libsmbclient.x86_64 | 3.0.33-3.29.el5_5.1 | installed |
| libstdc++.i386 | 4.1.2-48.el5 | installed |
| libstdc++.x86_64 | 4.1.2-48.el5 | installed |
| libsysfs.x86_64 | 2.0.0-6 | installed |
| libtermcap.x86_64 | 2.0.8-46.1 | installed |
| libtiff.x86_64 | 3.8.2-7.el5_5.5 | installed |
| libusb.x86_64 | 0.1.12-5.1 | installed |
| libuser.x86_64 | 0.54.7-2.1.el5_4.1 | installed |
| libutempter.i386 | 1.1.4-4.el5 | installed |
| libutempter.x86_64 | 1.1.4-4.el5 | installed |
| libxml2.x86_64 | 2.6.26-2.1.2.8.el5_5.1 | installed |
| lm_sensors.x86_64 | 2.10.7-9.el5 | installed |
| logrotate.x86_64 | 3.7.4-9.el5_5.2 | installed |
| lsof.x86_64 | 4.78-3 | installed |
| lvm2.x86_64 | 2.02.56-8.el5_5.6 | installed |
| lynx.x86_64 | 2.8.5-28.1.el5_2.1 | installed |
| m2crypto.x86_64 | 0.16-6.el5.6 | installed |
| m4.x86_64 | 1.4.5-3.el5.1 | installed |
| mailcap.noarch | 2.1.23-1.fc6 | installed |
| mailx.x86_64 | 8.1.1-44.2.2 | installed |
| make.x86_64 | 1:3.81-3.el5 | installed |
| man.x86_64 | 1.6d-1.1 | installed |
| man-pages.noarch | 2.39-15.el5_4 | installed |
| mcstrans.x86_64 | 0.2.11-3.el5 | installed |
| mingetty.x86_64 | 1.07-5.2.2 | installed |
| mkinitrd.x86_64 | 5.1.19.6-61.el5_5.2 | installed |
| mktemp.x86_64 | 3:1.5-23.2.2 | installed |
| mlocate.x86_64 | 0.15-1.el5.2 | installed |
| mod_ssl.x86_64 | 1:2.2.3-43.el5.centos.3 | installed |
| module-init-tools.x86_64 | 3.3-0.pre3.1.60.el5_5.1 | installed |
| nash.x86_64 | 5.1.19.6-61.el5_5.2 | installed |
| ncompress.x86_64 | 4.2.4-47 | installed |
| ncurses.i386 | 5.5-24.20060715 | installed |
| ncurses.x86_64 | 5.5-24.20060715 | installed |
| net-snmp.x86_64 | 1:5.3.2.2-9.el5_5.1 | installed |
| net-snmp-libs.x86_64 | 1:5.3.2.2-9.el5_5.1 | installed |
| net-snmp-utils.x86_64 | 1:5.3.2.2-9.el5_5.1 | installed |
| net-tools.x86_64 | 1.60-81.el5 | installed |
| newt.x86_64 | 0.52.2-15.el5 | installed |
| nscd.x86_64 | 2.5-49.el5_5.7 | installed |
| nspr.x86_64 | 4.8.6-1.el5_5 | installed |
| nss.x86_64 | 3.12.8-1.el5.centos | installed |
| ntsysv.x86_64 | 1.3.30.2-2.el5 | installed |
| openldap.x86_64 | 2.3.43-12.el5_5.3 | installed |
| openssh.x86_64 | 4.3p2-41.el5_5.1 | installed |
| openssh-clients.x86_64 | 4.3p2-41.el5_5.1 | installed |
| openssh-server.x86_64 | 4.3p2-41.el5_5.1 | installed |
| openssl.i686 | 0.9.8e-12.el5_5.7 | installed |
| openssl.x86_64 | 0.9.8e-12.el5_5.7 | installed |
| pam.x86_64 | 0.99.6.2-6.el5_5.2 | installed |
| passwd.x86_64 | 0.73-1 | installed |
| pcre.x86_64 | 6.6-2.el5_1.7 | installed |
| perl.x86_64 | 4:5.8.8-32.el5_5.2 | installed |
| perl-CGI-Session.noarch | 4.42-1.el5.rf | installed |
| perl-Convert-ASN1.noarch | 0.20-1.1 | installed |
| policycoreutils.x86_64 | 1.33.12-14.8.el5 | installed |
| popt.x86_64 | 1.10.2.3-20.el5_5.1 | installed |
| portmap.x86_64 | 4.0-65.2.2.1 | installed |
| postgresql-libs.x86_64 | 8.1.22-1.el5_5.1 | installed |
| procmail.x86_64 | 3.22-17.1.el5.centos | installed |
| procps.x86_64 | 3.2.7-16.el5 | installed |
| psmisc.x86_64 | 2月7日 | installed |
| python.x86_64 | 2.4.3-27.el5_5.3 | installed |
| python-elementtree.x86_64 | 1.2.6-5 | installed |
| python-iniparse.noarch | 0.2.3-4.el5 | installed |
| python-sqlite.x86_64 | 1.1.7-1.2.1 | installed |
| python-urlgrabber.noarch | 3.1.0-5.el5 | installed |
| quota.x86_64 | 1:3.13-1.2.5.el5 | installed |
| readline.x86_64 | 5.1-3.el5 | installed |
| rootfiles.noarch | 8.1-1.1.1 | installed |
| rpm.x86_64 | 4.4.2.3-20.el5_5.1 | installed |
| rpm-libs.x86_64 | 4.4.2.3-20.el5_5.1 | installed |
| rpm-python.x86_64 | 4.4.2.3-20.el5_5.1 | installed |
| rsync.x86_64 | 2.6.8-3.1 | installed |
| samba.x86_64 | 3.0.33-3.29.el5_5.1 | installed |
| samba-client.x86_64 | 3.0.33-3.29.el5_5.1 | installed |
| samba-common.x86_64 | 3.0.33-3.29.el5_5.1 | installed |
| samba-swat.x86_64 | 3.0.33-3.29.el5_5.1 | installed |
| screen.x86_64 | 4.0.3-1.el5_4.1 | installed |
| sed.x86_64 | 4.1.5-5.fc6 | installed |
| serversman.i386 | 1.0-006 | installed |
| setup.noarch | 2.5.58-7.el5 | installed |
| setuptool.x86_64 | 1.19.2-1.el5.centos | installed |
| sgpio.x86_64 | 1.2.0_10-2.el5 | installed |
| shadow-utils.x86_64 | 2:4.0.17-15.el5 | installed |
| sharutils.x86_64 | 4.6.1-2 | installed |
| slang.i386 | 2.0.6-4.el5 | installed |
| slang.x86_64 | 2.0.6-4.el5 | installed |
| smadmin.i386 | 1.0-003 | installed |
| sqlite.x86_64 | 3.3.6-5 | installed |
| stunnel.x86_64 | 4.15-2.el5.1 | installed |
| sudo.x86_64 | 1.7.2p1-9.el5_5 | installed |
| sysklogd.x86_64 | 1.4.1-46.el5 | installed |
| talk.x86_64 | 0.17-29.2.2 | installed |
| talk-server.x86_64 | 0.17-29.2.2 | installed |
| tar.x86_64 | 2:1.15.1-30.el5 | installed |
| tcp_wrappers.x86_64 | 7.6-40.7.el5 | installed |
| tcpdump.x86_64 | 14:3.9.4-15.el5 | installed |
| tcsh.x86_64 | 6.14-17.el5_5.2 | installed |
| telnet.x86_64 | 1:0.17-39.el5 | installed |
| termcap.noarch | 1:5.5-1.20060701.1 | installed |
| time.x86_64 | 1.7-27.2.2 | installed |
| tmpwatch.x86_64 | 2.9.7-1.1.el5.2 | installed |
| traceroute.x86_64 | 3:2.0.1-5.el5 | installed |
| tzdata.x86_64 | 2010l-1.el5 | installed |
| udev.x86_64 | 095-14.21.el5_5.1 | installed |
| unzip.x86_64 | 5.52-3.el5 | installed |
| usermode.x86_64 | 1.88-3.el5.2 | installed |
| util-linux.x86_64 | 2.13-0.52.el5_4.1 | installed |
| vim-common.x86_64 | 2:7.0.109-6.el5 | installed |
| vim-enhanced.x86_64 | 2:7.0.109-6.el5 | installed |
| vim-minimal.x86_64 | 2:7.0.109-6.el5 | installed |
| vixie-cron.x86_64 | 4:4.1-77.el5_4.1 | installed |
| vzdev.noarch | 1.0-7.swsoft | installed |
| vzdummy-apache.noarch | 1.0-1.swsoft | installed |
| vzdummy-glibc.noarch | 1.0-1.swsoft | installed |
| vzdummy-jre-el5.noarch | 1.0-1.swsoft | installed |
| vzdummy-kernel-el5.noarch | 2.0-1.ce.swsoft | installed |
| wget.x86_64 | 1.11.4-2.el5_4.1 | installed |
| which.x86_64 | 2.16-7 | installed |
| xinetd.x86_64 | 2:2.3.14-10.el5 | installed |
| yum.noarch | 3.2.22-26.el5.centos | installed |
| yum-fastestmirror.noarch | 1.1.16-14.el5.centos.1 | installed |
| yum-metadata-parser.x86_64 | 1.1.2-3.el5.centos | installed |
| zlib.i386 | 1.2.3-3 | installed |
| zlib.x86_64 | 1.2.3-3 | installed |
これを調べるのは大変ですね・・・
次に更新されたパッケージの一覧を取得します。
コマンドは、「yum check-update」のようです。
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.iij.ad.jp
* base: ftp.iij.ad.jp
* extras: ftp.iij.ad.jp
* updates: ftp.iij.ad.jp
| apr.x86_64 | 1.2.7-11.el5_6.5 | updates |
| audit-libs.x86_64 | 1.7.18-2.el5 | base |
| audit-libs-python.x86_64 | 1.7.18-2.el5 | base |
| centos-release.x86_64 | 10:5-6.el5.centos.1 | base |
| centos-release-notes.x86_64 | 5.6-0 | base |
| coreutils.x86_64 | 5.97-23.el5_6.4 | updates |
| cups-libs.x86_64 | 1:1.3.7-26.el5_6.1 | updates |
| curl.i386 | 7.15.5-9.el5_6.2 | updates |
| curl.x86_64 | 7.15.5-9.el5_6.2 | updates |
| dbus.x86_64 | 1.1.2-15.el5_6 | updates |
| dbus-libs.x86_64 | 1.1.2-15.el5_6 | updates |
| device-mapper.i386 | 1.02.55-2.el5 | base |
| device-mapper.x86_64 | 1.02.55-2.el5 | base |
| device-mapper-event.x86_64 | 1.02.55-2.el5 | base |
| device-mapper-multipath.x86_64 | 0.4.7-42.el5_6.3 | updates |
| dhclient.x86_64 | 12:3.0.5-23.el5_6.4 | updates |
| filesystem.x86_64 | 2.4.0-3.el5.centos | updates |
| gdbm.x86_64 | 1.8.0-26.2.1.el5_6.1 | updates |
| glibc.i686 | 2.5-58.el5_6.3 | updates |
| glibc.x86_64 | 2.5-58.el5_6.3 | updates |
| glibc-common.x86_64 | 2.5-58.el5_6.3 | updates |
| httpd.x86_64 | 2.2.3-45.el5.centos.1 | updates |
| initscripts.x86_64 | 8.45.33-1.el5.centos | base |
| jwhois.x86_64 | 3.2.3-12.el5 | updates |
| kpartx.x86_64 | 0.4.7-42.el5_6.3 | updates |
| krb5-libs.i386 | 1.6.1-55.el5_6.1 | updates |
| krb5-libs.x86_64 | 1.6.1-55.el5_6.1 | updates |
| less.x86_64 | 436-7.el5 | base |
| libgcc.i386 | 4.1.2-50.el5 | base |
| libgcc.x86_64 | 4.1.2-50.el5 | base |
| libselinux.i386 | 1.33.4-5.7.el5 | base |
| libselinux.x86_64 | 1.33.4-5.7.el5 | base |
| libselinux-python.x86_64 | 1.33.4-5.7.el5 | base |
| libselinux-utils.x86_64 | 1.33.4-5.7.el5 | base |
| libsmbclient.x86_64 | 3.0.33-3.29.el5_6.2 | updates |
| libstdc++.i386 | 4.1.2-50.el5 | base |
| libstdc++.x86_64 | 4.1.2-50.el5 | base |
| libtiff.x86_64 | 3.8.2-7.el5_6.7 | updates |
| libuser.x86_64 | 0.54.7-2.1.el5_5.2 | updates |
| lvm2.x86_64 | 2.02.74-5.el5_6.1 | updates |
| m2crypto.x86_64 | 0.16-7.el5 | updates |
| man-pages.noarch | 2.39-17.el5 | base |
| mkinitrd.x86_64 | 5.1.19.6-68.el5_6.1 | updates |
| mod_ssl.x86_64 | 1:2.2.3-45.el5.centos.1 | updates |
| nash.x86_64 | 5.1.19.6-68.el5_6.1 | updates |
| nscd.x86_64 | 2.5-58.el5_6.3 | updates |
| nss.x86_64 | 3.12.8-4.el5_6 | updates |
| openldap.x86_64 | 2.3.43-12.el5_6.7 | updates |
| openssh.x86_64 | 4.3p2-72.el5_6.3 | updates |
| openssh-clients.x86_64 | 4.3p2-72.el5_6.3 | updates |
| openssh-server.x86_64 | 4.3p2-72.el5_6.3 | updates |
| passwd.x86_64 | 0.73-2 | base |
| pcre.x86_64 | 6.6-6.el5_6.1 | updates |
| perl.x86_64 | 4:5.8.8-32.el5_6.3 | updates |
| popt.x86_64 | 1.10.2.3-22.el5 | base |
| postgresql-libs.x86_64 | 8.1.23-1.el5_6.1 | updates |
| psmisc.x86_64 | 22.2-7.el5_6.2 | updates |
| python.x86_64 | 2.4.3-44.el5 | updates |
| python-urlgrabber.noarch | 3.1.0-6.el5 | base |
| quota.x86_64 | 1:3.13-5.el5 | updates |
| rpm.x86_64 | 4.4.2.3-22.el5 | base |
| rpm-libs.x86_64 | 4.4.2.3-22.el5 | base |
| rpm-python.x86_64 | 4.4.2.3-22.el5 | base |
| samba.x86_64 | 3.0.33-3.29.el5_6.2 | updates |
| samba-client.x86_64 | 3.0.33-3.29.el5_6.2 | updates |
| samba-common.x86_64 | 3.0.33-3.29.el5_6.2 | updates |
| samba-swat.x86_64 | 3.0.33-3.29.el5_6.2 | updates |
| screen.x86_64 | 4.0.3-4.el5 | updates |
| sed.x86_64 | 4.1.5-8.el5 | updates |
| shadow-utils.x86_64 | 2:4.0.17-18.el5_6.1 | updates |
| sudo.x86_64 | 1.7.2p1-10.el5 | base |
| tmpwatch.x86_64 | 2.9.7-1.1.el5.5 | base |
| tzdata.x86_64 | 2011g-1.el5 | updates |
| udev.x86_64 | 095-14.24.el5 | base |
| util-linux.x86_64 | 2.13-0.56.el5 | base |
| vim-common.x86_64 | 2:7.0.109-7.el5 | base |
| vim-enhanced.x86_64 | 2:7.0.109-7.el5 | base |
| vim-minimal.x86_64 | 2:7.0.109-7.el5 | base |
| yum.noarch | 3.2.22-33.el5.centos | base |
Host名変更
- 2011/06/14(火) 22:00:00
Severs@Manのマニュアルのうち、セキュリティ設定の項目にはこれまでやった
・root権限でのアクセスを禁止する
・ssh用のポート番号を変更する
の他に
・接続元を制限する
・iptablesの設定方法
が載っています。
ですが接続元は今のところ制限したくないのでパスしておきます。
またiptablesの設定は後で勉強することになるであろうから、とりあえず保留しておきます。
セキュリティとは少し違いますが、Host名を変更しておきます。
変更方法は、早くもかなりお世話になっている、そして今後も散々お世話になるであろう「VPSを使い倒す」のブログを参考にさせていただきます。
現在のホスト名は
| [root@vps]# hostname
dti-vps-srvxx xxはマスキングしてあります。 |
変更するには「hostname [ホスト名]」でOKのようです。
| [root@vps]# hostname myvpssrv
[root@vps]# hostname myvpssrv |
これでHost名の変更完了です。簡単簡単
なお、この方法では再起動後に元のHost名に戻ってしまうようです。
再起動後も変更されないようにするには、/etc/sysconfig/networkファイルに
HOSTNAME=myvpssrv
を追記すればよいとのことです。とりあえずやっときます。
| [root@vps]# vi /etc/sysconfig/network |
viエディタが起動します。
| NETWORKING="yes"
GATEWAY="xxx.xxx.xxx.xxx" NETWORKING_IPV6="yes" IPV6_DEFAULTDEV="venet0" ~ ~ ~ |
念のため「ESC」を押した後「i」を押してREPLACEモードへ切り替え、
下記のうように追記して「ESC」→「:wq」で保存完了です。
| NETWORKING="yes"
GATEWAY="xxx.xxx.xxx.xxx" NETWORKING_IPV6="yes" IPV6_DEFAULTDEV="venet0" HOSTNAME=myvpssrv ~ ~ |
さっそく試してみます。
再起動をコマンドで実行します。
| [root@vps]# shutdown -r now |
・・・Pingが帰ってきだしてしばらく待ってSSHでログインします。
Host名を確認してみます。
| [serversman@myvpssrv~]# hostname
myvpssrv |
おお!ちゃんと変わってます。
※サーバの停止・起動は「MyDTI」の「契約中サービス」タグのうち【VPSサーバ情報】にもボタンがあるのでそこからもできるようです。
AirDisplay@VPSのポート番号変更方法
- 2011/06/13(月) 22:07:40
SSHのポートを変更した結果、AirDisplay@VPSにログインできなくなっていました。こちらのポートも変更する必要があるようです。
ちゃんとServersMan@VPSのマニュアルに載っていました。
?sshクライアントでサーバにログインします。
ここもマニュアルが用意されていますので、参考にしてください。
http://dream.jp/vps/manual/mnl_root_login.html#a_01
?作業用ユーザでログインし、suしてrootでログインします。
| [serversman@vps]$ su - Password: root権限用のログインパスワード [root@vps]# |
?下記コマンドを入力し、該当ファイルへアクセスしてます。
| [root@vps]# vi /usr/local/share/ajaxterm/ajaxterm.py |
?ajaxterm.pyファイルの画面が開いたら、「/ssh」と入力し、Enterキーを押します。
※先に「Esc」を押してコマンドモードにしておきます。
| cmd=['ssh']
cmd+=['-p3843'] cmd+=['-oPreferredAuthentications=keyboard-interactive,password'] |
| cmd=['ssh']
cmd+=['-p3843'] cmd+=['-oPreferredAuthentications=keyboard-interactive,password'] cmd=['ssh'] cmd+=['-pxxxx'] xxxxに変更する番号を入力 cmd+=['-oPreferredAuthentications=keyboard-interactive,password'] cmd+=['-oNoHostAuthenticationForLocalhost=yes'] cmd+=['-oLogLevel=FATAL'] cmd+=['-F/dev/null','-l',login,'localhost'] |
?ファイル(ajaxterm.py)を保存します。
「ESC」キーを押した後「:wq」と入力しEnterを押して保存します。
?/etc/rc.d/init.d/ajaxterm restart と入力、実行しajaxtermを再起動してください。
| [root@vps]# /etc/rc.d/init.d/ajaxterm restart
Stopping ajaxterm: [ OK ] Starting ajaxterm: AjaxTerm at http://localhost:8022/ pid: 3411 [ OK ] |
以上でAirDisplay@VPSで使用するポート番号の変更が完了です。

ブログでアフィリエイト