<?xml version="1.0" encoding="UTF-8" ?><rdf:RDF 
  xmlns="http://purl.org/rss/1.0/"
  xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:atom="http://www.w3.org/2005/Atom"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xml:lang="ja">
  <channel rdf:about="http://w.atwiki.jp/deccho/">
    <title>deccho @ wiki</title>
    <link>http://w.atwiki.jp/deccho/</link>
    <atom:link href="https://w.atwiki.jp/deccho/rss10.xml" rel="self" type="application/rss+xml" />
    <atom:link rel="hub" href="https://pubsubhubbub.appspot.com" />
    <description>deccho @ wiki</description>

    <dc:language>ja</dc:language>
    <dc:date>2015-05-18T22:25:13+09:00</dc:date>
    <utime>1431955513</utime>

    <items>
      <rdf:Seq>
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/1.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/22.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/21.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/2.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/17.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/20.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/19.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/18.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/15.html" />
                <rdf:li rdf:resource="https://w.atwiki.jp/deccho/pages/16.html" />
              </rdf:Seq>
    </items>
	
		
    
  </channel>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/1.html">
    <title>トップページ</title>
    <link>https://w.atwiki.jp/deccho/pages/1.html</link>
    <description>
          </description>
    <dc:date>2015-05-18T22:25:13+09:00</dc:date>
    <utime>1431955513</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/22.html">
    <title>環境構築/リファレンス/Vagrantコマンド</title>
    <link>https://w.atwiki.jp/deccho/pages/22.html</link>
    <description>
      [[環境構築]]

*Vagrantコマンド
----
#contents
----
**仮想環境の起動
-コマンドプロンプトから以下のコマンドを入力する。
#codehighlight(linenumber){
C:\&gt;cd Vagrant\CentOS7.1
C:\Vagrant\CentOS7.1&gt;vagrant up
Bringing machine &#039;default&#039; up with &#039;virtualbox&#039; provider...
==&gt; default: Importing base box &#039;CentOS7.1&#039;...
==&gt; default: Matching MAC address for NAT networking...
==&gt; default: Setting the name of the VM: CentOS71_default_1431791415011_58624
==&gt; default: Clearing any previously set forwarded ports...
==&gt; default: Clearing any previously set network interfaces...
==&gt; default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==&gt; default: Forwarding ports...
    default: 22 =&gt; 2222 (adapter 1)
==&gt; default: Booting VM...
==&gt; default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if its present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==&gt; default: Machine booted and ready!
==&gt; default: Checking for guest additions in VM...
==&gt; default: Mounting shared folders...
    default: /vagrant =&gt; C:/Vagrant/CentOS7.1
}

**仮想環境の終了
-コマンドプロンプトから以下のコマンドを入力する。
#codehighlight(linenumber){
C:\&gt;cd Vagrant\CentOS7.1
C:\Vagrant\CentOS7.1&gt;vagrant halt
==&gt; default: Attempting graceful shutdown of VM...
}

**仮想環境における設定の反映
-コマンドプロンプトから以下のコマンドを入力する。
#codehighlight(linenumber){
C:\&gt;cd Vagrant\CentOS7.1
C:\Vagrant\CentOS7.1&gt;vagrant reload
==&gt; default: Attempting graceful shutdown of VM...
==&gt; default: Clearing any previously set forwarded ports...
==&gt; default: Clearing any previously set network interfaces...
==&gt; default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==&gt; default: Forwarding ports...
    default: 22 =&gt; 2222 (adapter 1)
==&gt; default: Booting VM...
==&gt; default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
==&gt; default: Machine booted and ready!
==&gt; default: Checking for guest additions in VM...
==&gt; default: Mounting shared folders...
    default: /vagrant =&gt; C:/Vagrant/CentOS7.1
==&gt; default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==&gt; default: to force provisioning. Provisioners marked to run always will still run.
}    </description>
    <dc:date>2015-05-17T17:05:12+09:00</dc:date>
    <utime>1431849912</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/21.html">
    <title>環境構築/リファレンス</title>
    <link>https://w.atwiki.jp/deccho/pages/21.html</link>
    <description>
      [[環境構築]]

*リファレンス
#ls2()    </description>
    <dc:date>2015-05-17T16:51:52+09:00</dc:date>
    <utime>1431849112</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/2.html">
    <title>メニュー</title>
    <link>https://w.atwiki.jp/deccho/pages/2.html</link>
    <description>
          </description>
    <dc:date>2015-05-17T16:51:35+09:00</dc:date>
    <utime>1431849095</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/17.html">
    <title>環境構築</title>
    <link>https://w.atwiki.jp/deccho/pages/17.html</link>
    <description>
      [[トップページ]]

*環境構築
**仮想環境
#ls2(環境構築/仮想環境)

**開発環境
#ls2(環境構築/開発環境)

**リファレンス
#ls2(環境構築/リファレンス)    </description>
    <dc:date>2015-05-17T16:50:30+09:00</dc:date>
    <utime>1431849030</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/20.html">
    <title>環境構築/仮想環境/07.CentOSにおけるファイアウォールの停止</title>
    <link>https://w.atwiki.jp/deccho/pages/20.html</link>
    <description>
      [[仮想環境&gt;環境構築/仮想環境]]

*CentOSにおけるファイアウォールの停止
今回はとりあえず外部から接続するのが目的なので、ファイアウォールのプロセスは落としてしまう。
CentOS7以降ではfirewalldというプロセスから設定を調整し、iptablesに自動的に適用する形になる。
----
#contents
----
**firewalldの停止
systemctlでfirewalldを停止する。
-PuTTYから以下のコマンドを入力して、firewalldの状態を確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
   Active: active (running) since Sun 2015-05-17 00:50:58 JST; 15h ago
 Main PID: 480 (firewalld)
   CGroup: /system.slice/firewalld.service
           └─480 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
}

-firewalldを停止する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo systemctl stop firewalld
[vagrant@localhost ~]$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
   Active: inactive (dead) since Sun 2015-05-17 16:37:10 JST; 1min 56s ago
 Main PID: 480 (code=exited, status=0/SUCCESS)
}

**firewalldの常駐を解除
systemctlでfirewalldの常駐を解除する。
-PuTTYから以下のコマンドを入力して、firewalldの状態を確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ systemctl list-unit-files | grep firewalld
firewalld.service                           enabled
}

