随笔分类 -  Linux-Basic

摘要: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 代码诠释的世界 阅读(32) 评论(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 代码诠释的世界 阅读(270) 评论(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 代码诠释的世界 阅读(1665) 评论(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 代码诠释的世界 阅读(787) 评论(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 代码诠释的世界 阅读(409) 评论(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 代码诠释的世界 阅读(2482) 评论(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 代码诠释的世界 阅读(10639) 评论(1) 推荐(0) 编辑
摘要:1、开始菜单卸载 2、wslconfig命令行卸载 C:\Users\Administrator>wslconfig /? 在 Windows Subsystem for Linux 上执行管理操作 用法: /l, /list [选项] 列出已注册分发。 /all - 可选择列出所有分发,包括 当前 阅读全文
posted @ 2022-06-27 19:59 代码诠释的世界 阅读(6190) 评论(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 代码诠释的世界 阅读(973) 评论(0) 推荐(0) 编辑
摘要:1、问题现象 $ ssh -X -p 2222 test@192.168.1.123@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED 阅读全文
posted @ 2022-05-10 14:24 代码诠释的世界 阅读(108) 评论(0) 推荐(0) 编辑
摘要:1. 问题现象 2. 处理方法 根据提示删除对应文件即可 rm -rf /home/tester/xxxxxx/.git/index.lock 然后重新切换即可 阅读全文
posted @ 2022-04-02 14:36 代码诠释的世界 阅读(41) 评论(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 代码诠释的世界 阅读(1412) 评论(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 代码诠释的世界 阅读(717) 评论(0) 推荐(0) 编辑
摘要:1. 方法一:${JAVA_ALLOWED_VERSIONS[*]} =~ "$JAVA_VERSION" JAVA=`type -p java` JAVA_ALLOWED_VERSIONS=( "1.8" "11" ) # Work out the JAVA version we are work 阅读全文
posted @ 2022-03-31 15:51 代码诠释的世界 阅读(1311) 评论(0) 推荐(0) 编辑
摘要:1. 问题现象 报错现象类似 https://blog.csdn.net/ZYStefanie/article/details/112358315 2. 处理方法 sudo vim /etc/init.d/jenkins 修改原来的Java_version匹配规则 JAVA_VERSION=$($J 阅读全文
posted @ 2022-03-31 15:39 代码诠释的世界 阅读(349) 评论(0) 推荐(0) 编辑
摘要:1. 问题现象 2. 权限问题处理方法 sudo chown -R jenkins:jenkins /var/lib/jenkins sudo chown -R jenkins:jenkins /var/cache/jenkins sudo chown -R jenkins:jenkins /var 阅读全文
posted @ 2022-03-31 15:32 代码诠释的世界 阅读(269) 评论(0) 推荐(0) 编辑
摘要:1. 官网 https://www.atlassian.com/software/jira/guides https://docs.atlassian.com/software/jira/docs/api/ 2. 安装mysql https://www.cnblogs.com/fireblackma 阅读全文
posted @ 2022-03-31 11:01 代码诠释的世界 阅读(22110) 评论(5) 推荐(0) 编辑
摘要:1. 问题 这个问题是因为我重新安装, 没删除原来的数据库 2. 处理方法 因为存在相同的数据库,没清空, 然后删除重建即可 mysql -h localhost -u root -p create database jira default character set utf8 collate u 阅读全文
posted @ 2022-03-30 21:17 代码诠释的世界 阅读(1298) 评论(0) 推荐(0) 编辑
摘要:1. 编辑配置 2. 重启生效 sudo systemctl daemon-reload sudo systemctl restart docker.service 3. 检查端口 4. 客户端配置 # ip改成远程服务器的ip export DOCKER_HOST=tcp://127.0.0.1: 阅读全文
posted @ 2022-03-29 18:03 代码诠释的世界 阅读(399) 评论(0) 推荐(0) 编辑
摘要:1. 报错 2. 处理 ubuntu sudo apt install net-tools centos yum -y install net-tools 阅读全文
posted @ 2022-03-29 17:38 代码诠释的世界 阅读(42) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示