我仍然可以使用init.d iptables stop吗?
看来,init.d被systemd所取代。 那是对的吗?
iptables是内核权利的一部分,而不是服务。 在基于redhat的系统上,这是一项服务,为什么?
我习惯于
int.d/service iptables stop
我可以把它拿回来吗?
其实。 我发现答案
在Ubuntu系统中,目前没有使用systemd(至less现在还没有)你可以安装和使用systemd如果你想,
现在ubuntu现在使用UFW(iptables不被删除)UFW使用户可以更好地使用iptables,轻松添加规则。 等等
init.d仍然存在着与新贵的符号链接,例如:service apache2 restart将按照常规工作
..
如果我的回答中有任何错误,请随时纠正我
init.d(SysV)/ upstart / systemd
这里是一个提供更多细节的页面