-firewalldの常駐を解除する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo systemctl disable firewalld.service
rm &#039;/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service&#039;
rm &#039;/etc/systemd/system/basic.target.wants/firewalld.service&#039;
[vagrant@localhost ~]$ systemctl list-unit-files | grep firewalld
firewalld.service                           disabled
}

----
次のページ &gt; [[08.Apacheのインストール&gt;環境構築/仮想環境/08.Apacheのインストール]]    </description>
    <dc:date>2015-05-17T16:47:51+09:00</dc:date>
    <utime>1431848871</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/19.html">
    <title>環境構築/仮想環境/06.CentOSにおける時刻設定</title>
    <link>https://w.atwiki.jp/deccho/pages/19.html</link>
    <description>
      [[環境構築]]/仮想環境/06.CentOSにおける時刻設定

[[仮想環境&gt;環境構築/仮想環境]]

*CentOSにおける時刻設定
CentOS7からはntpdではなくchronyを使用するように推奨されているので、インストールして常駐させるように設定する。
----
#contents
----
**chronyのインストール
yum install を実行してchronyをインストールし、常駐させる。
-PuTTYから以下のコマンドを入力する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo yum install chrony
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.yz.yamagata-u.ac.jp
 * extras: ftp.yz.yamagata-u.ac.jp
 * updates: ftp.yz.yamagata-u.ac.jp
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package chrony.x86_64 0:1.29.1-1.el7.centos will be installed
--&gt; Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch           Version                       Repository    Size
================================================================================
Installing:
 chrony         x86_64         1.29.1-1.el7.centos           base         253 k

Transaction Summary
================================================================================
Install  1 Package

Total download size: 253 k
Installed size: 554 k
Is this ok [y/d/N]: y
Downloading packages:
chrony-1.29.1-1.el7.centos.x86_64.rpm                      | 253 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : chrony-1.29.1-1.el7.centos.x86_64                            1/1 
  Verifying  : chrony-1.29.1-1.el7.centos.x86_64                            1/1 

Installed:
  chrony.x86_64 0:1.29.1-1.el7.centos                                           

Complete!
}

-chronyを常駐させる。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo systemctl enable chronyd
[vagrant@localhost ~]$ sudo systemctl status chronyd
chronyd.service - NTP client/server
   Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
   Active: inactive (dead)
}

-/etc/chrony.conf を書き換え、参照するサーバーを日本のNTPサーバーに設定する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo vi /etc/chrony.conf
}

[/etc/chrony.conf]
#codehighlight(linenumber){
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
}
↓
#codehighlight(linenumber){
# Use public servers from the pool.ntp.org project.
# Please consider joining the pool (http://www.pool.ntp.org/join.html).
# server 0.centos.pool.ntp.org iburst
# server 1.centos.pool.ntp.org iburst
# server 2.centos.pool.ntp.org iburst
# server 3.centos.pool.ntp.org iburst
server ntp.nict.jp iburst
server ntp1.jst.mfeed.ad.jp iburst
server ntp2.jst.mfeed.ad.jp iburst
server ntp3.jst.mfeed.ad.jp iburst
}

-chronyを起動する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo systemctl start chronyd
}

-chronyの状態を確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ chronyc sources -v
210 Number of sources = 4

  .-- Source mode  &#039;^&#039; = server, &#039;=&#039; = peer, &#039;#&#039; = local clock.
 / .- Source state &#039;*&#039; = current synced, &#039;+&#039; = combined , &#039;-&#039; = not combined,
| /   &#039;?&#039; = unreachable, &#039;x&#039; = time may be in error, &#039;~&#039; = time too variable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||                                                /   xxxx = adjusted offset,
||         Log2(Polling interval) -.             |    yyyy = measured offset,
||                                  \            |    zzzz = estimated error.
||                                   |           |
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^- ntp-b3.nict.go.jp             1   6    77    27    +19ms[  +19ms] +/-   32ms
^* ntp1.jst.mfeed.ad.jp          2   6    77    27    +14ms[  +17ms] +/-   30ms
^+ ntp2.jst.mfeed.ad.jp          2   6    77    28    +11ms[  +14ms] +/-   55ms
^- ntp3.jst.mfeed.ad.jp          2   6    77    27    +15ms[  +15ms] +/-   34ms
}

**タイムゾーンの設定
日本人らしく、日本標準時(JST)で時刻が確認できるように設定する。
-PuTTYから以下のコマンドを入力して、現状の設定を確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ timedatectl
      Local time: Sun 2015-05-17 06:53:47 UTC
  Universal time: Sun 2015-05-17 06:53:47 UTC
        Timezone: UTC (UTC, +0000)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: n/a
}

-設定できるタイムゾーンの一覧を確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ timedatectl list-timezones
Africa/Abidjan
Africa/Accra
Africa/Addis_Ababa

--- 中略 ---

Asia/Thimphu
Asia/Tokyo
Asia/Ulaanbaatar

--- 中略 ---

Pacific/Tongatapu
Pacific/Wake
Pacific/Wallis
}

-タイムゾーンを Asia/Tokyo に設定する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo timedatectl set-timezone Asia/Tokyo
}

-念のため、確認する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ timedatectl
      Local time: Sun 2015-05-17 15:59:51 JST
  Universal time: Sun 2015-05-17 06:59:51 UTC
        Timezone: Asia/Tokyo (JST, +0900)
     NTP enabled: yes
NTP synchronized: yes
 RTC in local TZ: no
      DST active: n/a
[vagrant@localhost ~]$ date
Sun May 17 16:00:05 JST 2015
}

----
次のページ &gt; [[07.CentOSにおけるファイアウォールの停止&gt;環境構築/仮想環境/07.CentOSにおけるファイアウォールの停止]]    </description>
    <dc:date>2015-05-17T16:31:44+09:00</dc:date>
    <utime>1431847904</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/18.html">
    <title>環境構築/仮想環境/05.CentOSのアップデート</title>
    <link>https://w.atwiki.jp/deccho/pages/18.html</link>
    <description>
      [[仮想環境&gt;環境構築/仮想環境]]

