1

我已经从这个链接 http://directory.apache.org/apacheds/download/download-linux-bin.html安装了 ApacheDS

它安装在 opt 文件夹中。

我怎样才能卸载它?

4

1 回答 1

2

好的,那么您必须具有root访问权限吗?我刚刚下载的 32 位 .bin 尝试将文件安装到/opt/apacheds-[$VERNUM]/, /etc/init.d/, and /var/lib/apacheds-[$VERNUM]. 因为默认情况下,所有这些位置都应该受到保护,以防止用户在所有 Linux 发行版中写入,我假设您可以根据需要升级权限以执行以下操作。

我将继续进行的另一个假设是,当 .bin 安装程序要求您提供安装路径的配置选项时,您选择了默认安装位置。当我刚才运行它时,它问我每个路径的问题,我只需要按“ENTER”键就可以继续使用它的默认值。

如果您不确定如何获得 root 访问权限,请尝试为每个命令添加前缀sudo,如果失败,请尝试su单独运行该命令一次,然后再尝试运行以下任何操作。

### First verify install paths with root level find command
# find / -type d -name *apacheds* ; find /etc/init.d -name *apacheds*
### Review outputs of above commands and verify they match the following \
### globbing rm command before running it.
### CAUTION: If used incorrectly rm -rf could do some very annoying damage 
# rm -rf /{opt,var/lib,etc/init.d}/apacheds* 
于 2013-11-05T07:32:11.473 回答