LDAP/LAM をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
LDAP Account Manager
本家様 [[https://www.ldap-account-manager.org/lamcms/>+ht...
ドキュメントを見てみるとRequirementsが定義されていた
#code(nonumber){{
LAM has the following requirements to run:
Apache/Nginx webserver (SSL recommended) with PHP module ...
Some LAM plugins may require additional PHP extensions (y...
Perl (optional, needed only for lamdaemon)
Any standard LDAP server (e.g. OpenLDAP, Active Directory...
A recent web browser that supports CSS2 and JavaScript, a...
Firefox (max. 2 years old)
Edge (max. 2 years old)
Opera (max. 2 years old)
Chrome (max. 2 years old)
OpenSSL will be used to store your LDAP password encrypte...
Please note that LAM does not ship with a SELinux policy....
See LDAP schema fles for information about used LDAP sche...
}}
ここではRockyLinux9に対して構築してみた.
まずはphp-8.0.2以上の準備が必要みたい. ベースはApacheでい...
***下拵え [#l5380f6d]
#code(nonumber){{
[root@ldap-server ~]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)
[root@ldap-server ~]# dnf info php
Last metadata expiration check: 3:06:30 ago on Tue 30 Jan...
Available Packages
Name : php
Version : 8.0.30
Release : 1.el9_2
Architecture : x86_64
Size : 7.7 k
Source : php-8.0.30-1.el9_2.src.rpm
Repository : appstream
Summary : PHP scripting language for creating dynami...
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 a...
Description : PHP is an HTML-embedded scripting language...
: easy for developers to write dynamically g...
: offers built-in database integration for s...
: non-commercial database management systems...
: database-enabled webpage with PHP is fairl...
: use of PHP coding is probably as a replace...
[root@ldap-server ~]#
}}
とRockyLinux9で提供されるphpは 8.0.30 なので要件に適合し...
なので
#code(nonumber){{
[root@ldap-server ~]# dnf install php php-ldap php-xml ph...
}}
***LDAP Account Managerパッケージのインストール [#o4bad10c]
パッケージ本体は本家様から入手するようです.
[[https://www.ldap-account-manager.org/lamcms/releases>+h...
RockyLinux系なのでFedora/CentOSのrpmを取得します
#code(nonumber){{
Fedora/CentOS package
Fedora/CentOS package (lamdaemon only)
}}
ここでは前者をダウンロードしました. 得られたファイルは「l...
っでインストール
#code(nonumber){{
[root@ldap-server ~]# dnf localinstall ./ldap-account-man...
(どこに何が入ったかはこのコマンドで確認)
[root@ldap-server ~]# rpm -qali ldap-account-manager |less
}}
***起動 [#q8af799b]
apacheコンテンツとなっているので、そのままhttpを起動させ...
#code(nonumber){{
[root@ldap-server ~]# systemctl start httpd --now
[root@ldap-server ~]# firewall-cmd --add-service=http --a...
[root@ldap-server ~]# firewall-cmd --reload
}}
***設定 [#r0e23e9e]
ブラウザで「http://ldap-server/lam」にアクセスすると下記...
&ref(2024y01m31d_023006877.png,nolink);
これ以降はマニュアルを参考へ
終了行:
LDAP Account Manager
本家様 [[https://www.ldap-account-manager.org/lamcms/>+ht...
ドキュメントを見てみるとRequirementsが定義されていた
#code(nonumber){{
LAM has the following requirements to run:
Apache/Nginx webserver (SSL recommended) with PHP module ...
Some LAM plugins may require additional PHP extensions (y...
Perl (optional, needed only for lamdaemon)
Any standard LDAP server (e.g. OpenLDAP, Active Directory...
A recent web browser that supports CSS2 and JavaScript, a...
Firefox (max. 2 years old)
Edge (max. 2 years old)
Opera (max. 2 years old)
Chrome (max. 2 years old)
OpenSSL will be used to store your LDAP password encrypte...
Please note that LAM does not ship with a SELinux policy....
See LDAP schema fles for information about used LDAP sche...
}}
ここではRockyLinux9に対して構築してみた.
まずはphp-8.0.2以上の準備が必要みたい. ベースはApacheでい...
***下拵え [#l5380f6d]
#code(nonumber){{
[root@ldap-server ~]# cat /etc/redhat-release
Rocky Linux release 9.2 (Blue Onyx)
[root@ldap-server ~]# dnf info php
Last metadata expiration check: 3:06:30 ago on Tue 30 Jan...
Available Packages
Name : php
Version : 8.0.30
Release : 1.el9_2
Architecture : x86_64
Size : 7.7 k
Source : php-8.0.30-1.el9_2.src.rpm
Repository : appstream
Summary : PHP scripting language for creating dynami...
URL : http://www.php.net/
License : PHP and Zend and BSD and MIT and ASL 1.0 a...
Description : PHP is an HTML-embedded scripting language...
: easy for developers to write dynamically g...
: offers built-in database integration for s...
: non-commercial database management systems...
: database-enabled webpage with PHP is fairl...
: use of PHP coding is probably as a replace...
[root@ldap-server ~]#
}}
とRockyLinux9で提供されるphpは 8.0.30 なので要件に適合し...
なので
#code(nonumber){{
[root@ldap-server ~]# dnf install php php-ldap php-xml ph...
}}
***LDAP Account Managerパッケージのインストール [#o4bad10c]
パッケージ本体は本家様から入手するようです.
[[https://www.ldap-account-manager.org/lamcms/releases>+h...
RockyLinux系なのでFedora/CentOSのrpmを取得します
#code(nonumber){{
Fedora/CentOS package
Fedora/CentOS package (lamdaemon only)
}}
ここでは前者をダウンロードしました. 得られたファイルは「l...
っでインストール
#code(nonumber){{
[root@ldap-server ~]# dnf localinstall ./ldap-account-man...
(どこに何が入ったかはこのコマンドで確認)
[root@ldap-server ~]# rpm -qali ldap-account-manager |less
}}
***起動 [#q8af799b]
apacheコンテンツとなっているので、そのままhttpを起動させ...
#code(nonumber){{
[root@ldap-server ~]# systemctl start httpd --now
[root@ldap-server ~]# firewall-cmd --add-service=http --a...
[root@ldap-server ~]# firewall-cmd --reload
}}
***設定 [#r0e23e9e]
ブラウザで「http://ldap-server/lam」にアクセスすると下記...
&ref(2024y01m31d_023006877.png,nolink);
これ以降はマニュアルを参考へ
ページ名:
1