1 2 3 4 5 ··· 7 下一页
摘要: 使用elasticdump工具迁移数据 1.下载npm 打开网址:http://nodejs.cn/download/ 或者 wget https://npm.taobao.org/mirrors/node/v16.19.1/node-v16.19.1-linux-x64.tar.xz tar -x 阅读全文
posted @ 2023-04-25 21:42 士大夫给力 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 修改 /etc/ssh/sshd_config 配置文件,找到 PasswordAuthentication 字段,将其改为PasswordAuthentication no 在 /etc/ssh/sshd_config 配置文件末尾,添加一句:Match Address XXX.XXX.XXX.X 阅读全文
posted @ 2022-06-01 09:57 士大夫给力 阅读(1454) 评论(0) 推荐(0) 编辑
摘要: 环境:centos7.5(虚拟机) # fpm是由ruby完成,所以需要ruby环境 yum -y install ruby rubygems ruby-devel rpm-build # 添加ruby源 gem sources -a https://gems.ruby-china.com 出现如下 阅读全文
posted @ 2021-10-06 20:18 士大夫给力 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 上传tar包php-7.2.12.tar.gz tar -zxvf php-7.2.12.tar.gz cd php-7.2.12 ./configure --prefix=/home/kookserver/php --with-config-file-path=/home/kookserver/p 阅读全文
posted @ 2021-01-19 13:56 士大夫给力 阅读(2061) 评论(6) 推荐(1) 编辑
摘要: 是因为/run/systemd/system/目录下session*.scope文件过多导致的 rm删除类似session*.scope的文件,解决问题 阅读全文
posted @ 2021-01-08 11:21 士大夫给力 阅读(1144) 评论(0) 推荐(0) 编辑
摘要: systemctl命令查看服务状态的时候卡住了 看系统日志文件,有如下报错 [system] Failed to activate service 'org.freedesktop.systemd1': timed out reboot重启也报错 解决方案:强制重启 systemctl reboot 阅读全文
posted @ 2020-12-09 18:20 士大夫给力 阅读(1089) 评论(0) 推荐(0) 编辑
摘要: xshell连接服务器的时候报了如下的错 新版的sshd可能与xshell存在兼容性问题 在/etc/ssh/sshd_config最后增加以下一行 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nis 阅读全文
posted @ 2020-12-09 18:09 士大夫给力 阅读(729) 评论(0) 推荐(0) 编辑
摘要: firewalld服务启动失败 怎么办呢 cd /usr/bin/ 运行firewall-cmd文件 提示在firewall-cmd的31行 from firewall.client import FirewallClient, FirewallClientIPSetSettings 缺少Firew 阅读全文
posted @ 2020-12-02 17:01 士大夫给力 阅读(892) 评论(0) 推荐(0) 编辑
摘要: /var/log/messages 存放的是系统的日志信息,它记录了各种事件,基本上什么应用都能往里写日志,在做故障诊断时可以首先查看该文件内容 实际应用场景中,分配到/var下的磁盘空间有限,日志文件容易撑爆整个var目录 此时需要修改配置文件 /etc/rsyslog.conf 找到关于 mes 阅读全文
posted @ 2020-08-04 09:41 士大夫给力 阅读(3312) 评论(0) 推荐(0) 编辑
摘要: 1.配置MongoDB的yum源 vim /etc/yum.repos.d/mongodb-org-3.4.repo #添加以下内容: [mongodb-org-3.4] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/red 阅读全文
posted @ 2020-05-22 19:30 士大夫给力 阅读(563) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 7 下一页