自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(40)
  • 收藏
  • 关注

原创 git push 报错 The requested URL returned error: 500

LDAP服务以正常运行,这时候再通过ldap登录gitlab试下,发现还是一样的报错,无法连接到ldapadmin服务器。再登录可以正常通过ldap登录gitlab了 ,git push也可以正常推送。看报错应该是本地和gitlab服务器之间通信的问题,登录gitlab网站查看。登录时报错无法通过ldapadmin认证,ldap服务器连接失败。首先,登录ldap服务器,查看是否是ldap服务关闭了。可能是由于防火墙拦截导致的,关闭防火墙试下。建议:防火墙添加白名单或者永久关闭防火墙。

2023-11-15 16:35:33 1004

原创 Gitlab服务器配置LDAP指导

5. 重启gitlab服务。

2023-11-06 15:19:37 1720

原创 gitlab数据备份和恢复

生成1697101003_2023_10_12_12.0.3-ee_gitlab_backup.tar 文件。找到如图所示代码行,并按需求自行修改备份文件路径和打开设置路径开关。注意BACKUP=后面跟的不是压缩包文件的全称。

2023-11-06 15:04:29 982

原创 LDAP用户密码自服务平台搭建

根据错误信息显示,Docker daemon 在设置容器的网络连接时遇到了问题。官方文档 :https://self-service-password.readthedocs.io/en/latest/源码地址:https://github.com/ltb-project/self-service-password。2.在ssp.conf.php其中输入如下配置选项,具体参数按照LDAP的实际参数。4.访问自服务平台,网址为搭建LDAP用户密码自服务平台的服务器IP。5.测试能否修改密码—PASS。

2023-10-17 14:04:06 381

原创 jenkins默认环境变量值

OBN​AME−。

2023-09-20 10:16:18 482

原创 jenkins通过gitlab webhooks获取的参数

【代码】jenkins通过gitlab webhooks获取的参数。

2023-09-19 16:23:16 554

原创 gitlab 点击Integrations出现500错误

解决方法:1.进入新服务器,将 /etc/gitlab/gitlab-secrets.json重命名为 /etc/gitlab/gitlab-secrets.json.bak。背景:在新服务器重新搭建了gitlab,并导入原来gitlab的备份,在项目中点击点击Integrations出现500错误。4.初始化完成后打开gitlab,发现可正常打开配置。2.从原服务器将该文件替换过来。

2023-09-08 16:22:13 1198

原创 gitlab-rake gitlab:backup:create 执行报错 Errno::ENOSPC: No space left on device

方法2:创建一个根目录的挂载点,将新创建的目录挂载到根目录上,重启系统。命令创建备份时,默认情况下备份文件将存放在 GitLab 安装目录下的。方法1:清理存放路径,删除不需要文件,释放空间。目录中,将备份存放在其他位置,可以通过。环境变量来指定备份文件的存放路径。在 GitLab 中,使用。问题分析:存储备份的空间满。gitlab仓库备份执行。方法3:修改备份存放位置。

2023-08-30 14:22:38 1221

原创 LDAP: error code 53 - unauthenticated bind (DN with no password) disallowed

这个错误提示显示Jenkins无法连接到LDAP服务器,原因是LDAP服务器不允许未认证的绑定(DN与无密码)。

2023-08-23 17:10:45 652

原创 docker 保存和载入镜像

载入后查看发现新镜像没有描述和tag,手动打tag。查看本机docker镜像。复制镜像到其他服务器。

2023-08-02 19:10:24 646

原创 docker: Error response from daemon: No command specified.

问题定位:export导入的镜像需要带上command,以下命令查看command信息。

2023-08-02 19:03:53 502

原创 docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run

原因分析:jenkins执行的用户没有docker权限。1.查看docker.sock 文件所属的用户组。3.如果不存在用户组 docker,创建此用户组。6.切换到普通用户,执行docker命令进行验证。2.检查 docker 用户组是否存在。解决方法:(以下为root用户操作)4.将所需用户添加到docker组。

2023-08-02 17:48:17 87

原创 gerrit 上 JIRA 单号配置链接

gerrit 上 JIRA 单号配置链接。

2023-03-23 10:02:37 330

原创 ftp的介绍和使用

文件传输协议FTP(File Transfer Protocol)是TCP/IP协议组中的协议之一,可以使用FTP客户端将文件通过FTP协议上传到ftp服务器。这里以被动模式为例说明如何连接远端ftp服务,同时注意ftp服务端需要开放一个端口范围(1024-10240)。从本地区域选择要上传的网页或文件,双击或用鼠标拖至远程区域。从远程区域选择待下载的文件,双击或用鼠标拖至本地区域。推荐使用使用FileZilla工具。

2023-03-23 09:56:21 325

原创 [remote rejected] HEAD -> stable (you are not allowed to upload merges)

[remote rejected] HEAD -> stable (you are not allowed to upload merges)

2023-03-07 17:24:38 376

原创 Linux命令大全

Linux命令大全

2022-11-16 16:50:20 230

原创 Linux yum 命令

Linux yum 命令

2022-11-16 16:41:14 157

