1. Nginx简介 1.1 Nginx 的应用场景 Nginx ("engine x") 是一个 高性能的 HTTP 和反向代理服务器,特点是占有内存少,并发能力强。事实上 Nginx 的并发能力确实在同类型的网页服务器中表现较好,中国大陆使用 Nginx 的网站用户有:百度、京东、新浪、网易、腾 ...
分类:
其他好文 时间:
2021-01-14 11:28:46
阅读次数:
0
1、检查防火墙是否开放22端口 2、检查ssh是否安装 rpm -qa |grep ssh sudo apt-get install rpm sudo apt-get install ssh sudo service ssh restart 连接成功 安装ssh 参考: https://blog.c ...
分类:
系统相关 时间:
2021-01-14 11:27:11
阅读次数:
0
Nginx 设置禁用 OPTIONS 请求 1、修改 nginx 配置 在 nginx.conf 配置文件中,增加如下内容: if ($request_method ~* OPTIONS) { return 403; } 效果如下: 2、重启 nginx 服务 ...
分类:
其他好文 时间:
2021-01-14 11:24:43
阅读次数:
0
编写程序,读入一行英文(只包含字母和空格,单词间以单个空格分隔),将所有单词的顺序倒排并输出,依然以单个空格分隔。 输入格式 输入为一个字符串(字符串长度至多为100)。 输出格式 输出为按要求排序后的字符串。 输入样例: I am a student 输出样例: student a am I//巧 ...
分类:
其他好文 时间:
2021-01-13 11:25:11
阅读次数:
0
宿主机Nginx使用php容器解析php请求 环境说明 首先,我在宿主机上已经运行了一个nginx [root@localhost html]# nginx -v nginx version: nginx/1.18.0 宿主机上也安装运行了docker [root@localhost html]# ...
分类:
Web程序 时间:
2021-01-13 11:24:19
阅读次数:
0
Ubuntu16.04+window10两个系统都实现了 Ubuntu系统安装方法: 参考地址:http://ddrv.cn/a/320291 环境要求: 安装gym pip install gym 安装环境: git clone https://github.com/openai/multiage ...
分类:
其他好文 时间:
2021-01-13 10:53:15
阅读次数:
0
user root; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { #use epoll; worker_connections 65535; } http ...
分类:
系统相关 时间:
2021-01-13 10:45:25
阅读次数:
0
一、手动安装 1、安装wine $ sudo add-apt-repository ppa:wine/wine-builds $ sudo apt-get update $ sudo apt-get install winehq-devel 或下载稳定版本 $ sudo apt-get instal ...
分类:
系统相关 时间:
2021-01-12 11:23:52
阅读次数:
0
问题描述: 安装微软应用商店里的ubuntu完成后,双击打开,出现如下报错: Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x80370102 Error: 0x80370 ...
分类:
其他好文 时间:
2021-01-12 11:11:00
阅读次数:
0
Ubuntu 18.04 (Bionic) 安装 MongoDB (Install MongoDB Community Edition on Ubuntu) 查看 Ubuntu 版本 lsb_release -a Distributor ID: Ubuntu Description: Ubuntu ...
分类:
数据库 时间:
2021-01-12 11:08:09
阅读次数:
0