$data = Db::name('admin_user')->where('status', 1)->whereIn('id', function($query) use($structure_id) { $query->name('admin_structure_duty')->where([ ...
分类:
数据库 时间:
2021-01-18 11:34:45
阅读次数:
0
1、配置 /etc/grafana/grafana.ini,配置信息如下: [smtp] enabled = true host = smtp.163.com:25 user = frankpico@163.com # If the password contains # or ; you have ...
分类:
其他好文 时间:
2021-01-18 11:24:48
阅读次数:
0
语法:select 函数,列(要求出现在group by的后面)from表【where筛选条件】group by分组的列表order by子句】注意:l查询列表必须特殊,要求是分组函数和group by后出现的字段 ...
分类:
数据库 时间:
2021-01-18 11:19:57
阅读次数:
0
客户端发送查询命令 scan 'user', {COLUMNS => 'base_info', STARTROW => 'rk1', ENDROW => 'rk3'} 寻址过程 1. 客户端请求zk,获取meta表所在位置 2. zk返回节点位置(假设在hadoop01节点) 3. 客户端访问had ...
分类:
其他好文 时间:
2021-01-18 11:09:35
阅读次数:
0
错误一:安装nginx报错“src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’” “src/os/unix/ngx_user.c:26:7: error: ‘struct ...
分类:
其他好文 时间:
2021-01-18 10:49:25
阅读次数:
0
场景 假设我(主机A)无法直接访问外网主机C,而局域网内另一台主机B可以访问外网主机C。 如何通过从我的主机A透过主机B访问主机C的22端口? 解决 ssh via ssh 最简单的方法是主机A先ssh到主机B然后在主机B执行ssh到主机C ssh user@123.45.67.8 # in pts ...
分类:
其他好文 时间:
2021-01-18 10:39:46
阅读次数:
0
user nginx; #使用linux用户分组执行nginx worker_processes 4;#nginx 启动后的进程数,通常跟服务器的内核挂钩 如:2核4进程 01 10 01 10; 4核2进程 0101 1010;worker_cpu_affinity 0001 0010 0100 ...
分类:
其他好文 时间:
2021-01-18 10:37:56
阅读次数:
0
一、进程管理 1、ps查看进程 [root@VM-4-16-centos ~]#ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.3 43596 3440 ? Ss Jan08 0:16 /usr/ ...
分类:
系统相关 时间:
2021-01-16 12:03:46
阅读次数:
0
官方文档地址: https://dromara.org/zh-cn/docs/soul/user-http.html http服务就是我们自己的项目。 1.引入 soul-examples/soul-examples-http 到soul.pom中 application.yml中添加自己的soul ...
分类:
Web程序 时间:
2021-01-16 12:01:05
阅读次数:
0
执行 npm install 编译出错,提示 ERR! sharp EACCES: permission denied, mkdir '/root/.npm' info sharp Are you trying to install as a root or sudo user? Try again ...
分类:
其他好文 时间:
2021-01-16 11:57:44
阅读次数:
0