1, first in the/etc/make.conf to join the sync site, later to use emerge to synchronize.
Copy Code code as follows:
Sync= "Rsync://rsync.gentoo.org/gentoo-portage"
In the Execute emerge--sync Sync portage tree.
2, upgrade
Document directory
Preface
Development Framework
Nginx Installation
Nginx Configuration
Start and restart nginx
Spawn-fcgi
Fast-CGI Service Program Development
Test
Preface I have collected a lot of related articles on the Internet. The
Nginx uses cgiwrap-fcgi.pl to support CGI, but frequent Resource temporarily unavailable problems using Nginx to parse CGI should have seen this: Listen www.2cto.com but in actual use often encounter the following problems: 15:35:16 [error] 8483 #0:
1. To prevent installation dependency errors, first install third-party source for the system: rpm-uvh http://apt.sw.be/redhat/e16/en/X86_64/rpmforge/RPMS/rpmforge-release-0.5.3-1.e16.rf.x86_64.rpm
2. Install the lamp environment and rrdtool
Common Python deployment methods include:
Fcgi: Use the spawn-fcgi or tool provided by the Framework to generate listening processes for each project, and then interact with the http service wsgi: the mod_wsgi module of the http service is used to
The version after fastcgi:php-5.3.3 comes with the FPM component,The FPM component enables the PHP interpreter to work as a daemon and provides an application similar to the Prefork mode that can receive FASTCGI server from the front-end
On RedHatLinux FastCGI installation and configuration software package related software package: httpd2.2.14 // note that this version does not have problems (Note: apachehttpd installation see http://www.linuxidc.com/Linux/2011-05/35884.htm )fcgi-2.
Note: to use the Tcl script in nginx, the configuration process is recorded here and has been tested to be valid.Install fcgiwrapFcgi-devel is required to install fcgiwrap. This package is included in epel and can be directly installed If epel is
about installing Nginx, MySQL, PHP (LEMP) on Ubuntu 16.04, the previous article has talked about
http://blog.csdn.net/shihongliang1993/article/details/51836262
Install spawn-fcgiAfter sudo apt-get install spawn-fcgi installation is complete, the
1, update
sudo apt-get update
2. Installation Nginx
sudo apt-get intsall nginx
After Ubuntu installation, the file structure is roughly:
* All configuration files are under/etc/nginx, and each virtual host has been placed
I have always been running in ISAPI mode Php (as the current mainstream development language) , the biggest disadvantage of this approach is poor stability, when Php Apache The process also died when the error occurred. Later I saw an introduction
Configure Apache to run PHP article directory fastcgi[Hide]
Installing Apache
Installing fastcgi
Installing php5.2
Configure Apache to support PHP
Apache runs PHP by default with its own mod_php module, and now we describe
First step
Run command to close Nginx first
sudo kill ' cat/usr/local/nginx/logs/nginx.pid '
Second Step
Vi/etc/init.d/nginx
Enter the following content
Copy Code code as follows:
#!/bin/sh
#
# Nginx-this script starts and stops the
Http://nginx.org/en/download.html
Http://php-fpm.org/
Compile and install Linux NginxTar zxvf nginx-0.6.35.tar.gz cd nginx-0.6.35/
Default installation:./configure make & make installBy default, Nginx is installed in/usr/local/nginx. You can change
I have been running php in ISAPI mode for a long time (as the mainstream development language). The biggest drawback of this method is poor stability. When php (as the mainstream development language) when an error occurs, the apache (the most
Nginx's high efficiency is a good name. Recently I want to use it to replace Apache on Ubuntu8.10 server, so I did a test on the local machine. The following steps are recorded! Step 1, install mysqlsudoapt-getinstallmysql-server step 2, install
I. Details about the software version used: Apache (apache2.2.15) ApacheFastCGImodule (mod_fcgid2.3.6) PHP5.3.3 (php-cgi: // www.linuxidc.com/linux/2012-02/53421.htmin rhel5
1. The detailed version information of the software used is as
Destoon URLRewrite (pseudo static) setting method. 1. if your server supports. htaccess, you do not need to set it. the. htaccess rules under the root directory of the website have been set. Rules (refer to download. destoon. comrewritehtaccess. tx 1
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.