self-service-password安装

环境

系统:CentOS 6.8
软件:ltb-project-self-service-password-1.0.tar.gz

self-service-password安装配置

  • 下载
    地址:https://ltb-project.org/documentation/self-service-password

  • 安装

# tar zxvf ltb-project-self-service-password-1.0.tar.gz
# mv ltb-project-self-service-password-1.0 /data/self-service-password
  • 配置
# vim /data/self-service-password/conf/config.inc.php
$ldap_url = "ldap://localhost";
$ldap_starttls = false;
$ldap_binddn = "cn=admin,dc= example,dc=com";
$ldap_bindpw = "password";
$ldap_base = "dc= example,dc=com";
......
$who_change_password = "manager";

php安装

# yum install epel-release
# yum install php php-ldap php-mbstring php-mcrypt

http安装配置

安装

# yum install httpd

配置

# vim /etc/httpd/conf.d/self-service-password.conf

        ServerName ssp.example.com

        DocumentRoot /data/self-service-password
        DirectoryIndex index.php

        AddDefaultCharset UTF-8

        LogLevel warn
        ErrorLog /var/log/httpd/ssp_error.log
        CustomLog /var/log/httpd/ssp_access.log combined

  • 启动
# /etc/init.d/httpd restart

登陆

访问:http://ssp.example.com

你可能感兴趣的:(self-service-password安装)