国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 操作系統 > 正文

httpd使用mod_authnz_ldap模塊

2024-06-28 16:02:35
字體:
來源:轉載
供稿:網友
系統版本:Red Hat EnterPRise linux Server release 7.2 (Maipo)apache版本:Server version: Apache/2.4.6 (CentOS)apache的ldap模塊使用1. 安裝mod_authnz_ldap模塊百度了很久,都說是通過yum直接安裝即可。但國內找了很久,均沒有找到yum源。最終通過google找到了yum源倉庫。https://rpmfind.net/linux/rpm2html/search.php?query=mod_authnz_ldap.so包名:apache-mod_authnz_ldap-2.4.2-0.1.i586.rpm2. 安裝rpm包的過程中仍然存在許多問題[root@system2 tmp]# rpm -ivh apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpmwarning: apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEYerror: Failed dependencies:libc.so.6 is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libc.so.6(GLIBC_2.0) is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libc.so.6(GLIBC_2.1.3) is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libc.so.6(GLIBC_2.3) is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libc.so.6(GLIBC_2.4) is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libldap-2.4.so.2 is needed by apache-mod_authnz_ldap-2.4.2-0.1.i586libpthread.so.0 is needed by apache-mod_authnz_ldap-2.4.2-0.1.i5863. 查詢文檔后發現從Red Hat Enterprise Linux 6開始,默認只安裝主架構所需要的包,而不安裝兼容架構的包,也就是說,64位系統默認只安裝64位的軟件包。為避免這種問題,在64位系統中,要同時安裝64位的包和32位的兼容包。[root@system2 tmp]# yum install glibc.i686......Installed: glibc.i686 0:2.17-157.el7_3.1Dependency Installed: nss-softokn-freebl.i686 0:3.16.2.3-14.4.el7Dependency Updated: nss-softokn-freebl.x86_64 0:3.16.2.3-14.4.el7Complete!4. 在此安裝rpm包,驗證結果,此時,只剩下libldap一個庫文件未解決問題![root@system2 tmp]# rpm -ivh apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpmwarning: apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEYerror: Failed dependencies:libldap-2.4.so.2 is needed by apache-mod_authnz_ldap-2.4.2-0.1.i5865. 查閱文檔發現libldap在centos7中的對應包名是openldap,依照上述方式再次安裝[root@system2 tmp]# yum install openldap.i686Installed:openldap.i686 0:2.4.40-13.el7Dependency Installed:cyrus-sasl-lib.i686 0:2.1.26-20.el7_2 libdb.i686 0:5.3.21-19.el7libgcc.i686 0:4.8.5-11.el7 libstdc++.i686 0:4.8.5-11.el7ncurses-libs.i686 0:5.9-13.20130511.el7 nspr.i686 0:4.11.0-1.el7_2nss.i686 0:3.21.3-2.el7_3 nss-softokn.i686 0:3.16.2.3-14.4.el7nss-util.i686 0:3.21.3-1.1.el7_3 readline.i686 0:6.2-9.el7sqlite.i686 0:3.7.17-8.el7 zlib.i686 0:1.2.7-17.el7Dependency Updated:cpp.x86_64 0:4.8.5-11.el7 cyrus-sasl.x86_64 0:2.1.26-20.el7_2cyrus-sasl-devel.x86_64 0:2.1.26-20.el7_2 cyrus-sasl-lib.x86_64 0:2.1.26-20.el7_2 cyrus-sasl-md5.x86_64 0:2.1.26-20.el7_2 cyrus-sasl-plain.x86_64 0:2.1.26-20.el7_2cyrus-sasl-scram.x86_64 0:2.1.26-20.el7_2 gcc.x86_64 0:4.8.5-11.el7gcc-c++.x86_64 0:4.8.5-11.el7 gcc-gfortran.x86_64 0:4.8.5-11.el7 libgcc.x86_64 0:4.8.5-11.el7 libgfortran.x86_64 0:4.8.5-11.el7libgomp.x86_64 0:4.8.5-11.el7 libquadmath.x86_64 0:4.8.5-11.el7 libquadmath-devel.x86_64 0:4.8.5-11.el7 libstdc++.x86_64 0:4.8.5-11.el7 libstdc++-devel.x86_64 0:4.8.5-11.el7 nspr.x86_64 0:4.11.0-1.el7_2nss.x86_64 0:3.21.3-2.el7_3 nss-softokn.x86_64 0:3.16.2.3-14.4.el7nss-sysinit.x86_64 0:3.21.3-2.el7_3 nss-tools.x86_64 0:3.21.3-2.el7_3nss-util.x86_64 0:3.21.3-1.1.el7_3Complete!6. 在此嘗試安裝mod_authnz_ldap安裝包,終于成功安裝。[root@system2 tmp]# rpm -ivh apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpmwarning: apache-mod_authnz_ldap-2.4.2-0.1-mdv2012.0.i586.rpm: Header V3 DSA/SHA1 Signature, key ID 26752624: NOKEYPreparing... ################################# [100%]Updating / installing...1:apache-mod_authnz_ldap-2.4.2-0.1 ################################# [100%]7. 查看conf配置文件,模塊位置信息[root@system2 apache]# cat /etc/httpd/modules.d/014_mod_authnz_ldap.confLoadModule authnz_ldap_module /usr/lib/apache/mod_authnz_ldap.so8. 將.so文件放到modules中,修改配置文件信息后,安裝完成!
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 西宁市| 讷河市| 页游| 菏泽市| 利辛县| 张家口市| 晋城| 浦北县| 丰县| 梁平县| 九龙坡区| 黔西县| 长治市| 永吉县| 昔阳县| 泗阳县| 涿鹿县| 曲沃县| 育儿| 突泉县| 富宁县| 东安县| 乌鲁木齐县| 香格里拉县| 西峡县| 安溪县| 德安县| 沙洋县| 报价| 广河县| 洛扎县| 攀枝花市| 武山县| 宾川县| 冷水江市| 永新县| 大荔县| 竹山县| 阳春市| 浦江县| 大理市|