Category: CentOS 7
-
Post Views: 14 1. An error occurred while updating in WordPress: the download failed. Too many requests, as shown in Figure 1 2. Open the URL:https://wordpress.org/, Response: 429 Too many requests, so it seems that the reason is that the official WordPress website is blocked in China. as shown in Figure 2 3. After connecting the blue light locally, you…
-
Post Views: 19 1. Enter the CentOS server based on Xshell 6, compress and package the website program directory, execute the compression command, and the execution result is shown in Figure 1 2. Connect to the FTP server based on FlashFXP, download the compressed package: shuijingwanwq.com-20191203.zip to the local, as shown in Figure 2 3. Connect to the MySQL server…
-
Post Views: 16 1. The operation of the command-line script is supported based on Supervisor. During the continuous operation, the problem of occupying too much memory is still not fundamentally solved. Check the URL:https://www.shuijingwanwq.com/2019/07/24/3376/ 2. Check the URL:https://stackoverflow.com/questions/27341846/using-supervisor-as-cron, by calling the bash sleep command to execute the command-line script at a certain time interval to avoid continuous uninterrupted operation, so…
-
Post Views: 15 1. Open the URL in Postman:http://api.pcs.wjdev.chinamcloud.cn/v1/assets/upload,Upload the file, the response failed, as shown in Figure 1 2. Check /runtime/logs/app.log, and report an error:[warning][yii\validators\FileValidator::validateValue]Missing the temperature folder to store the uploaded file: 360wallpaper(0).jpg 3. Go back to the previous version, no errors are reported, check the git log, and analyze the differences, as shown in Figure 2 4.…
-
Post Views: 14 1. Docker deployment, when building an image on Jenkins, an error is reported: composer install returned a non-zero code: 255, as shown in Figure 1 2. The code for the failure of the dockerfile to execute the command is as follows 3. Edit Dockerfile, the build is successful, the reason for the visible failure is: composer install…
-
Post Views: 13 1. Open the URL:http://www.aaaacn.net/wp-admin/install.php,报错:HTTPError 500, as shown in Figure 1 2. Open the URL:http://www.aaaacn.net/phpinfo.php,正常运行,如图2 3. Check virtualhost conf: /usr/local/nginx/conf/vhost/www.aaaacn.net.conf 4. Check rewrite rule: /usr/local/nginx/conf/rewrite/wordpress.conf 5. Check the directory permissions, and find that the files in the WordPress directory, permission users and user groups are no longer WWW, but root, it should be because the files in the…
-
Post Views: 49 1. Execute the command in CentOS 7.6 64-bit: yum makeCache to update the cache of the yum source, and report an error: There are no enabled repos, as shown in Figure 1 2. Decided to reinstall the 7.6 release package, first go to the Alibaba Yunyuan website, find the corresponding release package, and copy its link, as…