*CentOSのアップデート
BoxからインストールしたCentOS7.1を最新の状態に更新します。
----
#contents
----
**アップデートが必要なパッケージがあるか確認
yum check-update を実行して、アップデートが必要なパッケージがあるか確認する。
-PuTTYから以下のコマンドを入力する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ yum check-update
Loaded plugins: fastestmirror
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/4): extras/7/x86_64/primary_db                          |  54 kB   00:00     
(2/4): base/7/x86_64/group_gz                              | 154 kB   00:00     
(3/4): updates/7/x86_64/primary_db                         | 1.7 MB   00:01     
(4/4): base/7/x86_64/primary_db                            | 5.1 MB   00:01     
Determining fastest mirrors
 * base: ftp.yz.yamagata-u.ac.jp
 * extras: ftp.yz.yamagata-u.ac.jp
 * updates: ftp.yz.yamagata-u.ac.jp

bind-libs-lite.x86_64                   32:9.9.4-18.el7_1.1              updates
bind-license.noarch                     32:9.9.4-18.el7_1.1              updates
binutils.x86_64                         2.23.52.0.1-30.el7_1.2           updates
ca-certificates.noarch                  2015.2.4-70.0.el7_1              updates
centos-logos.noarch                     70.0.6-2.el7.centos              updates
dnsmasq.x86_64                          2.66-13.el7_1                    updates
dracut.x86_64                           033-241.el7_1.1                  updates
dracut-config-rescue.x86_64             033-241.el7_1.1                  updates
kernel.x86_64                           3.10.0-229.4.2.el7               updates
kernel-devel.x86_64                     3.10.0-229.4.2.el7               updates
kernel-headers.x86_64                   3.10.0-229.4.2.el7               updates
kernel-tools.x86_64                     3.10.0-229.4.2.el7               updates
kernel-tools-libs.x86_64                3.10.0-229.4.2.el7               updates
libblkid.x86_64                         2.23.2-22.el7_1                  updates
libgcrypt.x86_64                        1.5.3-12.el7_1.1                 updates
libgudev1.x86_64                        208-20.el7_1.3                   updates
libmount.x86_64                         2.23.2-22.el7_1                  updates
libpcap.x86_64                          14:1.5.3-4.el7_1.2               updates
libuuid.x86_64                          2.23.2-22.el7_1                  updates
libxml2.x86_64                          2.9.1-5.el7_1.2                  updates
nspr.x86_64                             4.10.8-1.el7_1                   updates
nss.x86_64                              3.18.0-2.2.el7_1                 updates
nss-sysinit.x86_64                      3.18.0-2.2.el7_1                 updates
nss-tools.x86_64                        3.18.0-2.2.el7_1                 updates
nss-util.x86_64                         3.18.0-1.el7_1                   updates
openssh.x86_64                          6.6.1p1-12.el7_1                 updates
openssh-clients.x86_64                  6.6.1p1-12.el7_1                 updates
openssh-server.x86_64                   6.6.1p1-12.el7_1                 updates
selinux-policy.noarch                   3.13.1-23.el7_1.7                updates
selinux-policy-targeted.noarch          3.13.1-23.el7_1.7                updates
systemd.x86_64                          208-20.el7_1.3                   updates
systemd-libs.x86_64                     208-20.el7_1.3                   updates
systemd-sysv.x86_64                     208-20.el7_1.3                   updates
tzdata.noarch                           2015d-1.el7                      updates
util-linux.x86_64                       2.23.2-22.el7_1                  updates
}

