有効的なEX200問題集はJPNTest.com提供され、EX200試験に合格することに役に立ちます!JPNTest.comは今最新EX200試験問題集を提供します。JPNTest.com EX200試験問題集はもう更新されました。ここでEX200問題集のテストエンジンを手に入れます。
EX200問題集最新版のアクセス
「69問、30% ディスカウント、特別な割引コード:JPNshiken」
パート1(Node1サーバー上)
タスク14[SELinuxセキュリティの管理]
非標準ポートを使用してコンテンツを提供するシステムで実行されているWebサーバーを構成します(82)
正解:
* [root @ node1〜]#curl http://node1.domain15.example.com
curl:(7)node1.domain15.example.comポート80への接続に失敗しました:接続が拒否されました
[root @ node1〜]#yum install httpd
[root @ node1〜]#systemctl enable --now httpd
シンボリックリンク/etc/systemd/system/multi-user.target.wants/httpd.service→/usr/lib/systemd/system/httpd.serviceを作成しました。
[root @ node1〜]#systemctl start httpd
[root @ node1〜]#systemctl status httpd
ステータス:「実行中、リッスン中:ポート80」
* [root @ node1〜]#wget http://node1.domain15.example.com
2021-03-23 13:27:28エラー403:禁止されています。
[root @ node1〜]#semanage port -l | grep http
http_port_t tcp 80、81、443、488、8008、8009、8443、9000
[root @ node1〜]#semanage port -a -t http_port_t -p tcp 82
[root @ node1〜]#semanage port -l | grep http
http_port_t tcp 82、80、81、443、488、8008、8009、8443、9000
[root @ node1〜]#firewall-cmd --zone = public --list-all
[root @ node1〜]#firewall-cmd --permanent --zone = public --add-port = 82 / tcp
[root @ node1〜]#firewall-cmd --reload
[root @ node1〜]#curl http://node1.domain15.example.com
わかった
* root @ node1〜]#wget http://node1.domain15.example.com:82
接続拒否。
[root @ node1〜]#vim /etc/httpd/conf/httpd.conf
聞く82
[root @ node1〜]#systemctl restart httpd
[root @ node1〜]#wget http://node1.domain15.example.com:82
2021-03-23 13:31:41エラー403:禁止されています。
[root @ node1〜]#curl http://node1.domain15.example.com:82
わかった