- 博客(42)
- 收藏
- 关注
原创 Artifactory集成LDAP示例
LDAP在企业软件身份认证中起到了非常关键的作用,给企业内用户带来了非常多的便利,JFrog 平台支持针对开箱即用的 LDAP 服务器对用户进行身份验证。7.通过填写testuser 用户,并点击“Test connection”按钮,如果通过,则UI显示“Successful connected and authernticated the test user”,配置完成。至此,Artifactory集成LDAP配置完成,用户可以使用ldap账号登录Artifactory。1.快速安装OpenLDAP。
2024-08-13 14:32:08
420
原创 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
1587
原创 gitlab数据备份和恢复
生成1697101003_2023_10_12_12.0.3-ee_gitlab_backup.tar 文件。找到如图所示代码行,并按需求自行修改备份文件路径和打开设置路径开关。注意BACKUP=后面跟的不是压缩包文件的全称。
2023-11-06 15:04:29
1180
原创 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
471
原创 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
1319
原创 gitlab-rake gitlab:backup:create 执行报错 Errno::ENOSPC: No space left on device
方法2:创建一个根目录的挂载点,将新创建的目录挂载到根目录上,重启系统。命令创建备份时,默认情况下备份文件将存放在 GitLab 安装目录下的。方法1:清理存放路径,删除不需要文件,释放空间。目录中,将备份存放在其他位置,可以通过。环境变量来指定备份文件的存放路径。在 GitLab 中,使用。问题分析:存储备份的空间满。gitlab仓库备份执行。方法3:修改备份存放位置。
2023-08-30 14:22:38
1523
原创 LDAP: error code 53 - unauthenticated bind (DN with no password) disallowed
这个错误提示显示Jenkins无法连接到LDAP服务器,原因是LDAP服务器不允许未认证的绑定(DN与无密码)。
2023-08-23 17:10:45
909
原创 docker: Error response from daemon: No command specified.
问题定位:export导入的镜像需要带上command,以下命令查看command信息。
2023-08-02 19:03:53
683
原创 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
130
原创 ftp的介绍和使用
文件传输协议FTP(File Transfer Protocol)是TCP/IP协议组中的协议之一,可以使用FTP客户端将文件通过FTP协议上传到ftp服务器。这里以被动模式为例说明如何连接远端ftp服务,同时注意ftp服务端需要开放一个端口范围(1024-10240)。从本地区域选择要上传的网页或文件,双击或用鼠标拖至远程区域。从远程区域选择待下载的文件,双击或用鼠标拖至本地区域。推荐使用使用FileZilla工具。
2023-03-23 09:56:21
380
原创 [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
443
原创 dpkg: 处理软件包 ubuntu-fan (--configure)时出错:
dpkg处理软件包ubuntu-fan(--configure)时出错。
2022-07-26 14:30:38
295
原创 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
1025
原创 dpkg 被中断,您必须手工运行 ‘sudo dpkg --configure -a’ 解决此问题
如果执行sudodpkg--configure-a指令,电脑会一直卡在updatingdatabaseofmanualpages状态,系统卡死。
2022-07-21 14:48:16
4447
1
原创 is not valid as filename in directory
svn报错is not valid as filename in directory 解决方法
2022-07-15 14:24:29
2671
1
原创 ssh_exchange_identification: read: Connection reset by peer
ssh_exchange_identification: read: Connection reset by peer 问题定位
2022-07-15 09:56:09
303
原创 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
1004
原创 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
5105
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
1832
原创 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
1270
原创 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
4838
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
10057
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
1551
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人