如何部署Ubuntu Apache Directory Studio?
- By : Will
- Category : Debian-Like
Debian-Like
1 前言
一个问题,一篇文章,一出故事。
由于笔者需要访问LDAP服务器,所以需要安装一个LDAP的客户端,于是整理此文。
如果你需要部署LDAP服务器,请参阅以下文档,
2 最佳实践
2.1 安装前的准备
2.1.1 部署jre环境
apt install -y openjdk-17-jre
2.1.2 下载软件包
cd ~ wget https://dlcdn.apache.org/directory/studio/2.0.0.v20210717-M17/ApacheDirectoryStudio-2.0.0.v20210717-M17-linux.gtk.x86_64.tar.gz
以上只是演示,如果下载异常火需要其他版本,请从如下连接中下载,
https://directory.apache.org/studio/downloads.html
2.1.3 解压软件包
cd ~ tar -xf ApacheDirectoryStudio-2.0.0.v20210717-M17-linux.gtk.x86_64.tar.gz
2.2 部署软件包
2.2.1 软件包
mv ApacheDirectoryStudio /opt/
2.2.2 部署桌面图标
cp apache-directory-studio-64x64.png /usr/share/icons/hicolor/64x64/apps/apache-directory-studio.png cp apache-directory-studio-48x48.png /usr/share/icons/hicolor/48x48/apps/apache-directory-studio.png cp apache-directory-studio-32x32.png /usr/share/icons/hicolor/32x32/apps/apache-directory-studio.png cp apache-directory-studio-24x24.png /usr/share/icons/hicolor/24x24/apps/apache-directory-studio.png
注:图标需要自己准备
2.2.3 创建桌面快捷方式
cp /usr/share/applications/google-chrome.desktop /usr/share/applications/apache-directory-studio.desktop vim /usr/share/applications/apache-directory-studio.desktop
配置修改如下,
[Desktop Entry] Version=1.0 Name=Apache Directory Studio GenericName=Apache Directory Studio Comment=ldap client Comment[en_GB]=ldap client Comment[zh_CN]=ldap client Exec=/opt/ApacheDirectoryStudio/ApacheDirectoryStudio %U StartupNotify=true Terminal=false Icon=apache-directory-studio Type=Application X-Desktop-File-Install-Version=0.26
然后,你需要使用如下命令更新配置,
update-desktop-database
参阅文档
===================
安装部署教程
———————
https://directory.apache.org/studio/download/download-linux.html
没有评论