= 5Pm.min_spare_servers = 2Pm.max_spare_servers = 8PID =/usr/local/php5/var/run/php-fpm.pid650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/74/19/wKioL1YT4j3TNx8DAABWmFk6MIo965.jpg "style=" float: none; "title=" 17.png "alt=" Wkiol1yt4j3tnx8daabwmfk6mio965.jpg "/>The next step is to start php-fpm:# service PHP-FPM StartBy default, FPM listens on port 9000 of 127.0.0.1, and can also use the following command to verify that it is already list
", and iscsi01 just the opposite. That is, the iscsi01 Vmkernel is bound to the VMNIC2 physical network card, and Iscsi02 's vmkernel is bound to the VMNIC5 physical network card 650) this.width=650; "Style=" border-bottom:0px; border-left:0px; border-top:0px; border-right:0px "title=" clip_image017 "border=" 0 "alt=" clip_image017 "src=" http://s3.51cto.com/wyfs02/M00/58/43/ Wkiom1ss9ycg8yajaahfdusmlw8356.jpg "" 461 "height=" 569 "/> 19. Select "VSwitch" and select "Edit" 650) this.width=650; "
:
; cgi.fix_pathinfo=1Remove the preceding semicolon and replace it with the following:
Cgi.fix_pathinfo=1
Step Two: Installation and configuration of Nginx
First to the official website download the latest version of the Nginx, extract into the C-disk Wnmp directory, and renamed to Nginx. Next, we'll configure Nginx to work with PHP. Enter Nginx's conf directory, open nginx configuration file nginx.conf, find
Location/{
root html; #这里是站点的根目录
index index.html index.htm
}Chan
Tags: gitlabPerform sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production 检查提示Check GitLab API access: FAILED: Failed to connect to internal API View GITLAB/CONFIG/UNICORN.RB Listen"127.0.0.1:9000", :Tcp_nopush= true gitlab/config/gitlab.yml中填写的公网ipNETSTAT-NLTP View 127.0.0.1:9000 Telnet 127.0.0.1 9000 is OK, and Telnet public IP
First, review 1, process, thread, the process: the smallest resource allocation unit in the computer, data isolation, you can use multi-core, data is not a security thread: is the smallest CPU scheduling unit in the computer, data sharing, GIL, data Insecure association: is a part of the thread, is by the user To dispatch, data sharing, data security 2, synchronous, asynchronous, blocking, non-blockingAsync: Doing more than one thing at the same timeSynchronization: One thing is done and then th
ObjectiveThese days in order to familiarize yourself with the vue.js framework and the use of Webpack, you are ready to build a simple Web application that publishes and browses Markdwon. Originally wanted to use bash scripts and BusyBox httpd as a background service, but bash script parsing and generation of JSON is very inconvenient, and in the Java language and feel that deployment is not convenient, so think of the use of node. js, so there is this blog post. (At the end of this article is t
1.1.1 Install Nginx and PHP through Yum, change the address of nginx inside Fastcgi_pass PHP can not request the normal1.1.1.1 problem Restore:The nginx+php server address is 10.0.0.41/24Nginx installation is 1.14 PHP installation is 7.1,yum installation process is not detailednginx的location里面的配置如下location ~ \.php$ { root /usr/share/nginx/html; fastcgi_pass 10.0.0.41:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /usr/
), domain name, character set, root folder, first file, and so on.
The following sections of the configuration nginx are integrated with PHP in a fastcgi manner, and "c:/nginx-0.8.38/html" represents the root folder of the Web site:
Copy Code code as follows:
Location ~ \.php$ {
# root HTML;
Fastcgi_pass 127.0.0.1:9000;
Fastcgi_index index.php;
Fastcgi_param Script_filename C:/nginx-0.8.38/html$fastcgi_script_name;
Include Fastcgi_p
index index.html
index.htm
}
Change root HTML to root d:/wnmp/www; plus index.php, that is:
Location/{
root d:/wnmp/www; #这里是站点的根目录
index index.php index.html index.htm;
}
Note here that the path delimiter should be used/instead of using Windows \ To avoid ambiguity.Go down and find
# Pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
#location ~ \.php$ {
# root HTML;
# Fastcgi_pass 127.0.0.1:
-c parameter is specified for his php.ini parameter (must not be able to modify his php.ini file later) (Lsof-i : 9000 can view 9000 port occupancy details on the net said that the next plus start is not possible (may be the previous version of it)
Vim/etc/rc.localAt the end of this file, add the following statement:/usr/local/php/sbin/php-fpm-c/usr/local/php/etc/php.ini Here you have to start the service
Objective
These days in order to familiarize yourself with the vue.js framework and the use of Webpack, you are ready to build a simple Web application that publishes and browses Markdwon. Originally wanted to use bash scripts and BusyBox httpd as a background service, but bash script parsing and generation of JSON is very inconvenient, and in the Java language and feel that deployment is not convenient, so think of the use of node. js, so there is this blog post. (At the end of this article is
in the data that other users are accessing.4) Persistence: Once a transaction is committed, its modifications are persisted to the database, and should not have any effect even if the database fails.The persistence of a transaction cannot be 100% durable and can only be guaranteed to be permanent from the perspective of the transaction itself, while some external causes cause the database to fail, such as a hard disk corruption, and all committed data may be lost.1.2.1.2.1 The method of opening
index.htm index.php, which indicates support for more types of default home page;In the #65-#71行, remove the previous well number, indicating that the configuration takes effect, instead: root C:\Server\localhost;Fastcgi_pass 127.0.0.1:9000;Include fastcgi.conf;Where Root is the Web site root directory, and #44 line configuration, fastcgi_pass php bound port, the following will be introduced;On the #32 line, add fastcgi_intercept_errors on, indicati
') , ' Routelistctl ' }) . When ('/list/:id ', { ' views/route/detail.html ', ' Routedetailctl '} ) . Otherwise ({ '/list ' });In the Routeapp module, we define the routing and layout templates. The default URL for Routeapp is/list, which is http://localhost:9000/demo-route.html#/list. The route of the Jump detail page is/list/:id,id for the parameter.At the same time,/list's layout template
" button to start the execution of the boot.
At this point, the service was built successfully.
Site initialization
After the service is successfully built, it can be http://[群晖服务器 IP 地址]:9000 accessed in a way.
Note that the site has a super administrator, for security, to reset the password:Image
Support for external network access
Leanote is a support blog, so we have to allow our services to support extranet access, others can see our written arti
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.