随笔分类 -  Linux-Basic

摘要:1、场景 远程更新产品版本 2、处理方法 sudo apt-get install expect 参考链接: https://www.codeleading.com/article/80902740372/ 阅读全文
posted @ 2022-08-14 15:38 代码诠释的世界 阅读(647) 评论(0) 推荐(0)
摘要:1、起因 虚拟机内的docker起不来了, 百度各种查,还是没解决(百度真拉胯),无奈测试需要用, 还是得折腾一下 2、清理docker容器及镜像(报错的话, 相关可能执行不了) 1、删除容器 1)首先需要停止所有的容器 docker stop $(docker ps -a -q) 2)删除所有的容 阅读全文
posted @ 2022-08-10 11:15 代码诠释的世界 阅读(1694) 评论(0) 推荐(0)
摘要:1、docker hub https://hub.docker.com/_/mysql 2、创建目录 mkdir -p $HOME/mysql/conf $HOME/mysql/data $HOME/mysql/log 3、编辑配置文件 # 编辑配置文件my.cnf vim my.cnf # 新增配 阅读全文
posted @ 2022-08-01 15:34 代码诠释的世界 阅读(449) 评论(0) 推荐(0)
摘要:1、官网 https://www.consul.io/docs/guides HTTP API | Consul by HashiCorp 2、docker hub https://hub.docker.com/_/consul/ 3、github https://github.com/hashic 阅读全文
posted @ 2022-08-01 12:06 代码诠释的世界 阅读(488) 评论(0) 推荐(0)
摘要:1、官网 https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11WGU6KG 2、一键替换(更快捷) 备份(备份是个好习惯) sudo cp /etc/apt/sources.list /etc/apt/s 阅读全文
posted @ 2022-08-01 10:26 代码诠释的世界 阅读(3417) 评论(0) 推荐(0)
摘要:1、官网 https://nuitka.net/ 2、github https://github.com/Nuitka/Nuitka 3、安装mingw64 https://winlibs.com/ 4、创建python项目 以一个tk小例子 from tkinter import * root = 阅读全文
posted @ 2022-07-30 16:56 代码诠释的世界 阅读(4957) 评论(0) 推荐(0)
摘要:1、官网 https://www.fit2cloud.com/metersphere/index.html 2、文档 https://metersphere.io/docs/ https://github.com/metersphere/metersphere 3、环境 windwos10 jdk 阅读全文
posted @ 2022-07-28 16:44 代码诠释的世界 阅读(2233) 评论(0) 推荐(0)
摘要:1、docker hub https://hub.docker.com/_/redis 2、创建redis 创建目录 mkidr $HOME/Tools/redis/confmkdir $HOME/Tools/redis/data docker run \ --restart=always \ -- 阅读全文
posted @ 2022-07-28 16:15 代码诠释的世界 阅读(43) 评论(0) 推荐(0)
摘要:1、docker hub https://hub.docker.com/r/bitnami/kafka https://hub.docker.com/_/zookeeper 2、安装zookeeper 创建目录 mkdir $HOME/zookeeper/data mkdir $HOME/zooke 阅读全文
posted @ 2022-07-28 15:58 代码诠释的世界 阅读(286) 评论(0) 推荐(0)
摘要:1、命令帮助 -> % curl --help Usage: curl [options...] <url> Options: (H) means HTTP/HTTPS only, (F) means FTP only --anyauth Pick "any" authentication meth 阅读全文
posted @ 2022-07-21 14:16 代码诠释的世界 阅读(1858) 评论(0) 推荐(0)
摘要:1、 wget命令 -> % wget --help GNU Wget 1.17.1, a non-interactive network retriever. Usage: wget [OPTION]... [URL]... Mandatory arguments to long options 阅读全文
posted @ 2022-07-21 14:12 代码诠释的世界 阅读(837) 评论(0) 推荐(0)
摘要:1、官网 https://www.jenv.be/ 2、github https://github.com/jenv/jenv 3、安装方法 brew安装 brew install jenv 源码安装 git clone https://github.com/jenv/jenv.git ~/.jen 阅读全文
posted @ 2022-07-07 11:09 代码诠释的世界 阅读(474) 评论(0) 推荐(0)
摘要:1、问题 想进入docker修改配置文件时,发现没有vi和vim命令 2、一键更换国内源 Debian系统 sed -i -E 's/(deb|security).debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list 3、处理方法 # 进入容器 阅读全文
posted @ 2022-07-07 10:44 代码诠释的世界 阅读(2608) 评论(0) 推荐(0)
摘要:1、官方 https://docs.conda.io/projects/conda/en/latest/configuration.html 2、国内常用镜像 https://developer.aliyun.com/mirror/anaconda/ https://mirrors.tuna.tsi 阅读全文
posted @ 2022-06-29 11:45 代码诠释的世界 阅读(12129) 评论(1) 推荐(0)
摘要:1、开始菜单卸载 2、wslconfig命令行卸载 C:\Users\Administrator>wslconfig /? 在 Windows Subsystem for Linux 上执行管理操作 用法: /l, /list [选项] 列出已注册分发。 /all - 可选择列出所有分发,包括 当前 阅读全文
posted @ 2022-06-27 19:59 代码诠释的世界 阅读(6543) 评论(0) 推荐(0)
摘要:1、 问题 本人是WSL连接服务器,但是报错:connect /tmp/.X11-unix/X0: No such file or directory 2、 处理方法 打开MobaXterm 设置DISPLAY=localhost:0 3、然后启动远程图形界面程序 参考链接: https://www 阅读全文
posted @ 2022-06-22 09:49 代码诠释的世界 阅读(1117) 评论(0) 推荐(0)
摘要:1、问题现象 $ ssh -X -p 2222 test@192.168.1.123@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED 阅读全文
posted @ 2022-05-10 14:24 代码诠释的世界 阅读(129) 评论(0) 推荐(0)
摘要:1. 问题现象 2. 处理方法 根据提示删除对应文件即可 rm -rf /home/tester/xxxxxx/.git/index.lock 然后重新切换即可 阅读全文
posted @ 2022-04-02 14:36 代码诠释的世界 阅读(52) 评论(0) 推荐(0)
摘要:1. 安装jenkins插件 JIRA Trigger Plugin 2. 全局配置,配置jira网址及账号信息 3. 配置jenkins的网络钩子到jira中 找到高级>网络钩子 配置网络钩子 配置信息如下, 换成自己的jenkins url http://192.168.10.99:8081/j 阅读全文
posted @ 2022-03-31 17:18 代码诠释的世界 阅读(1603) 评论(0) 推荐(0)
摘要:1. 方法一:[[ "${array[@]}" =~ "字符串" ]] names="This is a computer , I am playing games in the computer" if [[ "${names[@]}" =~ "playing" ]]; then echo 'st 阅读全文
posted @ 2022-03-31 15:56 代码诠释的世界 阅读(769) 评论(0) 推荐(0)