質問するログイン新規登録

質問編集履歴

3

パッケージの確認追加

2016/03/14 23:43

投稿

kurokoSin
kurokoSin

スコア133

title CHANGED
File without changes
body CHANGED
@@ -26,8 +26,37 @@
26
26
  # rpm -q firewalld
27
27
  パッケージ firewalld はインストールされていません。
28
28
  #
29
+ # yum provides /sbin/iptables
30
+ 読み込んだプラグイン:fastestmirror
31
+ Determining fastest mirrors
32
+ * base: www.ftp.ne.jp
33
+ * extras: www.ftp.ne.jp
34
+ * updates: www.ftp.ne.jp
35
+ iptables-1.4.21-16.el7.x86_64 : Tools for managing Linux kernel packet filtering capabilities
36
+ リポジトリー : @anaconda
37
+ 一致 :
38
+ ファイル名 : /sbin/iptables
39
+ #
40
+ # rpm -q iptables
41
+ iptables-1.4.21-16.el7.x86_64
42
+ #
43
+ # yum provides /etc/sysconfig/iptables
44
+ 読み込んだプラグイン:fastestmirror
45
+ Loading mirror speeds from cached hostfile
46
+ * base: www.ftp.ne.jp
47
+ * extras: www.ftp.ne.jp
48
+ * updates: www.ftp.ne.jp
49
+ iptables-services-1.4.21-16.el7.x86_64 : iptables and ip6tables services for iptables
50
+ リポジトリー : base
51
+ 一致 :
52
+ ファイル名 : /etc/sysconfig/iptables
53
+ #
54
+ # rpm -q iptables-services
55
+ パッケージ iptables-services はインストールされていません。
56
+ #
29
57
  ```
30
58
 
59
+
31
60
  サービスの検索
32
61
  ```
33
62
  # systemctl | grep fire

2

調査結果の追加

2016/03/14 23:43

投稿

kurokoSin
kurokoSin

スコア133

title CHANGED
File without changes
body CHANGED
@@ -78,9 +78,54 @@
78
78
  #
79
79
  ```
80
80
 
81
+ パッケージのインストール内容の確認
82
+ ```
83
+ # head -50 anaconda-ks.cfg
84
+ #version=DEVEL
85
+ # System authorization information
86
+ auth --enableshadow --passalgo=sha512
87
+ # Use CDROM installation media
88
+ cdrom
89
+ # Use graphical install
90
+ graphical
91
+ # Run the Setup Agent on first boot
92
+ firstboot --enable
93
+ # Keyboard layouts
94
+ keyboard --vckeymap=jp --xlayouts='jp'
95
+ # System language
96
+ lang ja_JP.UTF-8
97
+
98
+ # Network information
99
+ network --bootproto=dhcp --device=enp0s3 --onboot=off --ipv6=auto
100
+ network --hostname=localhost.localdomain
101
+
102
+ # Root password
103
+ rootpw --iscrypted $6$vz1MgIngTE.aEkF6$0TU1ilFovj3cA22S2BLkzUx.b7vsn5nkJmIylAJArKX4y33Ge5qmYx3iAV1rME3CKOgjg3uY7mDXlLLCRAkcN/
104
+ # System timezone
105
+ timezone Asia/Tokyo --isUtc
106
+ # System bootloader configuration
107
+ bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
108
+ autopart --type=lvm
109
+ # Partition clearing information
110
+ clearpart --none --initlabel
111
+
112
+ %packages
113
+ @^minimal
114
+ @core
115
+ kexec-tools
116
+
117
+ %end
118
+
119
+ %addon com_redhat_kdump --enable --reserve-mb='auto'
120
+
121
+ %end
122
+ #
123
+ ```
124
+
81
125
  ###補足情報(言語/FW/ツール等のバージョンなど)
82
126
 
83
127
  |項目 |情報 |
84
128
  |:---|:---|
85
129
  |ゲストOS |CentOS7.2.1511 minimal 64bit |
130
+ |isoイメージ |CentOS-7-x86_64-Minimal-1511.iso |
86
131
  |ホストOS |MacOSX |

1

調査内容の追加。(rpm でfirewalldの確認。サービスの確認。)

2016/03/05 01:55

投稿

kurokoSin
kurokoSin

スコア133

title CHANGED
File without changes
body CHANGED
@@ -21,11 +21,22 @@
21
21
 
22
22
 
23
23
  ### やったこと
24
+ パッケージの確認
25
+ ```
26
+ # rpm -q firewalld
27
+ パッケージ firewalld はインストールされていません。
28
+ #
29
+ ```
24
30
 
25
31
  サービスの検索
26
32
  ```
27
33
  # systemctl | grep fire
28
34
  #
35
+ # systemctl status firewalld
36
+ ● firewalld.service
37
+ Loaded: not-found (Reason: No such file or directory)
38
+ Active: inactive (dead)
39
+ #
29
40
  # systemctl | grep ipta
30
41
  #
31
42
  ```
@@ -40,6 +51,13 @@
40
51
  iptables-save
41
52
  #
42
53
  ```
54
+ /usr/lib配下の確認
55
+ ```
56
+ # ls /usr/lib | grep ire
57
+ #
58
+ # ls /etc | grep ire
59
+ #
60
+ ```
43
61
 
44
62
  iptablesの設定ファイルの検索
45
63
  ```