コンテンツへスキップ

compmgmt.msc:コンピュータの管理
devmgmt.msc :デバイスマネージャ
diskmgmt.msc:ディスクの管理
eventvwr.msc:イベントビューア
fsmgmt.msc :共有フォルダ
gpedit.msc :グループポリシー
lusrmgr.msc :ローカルユーザーとグループ
perfmon.msc :パフォーマンス
rsop.msc :ポリシーの結果セット
services.msc:サービス
secpol.msc :ローカルセキュリティ設定

$excel = New-Object -ComObject Excel.Application
$excel.Visible = $true
$excel.DisplayAlerts = $true


# 既存のブックを開く場合
$book = $excel.Workbooks.Open($bookfile)
# 新規の場合
$book = $excel.workbooks.add()

# シート追加
$excel.Worksheets.Add()

# シートの名前を変更
$book.Sheets(1).Name = "その1"
$book.Sheets(2).Name = "その2"
$book.Sheets(3).Name = "その3"


# セルに入力
$sheet = $book.Sheets("その1")
# $sheet.Cells.Item(行,列)
$sheet.Cells.Item(1, 2) = "テスト"
$sheet.Cells.Item(1, 3) = "テスト2"
$sheet.Cells.Item(1, 4) = "テスト3"
$sheet.Cells.Item(2, 2) = "テスト3--------------------------"

# 罫線を引く
$sheet.Range("A1:C3").Borders.LineStyle = 1

# 列の幅を自動調整
$sheet.Columns.AutoFit()

# セルの色を変更する。
$sheet.Cells.Item( 2, 2).Interior.ColorIndex = 3

# 終了
$book.SaveAs("${HOME}\Desktop\test.xlsx")
$excel.Quit()
[System.Runtime.Interopservices.Marshal]::ReleaseComObject($excel)
[System.Runtime.Interopservices.Marshal]::ReleaseComObject($sheet)

 

ディスクベースのストレージプール

# fdisk /dev/sdb1

# mkfs -t ext4 /dev/sdb1
# virsh pool-define-as guest_images_fs fs - - /dev/sdb1 - "/guest_images"

# virsh pool-list --all

# virsh pool-build guest_images_fs

# virsh pool-start guest_images_fs

# virsh pool-info guest_images_fs
Name: guest_images_fs
UUID: 8c6fc22f-ccca-4946-8a43-69138af586f7
State: running
Persistent: yes
Autostart: yes
Capacity: 19.56 GiB
Allocation: 44.02 MiB
Available: 19.52 GiB

#インストール

ソフトウェアの選択

インフラストラクチャーサーバ + 仮想化ハイパーバイザーを選択

virt-installは後からインストールする。

rpm一覧は一番最後に記載

#仮想スイッチ

[root@localhost networks]# cat /etc/libvirt/qemu/networks/default.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh net-edit default
or other application using the libvirt API.
-->

<network>
<name>default</name>
<uuid>c2c7e783-8cc9-4872-a30a-abb054b50dc9</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:41:80:9d'/>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<dhcp>
<range start='192.168.122.2' end='192.168.122.254'/>
</dhcp>
</ip>
</network>

###

root@localhost libvirt]# cat /etc/libvirt/qemu/guest1.xml
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
virsh edit guest1
or other application using the libvirt API.
-->

<domain type='kvm'>
<name>guest1</name>
<uuid>1e104a87-a3fe-408b-9fe6-9dbe0e3a7d86</uuid>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='custom' match='exact' check='partial'>
<model fallback='allow'>IvyBridge-IBRS</model>
</cpu>
<clock offset='utc'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='no'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/libexec/qemu-kvm</emulator>
<disk type='file' device='disk'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/guest1.img'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</disk>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<target dev='hda' bus='ide'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci2'>
<master startport='2'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci3'>
<master startport='4'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pci-root'/>
<controller type='ide' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:44:9d:e5'/>
<source network='default'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
<serial type='pty'>
<target type='isa-serial' port='0'>
<model name='isa-serial'/>
</target>
</serial>
<console type='pty'>
<target type='serial' port='0'/>
</console>
<channel type='unix'>
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>
<channel type='spicevmc'>
<target type='virtio' name='com.redhat.spice.0'/>
<address type='virtio-serial' controller='0' bus='0' port='2'/>
</channel>
<input type='tablet' bus='usb'>
<address type='usb' bus='0' port='1'/>
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='spice' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
<image compression='off'/>
</graphics>
<sound model='ich6'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='3'/>
</redirdev>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</memballoon>
</devices>
</domain>

 

######################

virt-install --name guest5\
--vcpus=1\
--memory 1024\
--network network=default,model=virtio\
--location /var/lib/libvirt/images/rhel-server-7.6-x86_64-dvd.iso\
--os-variant rhel7.6\
--disk pool=default,size=5,bus=virtio,format=qcow2\
--nographics \
--extra-args='console=tty0 console=ttyS0,115200n8'

#### RPM

