When building a Web environment under Linux and turning off iptables and selinux, can it ensure security?

WBOY
Release: 2016-07-06 13:52:25
Original
1105 people have browsed it

Turn off iptables and selinux when configuring LNMP and samba. In the past, it was to solve the problem. No matter what the reason, turn it off as soon as possible to avoid trouble.
I happened to encounter this problem these days, so I wanted to come back and ask:

1. If you really build a simple lnmp environment production server, will turning them off reduce the security of the server? Does it have to be closed? How best to set them up?

By the way, I have an off-topic question: Is eaccelerator no longer available in php5.6?

Reply content:

Turn off iptables and selinux when configuring LNMP and samba. In the past, it was to solve the problem. No matter what the reason, turn it off as soon as possible to avoid trouble.
I happened to encounter this problem these days, so I wanted to come back and ask:

1. If you really build a simple lnmp environment production server, will turning them off reduce the security of the server? Does it have to be closed? How best to set them up?

By the way, I have an off-topic question: Is eaccelerator no longer available in php5.6?

It is convenient to turn it off, but you need to pay attention to whether all software has vulnerabilities that can be exploited. Simply put, if there is no sensitive information on the server, it is a better choice to turn it off during development and enable and configure it after going online.

PHP now has opcache, the official code caching extension, and other similar extensions are basically dying out.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template