**アップデートの実施
yum update を実行して、アップデートが必要なパッケージをすべて更新する。
-PuTTYから以下のコマンドを入力する。
#codehighlight(linenumber){
[vagrant@localhost ~]$ sudo yum update
Loaded plugins: fastestmirror
base                                                     | 3.6 kB     00:00     
extras                                                   | 3.4 kB     00:00     
updates                                                  | 3.4 kB     00:00     
(1/4): extras/7/x86_64/primary_db                          |  54 kB   00:00     
(2/4): base/7/x86_64/group_gz                              | 154 kB   00:00     
(3/4): updates/7/x86_64/primary_db                         | 1.7 MB   00:00     
(4/4): base/7/x86_64/primary_db                            | 5.1 MB   00:02     
Determining fastest mirrors
 * base: ftp.yz.yamagata-u.ac.jp
 * extras: ftp.yz.yamagata-u.ac.jp
 * updates: ftp.yz.yamagata-u.ac.jp
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package bind-libs-lite.x86_64 32:9.9.4-18.el7 will be updated
---&gt; Package bind-libs-lite.x86_64 32:9.9.4-18.el7_1.1 will be an update
---&gt; Package bind-license.noarch 32:9.9.4-18.el7 will be updated
---&gt; Package bind-license.noarch 32:9.9.4-18.el7_1.1 will be an update
---&gt; Package binutils.x86_64 0:2.23.52.0.1-30.el7 will be updated
---&gt; Package binutils.x86_64 0:2.23.52.0.1-30.el7_1.2 will be an update
---&gt; Package ca-certificates.noarch 0:2014.1.98-72.el7 will be updated
---&gt; Package ca-certificates.noarch 0:2015.2.4-70.0.el7_1 will be an update
---&gt; Package centos-logos.noarch 0:70.0.6-1.el7.centos will be updated
---&gt; Package centos-logos.noarch 0:70.0.6-2.el7.centos will be an update
---&gt; Package dnsmasq.x86_64 0:2.66-12.el7 will be updated
---&gt; Package dnsmasq.x86_64 0:2.66-13.el7_1 will be an update
---&gt; Package dracut.x86_64 0:033-240.el7 will be updated
---&gt; Package dracut.x86_64 0:033-241.el7_1.1 will be an update
---&gt; Package dracut-config-rescue.x86_64 0:033-240.el7 will be updated
---&gt; Package dracut-config-rescue.x86_64 0:033-241.el7_1.1 will be an update
---&gt; Package kernel.x86_64 0:3.10.0-229.4.2.el7 will be installed
---&gt; Package kernel-devel.x86_64 0:3.10.0-229.4.2.el7 will be installed
---&gt; Package kernel-headers.x86_64 0:3.10.0-229.1.2.el7 will be updated
---&gt; Package kernel-headers.x86_64 0:3.10.0-229.4.2.el7 will be an update
---&gt; Package kernel-tools.x86_64 0:3.10.0-229.el7 will be updated
---&gt; Package kernel-tools.x86_64 0:3.10.0-229.4.2.el7 will be an update
---&gt; Package kernel-tools-libs.x86_64 0:3.10.0-229.el7 will be updated
---&gt; Package kernel-tools-libs.x86_64 0:3.10.0-229.4.2.el7 will be an update
---&gt; Package libblkid.x86_64 0:2.23.2-21.el7 will be updated
---&gt; Package libblkid.x86_64 0:2.23.2-22.el7_1 will be an update
---&gt; Package libgcrypt.x86_64 0:1.5.3-12.el7 will be updated
---&gt; Package libgcrypt.x86_64 0:1.5.3-12.el7_1.1 will be an update
---&gt; Package libgudev1.x86_64 0:208-20.el7 will be updated
---&gt; Package libgudev1.x86_64 0:208-20.el7_1.3 will be an update
---&gt; Package libmount.x86_64 0:2.23.2-21.el7 will be updated
---&gt; Package libmount.x86_64 0:2.23.2-22.el7_1 will be an update
---&gt; Package libpcap.x86_64 14:1.5.3-3.el7_0.1 will be updated
---&gt; Package libpcap.x86_64 14:1.5.3-4.el7_1.2 will be an update
---&gt; Package libuuid.x86_64 0:2.23.2-21.el7 will be updated
---&gt; Package libuuid.x86_64 0:2.23.2-22.el7_1 will be an update
---&gt; Package libxml2.x86_64 0:2.9.1-5.el7_0.1 will be updated
---&gt; Package libxml2.x86_64 0:2.9.1-5.el7_1.2 will be an update
---&gt; Package nspr.x86_64 0:4.10.6-3.el7 will be updated
---&gt; Package nspr.x86_64 0:4.10.8-1.el7_1 will be an update
---&gt; Package nss.x86_64 0:3.16.2.3-5.el7 will be updated
---&gt; Package nss.x86_64 0:3.18.0-2.2.el7_1 will be an update
---&gt; Package nss-sysinit.x86_64 0:3.16.2.3-5.el7 will be updated
---&gt; Package nss-sysinit.x86_64 0:3.18.0-2.2.el7_1 will be an update
---&gt; Package nss-tools.x86_64 0:3.16.2.3-5.el7 will be updated
---&gt; Package nss-tools.x86_64 0:3.18.0-2.2.el7_1 will be an update
---&gt; Package nss-util.x86_64 0:3.16.2.3-2.el7 will be updated
---&gt; Package nss-util.x86_64 0:3.18.0-1.el7_1 will be an update
---&gt; Package openssh.x86_64 0:6.6.1p1-11.el7 will be updated
---&gt; Package openssh.x86_64 0:6.6.1p1-12.el7_1 will be an update
---&gt; Package openssh-clients.x86_64 0:6.6.1p1-11.el7 will be updated
---&gt; Package openssh-clients.x86_64 0:6.6.1p1-12.el7_1 will be an update
---&gt; Package openssh-server.x86_64 0:6.6.1p1-11.el7 will be updated
---&gt; Package openssh-server.x86_64 0:6.6.1p1-12.el7_1 will be an update
---&gt; Package selinux-policy.noarch 0:3.13.1-23.el7 will be updated
---&gt; Package selinux-policy.noarch 0:3.13.1-23.el7_1.7 will be an update
---&gt; Package selinux-policy-targeted.noarch 0:3.13.1-23.el7 will be updated
---&gt; Package selinux-policy-targeted.noarch 0:3.13.1-23.el7_1.7 will be an update
---&gt; Package systemd.x86_64 0:208-20.el7 will be updated
---&gt; Package systemd.x86_64 0:208-20.el7_1.3 will be an update
---&gt; Package systemd-libs.x86_64 0:208-20.el7 will be updated
---&gt; Package systemd-libs.x86_64 0:208-20.el7_1.3 will be an update
---&gt; Package systemd-sysv.x86_64 0:208-20.el7 will be updated
---&gt; Package systemd-sysv.x86_64 0:208-20.el7_1.3 will be an update
---&gt; Package tzdata.noarch 0:2015a-1.el7 will be updated
---&gt; Package tzdata.noarch 0:2015d-1.el7 will be an update
---&gt; Package util-linux.x86_64 0:2.23.2-21.el7 will be updated
---&gt; Package util-linux.x86_64 0:2.23.2-22.el7_1 will be an update
--&gt; Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch     Version                     Repository
                                                                           Size
================================================================================
Installing:
 kernel                    x86_64   3.10.0-229.4.2.el7          updates    31 M
 kernel-devel              x86_64   3.10.0-229.4.2.el7          updates   9.9 M
Updating:
 bind-libs-lite            x86_64   32:9.9.4-18.el7_1.1         updates   712 k
 bind-license              noarch   32:9.9.4-18.el7_1.1         updates    80 k
 binutils                  x86_64   2.23.52.0.1-30.el7_1.2      updates   5.0 M
 ca-certificates           noarch   2015.2.4-70.0.el7_1         updates   441 k
 centos-logos              noarch   70.0.6-2.el7.centos         updates    21 M
 dnsmasq                   x86_64   2.66-13.el7_1               updates   228 k
 dracut                    x86_64   033-241.el7_1.1             updates   300 k
 dracut-config-rescue      x86_64   033-241.el7_1.1             updates    44 k
 kernel-headers            x86_64   3.10.0-229.4.2.el7          updates   2.3 M
 kernel-tools              x86_64   3.10.0-229.4.2.el7          updates   1.5 M
 kernel-tools-libs         x86_64   3.10.0-229.4.2.el7          updates   1.4 M
 libblkid                  x86_64   2.23.2-22.el7_1             updates   164 k
 libgcrypt                 x86_64   1.5.3-12.el7_1.1            updates   263 k
 libgudev1                 x86_64   208-20.el7_1.3              updates    56 k
 libmount                  x86_64   2.23.2-22.el7_1             updates   167 k
 libpcap                   x86_64   14:1.5.3-4.el7_1.2          updates   137 k
 libuuid                   x86_64   2.23.2-22.el7_1             updates    73 k
 libxml2                   x86_64   2.9.1-5.el7_1.2             updates   664 k
 nspr                      x86_64   4.10.8-1.el7_1              updates   126 k
 nss                       x86_64   3.18.0-2.2.el7_1            updates   845 k
 nss-sysinit               x86_64   3.18.0-2.2.el7_1            updates    51 k
 nss-tools                 x86_64   3.18.0-2.2.el7_1            updates   478 k
 nss-util                  x86_64   3.18.0-1.el7_1              updates    70 k
 openssh                   x86_64   6.6.1p1-12.el7_1            updates   431 k
 openssh-clients           x86_64   6.6.1p1-12.el7_1            updates   634 k
 openssh-server            x86_64   6.6.1p1-12.el7_1            updates   432 k
 selinux-policy            noarch   3.13.1-23.el7_1.7           updates   356 k
 selinux-policy-targeted   noarch   3.13.1-23.el7_1.7           updates   3.9 M
 systemd                   x86_64   208-20.el7_1.3              updates   2.6 M
 systemd-libs              x86_64   208-20.el7_1.3              updates   161 k
 systemd-sysv              x86_64   208-20.el7_1.3              updates    43 k
 tzdata                    noarch   2015d-1.el7                 updates   431 k
 util-linux                x86_64   2.23.2-22.el7_1             updates   1.9 M

