SORU
15 Temmuz 2014, Salı


Nasıl Otomotiv-7 bardak kullanabilir miyim?

En az yapılandırma ile Otomotiv-7 (dev araçlar os) yüklü. httpd servis için 80 port açmak için çalışıyorum, ama bir şey benim bardak ile yanlış, yanlış olan bu hizmet ...? Neyi yanlış yapıyorum?

# ifconfig/sbin/service iptables save
bash: ifconfig/sbin/service: No such file or directory


# /sbin/service iptables save
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.

# sudo service iptables status
Redirecting to /bin/systemctl status  iptables.service
iptables.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

# /sbin/service iptables save
The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.

# sudo service iptables start
Redirecting to /bin/systemctl start  iptables.service
Failed to issue method call: Unit iptables.service failed to load: No such file or directory.

CEVAP
18 Temmuz 2014, Cuma


7 / RHEL Otomotiv-7 firewalld bardak yönetmek için kullanılmaya başlandı. IMHO, firewalld sunucu ortamları için daha iş istasyonları için daha uygundur.

Daha klasik bir bardak kurulum dönmek için. İlk olarak, durdurmak ve firewalld hizmeti maskesi:

systemctl stop firewalld
systemctl mask firewalld

O zaman, örneğin, hizmet paketi yükleme:

yum install iptables-services

Önyükleme zamanı: hizmet sağlar

systemctl enable iptables

Hizmet yönetme

systemctl [stop|start|restart] iptables

Güvenlik duvarı kurallarının tasarrufu aşağıdaki gibi yapılabilir

service iptables save

ya

/usr/libexec/iptables/iptables.init save

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • FrankJavCee

    FrankJavCee

    29 Kasım 2008
  • ipsy Makeup Tips

    ipsy Makeup

    19 ŞUBAT 2009
  • TastyTuts | Creative video tutorials by Gareth David

    TastyTuts |

    6 Temmuz 2011