美文网首页
self-service-password安装

self-service-password安装

作者: 袁先生的笔记 | 来源:发表于2017-08-08 16:11 被阅读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

    相关文章

      网友评论

          本文标题:self-service-password安装

          本文链接:https://www.haomeiwen.com/subject/chmtrxtx.html