一:进入网建短信通 http://sms.webchinese.cn/reg.shtml 注册用户,登录用户,找到修改短信秘钥,修改签名 二:使用idea创建一个maven项目导入以下依赖: <dependency> <groupId>org.ops4j.pax.url</groupId> <art ...
                            
                            
                                分类:
移动开发   时间:
2021-06-03 18:10:10   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                使用模块 ngx_http_gzip_module 用gzip方法压缩响应数据,节约带宽 一、启用或禁用gzip压缩 gzip on | off; 二、压缩比由低到高:1 到 9, 默认:1 gzip_comp_level level; 压缩比越高,越消耗CPU 三、匹配到客户端浏览器不执行压缩 g ...
                            
                            
                                分类:
其他好文   时间:
2021-06-03 18:08:25   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    * Official English Documentation: http://nginx.org/en/docs/ * Official Russian Documentation: http://nginx.org/ru/docs/ #==基础配置==# user nginx; #设置运行用户 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-03 18:04:40   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    <template> <div> </div> </template> <script> var self = this; export default { }; </script> // scoped 样式只在本组件使用 <style scoped> /** * 导入css样式组件 * @impo ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 20:55:34   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    #ping whole local domainfor ip in {1..255};do ping -c 3 192.168.110.$ip >> ping.log;done grep '3 ttl' ping.log |awk '{print $4}' | sed 's\:\\g' |while ...
                            
                            
                                分类:
系统相关   时间:
2021-06-02 20:19:59   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    启动nginx服务时如果遇到这个错误 Job for nginx.service failed because the control process exited with error code. See “systemctl stat 可能原因如下: 1.nginx配置文件有错误 运行下面命令查 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 19:50:08   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                默认nginx不开启缓存 open_file_cache off; nginx可以缓存以下三种信息: (1) 文件元数据:文件的描述符、文件大小和最近一次的修改时间 (2) 打开的目录结构 (3) 没有找到的或者没有权限访问的文件的相关信息max=N:可缓存的缓存项上限;达到上限后会使用LRU算法实 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 19:44:50   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    环境介绍 RHEL8 nginx 192.168.92.129 RHEL8 myxql 192.168.92.130 RHEL8 php 192.168.92.131 nginx配置 //关闭服务器和selinux [root@nginx ~]# systemctl disable --now fi ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 19:38:14   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    平滑升级的步骤 1. 获取之前的编译参数 2. 下载新模块 3. 重新编译软件,加上--add-module=新模块的解压路径 4. 备份原程序并停止服务 5. 把原程序用新程序覆盖 6. 启动新程序 Nginx信号简介 主进程支持的信号 TERM, INT: 立刻退出 QUIT: 等待工作进程结束 ...
                            
                            
                                分类:
其他好文   时间:
2021-06-02 19:37:54   
                                阅读次数:
0
                             
                    
                        
                            
                            
                                
                    [开机启动]解决insserv: warning: script '服务名' missing LSB tags and overrides 按照LSB tags规范改写脚本如下 其实解决办法就是在#!/bin/bash下面添加: #!/bin/bash ### BEGIN INIT INFO # P ...
                            
                            
                                分类:
系统相关   时间:
2021-06-02 19:34:37   
                                阅读次数:
0