[root@localhost ~]# rpm -qa
libvirt-4.5.0-10.el7.x86_64
libvorbis-1.3.3-8.el7.1.x86_64
setup-2.8.71-10.el7.noarch
tuned-2.10.0-6.el7.noarch
keyutils-1.5.8-3.el7.x86_64
langtable-0.0.31-3.el7.noarch
vdo-6.1.1.125-3.el7.x86_64
acl-2.2.51-14.el7.x86_64
grub2-pc-modules-2.02-0.76.el7.noarch
openssh-clients-7.4p1-16.el7.x86_64
libcurl-7.29.0-51.el7.x86_64
quota-nls-4.01-17.el7.noarch
authconfig-6.2.8-30.el7.x86_64
openldap-2.4.44-20.el7.x86_64
nss-softokn-freebl-3.36.0-5.el7_5.x86_64
lshw-B.02.18-12.el7.x86_64
libnfsidmap-0.25-19.el7.x86_64
ncurses-libs-5.9-14.20130511.el7_4.x86_64
libreport-plugin-mailx-2.1.11-42.el7.x86_64
pinentry-0.8.1-17.el7.x86_64
libsepol-2.5-10.el7.x86_64
smartmontools-6.5-1.el7.x86_64
libselinux-utils-2.5-14.1.el7.x86_64
info-5.1-5.el7.x86_64
mdadm-4.1-rc1_2.el7.x86_64
libconfig-1.4.9-5.el7.x86_64
libnl3-3.2.28-4.el7.x86_64
chrony-3.2-2.el7.x86_64
boost-date-time-1.53.0-27.el7.x86_64
libxml2-2.9.1-6.el7_2.3.x86_64
dracut-config-rescue-033-554.el7.x86_64
kernel-tools-libs-3.10.0-957.el7.x86_64
popt-1.13-16.el7.x86_64
vim-enhanced-7.4.160-5.el7.x86_64
rpm-build-libs-4.11.3-35.el7.x86_64
elfutils-libelf-0.172-2.el7.x86_64
yum-utils-1.1.31-50.el7.noarch
gpgme-1.3.2-5.el7.x86_64
libcap-2.22-9.el7.x86_64
e2fsprogs-1.42.9-13.el7.x86_64
PyYAML-3.10-11.el7.x86_64
libgpg-error-1.12-3.el7.x86_64
bind-utils-9.9.4-72.el7.x86_64
libX11-1.6.5-2.el7.x86_64
libtar-1.2.11-29.el7.x86_64
sg3_utils-1.37-17.el7.x86_64
autogen-libopts-5.18-5.el7.x86_64
sqlite-3.7.17-8.el7.x86_64
btrfs-progs-4.9.1-1.el7.x86_64
libsss_nss_idmap-1.16.2-13.el7.x86_64
p11-kit-0.23.5-3.el7.x86_64
wget-1.14-18.el7.x86_64
libsndfile-1.0.25-10.el7.x86_64
lua-5.1.4-15.el7.x86_64
bc-1.06.95-13.el7.x86_64
libpipeline-1.2.3-3.el7.x86_64
boost-system-1.53.0-27.el7.x86_64
nano-2.3.1-10.el7.x86_64
libsmartcols-2.23.2-59.el7.x86_64
libogg-1.3.0-7.el7.x86_64
strace-4.12-9.el7.x86_64
libutempter-1.1.6-4.el7.x86_64
groff-base-1.22.2-8.el7.x86_64
rfkill-0.4-10.el7.x86_64
qrencode-libs-3.4.1-3.el7.x86_64
file-libs-5.11-35.el7.x86_64
man-pages-overrides-7.6.2-1.el7.x86_64
util-linux-2.23.2-59.el7.x86_64
hunspell-1.3.2-15.el7.x86_64
iwl2030-firmware-18.168.6.1-69.el7.noarch
kmod-20-23.el7.x86_64
perl-parent-0.225-244.el7.noarch
iwl3945-firmware-15.32.2.9-69.el7.noarch
systemd-219-62.el7.x86_64
perl-Text-ParseWords-3.29-4.el7.noarch
iwl5150-firmware-8.24.2.2-69.el7.noarch
satyr-0.13-15.el7.x86_64
perl-macros-5.16.3-293.el7.x86_64
man-pages-3.53-5.el7.noarch
systemd-sysv-219-62.el7.x86_64
perl-Filter-1.49-3.el7.x86_64
redhat-indexhtml-7-13.el7.noarch
hwdata-0.252-9.1.el7.x86_64
perl-constant-1.27-2.el7.noarch
python-deltarpm-3.6-3.el7.x86_64
crontabs-1.11-6.20121102git.el7.noarch
perl-Carp-1.26-244.el7.noarch
osinfo-db-tools-1.1.0-1.el7.x86_64
dbus-python-1.1.1-9.el7.x86_64
perl-Pod-Simple-3.28-4.el7.noarch
genisoimage-1.1.11-25.el7.x86_64
libstoragemgmt-1.6.2-4.el7.x86_64
pciutils-libs-3.5.1-3.el7.x86_64
virt-manager-common-1.5.0-1.el7.noarch
rdma-core-17.2-3.el7.x86_64
libmnl-1.0.3-7.el7.x86_64
device-mapper-event-1.02.149-8.el7.x86_64
ca-certificates-2018.2.22-70.0.el7_5.noarch
os-prober-1.58-9.el7.x86_64
tar-1.26-35.el7.x86_64
iscsi-initiator-utils-6.2.0.874-10.el7.x86_64
libunistring-0.9.3-9.el7.x86_64
parted-3.1-29.el7.x86_64
coreutils-8.22-23.el7.x86_64
dhcp-common-4.2.5-68.el7_5.1.x86_64
python-2.7.5-76.el7.x86_64
grub2-tools-extra-2.02-0.76.el7.x86_64
libmount-2.23.2-59.el7.x86_64
abrt-python-2.1.11-52.el7.x86_64
python-six-1.9.0-2.el7.noarch
abrt-addon-vmcore-2.1.11-52.el7.x86_64
cracklib-2.9.0-11.el7.x86_64
lvm2-2.02.180-8.el7.x86_64
libssh2-1.4.3-12.el7.x86_64
selinux-policy-3.13.1-229.el7.noarch
pam-1.1.8-22.el7.x86_64
kmod-kvdo-6.1.1.125-5.el7.x86_64
libcroco-0.6.12-4.el7.x86_64
libfprint-0.8.2-1.el7.x86_64
libtirpc-0.2.4-0.15.el7.x86_64
python-hwdata-1.7.3-4.el7.noarch
snappy-1.1.0-3.el7.x86_64
libreport-cli-2.1.11-42.el7.x86_64
slang-2.2.4-11.el7.x86_64
qemu-kvm-common-1.5.3-160.el7.x86_64
ethtool-4.8-9.el7.x86_64
glusterfs-3.12.2-18.el7.x86_64
libICE-1.0.9-9.el7.x86_64
alsa-firmware-1.0.28-2.el7.noarch
fuse-libs-2.9.2-11.el7.x86_64
libvirt-libs-4.5.0-10.el7.x86_64
iptables-1.4.21-28.el7.x86_64
libvirt-daemon-driver-nwfilter-4.5.0-10.el7.x86_64
gettext-0.19.8.1-2.el7.x86_64
libvirt-daemon-config-network-4.5.0-10.el7.x86_64
xdg-utils-1.1.0-0.17.20120809git.el7.noarch
libvirt-daemon-driver-storage-disk-4.5.0-10.el7.x86_64
grubby-8.28-25.el7.x86_64
libvirt-daemon-driver-storage-4.5.0-10.el7.x86_64
python-kitchen-1.1.1-5.el7.noarch
gnutls-dane-3.3.29-8.el7.x86_64
python-linux-procfs-0.4.9-4.el7.noarch
teamd-1.27-5.el7.x86_64
pyxattr-0.5.1-5.el7.x86_64
plymouth-0.8.9-0.31.20140113.el7.x86_64
python-perf-3.10.0-957.el7.x86_64
rhn-setup-2.0.2-24.el7.x86_64
langtable-python-0.0.31-3.el7.noarch
elfutils-0.172-2.el7.x86_64
bind-libs-9.9.4-72.el7.x86_64
opus-1.0.2-6.el7.x86_64
nss-pem-1.0.3-5.el7.x86_64
kernel-headers-3.10.0-957.el7.x86_64
librbd1-10.2.5-4.el7.x86_64
ipxe-roms-qemu-20170123-1.git4e85b27.el7_4.1.noarch
fipscheck-1.4.1-6.el7.x86_64
kbd-legacy-1.15.5-15.el7.noarch
freetype-2.8-12.el7.x86_64
qemu-kvm-1.5.3-160.el7.x86_64
ipset-6.38-2.el7.x86_64
libgcc-4.8.5-36.el7.x86_64
less-458-9.el7.x86_64
grub2-common-2.02-0.76.el7.noarch
flac-libs-1.3.0-5.el7_1.x86_64
filesystem-3.2-25.el7.x86_64
lzop-1.03-10.el7.x86_64
bind-license-9.9.4-72.el7.noarch
device-mapper-persistent-data-0.7.3-3.el7.x86_64
libreport-filesystem-2.1.11-42.el7.x86_64
fuse-2.9.2-11.el7.x86_64
basesystem-10.0-7.el7.noarch
vim-minimal-7.4.160-5.el7.x86_64
kbd-misc-1.15.5-15.el7.noarch
libdb-utils-5.3.21-24.el7.x86_64
vim-filesystem-7.4.160-5.el7.x86_64
curl-7.29.0-51.el7.x86_64
libX11-common-1.6.5-2.el7.noarch
rpm-4.11.3-35.el7.x86_64
ncurses-base-5.9-14.20130511.el7_4.noarch
libuser-0.60-9.el7.x86_64
glibc-common-2.17-260.el7.x86_64
passwd-0.79-4.el7.x86_64
libstdc++-4.8.5-36.el7.x86_64
python-pycurl-7.19.0-19.el7.x86_64
bash-4.2.46-31.el7.x86_64
libdwarf-20130207-4.el7.x86_64
nss-util-3.36.0-1.el7_5.x86_64
libss-1.42.9-13.el7.x86_64
pcre-8.32-17.el7.x86_64
openssl-1.0.2k-16.el7.x86_64
zlib-1.2.7-18.el7.x86_64
mozjs17-17.0.0-20.el7.x86_64
libuuid-2.23.2-59.el7.x86_64
vim-common-7.4.160-5.el7.x86_64
audit-libs-2.8.4-4.el7.x86_64
libmodman-2.0.1-8.el7.x86_64
libcom_err-1.42.9-13.el7.x86_64
libicu-50.1.2-17.el7.x86_64
xz-libs-5.2.2-1.el7.x86_64
dyninst-9.3.1-2.el7.x86_64
numactl-libs-2.0.9-7.el7.x86_64
libini_config-1.3.1-32.el7.x86_64
bzip2-libs-1.0.6-13.el7.x86_64
hardlink-1.0-19.el7.x86_64
chkconfig-1.7.4-1.el7.x86_64
gnupg2-2.0.22-5.el7_5.x86_64
readline-6.2-10.el7.x86_64
rpm-python-4.11.3-35.el7.x86_64
libdb-5.3.21-24.el7.x86_64
subscription-manager-rhsm-1.21.10-2.el7.x86_64
libacl-2.2.51-14.el7.x86_64
pygpgme-0.3-9.el7.x86_64
augeas-libs-1.4.0-6.el7.x86_64
libyaml-0.1.4-11.el7_0.x86_64
json-c-0.11-4.el7_0.x86_64
libdnet-1.12-13.1.el7.x86_64
libgcrypt-1.5.3-14.el7.x86_64
libxcb-1.13-1.el7.x86_64
gawk-4.0.2-4.el7_3.1.x86_64
libXext-1.3.3-3.el7.x86_64
libffi-3.0.13-18.el7.x86_64
libXtst-1.2.3-1.el7.x86_64
expat-2.1.0-10.el7_3.x86_64
libmspack-0.5-0.6.alpha.el7.x86_64
cpio-2.11-27.el7.x86_64
lsscsi-0.27-6.el7.x86_64
libaio-0.3.109-13.el7.x86_64
libsysfs-2.1.0-16.el7.x86_64
libxslt-1.1.28-5.el7.x86_64
gsm-1.0.13-11.el7.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
bridge-utils-1.5-9.el7.x86_64
xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64
libndp-1.2-7.el7.x86_64
diffutils-3.3-4.el7.x86_64
man-db-2.6.3-11.el7.x86_64
lzo-2.06-8.el7.x86_64
gpm-libs-1.20.7-5.el7.x86_64
lz4-1.7.5-2.el7.x86_64
ustr-1.0.4-16.el7.x86_64
boost-thread-1.53.0-27.el7.x86_64
shadow-utils-4.1.5.1-25.el7.x86_64
mpfr-3.1.1-4.el7.x86_64
sgpio-1.2.0.10-13.el7.x86_64
kmod-libs-20-23.el7.x86_64
libjpeg-turbo-1.2.90-6.el7.x86_64
libgomp-4.8.5-36.el7.x86_64
procps-ng-3.3.10-23.el7.x86_64
file-5.11-35.el7.x86_64
device-mapper-1.02.149-8.el7.x86_64
hunspell-en-US-0.20121024-6.el7.noarch
device-mapper-libs-1.02.149-8.el7.x86_64
gperftools-libs-2.6.1-1.el7.x86_64
dracut-033-554.el7.x86_64
gdbm-1.10-8.el7.x86_64
elfutils-libs-0.172-2.el7.x86_64
perl-HTTP-Tiny-0.033-3.el7.noarch
dbus-libs-1.10.24-12.el7.x86_64
perl-Pod-Perldoc-3.20-4.el7.noarch
dbus-1.10.24-12.el7.x86_64
perl-Pod-Escapes-1.04-293.el7.noarch
avahi-libs-0.6.31-19.el7.x86_64
perl-Pod-Usage-1.63-3.el7.noarch
libreport-2.1.11-42.el7.x86_64
perl-libs-5.16.3-293.el7.x86_64
abrt-libs-2.1.11-52.el7.x86_64
perl-Storable-2.45-3.el7.x86_64
polkit-0.112-18.el7.x86_64
perl-Time-HiRes-1.9725-3.el7.x86_64
device-mapper-event-libs-1.02.149-8.el7.x86_64
perl-Time-Local-1.2300-2.el7.noarch
libusbx-1.0.21-1.el7.x86_64
perl-threads-shared-1.43-6.el7.x86_64
initscripts-9.49.46-1.el7.x86_64
perl-Socket-2.010-4.el7.x86_64
cronie-anacron-1.4.11-19.el7.x86_64
perl-File-Path-2.09-2.el7.noarch
dbus-glib-0.100-7.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64
grub2-tools-minimal-2.02-0.76.el7.x86_64
perl-Getopt-Long-2.40-3.el7.noarch
usermode-1.111-5.el7.x86_64
dmidecode-3.1-2.el7.x86_64
libstoragemgmt-python-clibs-1.6.2-4.el7.x86_64
libtool-ltdl-2.4.2-22.el7_3.x86_64
pciutils-3.5.1-3.el7.x86_64
libpcap-1.5.3-11.el7.x86_64
libibverbs-17.2-3.el7.x86_64
xmlsec1-1.2.20-7.el7_4.x86_64
p11-kit-trust-0.23.5-3.el7.x86_64
nss-softokn-3.36.0-5.el7_5.x86_64
libassuan-2.1.0-3.el7.x86_64
boost-iostreams-1.53.0-27.el7.x86_64
libnl3-cli-3.2.28-4.el7.x86_64
libpng-1.5.13-7.el7_2.x86_64
openssl-libs-1.0.2k-16.el7.x86_64
krb5-libs-1.15.1-34.el7.x86_64
python-libs-2.7.5-76.el7.x86_64
libblkid-2.23.2-59.el7.x86_64
gzip-1.5-10.el7.x86_64
glib2-2.56.1-2.el7.x86_64
python-decorator-3.4.0-3.el7.noarch
python-iniparse-0.4-9.el7.noarch
pkgconfig-0.27.1-4.el7.x86_64
libxml2-python-2.9.1-6.el7_2.3.x86_64
libevent-2.0.21-4.el7.x86_64
python-dmidecode-3.12.2-3.el7.x86_64
libpwquality-1.2.3-5.el7.x86_64
gobject-introspection-1.56.1-1.el7.x86_64
pygobject2-2.28.6-11.el7.x86_64
python-augeas-0.5.0-2.el7.noarch
m2crypto-0.21.1-17.el7.x86_64
alsa-lib-1.1.6-2.el7.x86_64
boost-random-1.53.0-27.el7.x86_64
hostname-3.13-3.el7.x86_64
python-ethtool-0.8-7.el7.x86_64
newt-0.52.15-4.el7.x86_64
libseccomp-2.3.1-3.el7.x86_64
sg3_utils-libs-1.37-17.el7.x86_64
libnfnetlink-1.0.1-4.el7.x86_64
jansson-2.10-1.el7.x86_64
libcollection-0.7.0-32.el7.x86_64
libref_array-0.1.5-32.el7.x86_64
libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
iproute-4.11.0-14.el7.x86_64
gettext-libs-0.19.8.1-2.el7.x86_64
libverto-libevent-0.2.5-4.el7.x86_64
desktop-file-utils-0.23-1.el7.x86_64
glusterfs-client-xlators-3.12.2-18.el7.x86_64
xfsprogs-4.5.0-18.el7.x86_64
pyOpenSSL-0.13.1-4.el7.x86_64
python-chardet-2.2.1-1.el7_1.noarch
libselinux-python-2.5-14.1.el7.x86_64
python-ipaddress-1.0.16-2.el7.noarch
python-configobj-4.7.2-7.el7.noarch
python-inotify-0.9.4-4.el7.noarch
python-backports-1.0-8.el7.x86_64
python-setuptools-0.9.8-7.el7.noarch
python2-futures-3.1.1-5.el7.noarch
python-magic-5.11-35.el7.noarch
python-schedutils-0.4-6.el7.x86_64
cyrus-sasl-gssapi-2.1.26-23.el7.x86_64
bind-libs-lite-9.9.4-72.el7.x86_64
logrotate-3.8.6-17.el7.x86_64
nss-3.36.0-7.el7_5.x86_64
librados2-10.2.5-4.el7.x86_64
mailx-12.5-19.el7.x86_64
fipscheck-lib-1.4.1-6.el7.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
mariadb-libs-5.5.60-1.el7_5.x86_64
libteam-1.27-5.el7.x86_64
ipset-libs-6.38-2.el7.x86_64
pm-utils-1.4.1-27.el7.x86_64
gcc-4.8.5-36.el7.x86_64
abrt-console-notification-2.1.11-52.el7.x86_64
NetworkManager-team-1.12.0-6.el7.x86_64
fprintd-pam-0.8.1-2.el7.x86_64
selinux-policy-targeted-3.13.1-229.el7.noarch
subscription-manager-plugin-container-1.21.10-2.el7.x86_64
openssh-server-7.4p1-16.el7.x86_64
setuptool-1.19.11-8.el7.x86_64
sysstat-10.1.5-17.el7.x86_64
usbutils-007-5.el7.x86_64
audit-2.8.4-4.el7.x86_64
psacct-6.6.1-13.el7.x86_64
rng-tools-6.3.1-3.el7.x86_64
biosdevname-0.7.3-1.el7.x86_64
ntpdate-4.2.6p5-28.el7.x86_64
aic94xx-firmware-30-6.el7.noarch
irqbalance-1.0.7-11.el7.x86_64
net-tools-2.0-0.24.20131004git.el7.x86_64
microcode_ctl-2.1-47.el7.x86_64
kpatch-0.6.1-1.el7.noarch
cryptsetup-2.0.3-3.el7.x86_64
systemtap-runtime-3.3-3.el7.x86_64
sssd-client-1.16.2-13.el7.x86_64
iprutils-2.4.16.1-1.el7.x86_64
yum-langpacks-0.4.2-7.el7.noarch
kernel-tools-3.10.0-957.el7.x86_64
sudo-1.8.23-3.el7.x86_64
hunspell-en-0.20121024-6.el7.noarch
Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-7-3.1.el7.noarch
pinfo-0.6.10-9.el7.x86_64
ntsysv-1.7.4-1.el7.x86_64
mtr-0.85-7.el7.x86_64
blktrace-1.0.5-8.el7.x86_64
tcsh-6.18.01-15.el7.x86_64
kernel-devel-3.10.0-957.el7.x86_64
bpftool-3.10.0-957.el7.x86_64
ftp-0.17-67.el7.x86_64
unzip-6.0-19.el7.x86_64
time-1.7-45.el7.x86_64
lsof-4.87-6.el7.x86_64
traceroute-2.0.22-2.el7.x86_64
rdate-1.4-25.el7.x86_64
dosfstools-3.0.20-10.el7.x86_64
NetworkManager-config-server-1.12.0-6.el7.noarch
iwl5000-firmware-8.83.5.1_1-69.el7.noarch
rootfiles-8.1-11.el7.noarch
iwl6000g2a-firmware-17.168.5.3-69.el7.noarch
ivtv-firmware-20080701-26.el7.noarch
iwl6000g2b-firmware-17.168.5.2-69.el7.noarch
iwl135-firmware-18.168.6.1-69.el7.noarch
iwl6000-firmware-9.221.4.1-69.el7.noarch
iwl2000-firmware-18.168.6.1-69.el7.noarch
iwl100-firmware-39.31.5.1-69.el7.noarch
iwl3160-firmware-22.0.7.0-69.el7.noarch
iwl6050-firmware-41.28.5.1-69.el7.noarch
deltarpm-3.6-3.el7.x86_64
createrepo-0.9.9-28.el7.noarch
libarchive-3.1.2-10.el7_2.x86_64
osinfo-db-20180531-1.el7.noarch
libusal-1.1.11-25.el7.x86_64
python-urllib3-1.10.2-5.el7.noarch
python-ipaddr-2.1.11-1.el7.noarch
virt-install-1.5.0-1.el7.noarch
libdrm-2.4.91-3.el7.x86_64
rpcbind-0.2.0-47.el7.x86_64
libreport-plugin-rhtsupport-2.1.11-42.el7.x86_64
grub2-tools-2.02-0.76.el7.x86_64
iscsi-initiator-utils-iscsiuio-6.2.0.874-10.el7.x86_64
unbound-libs-1.6.6-1.el7.x86_64
dhcp-libs-4.2.5-68.el7_5.1.x86_64
openssh-7.4p1-16.el7.x86_64
subscription-manager-1.21.10-2.el7.x86_64
dhclient-4.2.5-68.el7_5.1.x86_64
kexec-tools-2.0.15-21.el7.x86_64
grub2-pc-2.02-0.76.el7.x86_64
abrt-dbus-2.1.11-52.el7.x86_64
abrt-2.1.11-52.el7.x86_64
abrt-addon-pstoreoops-2.1.11-52.el7.x86_64
abrt-addon-xorg-2.1.11-52.el7.x86_64
lvm2-libs-2.02.180-8.el7.x86_64
dmraid-events-1.0.0.rc16-28.el7.x86_64
librdmacm-17.2-3.el7.x86_64
python-slip-dbus-0.4.0-4.el7.noarch
kernel-3.10.0-957.el7.x86_64
numad-0.5-18.20150602git.el7.x86_64
usbredir-0.7.1-3.el7.x86_64
fprintd-0.8.1-2.el7.x86_64
usb_modeswitch-2.5.1-1.el7.x86_64
dnsmasq-2.76-7.el7.x86_64
NetworkManager-1.12.0-6.el7.x86_64
abrt-tui-2.1.11-52.el7.x86_64
radvd-2.17-3.el7.x86_64
gssproxy-0.7.0-21.el7.x86_64
libcgroup-0.41-20.el7.x86_64
glusterfs-api-3.12.2-18.el7.x86_64
fxload-2002_04_11-16.el7.x86_64
alsa-tools-firmware-1.1.0-1.el7.x86_64
gnutls-3.3.29-8.el7.x86_64
libvirt-daemon-4.5.0-10.el7.x86_64
libvirt-daemon-driver-network-4.5.0-10.el7.x86_64
libvirt-daemon-config-nwfilter-4.5.0-10.el7.x86_64
libvirt-daemon-driver-lxc-4.5.0-10.el7.x86_64
libvirt-daemon-driver-storage-rbd-4.5.0-10.el7.x86_64
libvirt-daemon-driver-storage-mpath-4.5.0-10.el7.x86_64
libvirt-daemon-driver-storage-scsi-4.5.0-10.el7.x86_64
libvirt-daemon-driver-storage-gluster-4.5.0-10.el7.x86_64
libvirt-daemon-driver-nodedev-4.5.0-10.el7.x86_64
libvirt-daemon-driver-secret-4.5.0-10.el7.x86_64
gnutls-utils-3.3.29-8.el7.x86_64
abrt-addon-python-2.1.11-52.el7.x86_64
python-pyudev-0.15-9.el7.noarch
plymouth-scripts-0.8.9-0.31.20140113.el7.x86_64
libgudev1-219-62.el7.x86_64
rhn-client-tools-2.0.2-24.el7.x86_64
yum-rhn-plugin-2.0.1-10.el7.noarch
rhnsd-5.0.13-10.el7.x86_64
abrt-addon-ccpp-2.1.11-52.el7.x86_64
libestr-0.1.9-2.el7.x86_64
spice-server-0.14.0-6.el7.x86_64
pulseaudio-libs-10.0-5.el7.x86_64
glibc-headers-2.17-260.el7.x86_64
seabios-bin-1.11.0-2.el7.noarch
libvirt-bash-completion-4.5.0-10.el7.x86_64
sgabios-bin-0.20110622svn-4.el7.noarch
kbd-1.15.5-15.el7.x86_64
seavgabios-bin-1.11.0-2.el7.noarch
firewalld-0.5.3-5.el7.noarch
hunspell-en-GB-0.20121024-6.el7.noarch
redhat-release-server-7.6-4.el7.x86_64
rsyslog-8.24.0-34.el7.x86_64
celt051-0.5.1.3-8.el7.x86_64
tzdata-2018e-3.el7.noarch
NetworkManager-tui-1.12.0-6.el7.x86_64
tcp_wrappers-7.6-77.el7.x86_64
langtable-data-0.0.31-3.el7.noarch
grub2-2.02-0.76.el7.x86_64
attr-2.4.46-13.el7.x86_64
subscription-manager-rhsm-certificates-1.21.10-2.el7.x86_64
open-vm-tools-10.2.5-3.el7.x86_64
rpm-libs-4.11.3-35.el7.x86_64
emacs-filesystem-24.3-22.el7.noarch
mlocate-0.26-8.el7.x86_64
xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64
glibc-2.17-260.el7.x86_64
postfix-2.10.1-7.el7.x86_64
python-urlgrabber-3.10-9.el7.noarch
nspr-4.19.0-1.el7_5.x86_64
rsync-3.1.2-4.el7.x86_64
make-3.82-23.el7.x86_64
libselinux-2.5-14.1.el7.x86_64
at-3.1.13-24.el7.x86_64
linux-firmware-20180911-69.git85c5d90.el7.noarch
libcap-ng-0.7.5-4.el7.x86_64
crda-3.18_2018.05.31-4.el7.x86_64
libproxy-0.4.11-11.el7.x86_64
yajl-2.0.4-4.el7.x86_64
ledmon-0.90-1.el7.x86_64
libpath_utils-0.2.1-32.el7.x86_64
sed-4.2.2-5.el7.x86_64
tcpdump-4.9.2-3.el7.x86_64
pth-2.0.7-23.el7.x86_64
grep-2.20-3.el7.x86_64
man-pages-ja-20130615-3.el7.noarch
redhat-support-lib-python-0.9.7-6.el7.noarch
libattr-2.4.46-13.el7.x86_64
redhat-support-tool-0.9.10-1.el7.noarch
yum-3.4.3-161.el7.noarch
gmp-6.0.0-15.el7.x86_64
xfsdump-3.1.7-1.el7.x86_64
libXau-1.0.8-2.1.el7.x86_64
which-2.20-7.el7.x86_64
Red_Hat_Enterprise_Linux-Release_Notes-7-en-US-7-2.el7.noarch
libXi-1.7.9-1.el7.x86_64
tcp_wrappers-libs-7.6-77.el7.x86_64
bash-completion-2.1-6.el7.noarch
libfastjson-0.99.4-3.el7.x86_64
libidn-1.28-4.el7.x86_64
cyrus-sasl-plain-2.1.26-23.el7.x86_64
lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64
findutils-4.5.11-6.el7.x86_64
patch-2.7.1-10.el7_5.x86_64
netcf-libs-0.2.8-4.el7.x86_64
xz-5.2.2-1.el7.x86_64
zip-3.0-11.el7.x86_64
libsss_idmap-1.16.2-13.el7.x86_64
libtasn1-4.10-1.el7.x86_64
ed-1.9-4.el7.x86_64
libsemanage-2.5-14.el7.x86_64
nettle-2.7.1-8.el7.x86_64
scl-utils-20130529-19.el7.x86_64
libdaemon-0.14-7.el7.x86_64
e2fsprogs-libs-1.42.9-13.el7.x86_64
setserial-2.17-33.el7.x86_64
kpartx-0.4.9-123.el7.x86_64
GeoIP-1.5.0-13.el7.x86_64
iwl105-firmware-18.168.6.1-69.el7.noarch
cryptsetup-libs-2.0.3-3.el7.x86_64
libverto-0.2.5-4.el7.x86_64
iwl7265-firmware-22.0.7.0-69.el7.noarch
systemd-libs-219-62.el7.x86_64
perl-podlators-2.5.1-3.el7.noarch
iwl4965-firmware-228.61.2.24-69.el7.noarch
elfutils-default-yama-scope-0.172-2.el7.noarch
perl-Encode-2.51-7.el7.x86_64
iwl1000-firmware-39.31.5.1-69.el7.noarch
libreport-python-2.1.11-42.el7.x86_64
perl-threads-1.87-4.el7.x86_64
iwl7260-firmware-22.0.7.0-69.el7.noarch
polkit-pkla-compat-0.1-4.el7.x86_64
perl-Exporter-5.68-3.el7.noarch
words-3.0-22.el7.noarch
iputils-20160308-10.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64
libvirt-python-4.5.0-1.el7.x86_64
cronie-1.4.11-19.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
libosinfo-1.1.0-2.el7.x86_64
policycoreutils-2.5-29.el7.x86_64
perl-5.16.3-293.el7.x86_64
python-requests-2.6.0-1.el7_1.noarch
libstoragemgmt-python-1.6.2-4.el7.noarch
pixman-0.34.0-1.el7.x86_64
libpciaccess-0.14-1.el7.x86_64
libmpc-1.0.1-3.el7.x86_64
libreport-web-2.1.11-42.el7.x86_64
libiscsi-1.9.0-7.el7.x86_64
ebtables-2.0.10-16.el7.x86_64
bzip2-1.0.6-13.el7.x86_64
NetworkManager-libnm-1.12.0-6.el7.x86_64
ncurses-5.9-14.20130511.el7_4.x86_64
virt-what-1.18-4.el7.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64
dracut-network-033-554.el7.x86_64
glusterfs-libs-3.12.2-18.el7.x86_64
libreport-plugin-ureport-2.1.11-42.el7.x86_64
shared-mime-info-1.8-4.el7.x86_64
abrt-addon-kerneloops-2.1.11-52.el7.x86_64
python-dateutil-1.5-7.el7.noarch
quota-4.01-17.el7.x86_64
binutils-2.27-34.base.el7.x86_64
dmraid-1.0.0.rc16-28.el7.x86_64
cracklib-dicts-2.9.0-11.el7.x86_64
python-firewall-0.5.3-5.el7.noarch
python-gobject-base-3.22.0-1.el7_4.1.x86_64
cyrus-sasl-2.1.26-23.el7.x86_64
python-lxml-3.2.1-4.el7.x86_64
usb_modeswitch-data-20170806-1.el7.noarch
libedit-3.0-12.20121213cvs.el7.x86_64
wpa_supplicant-2.6-12.el7.x86_64
libnl-1.1.4-3.el7.x86_64
libreport-rhel-2.1.11-42.el7.x86_64
newt-python-0.52.15-4.el7.x86_64
nfs-utils-1.3.0-0.61.el7.x86_64
sysvinit-tools-2.88-14.dsf.el7.x86_64
qemu-img-1.5.3-160.el7.x86_64
libbasicobjects-0.1.1-32.el7.x86_64
trousers-0.3.14-2.el7.x86_64
libSM-1.2.2-2.el7.x86_64
libvirt-daemon-driver-storage-core-4.5.0-10.el7.x86_64
iw-4.3-2.el7.x86_64
libvirt-daemon-driver-qemu-4.5.0-10.el7.x86_64
yum-metadata-parser-1.1.4-10.el7.x86_64
libvirt-daemon-driver-storage-logical-4.5.0-10.el7.x86_64
glusterfs-cli-3.12.2-18.el7.x86_64
libvirt-daemon-driver-storage-iscsi-4.5.0-10.el7.x86_64
rhnlib-2.5.65-8.el7.noarch
libvirt-daemon-driver-interface-4.5.0-10.el7.x86_64
python-slip-0.4.0-4.el7.noarch
systemd-python-219-62.el7.x86_64
pyliblzma-0.5.3-11.el7.x86_64
plymouth-core-libs-0.8.9-0.31.20140113.el7.x86_64
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
python-gudev-147.2-7.el7.x86_64
sos-3.6-9.el7.noarch
rhn-check-2.0.2-24.el7.x86_64
gdb-7.6.1-114.el7.x86_64
abrt-cli-2.1.11-52.el7.x86_64
redhat-logos-70.0.3-7.el7.noarch
libasyncns-0.8-7.el7.x86_64
nss-sysinit-3.36.0-7.el7_5.x86_64
glibc-devel-2.17-260.el7.x86_64
nss-tools-3.36.0-7.el7_5.x86_64
libvirt-client-4.5.0-10.el7.x86_64
nmap-ncat-6.40-16.el7.x86_64
firewalld-filesystem-0.5.3-5.el7.noarch
cpp-4.8.5-36.el7.x86_64

 

