04 2022 档案
摘要:此警告的问题是受限于Linux的最大文件数限制 nginx.conf有设置文件数:10000 1、 修改/etc/security/limits.conf文件 添加下面信息 * soft noproc 65535 * hard noproc 65535 * soft nofile 65535 * h
阅读全文
摘要:对所有用户限制,在下面的location 添加 只允许 192.168.1.102访问,拒绝所有ip访问 allow 192.168.1.102;deny all; 针对admin(特定)用户,在下面的location添加 保存后重启 nginx 生效 注意:百度到的 location /admin
阅读全文
摘要:安装包下载地址: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
阅读全文
摘要:自己构建的docker mongodb,启动失败 查看缺少文件 #ldd /data/usr/mongodb/bin/mongod docker的 /lib64 目录下少了文件:libcrypto.so.10、libssl.so.10 查看宿主机: #ll /lib64/libcrypto.so.1
阅读全文
摘要:百度重启服务 #nohup mongod & 还是启动不了,使用下面的命令的可以 执行命令启动 #nohup mongod --nojournal --dbpath . & 或者带配置文件的启动 #nohup mongod -f mongodb.conf --nojournal --dbpath .
阅读全文
摘要:`date -d -1day +%Y%m%d`
阅读全文
摘要: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
阅读全文
摘要:修改配置,如下图:
阅读全文
摘要:SELECT CREATED,LAST_DDL_TIME from user_objects where object_name=upper('表名'); CREATED 为创建时间 LAST_DDL_TIME为最后修改时间 或者pl/sql 查看,选中表名后右键
阅读全文