上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 69 下一页

2022年3月27日

|NO.Z.00014|——————————|CloudNative|——|CI/CD&GitLab操作 .V04|——|GitLab.UI初始化|

摘要: 一、GItlab.UI初始化 ### 登录gitlab ~~~ Chrome: http://10.10.10.11/, ~~~ 然后 change password: 并使用root用户登录 二、gitlab修改账户密码 ### 设置超级管理员用户密码 [root@server11 ~]# git 阅读全文

posted @ 2022-03-27 15:53 yanqi_vip 阅读(18) 评论(0) 推荐(0)

|NO.Z.00013|——————————|^^ 配置 ^^|——|CI/CD&GitLab配置 .V03|——|GitLab.Server&SMTP配置|

摘要: 一、gitlab server 配置——smtp: ### gitlab添加SMTP邮件功能 ~~~ 设置邮件配置参数 ~~~ postfix 并非必须的;根据具体情况配置,以 SMTP 的为例配置邮件服务器来实现通知; ~~~ 参考配置如下: [root@server11 ~]# vim /etc 阅读全文

posted @ 2022-03-27 15:52 yanqi_vip 阅读(45) 评论(0) 推荐(0)

|NO.Z.00012|——————————|^^ 配置 ^^|——|CI/CD&GitLab配置 .V02|——|GitLab.Server&Https配置|

摘要: 一、gitlab server 配置——https ### gitlab配置https(缺少配置) ### https配置说明 ~~~ 如果想要以上的 https 方式正常生效使用, ~~~ 则需要把 letsencrypt 自动生成证书的配置打开, ~~~ 这样在执行重新让配置生效命令 (gitl 阅读全文

posted @ 2022-03-27 15:51 yanqi_vip 阅读(32) 评论(0) 推荐(0)

|NO.Z.00011|——————————|^^ 部署 ^^|——|CI/CD&GitLab部署 .V01|——|GitLab.Server部署|初始化|

摘要: 一、基础环境配置 ### 基础环境配置 ~~~ 关闭防火墙、selinux ~~~ 开启postfix服务 ~~~ 开启Postfix服务并设置开机自启动 [root@server11 ~]# systemctl start postfix [root@server11 ~]# systemctl 阅读全文

posted @ 2022-03-27 15:50 yanqi_vip 阅读(48) 评论(0) 推荐(0)

|NO.Z.00009|——————————|CloudNative|——|CI/CD&GitHub操作.V01|——|GitHub远程仓库|

摘要: 一、GitHub远程仓库说明 ### 创建GitHub账户 ### GitHub创建仓库 ~~~ github.com官网注册github账户 二、配置GitHub.ssh秘钥 ### 本地客户端生成ssh公钥 ~~~ 生成公钥 ~~~ 邮箱要与github上注册的相同 [root@server11 阅读全文

posted @ 2022-03-27 15:49 yanqi_vip 阅读(43) 评论(0) 推荐(0)

|NO.Z.00010|——————————|CloudNative|——|CI/CD&GitHub操作.V02|——|GitHub仓库验证|

摘要: 一、GitHub验证:验证测试 ### 在GitHub远程仓库创建一个新的仓库 ~~~ 在 github 网站新建一个仓库,命名为linux [root@server11 ~]# cd /opt [root@server11 ~]# mkdir linux [root@server11 ~]# cd 阅读全文

posted @ 2022-03-27 15:49 yanqi_vip 阅读(31) 评论(0) 推荐(0)

|NO.Z.00007|——————————|CloudNative|——|CI/CD&Git配置.V06|——|Git命令|

摘要: 一、Git常用命令 二、Git常用命令示例 [root@server12 ~]# git init # 初始化 [root@server12 ~]# git add main.cpp # 将某一个文件添加到暂存区 [root@server12 ~]# git add . # 将文件夹下的所有的文件添 阅读全文

posted @ 2022-03-27 15:48 yanqi_vip 阅读(72) 评论(0) 推荐(0)