Transaction Summary
================================================================================
Install   2 Packages
Upgrade  33 Packages

Total download size: 88 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/35): bind-license-9.9.4-18.el7_1.1.noarch.rpm           |  80 kB   00:00     
(2/35): bind-libs-lite-9.9.4-18.el7_1.1.x86_64.rpm         | 712 kB   00:00     
(3/35): ca-certificates-2015.2.4-70.0.el7_1.noarch.rpm     | 441 kB   00:00     
(4/35): dnsmasq-2.66-13.el7_1.x86_64.rpm                   | 228 kB   00:00     
(5/35): dracut-033-241.el7_1.1.x86_64.rpm                  | 300 kB   00:00     
(6/35): dracut-config-rescue-033-241.el7_1.1.x86_64.rpm    |  44 kB   00:00     
(7/35): binutils-2.23.52.0.1-30.el7_1.2.x86_64.rpm         | 5.0 MB   00:02     
(8/35): kernel-headers-3.10.0-229.4.2.el7.x86_64.rpm       | 2.3 MB   00:00     
(9/35): kernel-tools-3.10.0-229.4.2.el7.x86_64.rpm         | 1.5 MB   00:00     
(10/35): kernel-tools-libs-3.10.0-229.4.2.el7.x86_64.rpm   | 1.4 MB   00:00     
(11/35): libblkid-2.23.2-22.el7_1.x86_64.rpm               | 164 kB   00:00     
(12/35): libgcrypt-1.5.3-12.el7_1.1.x86_64.rpm             | 263 kB   00:00     
(13/35): libgudev1-208-20.el7_1.3.x86_64.rpm               |  56 kB   00:00     
(14/35): libmount-2.23.2-22.el7_1.x86_64.rpm               | 167 kB   00:00     
(15/35): libpcap-1.5.3-4.el7_1.2.x86_64.rpm                | 137 kB   00:00     
(16/35): libuuid-2.23.2-22.el7_1.x86_64.rpm                |  73 kB   00:00     
(17/35): libxml2-2.9.1-5.el7_1.2.x86_64.rpm                | 664 kB   00:00     
(18/35): nspr-4.10.8-1.el7_1.x86_64.rpm                    | 126 kB   00:00     
(19/35): nss-3.18.0-2.2.el7_1.x86_64.rpm                   | 845 kB   00:00     
(20/35): nss-sysinit-3.18.0-2.2.el7_1.x86_64.rpm           |  51 kB   00:00     
(21/35): nss-tools-3.18.0-2.2.el7_1.x86_64.rpm             | 478 kB   00:00     
(22/35): nss-util-3.18.0-1.el7_1.x86_64.rpm                |  70 kB   00:00     
(23/35): openssh-6.6.1p1-12.el7_1.x86_64.rpm               | 431 kB   00:00     
(24/35): openssh-clients-6.6.1p1-12.el7_1.x86_64.rpm       | 634 kB   00:00     
(25/35): openssh-server-6.6.1p1-12.el7_1.x86_64.rpm        | 432 kB   00:00     
(26/35): selinux-policy-3.13.1-23.el7_1.7.noarch.rpm       | 356 kB   00:00     
(27/35): selinux-policy-targeted-3.13.1-23.el7_1.7.noarch. | 3.9 MB   00:01     
(28/35): kernel-devel-3.10.0-229.4.2.el7.x86_64.rpm        | 9.9 MB   00:06     
(29/35): systemd-libs-208-20.el7_1.3.x86_64.rpm            | 161 kB   00:00     
(30/35): systemd-sysv-208-20.el7_1.3.x86_64.rpm            |  43 kB   00:00     
(31/35): systemd-208-20.el7_1.3.x86_64.rpm                 | 2.6 MB   00:00     
(32/35): tzdata-2015d-1.el7.noarch.rpm                     | 431 kB   00:00     
(33/35): util-linux-2.23.2-22.el7_1.x86_64.rpm             | 1.9 MB   00:00     
(34/35): centos-logos-70.0.6-2.el7.centos.noarch.rpm       |  21 MB   00:09     
(35/35): kernel-3.10.0-229.4.2.el7.x86_64.rpm              |  31 MB   00:16     
--------------------------------------------------------------------------------
Total                                              4.7 MB/s |  88 MB  00:18     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : nspr-4.10.8-1.el7_1.x86_64                                  1/68 
  Updating   : nss-util-3.18.0-1.el7_1.x86_64                              2/68 
  Updating   : libuuid-2.23.2-22.el7_1.x86_64                              3/68 
  Updating   : libblkid-2.23.2-22.el7_1.x86_64                             4/68 
  Updating   : libmount-2.23.2-22.el7_1.x86_64                             5/68 
  Updating   : libgcrypt-1.5.3-12.el7_1.1.x86_64                           6/68 
  Updating   : systemd-libs-208-20.el7_1.3.x86_64                          7/68 
  Updating   : systemd-208-20.el7_1.3.x86_64                               8/68 
  Updating   : util-linux-2.23.2-22.el7_1.x86_64                           9/68 
  Updating   : dracut-033-241.el7_1.1.x86_64                              10/68 
  Updating   : openssh-6.6.1p1-12.el7_1.x86_64                            11/68 
  Updating   : systemd-sysv-208-20.el7_1.3.x86_64                         12/68 
  Updating   : nss-3.18.0-2.2.el7_1.x86_64                                13/68 
  Updating   : nss-sysinit-3.18.0-2.2.el7_1.x86_64                        14/68 
  Updating   : libxml2-2.9.1-5.el7_1.2.x86_64                             15/68 
  Updating   : selinux-policy-3.13.1-23.el7_1.7.noarch                    16/68 
  Updating   : 32:bind-license-9.9.4-18.el7_1.1.noarch                    17/68 
  Updating   : kernel-tools-libs-3.10.0-229.4.2.el7.x86_64                18/68 
  Updating   : kernel-tools-3.10.0-229.4.2.el7.x86_64                     19/68 
  Updating   : 32:bind-libs-lite-9.9.4-18.el7_1.1.x86_64                  20/68 
  Updating   : selinux-policy-targeted-3.13.1-23.el7_1.7.noarch           21/68 
  Updating   : nss-tools-3.18.0-2.2.el7_1.x86_64                          22/68 
  Updating   : dnsmasq-2.66-13.el7_1.x86_64                               23/68 
  Updating   : openssh-server-6.6.1p1-12.el7_1.x86_64                     24/68 
  Updating   : openssh-clients-6.6.1p1-12.el7_1.x86_64                    25/68 
  Installing : kernel-3.10.0-229.4.2.el7.x86_64                           26/68 
  Updating   : dracut-config-rescue-033-241.el7_1.1.x86_64                27/68 
  Updating   : libgudev1-208-20.el7_1.3.x86_64                            28/68 
  Updating   : kernel-headers-3.10.0-229.4.2.el7.x86_64                   29/68 
  Updating   : binutils-2.23.52.0.1-30.el7_1.2.x86_64                     30/68 
  Updating   : tzdata-2015d-1.el7.noarch                                  31/68 
  Updating   : ca-certificates-2015.2.4-70.0.el7_1.noarch                 32/68 
  Updating   : 14:libpcap-1.5.3-4.el7_1.2.x86_64                          33/68 
  Installing : kernel-devel-3.10.0-229.4.2.el7.x86_64                     34/68 
  Updating   : centos-logos-70.0.6-2.el7.centos.noarch                    35/68 
  Cleanup    : dracut-config-rescue-033-240.el7.x86_64                    36/68 
  Cleanup    : selinux-policy-targeted-3.13.1-23.el7.noarch               37/68 
  Cleanup    : selinux-policy-3.13.1-23.el7.noarch                        38/68 
  Cleanup    : kernel-headers-3.10.0-229.1.2.el7.x86_64                   39/68 
  Cleanup    : tzdata-2015a-1.el7.noarch                                  40/68 
  Cleanup    : ca-certificates-2014.1.98-72.el7.noarch                    41/68 
  Cleanup    : centos-logos-70.0.6-1.el7.centos.noarch                    42/68 
  Cleanup    : nss-tools-3.16.2.3-5.el7.x86_64                            43/68 
  Cleanup    : nss-3.16.2.3-5.el7.x86_64                                  44/68 
  Cleanup    : nss-sysinit-3.16.2.3-5.el7.x86_64                          45/68 
  Cleanup    : dracut-033-240.el7.x86_64                                  46/68 
  Cleanup    : libgudev1-208-20.el7.x86_64                                47/68 
  Cleanup    : dnsmasq-2.66-12.el7.x86_64                                 48/68 
  Cleanup    : 32:bind-libs-lite-9.9.4-18.el7.x86_64                      49/68 
  Cleanup    : openssh-server-6.6.1p1-11.el7.x86_64                       50/68 
  Cleanup    : systemd-sysv-208-20.el7.x86_64                             51/68 
  Cleanup    : systemd-208-20.el7.x86_64                                  52/68 
  Cleanup    : nss-util-3.16.2.3-2.el7.x86_64                             53/68 
  Cleanup    : kernel-tools-3.10.0-229.el7.x86_64                         54/68 
  Cleanup    : openssh-clients-6.6.1p1-11.el7.x86_64                      55/68 
  Cleanup    : 32:bind-license-9.9.4-18.el7.noarch                        56/68 
  Cleanup    : openssh-6.6.1p1-11.el7.x86_64                              57/68 
  Cleanup    : util-linux-2.23.2-21.el7.x86_64                            58/68 
  Cleanup    : libmount-2.23.2-21.el7.x86_64                              59/68 
  Cleanup    : libblkid-2.23.2-21.el7.x86_64                              60/68 
  Cleanup    : systemd-libs-208-20.el7.x86_64                             61/68 
  Cleanup    : libgcrypt-1.5.3-12.el7.x86_64                              62/68 
  Cleanup    : libuuid-2.23.2-21.el7.x86_64                               63/68 
  Cleanup    : kernel-tools-libs-3.10.0-229.el7.x86_64                    64/68 
  Cleanup    : nspr-4.10.6-3.el7.x86_64                                   65/68 
  Cleanup    : libxml2-2.9.1-5.el7_0.1.x86_64                             66/68 
  Cleanup    : binutils-2.23.52.0.1-30.el7.x86_64                         67/68 
  Cleanup    : 14:libpcap-1.5.3-3.el7_0.1.x86_64                          68/68 
  Verifying  : centos-logos-70.0.6-2.el7.centos.noarch                     1/68 
  Verifying  : kernel-devel-3.10.0-229.4.2.el7.x86_64                      2/68 
  Verifying  : nss-sysinit-3.18.0-2.2.el7_1.x86_64                         3/68 
  Verifying  : libgcrypt-1.5.3-12.el7_1.1.x86_64                           4/68 
  Verifying  : 14:libpcap-1.5.3-4.el7_1.2.x86_64                           5/68 
  Verifying  : util-linux-2.23.2-22.el7_1.x86_64                           6/68 
  Verifying  : ca-certificates-2015.2.4-70.0.el7_1.noarch                  7/68 
  Verifying  : systemd-sysv-208-20.el7_1.3.x86_64                          8/68 
  Verifying  : tzdata-2015d-1.el7.noarch                                   9/68 
  Verifying  : kernel-tools-libs-3.10.0-229.4.2.el7.x86_64                10/68 
  Verifying  : systemd-208-20.el7_1.3.x86_64                              11/68 
  Verifying  : openssh-server-6.6.1p1-12.el7_1.x86_64                     12/68 
  Verifying  : nspr-4.10.8-1.el7_1.x86_64                                 13/68 
  Verifying  : 32:bind-license-9.9.4-18.el7_1.1.noarch                    14/68 
  Verifying  : nss-3.18.0-2.2.el7_1.x86_64                                15/68 
  Verifying  : dracut-033-241.el7_1.1.x86_64                              16/68 
  Verifying  : openssh-clients-6.6.1p1-12.el7_1.x86_64                    17/68 
  Verifying  : 32:bind-libs-lite-9.9.4-18.el7_1.1.x86_64                  18/68 
  Verifying  : libblkid-2.23.2-22.el7_1.x86_64                            19/68 
  Verifying  : libuuid-2.23.2-22.el7_1.x86_64                             20/68 
  Verifying  : binutils-2.23.52.0.1-30.el7_1.2.x86_64                     21/68 
  Verifying  : openssh-6.6.1p1-12.el7_1.x86_64                            22/68 
  Verifying  : kernel-3.10.0-229.4.2.el7.x86_64                           23/68 
  Verifying  : systemd-libs-208-20.el7_1.3.x86_64                         24/68 
  Verifying  : libmount-2.23.2-22.el7_1.x86_64                            25/68 
  Verifying  : selinux-policy-3.13.1-23.el7_1.7.noarch                    26/68 
  Verifying  : selinux-policy-targeted-3.13.1-23.el7_1.7.noarch           27/68 
  Verifying  : libxml2-2.9.1-5.el7_1.2.x86_64                             28/68 
  Verifying  : nss-tools-3.18.0-2.2.el7_1.x86_64                          29/68 
  Verifying  : kernel-tools-3.10.0-229.4.2.el7.x86_64                     30/68 
  Verifying  : dracut-config-rescue-033-241.el7_1.1.x86_64                31/68 
  Verifying  : kernel-headers-3.10.0-229.4.2.el7.x86_64                   32/68 
  Verifying  : nss-util-3.18.0-1.el7_1.x86_64                             33/68 
  Verifying  : dnsmasq-2.66-13.el7_1.x86_64                               34/68 
  Verifying  : libgudev1-208-20.el7_1.3.x86_64                            35/68 
  Verifying  : openssh-server-6.6.1p1-11.el7.x86_64                       36/68 
  Verifying  : 32:bind-license-9.9.4-18.el7.noarch                        37/68 
  Verifying  : nss-tools-3.16.2.3-5.el7.x86_64                            38/68 
  Verifying  : nss-3.16.2.3-5.el7.x86_64                                  39/68 
  Verifying  : kernel-headers-3.10.0-229.1.2.el7.x86_64                   40/68 
  Verifying  : nspr-4.10.6-3.el7.x86_64                                   41/68 
  Verifying  : libuuid-2.23.2-21.el7.x86_64                               42/68 
  Verifying  : 14:libpcap-1.5.3-3.el7_0.1.x86_64                          43/68 
  Verifying  : nss-util-3.16.2.3-2.el7.x86_64                             44/68 
  Verifying  : kernel-tools-libs-3.10.0-229.el7.x86_64                    45/68 
  Verifying  : libxml2-2.9.1-5.el7_0.1.x86_64                             46/68 
  Verifying  : dracut-033-240.el7.x86_64                                  47/68 
  Verifying  : selinux-policy-targeted-3.13.1-23.el7.noarch               48/68 
  Verifying  : 32:bind-libs-lite-9.9.4-18.el7.x86_64                      49/68 
  Verifying  : libgudev1-208-20.el7.x86_64                                50/68 
  Verifying  : kernel-tools-3.10.0-229.el7.x86_64                         51/68 
  Verifying  : libblkid-2.23.2-21.el7.x86_64                              52/68 
  Verifying  : dnsmasq-2.66-12.el7.x86_64                                 53/68 
  Verifying  : util-linux-2.23.2-21.el7.x86_64                            54/68 
  Verifying  : systemd-208-20.el7.x86_64                                  55/68 
  Verifying  : nss-sysinit-3.16.2.3-5.el7.x86_64                          56/68 
  Verifying  : selinux-policy-3.13.1-23.el7.noarch                        57/68 
  Verifying  : ca-certificates-2014.1.98-72.el7.noarch                    58/68 
  Verifying  : systemd-libs-208-20.el7.x86_64                             59/68 
  Verifying  : libmount-2.23.2-21.el7.x86_64                              60/68 
  Verifying  : openssh-6.6.1p1-11.el7.x86_64                              61/68 
  Verifying  : dracut-config-rescue-033-240.el7.x86_64                    62/68 
  Verifying  : systemd-sysv-208-20.el7.x86_64                             63/68 
  Verifying  : openssh-clients-6.6.1p1-11.el7.x86_64                      64/68 
  Verifying  : binutils-2.23.52.0.1-30.el7.x86_64                         65/68 
  Verifying  : libgcrypt-1.5.3-12.el7.x86_64                              66/68 
  Verifying  : tzdata-2015a-1.el7.noarch                                  67/68 
  Verifying  : centos-logos-70.0.6-1.el7.centos.noarch                    68/68 