インフラストラクチャーサーバーを選択したときのrpm一覧

[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# rpm -qa
iwl7260-firmware-22.0.7.0-69.el7.noarch
libtirpc-0.2.4-0.15.el7.x86_64
setup-2.8.71-10.el7.noarch
iwl6050-firmware-41.28.5.1-69.el7.noarch
nss-3.36.0-7.el7_5.x86_64
libreport-filesystem-2.1.11-42.el7.x86_64
alsa-lib-1.1.6-2.el7.x86_64
grub2-pc-modules-2.02-0.76.el7.noarch
mariadb-libs-5.5.60-1.el7_5.x86_64
quota-nls-4.01-17.el7.noarch
rpm-libs-4.11.3-35.el7.x86_64
glibc-common-2.17-260.el7.x86_64
gnupg2-2.0.22-5.el7_5.x86_64
bash-4.2.46-31.el7.x86_64
redhat-support-lib-python-0.9.7-6.el7.noarch
pcre-8.32-17.el7.x86_64
passwd-0.79-4.el7.x86_64
xz-libs-5.2.2-1.el7.x86_64
gpm-libs-1.20.7-5.el7.x86_64
bzip2-libs-1.0.6-13.el7.x86_64
shadow-utils-4.1.5.1-25.el7.x86_64
elfutils-libelf-0.172-2.el7.x86_64
qrencode-libs-3.4.1-3.el7.x86_64
libattr-2.4.46-13.el7.x86_64
util-linux-2.23.2-59.el7.x86_64
augeas-libs-1.4.0-6.el7.x86_64
kmod-20-23.el7.x86_64
libcap-ng-0.7.5-4.el7.x86_64
systemd-219-62.el7.x86_64
libffi-3.0.13-18.el7.x86_64
libreport-2.1.11-42.el7.x86_64
libnl3-3.2.28-4.el7.x86_64
polkit-pkla-compat-0.1-4.el7.x86_64
xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64
iputils-20160308-10.el7.x86_64
libaio-0.3.109-13.el7.x86_64
cronie-1.4.11-19.el7.x86_64
file-libs-5.11-35.el7.x86_64
grub2-tools-minimal-2.02-0.76.el7.x86_64
hunspell-1.3.2-15.el7.x86_64
libstoragemgmt-python-clibs-1.6.2-4.el7.x86_64
perl-podlators-2.5.1-3.el7.noarch
libreport-plugin-rhtsupport-2.1.11-42.el7.x86_64
perl-Encode-2.51-7.el7.x86_64
dhcp-libs-4.2.5-68.el7_5.1.x86_64
perl-threads-1.87-4.el7.x86_64
dhcp-common-4.2.5-68.el7_5.1.x86_64
perl-Exporter-5.68-3.el7.noarch
grub2-tools-extra-2.02-0.76.el7.x86_64
perl-Scalar-List-Utils-1.27-248.el7.x86_64
abrt-python-2.1.11-52.el7.x86_64
perl-File-Path-2.09-2.el7.noarch
abrt-addon-vmcore-2.1.11-52.el7.x86_64
perl-5.16.3-293.el7.x86_64
dmraid-events-1.0.0.rc16-28.el7.x86_64
libmnl-1.0.3-7.el7.x86_64
fprintd-0.8.1-2.el7.x86_64
p11-kit-0.23.5-3.el7.x86_64
python-firewall-0.5.3-5.el7.noarch
libgomp-4.8.5-36.el7.x86_64
python-hwdata-1.7.3-4.el7.noarch
hostname-3.13-3.el7.x86_64
wpa_supplicant-2.6-12.el7.x86_64
ethtool-4.8-9.el7.x86_64
libreport-rhel-2.1.11-42.el7.x86_64
libnfnetlink-1.0.1-4.el7.x86_64
alsa-tools-firmware-1.1.0-1.el7.x86_64
keyutils-libs-1.5.8-3.el7.x86_64
python-pyudev-0.15-9.el7.noarch
iw-4.3-2.el7.x86_64
libgudev1-219-62.el7.x86_64
ipset-6.38-2.el7.x86_64
yum-rhn-plugin-2.0.1-10.el7.noarch
tcp_wrappers-7.6-77.el7.x86_64
abrt-addon-ccpp-2.1.11-52.el7.x86_64
attr-2.4.46-13.el7.x86_64
kbd-1.15.5-15.el7.x86_64
bzip2-1.0.6-13.el7.x86_64
rsyslog-8.24.0-34.el7.x86_64
freetype-2.8-12.el7.x86_64
NetworkManager-tui-1.12.0-6.el7.x86_64
vim-common-7.4.160-5.el7.x86_64
fprintd-pam-0.8.1-2.el7.x86_64
libproxy-0.4.11-11.el7.x86_64
openssh-clients-7.4p1-16.el7.x86_64
boost-date-time-1.53.0-27.el7.x86_64
usbutils-007-5.el7.x86_64
pixman-0.34.0-1.el7.x86_64
audit-2.8.4-4.el7.x86_64
libyaml-0.1.4-11.el7_0.x86_64
rng-tools-6.3.1-3.el7.x86_64
lsscsi-0.27-6.el7.x86_64
ntpdate-4.2.6p5-28.el7.x86_64
libndp-1.2-7.el7.x86_64
crda-3.18_2018.05.31-4.el7.x86_64
libpcap-1.5.3-11.el7.x86_64
microcode_ctl-2.1-47.el7.x86_64
ca-certificates-2018.2.22-70.0.el7_5.noarch
cryptsetup-2.0.3-3.el7.x86_64
python-libs-2.7.5-76.el7.x86_64
vim-enhanced-7.4.160-5.el7.x86_64
python-decorator-3.4.0-3.el7.noarch
sudo-1.8.23-3.el7.x86_64
cracklib-2.9.0-11.el7.x86_64
pinfo-0.6.10-9.el7.x86_64
pkgconfig-0.27.1-4.el7.x86_64
cyrus-sasl-plain-2.1.26-23.el7.x86_64
python-dmidecode-3.12.2-3.el7.x86_64
btrfs-progs-4.9.1-1.el7.x86_64
libcroco-0.6.12-4.el7.x86_64
iprutils-2.4.16.1-1.el7.x86_64
python-augeas-0.5.0-2.el7.noarch
ntsysv-1.7.4-1.el7.x86_64
openssl-1.0.2k-16.el7.x86_64
unzip-6.0-19.el7.x86_64
yum-metadata-parser-1.1.4-10.el7.x86_64
lsof-4.87-6.el7.x86_64
xfsprogs-4.5.0-18.el7.x86_64
rdate-1.4-25.el7.x86_64
python-chardet-2.2.1-1.el7_1.noarch
setserial-2.17-33.el7.x86_64
python-ipaddress-1.0.16-2.el7.noarch
rootfiles-8.1-11.el7.noarch
python-inotify-0.9.4-4.el7.noarch
ivtv-firmware-20080701-26.el7.noarch
python-setuptools-0.9.8-7.el7.noarch
iwl5150-firmware-8.24.2.2-69.el7.noarch
sos-3.6-9.el7.noarch
man-pages-3.53-5.el7.noarch
gdb-7.6.1-114.el7.x86_64
libgcc-4.8.5-36.el7.x86_64
bind-libs-lite-9.9.4-72.el7.x86_64
grub2-common-2.02-0.76.el7.noarch
redhat-logos-70.0.3-7.el7.noarch
filesystem-3.2-25.el7.x86_64
nss-pem-1.0.3-5.el7.x86_64
bind-license-9.9.4-72.el7.noarch
nss-sysinit-3.36.0-7.el7_5.x86_64
langtable-0.0.31-3.el7.noarch
nss-tools-3.36.0-7.el7_5.x86_64
basesystem-10.0-7.el7.noarch
fipscheck-lib-1.4.1-6.el7.x86_64
kbd-misc-1.15.5-15.el7.noarch
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
vim-filesystem-7.4.160-5.el7.x86_64
libssh2-1.4.3-12.el7.x86_64
emacs-filesystem-24.3-22.el7.noarch
curl-7.29.0-51.el7.x86_64
nss-softokn-freebl-3.36.0-5.el7_5.x86_64
rpm-4.11.3-35.el7.x86_64
glibc-2.17-260.el7.x86_64
libuser-0.60-9.el7.x86_64
ncurses-libs-5.9-14.20130511.el7_4.x86_64
xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64
nspr-4.19.0-1.el7_5.x86_64
rpm-python-4.11.3-35.el7.x86_64
libsepol-2.5-10.el7.x86_64
subscription-manager-rhsm-1.21.10-2.el7.x86_64
libselinux-2.5-14.1.el7.x86_64
pygpgme-0.3-9.el7.x86_64
info-5.1-5.el7.x86_64
python-pycurl-7.19.0-19.el7.x86_64
libxml2-2.9.1-6.el7_2.3.x86_64
yum-3.4.3-161.el7.noarch
libuuid-2.23.2-59.el7.x86_64
libsmartcols-2.23.2-59.el7.x86_64
popt-1.13-16.el7.x86_64
libsemanage-2.5-14.el7.x86_64
sed-4.2.2-5.el7.x86_64
libutempter-1.1.6-4.el7.x86_64
grep-2.20-3.el7.x86_64
libdaemon-0.14-7.el7.x86_64
libdb-5.3.21-24.el7.x86_64
procps-ng-3.3.10-23.el7.x86_64
libcap-2.22-9.el7.x86_64
device-mapper-1.02.149-8.el7.x86_64
json-c-0.11-4.el7_0.x86_64
device-mapper-libs-1.02.149-8.el7.x86_64
which-2.20-7.el7.x86_64
dracut-033-554.el7.x86_64
libgcrypt-1.5.3-14.el7.x86_64
elfutils-libs-0.172-2.el7.x86_64
audit-libs-2.8.4-4.el7.x86_64
dbus-libs-1.10.24-12.el7.x86_64
libtar-1.2.11-29.el7.x86_64
dbus-1.10.24-12.el7.x86_64
cpio-2.11-27.el7.x86_64
satyr-0.13-15.el7.x86_64
sqlite-3.7.17-8.el7.x86_64
libreport-python-2.1.11-42.el7.x86_64
tcp_wrappers-libs-7.6-77.el7.x86_64
polkit-0.112-18.el7.x86_64
lua-5.1.4-15.el7.x86_64
systemd-sysv-219-62.el7.x86_64
libidn-1.28-4.el7.x86_64
hwdata-0.252-9.1.el7.x86_64
findutils-4.5.11-6.el7.x86_64
initscripts-9.49.46-1.el7.x86_64
groff-base-1.22.2-8.el7.x86_64
cronie-anacron-1.4.11-19.el7.x86_64
xz-5.2.2-1.el7.x86_64
dbus-glib-0.100-7.el7.x86_64
file-5.11-35.el7.x86_64
libusbx-1.0.21-1.el7.x86_64
hunspell-en-US-0.20121024-6.el7.noarch
policycoreutils-2.5-29.el7.x86_64
gdbm-1.10-8.el7.x86_64
libstoragemgmt-1.6.2-4.el7.x86_64
perl-HTTP-Tiny-0.033-3.el7.noarch
libstoragemgmt-python-1.6.2-4.el7.noarch
perl-Pod-Perldoc-3.20-4.el7.noarch
libreport-web-2.1.11-42.el7.x86_64
perl-Pod-Escapes-1.04-293.el7.noarch
os-prober-1.58-9.el7.x86_64
perl-Pod-Usage-1.63-3.el7.noarch
NetworkManager-libnm-1.12.0-6.el7.x86_64
perl-libs-5.16.3-293.el7.x86_64
openssh-7.4p1-16.el7.x86_64
perl-Storable-2.45-3.el7.x86_64
subscription-manager-1.21.10-2.el7.x86_64
perl-Time-HiRes-1.9725-3.el7.x86_64
dhclient-4.2.5-68.el7_5.1.x86_64
perl-Time-Local-1.2300-2.el7.noarch
kexec-tools-2.0.15-21.el7.x86_64
perl-threads-shared-1.43-6.el7.x86_64
grub2-pc-2.02-0.76.el7.x86_64
perl-Socket-2.010-4.el7.x86_64
abrt-dbus-2.1.11-52.el7.x86_64
perl-File-Temp-0.23.01-3.el7.noarch
abrt-2.1.11-52.el7.x86_64
perl-PathTools-3.40-5.el7.x86_64
abrt-addon-pstoreoops-2.1.11-52.el7.x86_64
perl-Getopt-Long-2.40-3.el7.noarch
abrt-addon-xorg-2.1.11-52.el7.x86_64
pciutils-libs-3.5.1-3.el7.x86_64
lvm2-2.02.180-8.el7.x86_64
lz4-1.7.5-2.el7.x86_64
dmraid-1.0.0.rc16-28.el7.x86_64
xmlsec1-1.2.20-7.el7_4.x86_64
libfprint-0.8.2-1.el7.x86_64
nss-softokn-3.36.0-5.el7_5.x86_64
usb_modeswitch-data-20170806-1.el7.noarch
libassuan-2.1.0-3.el7.x86_64
python-slip-dbus-0.4.0-4.el7.noarch
kmod-libs-20-23.el7.x86_64
kernel-3.10.0-957.el7.x86_64
libunistring-0.9.3-9.el7.x86_64
pciutils-3.5.1-3.el7.x86_64
boost-system-1.53.0-27.el7.x86_64
libpciaccess-0.14-1.el7.x86_64
libnl-1.1.4-3.el7.x86_64
rpcbind-0.2.0-47.el7.x86_64
newt-0.52.15-4.el7.x86_64
NetworkManager-1.12.0-6.el7.x86_64
sg3_utils-libs-1.37-17.el7.x86_64
abrt-tui-2.1.11-52.el7.x86_64
dmidecode-3.1-2.el7.x86_64
ebtables-2.0.10-16.el7.x86_64
jansson-2.10-1.el7.x86_64
lzo-2.06-8.el7.x86_64
libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
iproute-4.11.0-14.el7.x86_64
boost-thread-1.53.0-27.el7.x86_64
ipset-libs-6.38-2.el7.x86_64
hunspell-en-GB-0.20121024-6.el7.noarch
device-mapper-persistent-data-0.7.3-3.el7.x86_64
fuse-2.9.2-11.el7.x86_64
vim-minimal-7.4.160-5.el7.x86_64
libdb-utils-5.3.21-24.el7.x86_64
pinentry-0.8.1-17.el7.x86_64
libss-1.42.9-13.el7.x86_64
libpng-1.5.13-7.el7_2.x86_64
libselinux-utils-2.5-14.1.el7.x86_64
linux-firmware-20180911-69.git85c5d90.el7.noarch
ncurses-5.9-14.20130511.el7_4.x86_64
libmodman-2.0.1-8.el7.x86_64
snappy-1.1.0-3.el7.x86_64
gmp-6.0.0-15.el7.x86_64
dyninst-9.3.1-2.el7.x86_64
libverto-0.2.5-4.el7.x86_64
hardlink-1.0-19.el7.x86_64
libseccomp-2.3.1-3.el7.x86_64
libdnet-1.12-13.1.el7.x86_64
libfastjson-0.99.4-3.el7.x86_64
libsss_nss_idmap-1.16.2-13.el7.x86_64
lm_sensors-libs-3.4.0-6.20160601gitf9185e5.el7.x86_64
fuse-libs-2.9.2-11.el7.x86_64
libpipeline-1.2.3-3.el7.x86_64
libsss_idmap-1.16.2-13.el7.x86_64
p11-kit-trust-0.23.5-3.el7.x86_64
openssl-libs-1.0.2k-16.el7.x86_64
krb5-libs-1.15.1-34.el7.x86_64
python-2.7.5-76.el7.x86_64
gzip-1.5-10.el7.x86_64
python-six-1.9.0-2.el7.noarch
python-dateutil-1.5-7.el7.noarch
libmount-2.23.2-59.el7.x86_64
shared-mime-info-1.8-4.el7.x86_64
libxml2-python-2.9.1-6.el7_2.3.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64
gobject-introspection-1.56.1-1.el7.x86_64
pygobject2-2.28.6-11.el7.x86_64
cracklib-dicts-2.9.0-11.el7.x86_64
pam-1.1.8-22.el7.x86_64
python-lxml-3.2.1-4.el7.x86_64
m2crypto-0.21.1-17.el7.x86_64
binutils-2.27-34.base.el7.x86_64
gettext-0.19.8.1-2.el7.x86_64
desktop-file-utils-0.23-1.el7.x86_64
man-db-2.6.3-11.el7.x86_64
grubby-8.28-25.el7.x86_64
rhnlib-2.5.65-8.el7.noarch
python-kitchen-1.1.1-5.el7.noarch
python-slip-0.4.0-4.el7.noarch
python-linux-procfs-0.4.9-4.el7.noarch
pyliblzma-0.5.3-11.el7.x86_64
pyxattr-0.5.1-5.el7.x86_64
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
PyYAML-3.10-11.el7.x86_64
python2-futures-3.1.1-5.el7.noarch
python-magic-5.11-35.el7.noarch
python-schedutils-0.4-6.el7.x86_64
iwl100-firmware-39.31.5.1-69.el7.noarch
iwl3160-firmware-22.0.7.0-69.el7.noarch
redhat-indexhtml-7-13.el7.noarch
words-3.0-22.el7.noarch
alsa-firmware-1.0.28-2.el7.noarch
systemd-python-219-62.el7.x86_64
teamd-1.27-5.el7.x86_64
plymouth-core-libs-0.8.9-0.31.20140113.el7.x86_64
plymouth-0.8.9-0.31.20140113.el7.x86_64
python-gudev-147.2-7.el7.x86_64
rhn-setup-2.0.2-24.el7.x86_64
rhn-check-2.0.2-24.el7.x86_64
elfutils-0.172-2.el7.x86_64
abrt-cli-2.1.11-52.el7.x86_64
kbd-legacy-1.15.5-15.el7.noarch
firewalld-filesystem-0.5.3-5.el7.noarch
pm-utils-1.4.1-27.el7.x86_64
abrt-console-notification-2.1.11-52.el7.x86_64
NetworkManager-team-1.12.0-6.el7.x86_64
quota-4.01-17.el7.x86_64
vdo-6.1.1.125-3.el7.x86_64
selinux-policy-targeted-3.13.1-229.el7.noarch
subscription-manager-plugin-container-1.21.10-2.el7.x86_64
openssh-server-7.4p1-16.el7.x86_64
authconfig-6.2.8-30.el7.x86_64
sysstat-10.1.5-17.el7.x86_64
lshw-B.02.18-12.el7.x86_64
postfix-2.10.1-7.el7.x86_64
libreport-plugin-mailx-2.1.11-42.el7.x86_64
rsync-3.1.2-4.el7.x86_64
smartmontools-6.5-1.el7.x86_64
aic94xx-firmware-30-6.el7.noarch
irqbalance-1.0.7-11.el7.x86_64
at-3.1.13-24.el7.x86_64
chrony-3.2-2.el7.x86_64
ledmon-0.90-1.el7.x86_64
dracut-config-rescue-033-554.el7.x86_64
parted-3.1-29.el7.x86_64
systemtap-runtime-3.3-3.el7.x86_64
yum-utils-1.1.31-50.el7.noarch
redhat-support-tool-0.9.10-1.el7.noarch
bind-utils-9.9.4-72.el7.x86_64
man-pages-ja-20130615-3.el7.noarch
Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-7-3.1.el7.noarch
sssd-client-1.16.2-13.el7.x86_64
bash-completion-2.1-6.el7.noarch
e2fsprogs-1.42.9-13.el7.x86_64
blktrace-1.0.5-8.el7.x86_64
wget-1.14-18.el7.x86_64
kernel-tools-3.10.0-957.el7.x86_64
sg3_utils-1.37-17.el7.x86_64
bc-1.06.95-13.el7.x86_64
zip-3.0-11.el7.x86_64
nano-2.3.1-10.el7.x86_64
ed-1.9-4.el7.x86_64
strace-4.12-9.el7.x86_64
scl-utils-20130529-19.el7.x86_64
rfkill-0.4-10.el7.x86_64
bridge-utils-1.5-9.el7.x86_64
man-pages-overrides-7.6.2-1.el7.x86_64
iwl105-firmware-18.168.6.1-69.el7.noarch
iwl2030-firmware-18.168.6.1-69.el7.noarch
iwl7265-firmware-22.0.7.0-69.el7.noarch
iwl4965-firmware-228.61.2.24-69.el7.noarch
iwl6000g2b-firmware-17.168.5.2-69.el7.noarch
iwl6000-firmware-9.221.4.1-69.el7.noarch
iwl2000-firmware-18.168.6.1-69.el7.noarch
NetworkManager-config-server-1.12.0-6.el7.noarch
bind-libs-9.9.4-72.el7.x86_64
redhat-release-server-7.6-4.el7.x86_64
iwl3945-firmware-15.32.2.9-69.el7.noarch
logrotate-3.8.6-17.el7.x86_64
tzdata-2018e-3.el7.noarch
mailx-12.5-19.el7.x86_64
langtable-data-0.0.31-3.el7.noarch
fipscheck-1.4.1-6.el7.x86_64
subscription-manager-rhsm-certificates-1.21.10-2.el7.x86_64
libcurl-7.29.0-51.el7.x86_64
ncurses-base-5.9-14.20130511.el7_4.noarch
openldap-2.4.44-20.el7.x86_64
libstdc++-4.8.5-36.el7.x86_64
rpm-build-libs-4.11.3-35.el7.x86_64
nss-util-3.36.0-1.el7_5.x86_64
gpgme-1.3.2-5.el7.x86_64
zlib-1.2.7-18.el7.x86_64
python-urlgrabber-3.10-9.el7.noarch
libcom_err-1.42.9-13.el7.x86_64
ustr-1.0.4-16.el7.x86_64
chkconfig-1.7.4-1.el7.x86_64
sgpio-1.2.0.10-13.el7.x86_64
readline-6.2-10.el7.x86_64
kpartx-0.4.9-123.el7.x86_64
libacl-2.2.51-14.el7.x86_64
cryptsetup-libs-2.0.3-3.el7.x86_64
libgpg-error-1.12-3.el7.x86_64
systemd-libs-219-62.el7.x86_64
gawk-4.0.2-4.el7_3.1.x86_64
elfutils-default-yama-scope-0.172-2.el7.noarch
expat-2.1.0-10.el7_3.x86_64
abrt-libs-2.1.11-52.el7.x86_64
libxslt-1.1.28-5.el7.x86_64
device-mapper-event-libs-1.02.149-8.el7.x86_64
diffutils-3.3-4.el7.x86_64
crontabs-1.11-6.20121102git.el7.noarch
e2fsprogs-libs-1.42.9-13.el7.x86_64
dbus-python-1.1.1-9.el7.x86_64
GeoIP-1.5.0-13.el7.x86_64
usermode-1.111-5.el7.x86_64
perl-parent-0.225-244.el7.noarch
device-mapper-event-1.02.149-8.el7.x86_64
perl-Text-ParseWords-3.29-4.el7.noarch
grub2-tools-2.02-0.76.el7.x86_64
perl-macros-5.16.3-293.el7.x86_64
virt-what-1.18-4.el7.x86_64
perl-Filter-1.49-3.el7.x86_64
dracut-network-033-554.el7.x86_64
perl-constant-1.27-2.el7.noarch
libreport-plugin-ureport-2.1.11-42.el7.x86_64
perl-Carp-1.26-244.el7.noarch
abrt-addon-kerneloops-2.1.11-52.el7.x86_64
perl-Pod-Simple-3.28-4.el7.noarch
lvm2-libs-2.02.180-8.el7.x86_64
libtool-ltdl-2.4.2-22.el7_3.x86_64
selinux-policy-3.13.1-229.el7.noarch
libnl3-cli-3.2.28-4.el7.x86_64
usb_modeswitch-2.5.1-1.el7.x86_64
tar-1.26-35.el7.x86_64
kmod-kvdo-6.1.1.125-5.el7.x86_64
libedit-3.0-12.20121213cvs.el7.x86_64
libdrm-2.4.91-3.el7.x86_64
slang-2.2.4-11.el7.x86_64
libreport-cli-2.1.11-42.el7.x86_64
sysvinit-tools-2.88-14.dsf.el7.x86_64
fxload-2002_04_11-16.el7.x86_64
yajl-2.0.4-4.el7.x86_64
abrt-addon-python-2.1.11-52.el7.x86_64
iptables-1.4.21-28.el7.x86_64
plymouth-scripts-0.8.9-0.31.20140113.el7.x86_64
libteam-1.27-5.el7.x86_64
rhn-client-tools-2.0.2-24.el7.x86_64
less-458-9.el7.x86_64
rhnsd-5.0.13-10.el7.x86_64
acl-2.2.51-14.el7.x86_64
libestr-0.1.9-2.el7.x86_64
libdwarf-20130207-4.el7.x86_64
firewalld-0.5.3-5.el7.noarch
make-3.82-23.el7.x86_64
tuned-2.10.0-6.el7.noarch
mozjs17-17.0.0-20.el7.x86_64
open-vm-tools-10.2.5-3.el7.x86_64
libconfig-1.4.9-5.el7.x86_64
grub2-2.02-0.76.el7.x86_64
libicu-50.1.2-17.el7.x86_64
setuptool-1.19.11-8.el7.x86_64
kernel-tools-libs-3.10.0-957.el7.x86_64
mlocate-0.26-8.el7.x86_64
pth-2.0.7-23.el7.x86_64
psacct-6.6.1-13.el7.x86_64
libmspack-0.5-0.6.alpha.el7.x86_64
biosdevname-0.7.3-1.el7.x86_64
libsysfs-2.1.0-16.el7.x86_64
mdadm-4.1-rc1_2.el7.x86_64
numactl-libs-2.0.9-7.el7.x86_64
net-tools-2.0-0.24.20131004git.el7.x86_64
libtasn1-4.10-1.el7.x86_64
kpatch-0.6.1-1.el7.noarch
coreutils-8.22-23.el7.x86_64
tcpdump-4.9.2-3.el7.x86_64
libblkid-2.23.2-59.el7.x86_64
yum-langpacks-0.4.2-7.el7.noarch
python-iniparse-0.4-9.el7.noarch
xfsdump-3.1.7-1.el7.x86_64
glib2-2.56.1-2.el7.x86_64
Red_Hat_Enterprise_Linux-Release_Notes-7-en-US-7-2.el7.noarch
newt-python-0.52.15-4.el7.x86_64
mtr-0.85-7.el7.x86_64
python-gobject-base-3.22.0-1.el7_4.1.x86_64
tcsh-6.18.01-15.el7.x86_64
libpwquality-1.2.3-5.el7.x86_64
hunspell-en-0.20121024-6.el7.noarch
python-ethtool-0.8-7.el7.x86_64
bpftool-3.10.0-957.el7.x86_64
gettext-libs-0.19.8.1-2.el7.x86_64
time-1.7-45.el7.x86_64
xdg-utils-1.1.0-0.17.20120809git.el7.noarch
traceroute-2.0.22-2.el7.x86_64
pyOpenSSL-0.13.1-4.el7.x86_64
dosfstools-3.0.20-10.el7.x86_64
libselinux-python-2.5-14.1.el7.x86_64
iwl5000-firmware-8.83.5.1_1-69.el7.noarch
python-configobj-4.7.2-7.el7.noarch
iwl6000g2a-firmware-17.168.5.3-69.el7.noarch
python-backports-1.0-8.el7.x86_64
iwl135-firmware-18.168.6.1-69.el7.noarch
python-perf-3.10.0-957.el7.x86_64
iwl1000-firmware-39.31.5.1-69.el7.noarch
langtable-python-0.0.31-3.el7.noarch

ソフトウェアの選択

最小限のインストールを選択したときのrpm一覧

[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

[root@localhost ~]# uname -a
Linux localhost.localdomain 3.10.0-957.el7.x86_64 #1 SMP Thu Oct 4 20:48:51 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

[root@localhost ~]# rpm -qa
dhcp-common-4.2.5-68.el7_5.1.x86_64
redhat-release-server-7.6-4.el7.x86_64
grub2-pc-2.02-0.76.el7.x86_64
setup-2.8.71-10.el7.noarch
device-mapper-event-1.02.149-8.el7.x86_64
tzdata-2018e-3.el7.noarch
wpa_supplicant-2.6-12.el7.x86_64
grub2-pc-modules-2.02-0.76.el7.noarch
pciutils-3.5.1-3.el7.x86_64
subscription-manager-rhsm-certificates-1.21.10-2.el7.x86_64
libpciaccess-0.14-1.el7.x86_64
emacs-filesystem-24.3-22.el7.noarch
ebtables-2.0.10-16.el7.x86_64
nss-softokn-freebl-3.36.0-5.el7_5.x86_64
alsa-firmware-1.0.28-2.el7.noarch
glibc-2.17-260.el7.x86_64
teamd-1.27-5.el7.x86_64
nss-util-3.36.0-1.el7_5.x86_64
dbus-python-1.1.1-9.el7.x86_64
ncurses-libs-5.9-14.20130511.el7_4.x86_64
python-firewall-0.5.3-5.el7.noarch
libsepol-2.5-10.el7.x86_64
plymouth-core-libs-0.8.9-0.31.20140113.el7.x86_64
libselinux-2.5-14.1.el7.x86_64
plymouth-0.8.9-0.31.20140113.el7.x86_64
info-5.1-5.el7.x86_64
python-gudev-147.2-7.el7.x86_64
libxml2-2.9.1-6.el7_2.3.x86_64
rhn-setup-2.0.2-24.el7.x86_64
libuuid-2.23.2-59.el7.x86_64
rhn-check-2.0.2-24.el7.x86_64
bzip2-libs-1.0.6-13.el7.x86_64
libestr-0.1.9-2.el7.x86_64
chkconfig-1.7.4-1.el7.x86_64
bind-libs-lite-9.9.4-72.el7.x86_64
grep-2.20-3.el7.x86_64
dracut-network-033-554.el7.x86_64
gawk-4.0.2-4.el7_3.1.x86_64
firewalld-0.5.3-5.el7.noarch
elfutils-libelf-0.172-2.el7.x86_64
rsyslog-8.24.0-34.el7.x86_64
libgpg-error-1.12-3.el7.x86_64
subscription-manager-1.21.10-2.el7.x86_64
libattr-2.4.46-13.el7.x86_64
open-vm-tools-10.2.5-3.el7.x86_64
libcap-2.22-9.el7.x86_64
lvm2-2.02.180-8.el7.x86_64
audit-libs-2.8.4-4.el7.x86_64
grub2-2.02-0.76.el7.x86_64
expat-2.1.0-10.el7_3.x86_64
openssh-server-7.4p1-16.el7.x86_64
sqlite-3.7.17-8.el7.x86_64
postfix-2.10.1-7.el7.x86_64
diffutils-3.3-4.el7.x86_64
kernel-3.10.0-957.el7.x86_64
libnl3-3.2.28-4.el7.x86_64
lshw-B.02.18-12.el7.x86_64
file-5.11-35.el7.x86_64
aic94xx-firmware-30-6.el7.noarch
libtool-ltdl-2.4.2-22.el7_3.x86_64
chrony-3.2-2.el7.x86_64
libmnl-1.0.3-7.el7.x86_64
parted-3.1-29.el7.x86_64
libnl3-cli-3.2.28-4.el7.x86_64
man-db-2.6.3-11.el7.x86_64
tar-1.26-35.el7.x86_64
sudo-1.8.23-3.el7.x86_64
p11-kit-0.23.5-3.el7.x86_64
Red_Hat_Enterprise_Linux-Release_Notes-7-en-US-7-2.el7.noarch
groff-base-1.22.2-8.el7.x86_64
btrfs-progs-4.9.1-1.el7.x86_64
xz-5.2.2-1.el7.x86_64
iprutils-2.4.16.1-1.el7.x86_64
libgomp-4.8.5-36.el7.x86_64
kernel-tools-3.10.0-957.el7.x86_64
libedit-3.0-12.20121213cvs.el7.x86_64
iwl5000-firmware-8.83.5.1_1-69.el7.noarch
newt-0.52.15-4.el7.x86_64
iwl6000g2a-firmware-17.168.5.3-69.el7.noarch
ethtool-4.8-9.el7.x86_64
iwl2030-firmware-18.168.6.1-69.el7.noarch
libnfnetlink-1.0.1-4.el7.x86_64
ivtv-firmware-20080701-26.el7.noarch
tcp_wrappers-libs-7.6-77.el7.x86_64
iwl135-firmware-18.168.6.1-69.el7.noarch
hostname-3.13-3.el7.x86_64
iwl5150-firmware-8.24.2.2-69.el7.noarch
lz4-1.7.5-2.el7.x86_64
iwl1000-firmware-39.31.5.1-69.el7.noarch
iptables-1.4.21-28.el7.x86_64
NetworkManager-config-server-1.12.0-6.el7.noarch
less-458-9.el7.x86_64
iwl7260-firmware-22.0.7.0-69.el7.noarch
ipset-libs-6.38-2.el7.x86_64
iwl3945-firmware-15.32.2.9-69.el7.noarch
device-mapper-persistent-data-0.7.3-3.el7.x86_64
vim-minimal-7.4.160-5.el7.x86_64
libdb-utils-5.3.21-24.el7.x86_64
libss-1.42.9-13.el7.x86_64
libpng-1.5.13-7.el7_2.x86_64
GeoIP-1.5.0-13.el7.x86_64
linux-firmware-20180911-69.git85c5d90.el7.noarch
mozjs17-17.0.0-20.el7.x86_64
libicu-50.1.2-17.el7.x86_64
libnl-1.1.4-3.el7.x86_64
libverto-0.2.5-4.el7.x86_64
pth-2.0.7-23.el7.x86_64
sg3_utils-libs-1.37-17.el7.x86_64
libmspack-0.5-0.6.alpha.el7.x86_64
lsscsi-0.27-6.el7.x86_64
p11-kit-trust-0.23.5-3.el7.x86_64
coreutils-8.22-23.el7.x86_64
krb5-libs-1.15.1-34.el7.x86_64
python-2.7.5-76.el7.x86_64
gzip-1.5-10.el7.x86_64
python-iniparse-0.4-9.el7.noarch
cracklib-2.9.0-11.el7.x86_64
glib2-2.56.1-2.el7.x86_64
newt-python-0.52.15-4.el7.x86_64
python-gobject-base-3.22.0-1.el7_4.1.x86_64
cracklib-dicts-2.9.0-11.el7.x86_64
pam-1.1.8-22.el7.x86_64
python-six-1.9.0-2.el7.noarch
m2crypto-0.21.1-17.el7.x86_64
gettext-libs-0.19.8.1-2.el7.x86_64
pygobject2-2.28.6-11.el7.x86_64
pkgconfig-0.27.1-4.el7.x86_64
xdg-utils-1.1.0-0.17.20120809git.el7.noarch
pyOpenSSL-0.13.1-4.el7.x86_64
libselinux-python-2.5-14.1.el7.x86_64
python-ipaddress-1.0.16-2.el7.noarch
python-configobj-4.7.2-7.el7.noarch
python-inotify-0.9.4-4.el7.noarch
python-dmidecode-3.12.2-3.el7.x86_64
python-backports-1.0-8.el7.x86_64
python-setuptools-0.9.8-7.el7.noarch
python-magic-5.11-35.el7.noarch
openssl-1.0.2k-16.el7.x86_64
fipscheck-1.4.1-6.el7.x86_64
mariadb-libs-5.5.60-1.el7_5.x86_64
redhat-logos-70.0.3-7.el7.noarch
binutils-2.27-34.base.el7.x86_64
nss-3.36.0-7.el7_5.x86_64
nss-tools-3.36.0-7.el7_5.x86_64
curl-7.29.0-51.el7.x86_64
rpm-4.11.3-35.el7.x86_64
libuser-0.60-9.el7.x86_64
rpm-build-libs-4.11.3-35.el7.x86_64
redhat-support-lib-python-0.9.7-6.el7.noarch
gpgme-1.3.2-5.el7.x86_64
passwd-0.79-4.el7.x86_64
python-urlgrabber-3.10-9.el7.noarch
alsa-lib-1.1.6-2.el7.x86_64
fuse-libs-2.9.2-11.el7.x86_64
libpipeline-1.2.3-3.el7.x86_64
json-c-0.11-4.el7_0.x86_64
ustr-1.0.4-16.el7.x86_64
shadow-utils-4.1.5.1-25.el7.x86_64
libdaemon-0.14-7.el7.x86_64
procps-ng-3.3.10-23.el7.x86_64
device-mapper-1.02.149-8.el7.x86_64
dracut-033-554.el7.x86_64
device-mapper-libs-1.02.149-8.el7.x86_64
elfutils-libs-0.172-2.el7.x86_64
dbus-libs-1.10.24-12.el7.x86_64
dbus-1.10.24-12.el7.x86_64
hwdata-0.252-9.1.el7.x86_64
polkit-pkla-compat-0.1-4.el7.x86_64
initscripts-9.49.46-1.el7.x86_64
device-mapper-event-libs-1.02.149-8.el7.x86_64
policycoreutils-2.5-29.el7.x86_64
grub2-tools-2.02-0.76.el7.x86_64
cronie-anacron-1.4.11-19.el7.x86_64
NetworkManager-libnm-1.12.0-6.el7.x86_64
openssh-7.4p1-16.el7.x86_64
virt-what-1.18-4.el7.x86_64
libgcc-4.8.5-36.el7.x86_64
grub2-tools-extra-2.02-0.76.el7.x86_64
grub2-common-2.02-0.76.el7.noarch
selinux-policy-3.13.1-229.el7.noarch
filesystem-3.2-25.el7.x86_64
lvm2-libs-2.02.180-8.el7.x86_64
basesystem-10.0-7.el7.noarch
NetworkManager-1.12.0-6.el7.x86_64
kbd-legacy-1.15.5-15.el7.noarch
python-hwdata-1.7.3-4.el7.noarch
kbd-misc-1.15.5-15.el7.noarch
libdrm-2.4.91-3.el7.x86_64
ncurses-base-5.9-14.20130511.el7_4.noarch
fxload-2002_04_11-16.el7.x86_64
glibc-common-2.17-260.el7.x86_64
alsa-tools-firmware-1.1.0-1.el7.x86_64
nspr-4.19.0-1.el7_5.x86_64
dbus-glib-0.100-7.el7.x86_64
libstdc++-4.8.5-36.el7.x86_64
python-slip-dbus-0.4.0-4.el7.noarch
bash-4.2.46-31.el7.x86_64
python-pyudev-0.15-9.el7.noarch
pcre-8.32-17.el7.x86_64
plymouth-scripts-0.8.9-0.31.20140113.el7.x86_64
zlib-1.2.7-18.el7.x86_64
libgudev1-219-62.el7.x86_64
xz-libs-5.2.2-1.el7.x86_64
rhn-client-tools-2.0.2-24.el7.x86_64
sed-4.2.2-5.el7.x86_64
yum-rhn-plugin-2.0.1-10.el7.noarch
libcom_err-1.42.9-13.el7.x86_64
rhnsd-5.0.13-10.el7.x86_64
popt-1.13-16.el7.x86_64
bind-license-9.9.4-72.el7.noarch
libdb-5.3.21-24.el7.x86_64
dhclient-4.2.5-68.el7_5.1.x86_64
readline-6.2-10.el7.x86_64
firewalld-filesystem-0.5.3-5.el7.noarch
which-2.20-7.el7.x86_64
kexec-tools-2.0.15-21.el7.x86_64
libffi-3.0.13-18.el7.x86_64
tuned-2.10.0-6.el7.noarch
libgcrypt-1.5.3-14.el7.x86_64
NetworkManager-team-1.12.0-6.el7.x86_64
libacl-2.2.51-14.el7.x86_64
NetworkManager-tui-1.12.0-6.el7.x86_64
libcap-ng-0.7.5-4.el7.x86_64
selinux-policy-targeted-3.13.1-229.el7.noarch
cpio-2.11-27.el7.x86_64
openssh-clients-7.4p1-16.el7.x86_64
libxslt-1.1.28-5.el7.x86_64
authconfig-6.2.8-30.el7.x86_64
lua-5.1.4-15.el7.x86_64
audit-2.8.4-4.el7.x86_64
findutils-4.5.11-6.el7.x86_64
kbd-1.15.5-15.el7.x86_64
file-libs-5.11-35.el7.x86_64
biosdevname-0.7.3-1.el7.x86_64
pciutils-libs-3.5.1-3.el7.x86_64
irqbalance-1.0.7-11.el7.x86_64
libaio-0.3.109-13.el7.x86_64
microcode_ctl-2.1-47.el7.x86_64
xmlsec1-1.2.20-7.el7_4.x86_64
dracut-config-rescue-033-554.el7.x86_64
nss-softokn-3.36.0-5.el7_5.x86_64
redhat-support-tool-0.9.10-1.el7.noarch
libassuan-2.1.0-3.el7.x86_64
Red_Hat_Enterprise_Linux-Release_Notes-7-ja-JP-7-3.1.el7.noarch
e2fsprogs-libs-1.42.9-13.el7.x86_64
e2fsprogs-1.42.9-13.el7.x86_64
kmod-libs-20-23.el7.x86_64
xfsprogs-4.5.0-18.el7.x86_64
libidn-1.28-4.el7.x86_64
sg3_utils-1.37-17.el7.x86_64
libunistring-0.9.3-9.el7.x86_64
libsysfs-2.1.0-16.el7.x86_64
slang-2.2.4-11.el7.x86_64
iwl105-firmware-18.168.6.1-69.el7.noarch
gdbm-1.10-8.el7.x86_64
rootfiles-8.1-11.el7.noarch
sysvinit-tools-2.88-14.dsf.el7.x86_64
iwl7265-firmware-22.0.7.0-69.el7.noarch
jansson-2.10-1.el7.x86_64
iwl4965-firmware-228.61.2.24-69.el7.noarch
lzo-2.06-8.el7.x86_64
iwl6000g2b-firmware-17.168.5.2-69.el7.noarch
keyutils-libs-1.5.8-3.el7.x86_64
iwl6000-firmware-9.221.4.1-69.el7.noarch
libnetfilter_conntrack-1.0.6-1.el7_3.x86_64
iwl2000-firmware-18.168.6.1-69.el7.noarch
iproute-4.11.0-14.el7.x86_64
iwl100-firmware-39.31.5.1-69.el7.noarch
libteam-1.27-5.el7.x86_64
iwl3160-firmware-22.0.7.0-69.el7.noarch
ipset-6.38-2.el7.x86_64
iwl6050-firmware-41.28.5.1-69.el7.noarch
acl-2.2.51-14.el7.x86_64
fuse-2.9.2-11.el7.x86_64
pinentry-0.8.1-17.el7.x86_64
make-3.82-23.el7.x86_64
freetype-2.8-12.el7.x86_64
libselinux-utils-2.5-14.1.el7.x86_64
ncurses-5.9-14.20130511.el7_4.x86_64
snappy-1.1.0-3.el7.x86_64
gmp-6.0.0-15.el7.x86_64
kernel-tools-libs-3.10.0-957.el7.x86_64
hardlink-1.0-19.el7.x86_64
libseccomp-2.3.1-3.el7.x86_64
dmidecode-3.1-2.el7.x86_64
libfastjson-0.99.4-3.el7.x86_64
libtasn1-4.10-1.el7.x86_64
ca-certificates-2018.2.22-70.0.el7_5.noarch
openssl-libs-1.0.2k-16.el7.x86_64
python-libs-2.7.5-76.el7.x86_64
libblkid-2.23.2-59.el7.x86_64
python-decorator-3.4.0-3.el7.noarch
python-dateutil-1.5-7.el7.noarch
libmount-2.23.2-59.el7.x86_64
shared-mime-info-1.8-4.el7.x86_64
gobject-introspection-1.56.1-1.el7.x86_64
libcroco-0.6.12-4.el7.x86_64
libpwquality-1.2.3-5.el7.x86_64
python-lxml-3.2.1-4.el7.x86_64
python-ethtool-0.8-7.el7.x86_64
cyrus-sasl-lib-2.1.26-23.el7.x86_64
gettext-0.19.8.1-2.el7.x86_64
yum-metadata-parser-1.1.4-10.el7.x86_64
desktop-file-utils-0.23-1.el7.x86_64
grubby-8.28-25.el7.x86_64
rhnlib-2.5.65-8.el7.noarch
python-slip-0.4.0-4.el7.noarch
python-linux-procfs-0.4.9-4.el7.noarch
pyliblzma-0.5.3-11.el7.x86_64
libxml2-python-2.9.1-6.el7_2.3.x86_64
pyxattr-0.5.1-5.el7.x86_64
python-backports-ssl_match_hostname-3.5.0.1-1.el7.noarch
python-perf-3.10.0-957.el7.x86_64
python-schedutils-0.4-6.el7.x86_64
fipscheck-lib-1.4.1-6.el7.x86_64
xmlsec1-openssl-1.2.20-7.el7_4.x86_64
libssh2-1.4.3-12.el7.x86_64
logrotate-3.8.6-17.el7.x86_64
nss-pem-1.0.3-5.el7.x86_64
nss-sysinit-3.36.0-7.el7_5.x86_64
libcurl-7.29.0-51.el7.x86_64
rpm-libs-4.11.3-35.el7.x86_64
openldap-2.4.44-20.el7.x86_64
gnupg2-2.0.22-5.el7_5.x86_64
rpm-python-4.11.3-35.el7.x86_64
subscription-manager-rhsm-1.21.10-2.el7.x86_64
pygpgme-0.3-9.el7.x86_64
python-pycurl-7.19.0-19.el7.x86_64
yum-3.4.3-161.el7.noarch
libndp-1.2-7.el7.x86_64
numactl-libs-2.0.9-7.el7.x86_64
libdnet-1.12-13.1.el7.x86_64
libsmartcols-2.23.2-59.el7.x86_64
libsemanage-2.5-14.el7.x86_64
libutempter-1.1.6-4.el7.x86_64
qrencode-libs-3.4.1-3.el7.x86_64
kpartx-0.4.9-123.el7.x86_64
util-linux-2.23.2-59.el7.x86_64
kmod-20-23.el7.x86_64
cryptsetup-libs-2.0.3-3.el7.x86_64
systemd-libs-219-62.el7.x86_64
systemd-219-62.el7.x86_64
elfutils-default-yama-scope-0.172-2.el7.noarch
polkit-0.112-18.el7.x86_64
iputils-20160308-10.el7.x86_64
systemd-sysv-219-62.el7.x86_64
grub2-tools-minimal-2.02-0.76.el7.x86_64
os-prober-1.58-9.el7.x86_64
crontabs-1.11-6.20121102git.el7.noarch
cronie-1.4.11-19.el7.x86_64
dhcp-libs-4.2.5-68.el7_5.1.x86_64
usermode-1.111-5.el7.x86_64

# logger.ps1
class Logger{
    [string]$file
    [bool]$isWriteHost
    [bool]$isOutputFile

    Logger(){
        $this.isWriteHost = $TRUE
        $this.isOutputFile = $TRUE
    }

    [void]setLogfile([string]$file){
        $this.file = $file
    }

    [string]buildMessage([string]$message){
        $dt = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
        $message = ("{0} $message" -f $dt, $message)
        return $message
    }

    [void]outputFile([string]$message){
        if($this.isOutputFile){
            write-output $message | Add-content $this.file -Encoding Default
        }
    }

    [void]outputConsole([string]$message){
        if($this.isWriteHost){
            write-host($message)
        }
    }
}

class MyLogger:Logger{
    [int]$logLevel
    [System.Collections.Hashtable]$hash_level

    logger(){
        $this.logLebel = 1
    }

    [void]setLevel([string]$level){
        $this.hash_level = new-object System.Collections.Hashtable
        $this.hash_level."DEBUG" = 1
        $this.hash_level."INFO" = 2
        $this.hash_level."WARNING" = 3
        $this.hash_level."ERROR" = 4
        $this.hash_level."CRITICAL" = 5
        $this.logLevel = $this.hash_level.$level
    }

    [void]output([string]$message,[int]$num){
        $num = $num
        $message = $this.buildMessage($message)
        if($num -ge $this.logLevel){
            $this.outputFile($message)
            $this.outputConsole($message)
        }
    }

    [void]debug([string]$msg){
        $message = ("DEBUG: {0}" -f $msg)
        $this.output($message,1)
    }
    [void]info([string]$msg){
        $message = ("INFO: {0}" -f $msg)
        $this.output($message,2)
    }
    [void]warning([string]$msg){
        $message = ("WARNING: {0}" -f $msg)
        $this.output($message,3)
    }
    [void]error([string]$msg){
        $message = ("ERROR: {0}" -f $msg)
        $this.output($message,4)
    }
    [void]critical([string]$msg){
        $message = ("CRITICAL: {0}" -f $msg)
        $this.output($message,5)
    }
}

使い方

function outlog(){
    $logger.debug("test loglevel is debug.")
    $logger.info("test loglevel is info.")
    $logger.warning("test loglevel is warning.")
    $logger.error("test loglevel is error.")
    $logger.critical("test loglevel is critical.")
}

. E:\my-document\Programing\powershell\logger.ps1

del .\test.log

#-------------------------------------#
$logfile = "test.log"
$logger = new-object MyLogger
$logger.setLogfile($logfile)

write-host("LogLevel = 指定なし(DEBUG), isWriteHost = 指定なし(TRUE), isOutputFile = 指定なし()TRUE")
outlog
sleep(5)

write-host("")
write-host("LogLevel = WARNING, isWriteHost = TRUE, isOutputFile = TRUE")
$logger.isWritehost = $TRUE
$logger.isOutputFile = $TRUE
$logger.setLevel("WARNING")
outlog
sleep(5)

write-host("")
write-host("LogLevel = CRITICAL, isWriteHost = FALSE, isOutputFile = TRUE")
$logger.isWritehost = $FALSE
$logger.isOutputFile = $TRUE
$logger.setLevel("CRITICAL")
outlog
sleep(5)

write-host("")
write-host("LogLevel = DEBUG, isWriteHost = TRUE, isOutputFile = FALSE")
$logger.isWritehost = $TRUE
$logger.isOutputFile = $FALSE
$logger.setLevel("DEBUG")
outlog
sleep(5)

 

■ディレクトリ構造
~/www/index.html
~/www/cgi-bin/input.py
※input.pyには実行権を与える

■Webサーバの起動
cd ~/www
python3 -m http.server --cgi 8000

■ソースコード index.html

<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="UTF-8">
        <title>test</title>
    </head>
    <body>
        <h1>テスト</h1>
        <form action="cgi-bin/input.py" method="post">
            <p><label>テキスト入力:<input type="text" name="mytext" size="20"></label></p>
            <p><input type="submit" value="送信"></p>
        </form>
    </body>
</html>

input.py 実行権を与える。

#!/usr/bin/python
# -*- coding: utf-8 -*-
import cgi
import sys
import io

html_body = """
<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="UTF-8">
        <title>受信したデータを表示</title>
    </head>
    <body>
        <h1>%s</h1>
    </body>
</html>
"""

form = cgi.FieldStorage()
s = form.getvalue('mytext', '')

if s == "a":
    print(html_body % "aです")
else:
    print(html_body % "aではないです")

 

環境:VMware WorkstationにKVMホストとなるRHEL7仮想マシンを作成し、KVMの仮想マシンの作成

■仮想ホストで以下のコマンドを実行する。

virt-install --name guest7 \
--vcpus=1 \
--memory 1024 \
--network network=default,model=virtio \
--location /var/lib/libvirt/images/rhel-server-7.6-x86_64-dvd.iso \
--os-variant rhel7.6 \
--disk pool=default,size=8,bus=virtio,format=qcow2 \
--nographics \
--initrd-inject /var/lib/libvirt/kickstart/ks.cfg \
--extra-args="ks=file:/ks.cfg console=ttyS0,115200n8"

【説明】

・ディスクはデフォルトプールにサイズ5Gbで作成する。

--disk pool=default,size=8,bus=virtio,format=qcow2

・OSインストール終了後、仮想マシンのログインプロンプトが表示され、ログインすることが出来る。

・予め作成したキックスタートファイルを指定

--initrd-inject /path/to/キックスタートファイル

--extra-args="ks=file:/キックスタートファイル

■キックスタートファイル

[root@localhost ~]# ls -l /var/lib/libvirt/kickstart/ks.cfg
-rw-rw-rw-. 1 root root 2827 Feb 29 22:08 /var/lib/libvirt/kickstart/ks.cfg

# System authorization information
auth --useshadow --enablemd5

# Install OS instead of upgrade
install

# Use CDROM installation media
cdrom

# Use text mode install
text

# Firewall configuration
firewall --disable

# manual setting 
firstboot --disable

# locale setting
keyboard --vckeymap=us --xlayouts='us','jp'
lang en_US.UTF-8 --addsupport=ja_JP.UTF-8
timezone Asia/Tokyo --isUtc

# Network configuration
network  --bootproto=dhcp --device=link --activate
network  --hostname=guest7

# Reboot after installation
reboot

# Root password
# rootpw --iscrypted $1$mERvBY$s68Nunh1YclDC.3C0YGC8.
rootpw --plaintext password

# selinux configuration
selinux --disabled

# System services
services --enabled="chronyd"

# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda

# Clear the Master Boot Record
zerombr

# Partition clearing information
clearpart --all --initlabel

# Disk partitioning information
part /boot --fstype="xfs" --size=300
part swap --fstype="swap" --size=512
part / --fstype="xfs" --size=5120

# Run script at finish os intall.
%post
/usr/sbin/adduser guest1
/usr/sbin/usermod -p '$1$mERvBY$s68Nunh1YclDC.3C0YGC8.' guest1
/usr/bin/chfn -f "guest1" guest1
echo '# add host1 ' >> /etc/hosts
echo '# add host2' >> /etc/hosts
/bin/echo done
%end

# Software Setting
%packages
@^infrastructure-server-environment
@base
@core
@virtualization-hypervisor
binutils
chrony
ftp
gcc
kernel-devel
kexec-tools
make
open-vm-tools
patch
%end

# Kdump configuration
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end

 

指定したディレクトリを再帰的にlsし、
ファイルをファイルサイズの降順に表示する。

#!/usr/bin/perl
#
use strict;

my @array = ();
my $tmp;
my $rankedFile;

my $dir = shift @ARGV;
my $length = shift @ARGV;
if (!(defined($dir))) {
    print("Please specify the dir.\n");
    exit;
}
if (!(defined($length))) {
    print("Please specify the ranking.\n");
    exit;
}

# Ranking初期化
my $i = 0;
while($length > $i){
    push(@array, '0,-');
    $i++;
}

sub reflexiveFile{
    my $dir = shift;
    my @list = ();

    opendir(DIR, $dir) or die("Can not open directory:$dir ($!)");
    @list = readdir(DIR);
    closedir(DIR);

    foreach my $file ( sort @list){
        next if ($file =~ /^\.{1,2}$/ );
        next if ( -l "$dir/$file");
        if( -d "$dir/$file" ){
            reflexiveFile("$dir/$file");
        } else {
            my $fs = -s "$dir/$file";
            my $f = "$fs,$dir/$file";
            next if(getFileSize($array[0]) >= $fs);
            ranking($f);
        }
    }
}

sub ranking{
    $array[0] = shift;

    for ( my $i = 1; $i < $length;$i++){
        $tmp = $i;
        $rankedFile = $array[$i]; # Ranking[$i]のファイル
        while( ($tmp > 0 ) and ( getFileSize($array[$tmp - 1]) > getFileSize($array[$i]) ) ){
            $array[$tmp] = $array[$tmp - 1];
            $tmp = $tmp - 1;
        }
        $array[$tmp] = $rankedFile;
    }
}

sub getFileSize{
    my @sn = split(/,/,shift);
    return $sn[0];
}

sub getFileName{
    my @sn = split(/,/,shift);
    return $sn[1];
}

sub print_array{
    @array = @_;
    @array = sort {$b<=>$a} @array;
    for (my $j=0; $j < $length; $j++){
            my $size = getFileSize($array[$j]);
            my $name = getFileName($array[$j]);
            print "$size,$name\n";
    }
}

reflexiveFile($dir);
print_array(@array);