|NO.Z.00008|——————————|^^ 配置 ^^|——|CI/CD&Git配置.V07|——|Git冲突解决|

摘要: 一、Git常用命令——解决冲突 ### 创建feature1分支并提交版本 ~~~ 创建feature1分支 [root@server12 shell]# git checkout -b feature1 # 创建新的feature1分支 ### 修改内容,修改readme.txt最后一行,改为: 阅读全文

posted @ 2022-03-27 15:48 yanqi_vip 阅读(37) 评论(0) 推荐(0)

|NO.Z.00005|——————————|^^ 配置 ^^|——|CI/CD&Git配置.V04|——|SSH连接|

摘要: 一、SSH连接 ### SSH连接 ~~~ 客户机上产生公钥上传到gitlab的SSH-Keys里, ~~~ git clone下载和git push上传都没问题,这种方式很安全 二、http 链接(两种方式实现) ### 配置http连接 ~~~ 查看git.http配置信息 [root@serv 阅读全文

posted @ 2022-03-27 15:47 yanqi_vip 阅读(23) 评论(0) 推荐(0)

|NO.Z.00006|——————————|^^ 配置 ^^|——|CI/CD&Git配置.V05|——|Git项目交互|

摘要: 一、本地项目与Git-server之间交互 ### 如果你没有最新的代码,希望从头开始 ~~~ clone版本库到gitclient ~~~ 这里是项目的地址(可从项目主页复制),将远程服务器的内容完全复制过来 [root@server12 ~]# git clone git@XXX.git ~~~ 阅读全文

posted @ 2022-03-27 15:47 yanqi_vip 阅读(19) 评论(0) 推荐(0)

|NO.Z.00004|——————————|^^ 部署 ^^|——|CI/CD&Git部署.V03|——|Git.Client部署|

摘要: 一、Git客户端部署 ### Git-client安装 ~~~ 安装Git依赖工具 [root@server12 ~]# yum -y install curl-devel expat-devel gettext-devel openssl-devel zlib-devel ~~~ 安装Git版本包 阅读全文

posted @ 2022-03-27 15:46 yanqi_vip 阅读(28) 评论(0) 推荐(0)

|NO.Z.00001|——————————|CloudNative|——|CI/CD&分布式版本控制系统|——|Git&GitHub&Gitlab|

摘要: 一、Git、Github、Gitlab 的区别 ### 什么是Git ~~~ Git是一个开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。 ~~~ 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 ~~~ git是一套软件 可以 阅读全文

posted @ 2022-03-27 15:45 yanqi_vip 阅读(13) 评论(0) 推荐(0)

|NO.Z.00002|——————————|^^ 部署 ^^|——|CI/CD&Git部署.V01|——|Git.Server部署|

摘要: 一、部署Git.Server: ### 部署规划 ~~~ Git本身是没有客户端和服务端之说的,只是我们为了区分不同的角色是这么定义的。 ~~~ centos7.x:10.10.10.11 Git Server ~~~ centos7.x:10.10.10.12 Git client 二、部署Git 阅读全文

posted @ 2022-03-27 15:45 yanqi_vip 阅读(40) 评论(0) 推荐(0)

|NO.Z.00003|——————————|CloudNative|——|CI/CD&Git部署.V02|——|Git.Client概述|

摘要: 一、Git概述 ### Git工作流程 ~~~ 克隆 Git 资源作为工作目录。 ~~~ 在克隆的资源上添加或修改文件。 ~~~ 如果其他人修改了,你可以更新资源。 ~~~ 在提交前查看修改 ~~~ 提交修改。 ~~~ 在修改完成后,如果发现错误,可以撤回提交并再次修改并提交。 二、Git工作流程示 阅读全文

posted @ 2022-03-27 15:45 yanqi_vip 阅读(25) 评论(0) 推荐(0)

|NO.Z.00000|——————————|CloudNative|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-27 15:44 yanqi_vip 阅读(8) 评论(0) 推荐(0)

|NO.Z.00024|——————————|^^ 报错 ^^|——|Jenkins报错分析.V01|