Installed:
  kernel.x86_64 0:3.10.0-229.4.2.el7  kernel-devel.x86_64 0:3.10.0-229.4.2.el7 

Updated:
  bind-libs-lite.x86_64 32:9.9.4-18.el7_1.1                                     
  bind-license.noarch 32:9.9.4-18.el7_1.1                                       
  binutils.x86_64 0:2.23.52.0.1-30.el7_1.2                                      
  ca-certificates.noarch 0:2015.2.4-70.0.el7_1                                  
  centos-logos.noarch 0:70.0.6-2.el7.centos                                     
  dnsmasq.x86_64 0:2.66-13.el7_1                                                
  dracut.x86_64 0:033-241.el7_1.1                                               
  dracut-config-rescue.x86_64 0:033-241.el7_1.1                                 
  kernel-headers.x86_64 0:3.10.0-229.4.2.el7                                    
  kernel-tools.x86_64 0:3.10.0-229.4.2.el7                                      
  kernel-tools-libs.x86_64 0:3.10.0-229.4.2.el7                                 
  libblkid.x86_64 0:2.23.2-22.el7_1                                             
  libgcrypt.x86_64 0:1.5.3-12.el7_1.1                                           
  libgudev1.x86_64 0:208-20.el7_1.3                                             
  libmount.x86_64 0:2.23.2-22.el7_1                                             
  libpcap.x86_64 14:1.5.3-4.el7_1.2                                             
  libuuid.x86_64 0:2.23.2-22.el7_1                                              
  libxml2.x86_64 0:2.9.1-5.el7_1.2                                              
  nspr.x86_64 0:4.10.8-1.el7_1                                                  
  nss.x86_64 0:3.18.0-2.2.el7_1                                                 
  nss-sysinit.x86_64 0:3.18.0-2.2.el7_1                                         
  nss-tools.x86_64 0:3.18.0-2.2.el7_1                                           
  nss-util.x86_64 0:3.18.0-1.el7_1                                              
  openssh.x86_64 0:6.6.1p1-12.el7_1                                             
  openssh-clients.x86_64 0:6.6.1p1-12.el7_1                                     
  openssh-server.x86_64 0:6.6.1p1-12.el7_1                                      
  selinux-policy.noarch 0:3.13.1-23.el7_1.7                                     
  selinux-policy-targeted.noarch 0:3.13.1-23.el7_1.7                            
  systemd.x86_64 0:208-20.el7_1.3                                               
  systemd-libs.x86_64 0:208-20.el7_1.3                                          
  systemd-sysv.x86_64 0:208-20.el7_1.3                                          
  tzdata.noarch 0:2015d-1.el7                                                   
  util-linux.x86_64 0:2.23.2-22.el7_1                                           

