Configure Nginx today and then always prompt permission, clearly gave 777 permissions. Always still not, re-installed a few times, the last thought may be the result of SELinux. Just turn off SELinux and everything is fine.It's not clear what SELinux is, it's just that the security Linux is meant to make Linux more secure, but this thing can cause some problems. So a lot of people
Tags: selinux status and off SELinuxTo view the SELinux status:1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned onSELinux status:enabled2. Getenforce # #也可以用这个命令检查To turn off SELinux:1, temporarily shut down (do not restart the machine):Setenforce 0 # #设置SELinux become permissive mode# #set
To reduce commissioning time, quickly deploy server environments, and sometimes we need to temporarily turn off SELinux1. Query the SELinux status:getenforce Status value, enforcing,permissive,disabledEnforcing: Forced mode, in operationPermissive: Tolerant mode, only the prompt message, usually used to debugDisable:
Figure 1).
Click the Change Adapter Settings button on the left. Right-click the wireless Network connection icon and select the Properties option, after clicking the Configure button, switch to the Power Management tab, Cancel "Allow the computer to turn off this device to conserve power" (Figure 2), and then click the "Confirm" button, Even for a long time downloading will not fall
To view the SELinux status: 1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned on SELinux status:enabled 2. Getenforce # #也可以用这个命令检查 To turn off SELinux: 1, temporarily shut down (do not restart the machine): Setenforce 0 # #设置SELinux become permissive mode # #setenforce 1 set SELinux to become enforcing
": "local",////
parameter does not check
"args": "None"
}],
//Close statement Force semicolon end
"semi": [0],
//blank line can be up to 100 lines
"No-multiple-empty-lines": [0, {"Max":}],
///Turn off bar tab and Space
No-mixed-spaces-and-tabs ": [0],
}
}
Where the rules are configured
Configuration parameters
Rules: {
"rule name": [Rule value, rule configurat
first, why should the program in the background to perform
The programs we calculate are very long periods, usually in hours or even one weeks. The environment we use is remotely connected to a Japanese Linux server using Putty. So running a program in the background has the following three benefits:
Whether we turn off the machine does not affect the Japanese side of the program running. (Not like before,
To view the SELinux status:1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned onSELinux status:enabled2. Getenforce # #也可以用这个命令检查To turn off SELinux:1, temporarily shut down (do not restart the machine):Setenforce 0 # #设置SELinux become permissive mode# #setenforce 1 set SELinux to become enforcing mode2. Modify the configuration file to
Windows7 Turn off speech recognition to save system space skills
The specific methods are as follows:
1, first open the "Control Panel" option, the view mode to switch to "category", and then find and click the "Easy access" option;
2, then enter the easy Access window, find the "speech recognition" option and click to enter;
3, then select the
Win8.1metro interface of the application of magnetic paste is eye-catching, colorful, and dynamic effect, can be constantly updated, let people see the latest developments in applications. If the user is good static, do not like to update the dynamic magnetic paste, then how to turn off the dynamic magnetic paste?
Steps
1, first click the Start menu to enter the Metro interface.
2, move the mous
1 on the phone to open the "Love Camera", after entering the camera after we click the mode of shooting, then we click on "Cloud space" into my page. (pictured below)
2 to open the relevant interface, we click the "Settings" button, in the upload settings we just put "automatic backup phone photos" switch on it. (pictured below)
Okay, so we use the love camera photos will automatically back up to the cloud, so do not worry about the lo
To view the SELinux status:1,/usr/sbin/sestatus-v # #如果SELinux The status parameter is enabled is turned onSELinux status:enabled2. Getenforce # #也可以用这个命令检查To turn off SELinux:1, temporarily shut down (do not restart the machine):Setenforce 0 # #设置SELinux become permissive mode# #setenforce 1 set SELinux to become enforcing mode2. Modify the configuration file to
Label:http://blog.csdn.net/czw698/article/details/8791153 MongoDB provides several commands for shutting down the service, specifically the following: One use crtl+c off
[Email protected] data]$ Mongod--dbpath=/database/mongodb/data/--logpath=/var/applog/mongo_log/mongo.log-- Logappend--port=27017--journal > Start_mongo.log 2>1Cursor: type crtl+c close
Note: If you start the MongoDB service as a foreground, the use of t
Win8 How to turn off the FN key function
Win8 Close the FN step
1, enter the Control Panel: Select General-Advanced start point restart immediately.
2, choose: Troubleshoot.
3, select: Advanced Options.
4, select: Uefi firmware settings.
5, click: Reboot.
6, reboot after the system automatically enter the BIOS interface, in this interface can see information, configuration, security, boot, exit fiv
Method One, turn off the core frequency function in the BIOS.
Into the BIOS, the cursor moved to the advanced advanced settings inside, advanced Frequency/voltage control, and then to the power technology, find the line with the red lines open, select Enabled Press F10 save can.
Method Two, use power management shutdown.
We can adjust the Power management
turned on, the contents of the relevant file are retrieved and then re-assembled into a file, which is automatically added.That's the ~app.php file you saw.However, when you do not turn on debug mode, the relevant files will be loaded every time, this way, your error will be exposed.Case THREE:After you set App_debug to False in thinkphp, the data query (select, find, and so on) always displays the first o
the programmer gives the address between 100000h-10ffefh."5" Welcome to the real mode + protection mode Flash Debut (dry)5.1) Real mode:The real mode is that in order to achieve the compatibility of the system upgrade, such as 80286 of the system performance (including 80286 after the CPU) to be consistent with the 8086/8088 system performance, you need to 80286
The hibernation feature of Windows: Save a copy of the desktop and all open files in the system disk (so the size of the system disk will be greatly increased when this function is turned on, the desktop is not recommended to turn on this feature!) ). The boot will be opened intact, so the speed will be greatly improved.1. Open a command prompt (CMD.exe)2. Turn on sleep mode:Powercfg.exe/hibernate onTurn
The previous description of what the procedure click Mode is, the following we want to introduce is the click Mode Open, because the Samsung mobile phone models have a click mode so here is not too much to introduce other useless things, we go directly to the topic to see How to open the click Mode, specific below.
1.
How to turn on Win7 sleep mode and leave modeStart sleep modeFrom the Start menu, find "accessories → command Prompt", manually enter the following command: Powercfg-a, from here can be clearly seen, the computer is to support hibernation, the display "hibernation is not enabled."Still operating at the command prompt, start the Hibernation method: manually type the following command:powercfg-hibernate on (
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.