摘要: 报错分析一:报错现象:jenkins访问一直处于等待状态 ### 报错现象 ~~~ tomcat日志显示如下信息: [root@server11 ~]# tail -f /usr/local/tomcat/logs/catalina.out WARNING [Handling GET /jenkin 阅读全文

posted @ 2022-03-27 15:43 yanqi_vip 阅读(48) 评论(0) 推荐(0)

|NO.Z.10000|——————————|CloudNative|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-27 15:43 yanqi_vip 阅读(9) 评论(0) 推荐(0)

|NO.Z.00022|——————————|CloudNative|——|Jenkins&Jenkins配置.V12|——|Jenkins.任务构建|

摘要: 一、Jenkins任务构建 ### Jenkins任务构建 ~~~ ——>立即构建 ~~~ ——>查看构建结果:结果路径 ~~~ ——>输出信息 ~~~ ——>观察tomcat网站服务器,代码和脚本 二、控制台输出 ### 控制台输出 ~~~ 由用户 admin 启动 Running as SYST 阅读全文

posted @ 2022-03-27 15:42 yanqi_vip 阅读(25) 评论(0) 推荐(0)

|NO.Z.00023|——————————|CloudNative|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-27 15:42 yanqi_vip 阅读(6) 评论(0) 推荐(0)

|NO.Z.00021|——————————|CloudNative|——|Jenkins&Jenkins配置.V11|——|Jenkins.凭证&任务|

摘要: 一、创建credentials凭证 ### 创建凭证:credentials ~~~ # 步骤1: ~~~ 在 jenkins 中使用 git 插件从仓库中 pull 代码的时候会要求 jenkins 必须有 pull 权限(尤其是当git开启了ssh认证的时候), ~~~ 在配置 jenkins 阅读全文

posted @ 2022-03-27 15:41 yanqi_vip 阅读(99) 评论(0) 推荐(0)

|NO.Z.00019|——————————|CloudNative|——|Jenkins&Jenkins配置.V09|——|Jenkins系统配置|

摘要: 一、检查错误配置 ### 左侧:点击“系统管理” ~~~ 如果有“编码问题”错误,在Tomcat–>conf–>server.xml文件中修改即可 ~~~ 如果有”反向代理设置有误“错误,请忽略 [root@server11 ~]# head -1 /usr/local/tomcat/conf/se 阅读全文

posted @ 2022-03-27 15:37 yanqi_vip 阅读(26) 评论(0) 推荐(0)

|NO.Z.00020|——————————|CloudNative|——|Jenkins&Jenkins配置.V10|——|Jenkins.ssh配置|

摘要: 一、Jenkins配置SSH ### 配置SSH目的说明 ~~~ 10.10.10.11:jinkens服务器上的maven将开发产生的*.war包。 ~~~ 通过SSH自动推送到远程tomcat 服务器上(10.10.10.12)。 ~~~ 需要手工配置ssh key。配合自动化推送 ~~~ 10 阅读全文

posted @ 2022-03-27 15:37 yanqi_vip 阅读(333) 评论(0) 推荐(0)

|NO.Z.00017|——————————|CloudNative|——|Jenkins&Jenkins配置.V07|——|Jenkins.初始化|

摘要: 一、Jenkins初始环境配置 ### 查看Jenkins管理员密码 [root@server11 ~]# cat /root/.jenkins/secrets/initialAdminPassword b1a9d328f9fc41e594158124eff03bbb 二、通过Chrome访问Jen 阅读全文

posted @ 2022-03-27 15:36 yanqi_vip 阅读(13) 评论(0) 推荐(0)

|NO.Z.00018|——————————|CloudNative|——|Jenkins&Jenkins配置.V08|——|Jenkins.插件安装|

摘要: 一、Jenkins插件安装——Deploy to container ### Jenkins常用插件配置说明 ~~~ 我们配置的是 git + maven 方式的 自动化部署 所以git和maven的相关插件是必须的 ~~~ 还有一个ssh用于机器间的文件传送 ~~~ 安装的过程请耐心等待 二、插件 阅读全文

