会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
leihongnu
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
30
下一页
2022年4月29日
nginx怎么对admin进行IP限制
摘要: 对所有用户限制,在下面的location 添加 只允许 192.168.1.102访问,拒绝所有ip访问 allow 192.168.1.102;deny all; 针对admin(特定)用户,在下面的location添加 保存后重启 nginx 生效 注意:百度到的 location /admin
阅读全文
posted @ 2022-04-29 10:09 leihongnu
阅读(172)
评论(0)
推荐(0)
2022年4月28日
docker Dockerfile 构建mongodb
摘要: 安装包下载地址:https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz 1、将安装包上传到服务器,解压后重命名 #tar -zxvf mongodb-linux-x86_64-rhel70-4.4.13.tg
阅读全文
posted @ 2022-04-28 13:27 leihongnu
阅读(1217)
评论(0)
推荐(0)
mongo: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory
摘要: 自己构建的docker mongodb,启动失败 查看缺少文件 #ldd /data/usr/mongodb/bin/mongod docker的 /lib64 目录下少了文件:libcrypto.so.10、libssl.so.10 查看宿主机: #ll /lib64/libcrypto.so.1
阅读全文
posted @ 2022-04-28 13:21 leihongnu
阅读(8182)
评论(0)
推荐(0)
docker启动mongodb Error: couldn't connect to server 127.0.0.1:27017。
摘要: 百度重启服务 #nohup mongod & 还是启动不了,使用下面的命令的可以 执行命令启动 #nohup mongod --nojournal --dbpath . & 或者带配置文件的启动 #nohup mongod -f mongodb.conf --nojournal --dbpath .
阅读全文
posted @ 2022-04-28 13:06 leihongnu
阅读(444)
评论(0)
推荐(0)
2022年4月24日
xshell 设置选定复制,右键粘贴
摘要:
阅读全文
posted @ 2022-04-24 09:20 leihongnu
阅读(97)
评论(0)
推荐(0)
2022年4月19日
脚本取当前天数的前一天
摘要: `date -d -1day +%Y%m%d`
阅读全文
posted @ 2022-04-19 09:29 leihongnu
阅读(30)
评论(0)
推荐(0)
2022年4月12日
oracle 查看临时表空间占用情况
摘要: select tablespace_name,file_name,bytes/1024/1024/1024 file_size,autoextensible from dba_temp_files; SELECT B.TABLESPACE, B.SEGFILE#, B.SEGBLK#, B.BLOC
阅读全文
posted @ 2022-04-12 09:42 leihongnu
阅读(2602)
评论(0)
推荐(0)
2022年4月11日
You cannot compile a program unit while one or more windows are still executing
摘要: 修改配置,如下图:
阅读全文
posted @ 2022-04-11 10:57 leihongnu
阅读(969)
评论(0)
推荐(0)
2022年4月7日
oracle 查看表的创建时间和最后修改时间
摘要: SELECT CREATED,LAST_DDL_TIME from user_objects where object_name=upper('表名'); CREATED 为创建时间 LAST_DDL_TIME为最后修改时间 或者pl/sql 查看,选中表名后右键
阅读全文
posted @ 2022-04-07 15:54 leihongnu
阅读(4415)
评论(0)
推荐(0)
2022年3月25日
Linux 大文件 删除去掉文件的第一行
摘要: sed -I ‘1d’ 文件名 -i:直接修改读取数据的文件 -d:删除行(n,m:删除第n到m行)
阅读全文
posted @ 2022-03-25 11:07 leihongnu
阅读(776)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
30
下一页
公告