02 2021 档案

摘要:1、报错:This account is currently not available. 故障:无法切换某个用户 原因:修改了用户的shell 问题 解决:将/etc/passwd 文件中,无法登录用户的 /sbin/nologin 修改为:/bin/bash ,保存退出即可。 2、报错:ssh 阅读全文
posted @ 2021-02-25 14:27 听&夏 阅读(1184) 评论(0) 推荐(0)
摘要:原文地址:https://blog.csdn.net/web_csdn_share/article/details/79243308 Git常用命令及方法大全 下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。 Workspace:工作区 Index / Stage:暂存区 Reposi 阅读全文
posted @ 2021-02-24 17:29 听&夏 阅读(259) 评论(0) 推荐(0)
摘要:一、目标任务: 检验实验环境 [root@jenkins ~]# su - deploy [deploy@jenkins ~]$ source /home/deploy/.py3-a2.5-env/bin/activate (.py3-a2.5-env) [deploy@jenkins ~]$ so 阅读全文
posted @ 2021-02-23 18:56 听&夏 阅读(178) 评论(0) 推荐(0)
摘要:一、概念图 二、演示过程 [root@gitleb ~]# git config --global http.sslVerify false #关闭安全认证,避免clone 时报错证书错误 [root@gitleb ~]# git clone https://gitlab.example.com/r 阅读全文
posted @ 2021-02-23 17:27 听&夏 阅读(567) 评论(0) 推荐(0)
摘要:一、 Jenkins Linux shell集成和Jenkins参数集成 1.Jenkins Linux shell集成主要作用是实现脚本的执行可视化 创建一个 shell 模块的自由风格的job 脚本: #!/bin/sh user=`whoami` if [ $user == 'deploy' 阅读全文
posted @ 2021-02-22 17:36 听&夏 阅读(250) 评论(0) 推荐(0)
摘要:一、什么是 jenkins 二、Jenkins 的安装配置 三、安装jenkins 实例演示: 1.系统优化:防火墙、selinux 等 2. 添加 Jenkins 的yum源 ~]# wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins. 阅读全文
posted @ 2021-02-09 15:44 听&夏 阅读(526) 评论(0) 推荐(0)
摘要:一、轻量级自动化运维工具对比 二、ansible 的优势和应用场景 1.轻量级无客户端(Agentless) 2.开源免费,学习成本低、快速上手; 3.使用playbook 作为核心配置架构,统一的脚本格式,批量化部署 ; 4.完善的模块化扩展,支持目前主流的开发场景; 5.江大的稳定性和兼容性; 阅读全文
posted @ 2021-02-05 16:05 听&夏 阅读(431) 评论(0) 推荐(0)
摘要:1、准备虚拟机 2、使用yum安装gitlab-ce 版 ~]# yum -y install curl policycoreutils openssh-server openssh-client postfix ~]# curl -sS https://packages.gitlab.com/in 阅读全文
posted @ 2021-02-04 18:45 听&夏 阅读(184) 评论(0) 推荐(0)