Complete!
}

----
次のページ &gt; [[06.CentOSにおける時刻設定&gt;環境構築/仮想環境/06.CentOSにおける時刻設定]]    </description>
    <dc:date>2015-05-17T16:04:46+09:00</dc:date>
    <utime>1431846286</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/15.html">
    <title>環境構築/仮想環境/04.CentOSのインストール</title>
    <link>https://w.atwiki.jp/deccho/pages/15.html</link>
    <description>
      [[仮想環境&gt;環境構築/仮想環境]]

*CentOSのインストール
VirtualBox+Vagrant環境上にCentOS7.1をインストールします。
----
#contents
----
**CentOS7.1のインストール
http://www.vagrantbox.es/ にアクセスしてBoxファイルのURLをコピーする。
- [[CentOS 7 x64 (Minimal, Shrinked, Guest Additions 4.3.26) (Monthly updates)&gt;https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box]] を使う。

-コマンドプロンプトから以下のコマンドを入力して仮想環境用のディレクトリを作る。
#codehighlight(linenumber){
C:\&gt;mkdir Vagrant\CentOS7.1
C:\&gt;cd Vagrant\CentOS7.1
}

-Boxファイルをダウンロードする。
#codehighlight(linenumber){
C:\Vagrant\CentOS7.1&gt;vagrant box add CentOS7.1 https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box
==&gt; box: Adding box &#039;CentOS7.1&#039; (v0) for provider:
    box: Downloading: https://github.com/holms/vagrant-centos7-box/releases/download/7.1.1503.001/CentOS-7.1.1503-x86_64-netboot.box
