Category: HTTP Server
-
Post Views: 63 1. Based on the AB test tool, carry out a simulation test in a high-concurrency situation, open: http://httpd.apache.org/docs/current/platform/windows.html#down, as shown in Figure 1 2. Select apachehaus, download, the binary file of the 2.4 version of x64, as shown in Figure 2 3. The download file name is: httpd-2.4.25-x64-vc14-r1.zip, as shown in Figure 3 4. After decompression, copy…
-
Post Views: 52 1. In Windows Powershll, enter the wwwroot directory, as shown in Figure 1 2. Through the Composer installation, run the following commands and install it in the kaiqiu_shujujixi_api directory, as shown in Figure 2 and 3 composer create-project yiisoft/yii2-app-advanced kaiqiu_shujujixi_api 2.0.10 3. Enter kaiqiu_shujujixi_api directory, right-click, select git bash here, as shown in Figure 4 4. Execute…
-
Post Views: 14 1. Install yii2-starter-kit under Windows 10 and Nginx 1.10, and run on the command line: php console/yii app/setup, as shown in Figure 1 2. Error: create unique index IDx_article_slug on {{%article}} (slug) …exception: sqlstate[42000]: Syntax error or access Violation: 1071 specific key was too long; max key length is 767 bytes, as shown in Figure 2 Translation:…
-
Post Views: 11 1. Edit the nginx.conf file and add a total of 5 virtual hosts, as shown in Figure 1: 2. Execute the command: nginx -s reload, reload, report an error, as shown in Figure 2: Tips: nginx:[emerg]Could not build server_names_hash, you should increase server_names_hash_bucket_size: 32 Translation: nginx:[emerg]Unable to build server_names_hash, should add server_names_hash_bucket_size: 32 3. Open the URL:http://nginx.org/en/docs/http/server_names.html,…
-
Post Views: 12 1. The first connection is selected, as shown in Figure 1: 2. Due to the instance type: I/O optimization, disk type: SSD cloud disk, so refer to the URL:https://help.aliyun.com/knowledge_detail/6689611.html 3. The download link of auto_fdisk_ssd.sh, as shown in Figure 2: http://aliyun_portal_storage.oss-cn-hangzhou.aliyuncs.com/help%2Fecs%2Fauto_fdisk_ssd.zip?spm=5176.776689611.0.0.DmH9za&file=help%2Fecs%2Fauto_fdisk_ssd.zip 4. Download tool: auto_fdisk_ssd.sh, after pasting the download link, you need to modify it, as shown…
-
Post Views: 12 1. Continue to the previous article:https://www.shuijingwanwq.com/2016/04/16/1006/ 2. Execute the command, as shown in Figure 1, and report an error, indicating that yum has failed to execute. The following methods can be solved: yum -y install wget screen python #for centos/redhat 3. According to the analysis, it should be the error caused by the network connection failure, execute…
-
Post Views: 14 1. In OneThink (ThinkPHP3.2.3), integrate the PHP-SDK2.0.4 of Alibaba Cloud OSS to realize direct transfer on the web, and the server-side signature is directly transmitted and uploaded callbacks, provided that you first refer to:https://www.shuijingwanwq.com/en/2016/01/13/10177/Implementation, set the CORS of Bucekt (Storage4-HMWIS-COM), as shown in Figure 0; 2. Check the practice of direct transmission on the web side of…
-
Post Views: 51 1. The installation and configuration of awstats7.4 under Windows 10 64 bit to support the log analysis of Apache 2.4; 2. Install Perl, open: https://www.perl.org/, as shown in Figure 1, under Windows, it is divided into two versions: Strawberry Perl and ActiveState Perl, select ActiveState Perl here; 3. Open: http://www.activestate.com/activeperl/downloads, as shown in Figure 2, download the…
-
Post Views: 10 1. When returning to 404, the footer of the web page displays: Apache/2.2.15 (CentOS) server at zhidao.hmwis.com Post 80 2. Edit the httpd.conf file ServerSignature on Modified to: # serversignature on ServerSignature Off 3. When returning 404, the web footer no longer displays the corresponding information 4. Check the response head in Taobao’s message header, server:”nginx” 5.…
-
Post Views: 11 1. Introduction to SSL certificate installation environment: Operating system: CentOS 6.5 64-bit apache2.2.15 Wotong Free SSL Certificate 2. Network environment requirements http://api.ygt.cmIt can be accessed normally through the external network 3. Obtain an SSL certificate After successfully applying for a certificate in Wotong, you will get a compressed file with a password, enter the certificate password and…