self-service-password安装

2017-08-08  本文已影响0人  袁先生的笔记

环境

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

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
<VirtualHost *:80>
        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
</VirtualHost>
# /etc/init.d/httpd restart

登陆

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

上一篇下一篇

猜你喜欢

热点阅读