==&gt; box: Box download is resuming from prior download progress
    box: Progress: 100% (Rate: 3126k/s, Estimated time remaining: --:--:--)
==&gt; box: Successfully added box &#039;CentOS7.1&#039; (v0) for &#039;virtualbox&#039;!
}

-Boxが追加されていることを確認する。
#codehighlight(linenumber){
C:\Vagrant\CentOS7.1&gt;vagrant box list
CentOS7.1 (virtualbox, 0)
}

-仮想環境の初期化をする。
#codehighlight(linenumber){
C:\Vagrant\CentOS7.1&gt;vagrant init CentOS7.1
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
}

- 仮想環境を起動する。
#codehighlight(linenumber){
C:\Vagrant\CentOS7.1&gt;vagrant up
Bringing machine &#039;default&#039; up with &#039;virtualbox&#039; provider...
==&gt; default: Importing base box &#039;CentOS7.1&#039;...
==&gt; default: Matching MAC address for NAT networking...
==&gt; default: Setting the name of the VM: CentOS71_default_1431791415011_58624
==&gt; default: Clearing any previously set forwarded ports...
==&gt; default: Clearing any previously set network interfaces...
==&gt; default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
==&gt; default: Forwarding ports...
    default: 22 =&gt; 2222 (adapter 1)
==&gt; default: Booting VM...
==&gt; default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default: Warning: Connection timeout. Retrying...
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if its present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==&gt; default: Machine booted and ready!
==&gt; default: Checking for guest additions in VM...
==&gt; default: Mounting shared folders...
    default: /vagrant =&gt; C:/Vagrant/CentOS7.1
}

** SSHクライアントからの接続確認
PuTTYから仮想環境に接続する。PuTTYからの接続情報は [[03.PuTTYのインストール&gt;環境構築/仮想環境/03.PuTTYのインストール]] で設定したとおり。

-接続情報は以下のとおり。
|項目|値|h
|ホスト名(IPアドレス)|127.0.0.1|
|ポート番号|2222|
|ユーザー|vagrant|
|パスワード|vagrant|

-PuTTYを起動し、事前に設定した VirtualBox(Vagrant) をダブルクリックすると接続を開始する。
#image(putty_01.png)

-初回接続時など、サーバーの鍵がPuTTYにキャッシュされていない旨の警告がでるので、[はい(Y)]をクリックしてPuTTYにキャッシュする。
#image(putty_02.png)

-パスワードを入力してログインする。
#codehighlight(linenumber){
Using username &quot;vagrant&quot;.
vagrant@127.0.0.1&#039;s password: 
Last login: Sat May 16 15:53:52 2015 from 10.0.2.2
Welcome to your Vagrant-built virtual machine.
[vagrant@localhost ~]$}

----
次のページ &gt; [[05.CentOSのアップデート&gt;環境構築/仮想環境/05.CentOSのアップデート]]    </description>
    <dc:date>2015-05-17T15:14:17+09:00</dc:date>
    <utime>1431843257</utime>
  </item>
    <item rdf:about="https://w.atwiki.jp/deccho/pages/16.html">
    <title>環境構築/仮想環境</title>
    <link>https://w.atwiki.jp/deccho/pages/16.html</link>
    <description>
      [[環境構築]]

*仮想環境
#ls2()    </description>
    <dc:date>2015-05-17T04:00:12+09:00</dc:date>
    <utime>1431802812</utime>
  </item>
  </rdf:RDF>
