摘要: mongoimport mongoimport -h 192.168.0.4 -u admin -p admin -d Dimensions -c publications --authenticationDatabase admin --type csv --headerline --file t 阅读全文
posted @ 2022-12-30 12:00 JesseGod 阅读(453) 评论(0) 推荐(0)
摘要: 1. 软件包说明软件包 说明postgresql libraries and client binariespostgresql-server core database serverpostgresql-contrib additional supplied modulespostgresql-d 阅读全文
posted @ 2022-12-30 10:28 JesseGod 阅读(1150) 评论(0) 推荐(0)
摘要: 本文使用的是elasticdump。 1、安装node(这里跳过,请自行安装) 2、使用npm安装elasticdump。 npm install elasticdump 3、使用命令 导出配置 (1)迁移 迁移settings:elasticdump --input={source_host}/{ 阅读全文
posted @ 2022-08-16 09:57 JesseGod 阅读(652) 评论(0) 推荐(0)
摘要: 1、下载conda miniconda网址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/ 2、安装conda # 给权限 chmod 777 Miniconda3-latest-Linux-x86_64.sh bash Minico 阅读全文
posted @ 2022-06-03 13:44 JesseGod 阅读(793) 评论(0) 推荐(0)
摘要: 1、安装虚拟环境 pip3 install virtualenv pip3 install virtualenvwrapper 2、安装完虚拟环境后,如果提示找不到mkvirtualenv命令,须配置环境变量: 创建目录存放虚拟环境: mkdir .envs 打开~/.bashrc文件,并添加如下 阅读全文
posted @ 2022-06-03 10:44 JesseGod 阅读(446) 评论(0) 推荐(0)
摘要: 使用ssh设置服务器时间 ssh root@${hostname} send "date -s '2022-05-27 00:00:00" 使用shell脚本设置服务器: /usr/bin/expect<<-EOFspawn ssh root@${hostname}expect {"(yes/no) 阅读全文
posted @ 2022-05-27 16:18 JesseGod 阅读(218) 评论(0) 推荐(0)
摘要: 添加定时任务: crontab -e 例子: 每分钟执行一次 * * * * * echo " test cron!!" 每小时执行一次 0 */1 * * * 每十分钟执行一次 */10 * * * * 查看日志: cat /var/log/cron 阅读全文
posted @ 2022-05-27 16:16 JesseGod 阅读(234) 评论(0) 推荐(0)
摘要: 1、下载rpm包 https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html oracle-instantclient-basic-21.6.0.0.0-1.el8.x86_64.rp 阅读全文
posted @ 2022-05-05 10:52 JesseGod 阅读(1986) 评论(0) 推荐(0)
摘要: 查看端口是否开放: firewall-cmd --query-port=123/tcp 开放yes,未开放no 添加指定需要开放的端口:firewall-cmd --add-port=123/tcp --permanent 重载入添加的端口:firewall-cmd --reload 移除指定端口: 阅读全文
posted @ 2022-04-13 15:42 JesseGod 阅读(328) 评论(0) 推荐(0)
摘要: 官网下载地址: http://releases.mozilla.org/pub/firefox/releases/ 1、解压文件 tar -jxvf firefox*.tar.bz2 修改owner sudo chown -R root:root firefox/ 2、移动到opt目录下 sudo 阅读全文
posted @ 2022-04-13 10:15 JesseGod 阅读(1031) 评论(0) 推荐(0)