首先是css样式,比如这样的: 1 <style> 2 *{ 3 margin:0; 4 padding: 0; 5 list-style: none; 6 font-size: 12px; 7 } 8 .notice{ 9 width: 298px; 10 height: 98px; 11 mar ...
分类:
Web程序 时间:
2020-07-01 12:47:53
阅读次数:
44
#user nobody;#开启进程数 <=cpu数worker_processes 1; #错误日志存放位置#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #进程号 ...
分类:
其他好文 时间:
2020-06-27 09:24:13
阅读次数:
50
#运行用户 user nobody; #启动进程,通常设置成和cpu的数量相等 worker_processes 1; #全局错误日志及PID文件 #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs ...
分类:
其他好文 时间:
2020-06-22 20:50:42
阅读次数:
50
本来很简单的一个功能怎么导出都是乱码。 添加 error_reporting(E_ALL ^ E_NOTICE) ini_set("display_errors",'"on") PHP提示: Cannot modify header information - headers already sen ...
分类:
Web程序 时间:
2020-06-22 01:52:02
阅读次数:
92
修改 /etc/emqx/emqx.conf 的配置项 ## Allow anonymous authentication by default if no auth plugins loaded. ## Notice: Disable the option in production deploy ...
分类:
其他好文 时间:
2020-06-20 18:46:51
阅读次数:
113
##主从复制介绍 在分布式系统中为了解决单点问题,通常会把数据复制多个副本到其他机器,满足故障恢复和负载均衡等求. Redis 也是如此,提供了复制功能. 复制功能是高可用 Redis 的基础,后面的哨兵和集群都是在复制的基础上实现高可用的. 每个从节点只能有一个主节点,主节点可以有多个从节点. # ...
分类:
其他好文 时间:
2020-06-17 19:50:25
阅读次数:
58
1、Nginx配置文件如下: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid log ...
分类:
Web程序 时间:
2020-06-07 19:29:46
阅读次数:
75
博主最近在使用nginx的时候,应该电脑中的nginx安装了两个版本,导致配置的时候搞到怀疑人生,我是不是用了个假的nginx,特此做好使用记录,以便下次不会处理傻逼问题 一,首先是nginx的基本逻辑图 二.nginx相关命令 1、启动:start nginx或 ./nginx.exe2、停止:n ...
分类:
其他好文 时间:
2020-06-04 19:30:50
阅读次数:
74
FreeSWITCH 使用 lua 脚本 接管 分机注册,鉴权等 1. 更改lua.conf.xml配置 <configuration name="lua.conf" description="LUA Configuration"> <settings> <!-- Specify local dir ...
分类:
其他好文 时间:
2020-06-01 13:41:09
阅读次数:
158