基础知识
计算机基础知识领域
「已注销」
一个爱好安全的行路者
展开
-
Gitlab安装与配置LDAP登录
Gitlab安装Centos7安装Gitlab# 解决依赖yum install policycoreutils-python.x86_64 openssh-server.x86_64 -y# 安装邮件服务yum install postfix.x86_64 -y# 添加GitLab Packagecurl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | bash# 安装原创 2020-06-17 15:40:06 · 8791 阅读 · 1 评论 -
Jenkins持续集成系统搭建
Jenkins安装Centos7安装JenkinsJenkins RPM包下载地址:https://pkg.jenkins.io/redhat-stable/# 安装java依赖yum install java-11-openjdk.x86_64 java-11-openjdk-devel.x86_64 -y# 导入私钥rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key# 下载Jenkins安装包wget ht原创 2020-06-17 15:23:01 · 282 阅读 · 0 评论 -
Centos7搭建原生LDAP服务
Centos7安装OpenLDAP# 安装OpenLDAPyum install -y openldap.x86_64 openldap-clients.x86_64 openldap-servers.x86_64 openldap-devel.x86_64 migrationtools.noarch compat-openldap.x86_64LDAP Server配置vim /etc/openldap/slapd.d/cn=config/olcDatabase={2}hdb.ldif# 修原创 2020-06-17 14:00:15 · 1712 阅读 · 0 评论 -
iTerm2免密登录
创建一个登录脚本#!/usr/bin/expectset timeout 10spawn ssh [lindex $argv 0]@[lindex $argv 1]expect { "(yes/no)?" {send "yes\n";exp_continue} "password:" {send "[lindex $argv 2]\n"}}interact给脚本赋予执行权限chmod +x *.sh在iTerm2中配置...原创 2020-06-16 11:49:58 · 290 阅读 · 0 评论