posted @ 2022-03-27 15:36 yanqi_vip 阅读(11) 评论(0) 推荐(0)

|NO.Z.00016|——————————|^^ 部署 ^^|——|Jenkins&Jenkins部署.V06|——|二进制.Jenkins.v2.130|

摘要: 一、部署Jenkins ### 官网下载jenkins: ~~~ 下载最新版 http://updates.jenkins-ci.org/download/war/2.130 二、部署Jenkins ### 部署jenkins.war到tomcat下: [root@server11 ~]# cp j 阅读全文

posted @ 2022-03-27 15:35 yanqi_vip 阅读(30) 评论(0) 推荐(0)

|NO.Z.00015|——————————|^^ 部署 ^^|——|Jenkins&Jenkins部署.V05|——|二进制.tomcat.v9.0.1|

摘要: 一、依赖环境——tomcat ### 官网下载tomcat: apache-tomcat-9.0.1.tar.gz 二、安装tomcat版本包 ### 部署tomcat版本包 [root@server11 ~]# tar -zxvf apache-tomcat-9.0.1.tar.gz -C /us 阅读全文

posted @ 2022-03-27 15:35 yanqi_vip 阅读(9) 评论(0) 推荐(0)

|NO.Z.00014|——————————|^^ 部署 ^^|——|Jenkins&Jenkins部署.V04|——|二进制.maven.v3.5.3|

摘要: 一、依赖环境——maven ### 下载maven版本包 [root@server11 ~]# wget http://mirror.bit.edu.cn/apache/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz 二、部署ma 阅读全文

posted @ 2022-03-27 15:34 yanqi_vip 阅读(12) 评论(0) 推荐(0)

|NO.Z.00012|——————————|^^ 部署 ^^|——|Jenkins&Jenkins部署.V02|——|二进制.Git.v2.9.5|

摘要: 一、基础环境配置 ### 系统部署规划 ~~~ centos7.x:10.10.10.11: github ~~~ centos7.x:10.10.10.11: 部署jenkins ~~~ centos7.x:10.10.10.12: 充当tomcat网站服务器:建议使用公网环境 ### 安装基础依 阅读全文

posted @ 2022-03-27 15:33 yanqi_vip 阅读(16) 评论(0) 推荐(0)

|NO.Z.00013|——————————|^^ 部署 ^^|——|Jenkins&Jenkins部署.V03|——|二进制.JDK.v1.8.0_151|

摘要: 一、JDK部署 ### 下载JDK版本包 ~~~ jdk-8u151-linux-x64.tar.gz ~~~ 注意:不能用jdk9和jdk10 ### 解压JDK版本包 [root@server11 ~]# tar -zxvf jdk-8u151-linux-x64.tar.gz -C /usr/ 阅读全文

posted @ 2022-03-27 15:33 yanqi_vip 阅读(13) 评论(0) 推荐(0)

|NO.Z.00011|——————————|CloudNative|——|Jenkins&Jenkins部署.V01|——|Jenkins概述|

摘要: 一、Jenkins部署概述 ### jenkins ~~~ Jenkins是帮我们将代码进行统一的编译打包、还可以放到tomcat容器中进行发布。 ~~~ 意思是我们通过配置,将以前:编译、打包、上传、部署到Tomcat中的过程交由Jenkins, ~~~ Jenkins通过给定的代码地址URL,将 阅读全文

posted @ 2022-03-27 15:32 yanqi_vip 阅读(7) 评论(0) 推荐(0)

|NO.Z.00010|——————————|CloudNative|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-27 15:32 yanqi_vip 阅读(7) 评论(0) 推荐(0)

|NO.Z.00007|——————————|CloudNative|——|Jenkins&GitLab部署.V01|——|架构图|

摘要: 一、Jenkins部署逻辑 Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before th 阅读全文

posted @ 2022-03-27 15:31 yanqi_vip 阅读(29) 评论(0) 推荐(0)

