Zabbix source code compilation and Installation
Introduction:
Zabbix distributed monitoring system, source code compilation and installation records (not to mention the number of times)
:
Today, I want to help my friends configure the CentOS + PHP + Nginx environment and record it, hoping to help more partners
Today, I want to help my friends configure the CentOS + PHP + Nginx environment and record it, hoping to help more
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
Now, we can do this quickly and automatically.CentOS + Nginx + PHP-FPM + MySQLInstalled
This is much better than what one-click installation package is available on the Internet. It is
The current situation is that the small-scale 1mysql server 1web server data operation is very fast dozens of ms-level processing logic, but each access to the local will map a port to access 3306 so that in the case of high concurrency, the port
WordPress's "unable to move uploaded files to" error solution: wordpress Solution
I uploaded images to my blog on the webpage today. The result is: "The uploaded files cannot be moved to/home/wwwroot/wp-content/uploads/2013, I think it is a
Rotten mud: nginx, php-fpm, mysql user permission parsing, nginxphp-fpm
This article is first published in the dark world.
I learned how to build a wordpress blog under nginx a few days ago. In the article "dirty mud: Using nginx to build a
For people who have not done web development, web development involves a lot of nouns, Apache. Nginx,cgi,php,http,cookie. Session What is this big piece of stuff, and here we go from the network level to clear these things.1. What is HTTPFor the web
Upload the PHP installation package to Linux/USR/LOCAL/SRC1. UnzipCd/usr/local/srctar ZXVF PHP-5.6.9.TAR.GZCD php-5.6.9 2. Compiling the installation./configure--prefix=/usr/local/php
Environment readiness: CentOS System Yum Source (install Mysql,nginx, and PHP-FPM)Two: Installation steps: Install Mariadb,mariadb-server,php-mysql,php-fpm,nginx in yum modeDownload need to build the source code of the website, I built is based on
502,504 errors often occurIdeas:
Increase the size and number of cache files when Nginx communicates with PHP-FPM
5 PHP-FPM processes are statically bound, reducing the overhead of the frequency start process
Using sock files
1, some common sense
Under Linux, to read a file, you first need to have execute permissions on the folder where the file is located, and then you need to read permissions on the file.
PHP file execution does not require file execution
First, nginx anti-theft chainAnti-theft chain refers to a site's resources (pictures or attachments) without permission to browse and download other sites, especially the hotlinking of popular resources, the bandwidth consumption of the site is very
49, Nginx Anti-theft chain, nginx access control, Nginx parsing PHP-related configuration, nginx agentFirst, nginx anti-theft chainMust be combined with "do not log and expire" because they are used at the same time.#
1) Install PHP under CENTOS7Need to add a Yum source to install PHP-FPM, you can use Webtatic (this yum source is a bit slow for the domestic network, of course you can choose other yum sources) [[email protected] ~]# RPM-UVH https:/
1. Install config nginx under ubuntu, MySQL, PHPInstallation steps:Reference: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04#Specific excerpts are as follows:
About Lemp
LEMP
Software and version selection
Ubuntu 14.04
Ubuntu is the largest number of users in the distribution, behind a large tyrants maintenance, can be said to be the best choice for lightweight users. And 14.04 is currently the latest LTS version, has
Nginx and PHP-FPM have built a status page that is very helpful to understand the status of Nginx and to monitor Nginx. For subsequent Zabbix monitoring, we need to first understand how the Nginx status page is going.1. Enable Nginx status
Today, after the upgrade of PHP 502 Bad Gateway error, according to experience is PHP-FPM problem, but see what traffic on the Internet, child process settings, but I do not have any traffic on the server. So you can only look at the configuration
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.