随笔分类 -  Linux-Basic

摘要:1. 创建docker用户组 sudo groupadd docker 2. 添加当前用户加入docker用户组 sudo usermod -aG docker ${USER} 3. 重启docker服务 sudo systemctl restart docker 4、生效配置 sudo newgr 阅读全文
posted @ 2022-03-25 14:05 代码诠释的世界 阅读(12136) 评论(1) 推荐(1) 编辑
摘要:1. 官网 https://www.jumpserver.org/ 2.github https://github.com/jumpserver/jumpserver.git 3.文档 https://docs.jumpserver.org/zh/master/install/setup_by_fa 阅读全文
posted @ 2022-03-25 13:39 代码诠释的世界 阅读(1912) 评论(0) 推荐(0) 编辑
摘要:1. 安装openssh-server sudo apt-get install openssh-server 2、会安装相关依赖包 ~$ dpkg -l | grep ssh ii libssh-4:amd64 0.9.3-2ubuntu2.2 amd64 tiny C SSH library ( 阅读全文
posted @ 2022-03-25 11:42 代码诠释的世界 阅读(297) 评论(0) 推荐(0) 编辑
摘要:1. 各大源官网 https://mirrors.tuna.tsinghua.edu.cn/ http://mirrors.163.com/ https://developer.aliyun.com/mirror/ https://mirrors.ustc.edu.cn/ https://mirro 阅读全文
posted @ 2022-03-25 11:34 代码诠释的世界 阅读(2018) 评论(0) 推荐(0) 编辑
摘要:1. 官网 http://mysql-python.sourceforge.net/MySQLdb.html 2. github地址 python2 https://github.com/farcepest/MySQLdb1 python3 https://github.com/PyMySQL/my 阅读全文
posted @ 2022-03-17 20:21 代码诠释的世界 阅读(479) 评论(0) 推荐(0) 编辑
摘要:1、显示行号, :set nu 2、隐藏行号, :set nonu 3、持久化配置 sudo vim /etc/vim/vimrc 文件中加入 阅读全文
posted @ 2022-03-17 17:03 代码诠释的世界 阅读(198) 评论(0) 推荐(0) 编辑
摘要:1、使用vim打开文件 $ vim /var/log/mail.log 2、使用 “/后跟要搜索的字符串”, 然后按回车 3、然后按小写‘n’ , 查找下一个 4. 大写'N', 查找上一个 5. 设置高亮显示, :set nohlsearch 6. 设置非高亮显示, :nohlsearch或者:s 阅读全文
posted @ 2022-03-17 16:53 代码诠释的世界 阅读(4658) 评论(0) 推荐(0) 编辑
摘要:1. 命令帮助 -> % ln --help Usage: ln [OPTION]... [-T] TARGET LINK_NAME (1st form) or: ln [OPTION]... TARGET (2nd form) or: ln [OPTION]... TARGET... DIRECT 阅读全文
posted @ 2022-03-16 11:24 代码诠释的世界 阅读(5091) 评论(0) 推荐(0) 编辑
摘要:1. 官网链接 https://wiki.deepin.org/wiki/Deepin%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0NVIDIA%E9%A9%B1%E5%8A%A8 阅读全文
posted @ 2022-03-10 21:11 代码诠释的世界 阅读(469) 评论(0) 推荐(0) 编辑
摘要:1. 打开服务器的.ssh/authorized_keys vim .ssh/authorized_keys 2. 将客户机的公钥复制到服务器的.ssh/authorized_keys文件内 3. 客户端测试链接 ssh test@192.168.1.100 阅读全文
posted @ 2022-03-10 14:42 代码诠释的世界 阅读(35) 评论(0) 推荐(0) 编辑
摘要:一、方法1 1. 进入ssh目录,C:\Users\你自己的用户名\.ssh 2. 将免密的私钥复制到这台电脑上的 .ssh目录,例如叫:id_rsa_linux 3. 在ssh目录创建config文件,linux为用户的home目录下 Host 192.168.1.100 User test Ho 阅读全文
posted @ 2022-03-10 14:36 代码诠释的世界 阅读(563) 评论(0) 推荐(0) 编辑
摘要:1. Windows下安装vcxsrv https://sourceforge.net/projects/vcxsrv/ 2. WSL Ubuntu下安装xfce desktop sudo apt-get install xfce4-terminal sudo apt-get install xfc 阅读全文
posted @ 2022-03-10 14:18 代码诠释的世界 阅读(1102) 评论(0) 推荐(0) 编辑
摘要:1. 安装界面打开终端 在虚拟机桌面按Ctrl+Alt+T,出现终端窗口 2. 设置分辨率大小 xrandr -s 1280x800 参考链接: https://blog.csdn.net/qq_45927266/article/details/122321532 阅读全文
posted @ 2022-03-10 14:10 代码诠释的世界 阅读(42) 评论(0) 推荐(0) 编辑
摘要:1. 现象 2. 处理方法 ps aux | grep elastic kill -9 [pid] 参考链接: https://blog.csdn.net/davidchang365/article/details/103254012 阅读全文
posted @ 2022-03-01 14:56 代码诠释的世界 阅读(252) 评论(0) 推荐(0) 编辑
摘要:1. 官网 https://docs.docker.com/engine/reference/commandline/system_prune/ 2. 方法 docker system prune 命令可以用于清理磁盘,删除关闭的容器、无用的数据卷和网络,以及dangling镜像(即无tag的镜像) 阅读全文
posted @ 2022-03-01 12:10 代码诠释的世界 阅读(734) 评论(0) 推荐(0) 编辑
摘要:1. 创建多分支流水线 2. sonar创建项目 3. sonar生成token 4. jenkins配置sonar服务器 5. 创建jenkinsfile 6. 测试 参考链接: https://www.freesion.com/article/51961427353/ https://blog. 阅读全文
posted @ 2022-02-28 20:59 代码诠释的世界 阅读(306) 评论(0) 推荐(0) 编辑
摘要:参考链接: https://blog.csdn.net/weixin_46902396/article/details/118337250 阅读全文
posted @ 2022-02-28 20:52 代码诠释的世界 阅读(48) 评论(0) 推荐(0) 编辑
摘要:1. hub地址 https://hub.docker.com/r/twang2218/gitlab-ce-zh 阅读全文
posted @ 2022-02-28 20:49 代码诠释的世界 阅读(146) 评论(0) 推荐(0) 编辑
摘要:1. 官网 https://www.php.net/ 2. 安装 https://www.php.net/manual/zh/ 参考链接: https://blog.csdn.net/cunjie3951/article/details/106900049/ 阅读全文
posted @ 2022-02-28 20:44 代码诠释的世界 阅读(127) 评论(0) 推荐(0) 编辑
摘要:1. 使用字符串参数构建 2. 配置pipeline stage('Checkout') { steps { script{ branch = branch if (env.gitlabSourceBranch != null) { checkout changelog: true, poll: t 阅读全文
posted @ 2022-02-28 20:35 代码诠释的世界 阅读(795) 评论(0) 推荐(0) 编辑

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