|NO.Z.00008|——————————|^^ 部署 ^^|——|Jenkins&GitLab部署.V02|——|Gitlab版本库部署.V01|

摘要: 一、Gitlab构建分布式版本控制系统 ### 基础环境配置 ~~~ gitlab构建说明 ~~~ # Git构建分布式版本控制器——后台部署 ~~~ 官网地址:https://about.gitlab.com/downloads/#centos7 ### 配置环境规划 ~~~ centos7.x: 阅读全文

posted @ 2022-03-27 15:31 yanqi_vip 阅读(8) 评论(0) 推荐(0)

|NO.Z.00009|——————————|CloudNative|——|Jenkins&GitLab部署.V03|——|Gitlab版本库配置.V02|Git.Push|

摘要: 一、gitlab基础配置 ### 登录gitlab ~~~ # gitlab服务器的地址: ~~~ http://10.10.10.11 GITLAB占用80端口,访问时直接访问IP就可以 ~~~ (第一次会让你确认root账户登录的密码) ### 创建用户名记密码 ~~~ 创建8位新密码:1qaz 阅读全文

posted @ 2022-03-27 15:31 yanqi_vip 阅读(61) 评论(0) 推荐(0)

|NO.Z.00005|——————————|CloudNative|——|Jenkins&Git分布式概述.V04|——|实验架构.V3|

摘要: 二一、实验二十一: ### 使用一条命令,创建/usr/local/tomcat/temp目录,并显示创建过程。 mkdir -pv /usr/local/tomcat/temp 二二、实验二十二: ### 将/usr/local/java/jre/lib/management/jmxremote. 阅读全文

posted @ 2022-03-27 15:30 yanqi_vip 阅读(46) 评论(0) 推荐(0)

|NO.Z.00006|——————————|CloudNative|——————————————————————————————————————

摘要: NO: Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both hands before the fire of 阅读全文

posted @ 2022-03-27 15:30 yanqi_vip 阅读(14) 评论(0) 推荐(0)

|NO.Z.00004|——————————|CloudNative|——|Jenkins&Git分布式概述.V03|——|实验架构.V2|

摘要: 一、逻辑图辅助资料——实验 ### 写出Nginx通过代理服务器,获取访问用户的ip的配置。 server { listen 80; server_name _; location / { .................. proxy_pass http://127.0.0.1:8000/; # 阅读全文

posted @ 2022-03-27 15:29 yanqi_vip 阅读(37) 评论(0) 推荐(0)

|NO.Z.00002|——————————|CloudNative|——|Jenkins&Git分布式概述.V01|——|架构图|

摘要: 一、Git分布式:Git构建分布式版本控制系统逻辑 Walter Savage Landor:strove with none,for none was worth my strife.Nature I loved and, next to Nature, Art:I warm'd both han 阅读全文

posted @ 2022-03-27 15:28 yanqi_vip 阅读(12) 评论(0) 推荐(0)

|NO.Z.00003|——————————|CloudNative|——|Jenkins&Git分布式概述.V02|——|实验架构.V1|

摘要: 一、逻辑图辅助资料——添加gitlab.yum仓库 ### 添加gitlab.yum仓库到服务器 #script.rpm.sh #!/bin/bash unknown_os () { echo "Unfortunately, your operating system distribution an 阅读全文

posted @ 2022-03-27 15:28 yanqi_vip 阅读(20) 评论(0) 推荐(0)

|NO.Z.00001|——————————|CloudNative|——|Jenkins&持续集成概述|

摘要: 一、持续集成概述 ### 总体的概括 ~~~ 持续集成Continuous Integration ~~~ 持续交付Continuous Delivery ~~~ 持续部署Continuous Deployment ### 什么是持续集成: ~~~ 持续集成是指开发者在代码的开发过程中,可以频繁的将 阅读全文

posted @ 2022-03-27 15:27 yanqi_vip 阅读(29) 评论(0) 推荐(0)

上一页 1 ··· 52 53 54 55 56 57 58 59 60 ··· 69 下一页

导航