原创 Linux磁盘管理

Linux磁盘管理

2022-11-16 16:39:56 242

原创 Linux用户组管理

Linux用户组管理

2022-11-16 16:38:37 291

原创 Linux用户管理

Linux用户管理

2022-11-16 16:36:27 352

原创 Linux文件属性

Linux文件属性

2022-11-16 16:35:57 211

原创 Linux关机流程

Linux关机流程

2022-11-16 15:18:42 1380

原创 Linux启动过程

Linux启动过程

2022-11-16 15:17:40 51

原创 Linux常用命令

Linux常用指令

2022-11-16 15:16:46 101

原创 gerrit ssh code review的详细使用

【代码】gerrit ssh code review的详细使用。

2022-09-09 13:49:16 790

原创 AP与BP概念介绍

AP:Application Processor(应用处理器)BP:Baseband Processor(基带处理器)

2022-07-28 16:21:56 1710

原创 dpkg: 处理软件包 ubuntu-fan (--configure)时出错:

dpkg处理软件包ubuntu-fan(--configure)时出错。

2022-07-26 14:30:38 214

原创 There were errors checking the update sites: SocketException: java.security.NoSuchAlgorithmException

插件管理页面提示TherewereerrorscheckingtheupdatesitesIOExceptionUnabletotunnelthroughproxy.Proxyreturins“HTTP/1.1400”默认是https//updates.jenkins.io/update-center.json。将https改为http,修改完成,submit,然后重启Jenkins。进入插件管理->Advanced,修改UpdateSite的URL,...

2022-07-21 15:49:49 763

原创 dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题

如果执行sudodpkg--configure-a指令,电脑会一直卡在updatingdatabaseofmanualpages状态,系统卡死。

2022-07-21 14:48:16 3843 1

原创 is not valid as filename in directory

svn报错is not valid as filename in directory 解决方法

2022-07-15 14:24:29 2266 1

原创 ssh_exchange_identification: read: Connection reset by peer

ssh_exchange_identification: read: Connection reset by peer 问题定位

2022-07-15 09:56:09 261

原创 Ubuntu 16.04安装jenkins

1.将存储库密钥添加到系统。wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -2.将Debian包存储库地址附加到服务器的sources.listsudo sh -c 'echo deb https://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'3.更新存储库s

2022-03-17 16:20:11 931

原创 JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.Bou

(JENKINS-48300: if on an extremely laggy filesystem, consider -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.HEARTBEAT_CHECK_INTERVAL=86400)解决方法1:Manage Jenkins -> Script Console and runSystem.setProperty("org.jenkinsci.plugins.durabletask.B

2021-12-03 19:05:14 4526 1

原创 repo sync 脚本

由于网络和仓库过大等原因,android代码下载时容易期间有某些仓报错fatal: The remote end hung up unexpectedlyfatal: 过早的文件结束符(EOF)fatal: index-pack failederror: Cannot fetch 可使用以下脚本进行 repo sync#!/bin/bashecho "====== start repo sync ======"repo sync -c -j8while [ $? = 1 ]; do

2021-11-30 20:05:47 1745

原创 repo仓库批量基于已有分支创建新分支

方法:repo forall -c 'echo $REPO_PROJECT ; ssh -p 29418 username@xxx.xxx.com gerrit create-branch $REPO_PROJECT newbranch oldbranch '在已有repo仓库下的最简单的操作。

2021-11-26 14:30:09 1181

原创 C_INCLUDES must be under the source or output directories: /securemsm/QSEEComAPI.

高通编译报错如下:FAILED: 10:57:33 build/make/core/binary.mk:1334: error: vendor/qcom/proprietary/commonsys/securemsm/seccamera/service/jni/Android.mk: libseccamservice: C_INCLUDES must be under the source or output directories: /securemsm/QSEEComAPI.解决方法:.

2021-11-09 15:13:59 4482 1

原创 no matching host key type found. Their offer: ssh-rsa

windows下使用git bash拉代码报错如下:Unable to negotiate with 192.168.133.58 port 29418: no matching host key type found. Their offer: ssh-rsafatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exis

2021-11-01 14:42:22 9832 6

原创 no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

拉代码时候报错:diffie-hellman-group1-sha1Unable to negotiate with 192.168.133.58 port 19428: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1fatal: Could not read from remote repository.Please make sure you have the correct acce

2021-11-01 14:33:08 1385 2

原创 jenkins安装与配置

1.安装Jenkins使用下面的wget命令,导入 Jenkins 软件源的 GPG keys:下一步,添加软件源到系统中:一旦 Jenkins 软件源被启用,升级apt软件包列表,并且安装最新版本的 Jenkins:安装完成后,Jenkins 服务将会被自动启动。可以通过打印服务状态来验证它:2.访问和配置Jenkins打开之后会看到密码验证的界面,通过页面提示获取密码:...

2021-09-14 14:15:32 204

转载 Jenkins+maven+findbugs对java代码进行静态代码分析

一、POM.xml的修改1、 在build里面配置:代码如下: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId&g...

2021-02-01 14:08:11 209

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除