我安装了 LDAP 开发标头:
apt-get install libldb-dev
这添加了一些 ldap 标头:
root@crunchbang:/usr/include# ls -la ldap*
-rw-r--r-- 1 root root 9466 Apr 23 2013 ldap_cdefs.h
-rw-r--r-- 1 root root 1814 Apr 23 2013 ldap_features.h
-rw-r--r-- 1 root root 65213 Apr 23 2013 ldap.h
-rw-r--r-- 1 root root 9450 Apr 23 2013 ldap_schema.h
-rw-r--r-- 1 root root 3468 Apr 23 2013 ldap_utf8.h
Run Code Online (Sandbox Code Playgroud)
当我配置和引用目录时:
./configure --with-ldap=/usr/include
我收到此错误:
...
checking for LDAP support... yes
checking for LDAP Cyrus SASL support... no
checking size of long int... …Run Code Online (Sandbox Code Playgroud) 我在 Amazon Web Services 中启动的每个 Debian 8 Jessie AMI 只会将根操作系统放在 8GB 分区上,而不管我在启动时设置的大小。我知道有一些关于在创建 AMI 时如何设置大小的文档。但是我与 AWS 的支持人员进行了交谈,他们说这是意外行为。此外,当我以同样的方式启动另一个 Linux 发行版(例如 Ubuntu)时,我可以在启动时设置根分区大小没问题。然后我开始想知道为什么没有人在互联网上提到这么多。我四处搜索,并没有想出任何真正的答案。我也开始怀疑 Debian 是否正在崩溃,我是否应该使用 Ubuntu。我仍然在互联网上读到 Debian 是生产 Web 服务器的第一选择。一世'