In Linux, how does one set up a Web environment to disable iptables and selinux?

Source: Internet
Author: User
Disable iptables and selinux when you configure LNMP and samba. it was previously used to solve the problem, and it was disabled for whatever reason, so as to avoid trouble. If this problem occurs in the past few days, I would like to return and ask: 1. if a simple lnmp production server is set up, shut them down... disable iptables and selinux when you configure LNMP and samba. it was previously used to solve the problem, and it was disabled for whatever reason, so as to avoid trouble.
If this problem occurs in the past few days, I would like to return and ask:

1. if a simple lnmp production server is set up, does it reduce the security of the server? Are you sure you want to disable it? How should we set them?

By the way, I have another question. Why can't I use eaccelerator for php5.6?

Reply content:

Disable iptables and selinux when you configure LNMP and samba. it was previously used to solve the problem, and it was disabled for whatever reason, so as to avoid trouble.
If this problem occurs in the past few days, I would like to return and ask:

1. if a simple lnmp production server is set up, does it reduce the security of the server? Are you sure you want to disable it? How should we set them?

By the way, I have another question. Why can't I use eaccelerator for 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. To put it simply, if there is no sensitive information on the server, it is better to turn it off during development and enable and configure it after going online.

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.