본문 바로가기
RHEL

centOS-7 기본

by jegong 2023. 6. 26.

yum -y update 

방화벽 확인 

getenforce 이랑 확인 

vim /etc/selinux/config

[root@localhost ferhan]# getenforce
Disabled
[root@localhost ferhan]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
   Active: active (running) since 월 2023-06-26 18:22:03 KST; 1min 6s ago
     Docs: man:firewalld(1)
 Main PID: 797 (firewalld)
    Tasks: 2
   CGroup: /system.slice/firewalld.service
           └─797 /usr/bin/python2 -Es /usr/sbin/firewalld --nofork --nopid

 6월 26 18:22:03 localhost.localdomain systemd[1]: Starting firewalld - dyna...
 6월 26 18:22:03 localhost.localdomain systemd[1]: Started firewalld - dynam...
 6월 26 18:22:03 localhost.localdomain firewalld[797]: WARNING: AllowZoneDri...
Hint: Some lines were ellipsized, use -l to show in full.
[root@localhost ferhan]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@localhost ferhan]# systemctl stop firewalld
[root@localhost ferhan]# 

'RHEL' 카테고리의 다른 글

Disk quota  (0) 2023.06.22
RAID  (0) 2023.06.21
phpmyadmin  (0) 2023.06.21