我克隆了一个服务器,因此它们具有相同的 RSA 密钥指纹。
它似乎在/etc/ssh/ssh_host_rsa_key.pub.
改变它的正确方法是什么?
谢谢。
服务器运行良好——或者至少看起来如此——但总是出现以下错误:
apache2/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not permitted)
它发生在 Debian Wheezy 上的 Apache 2.2.22-9 上。
# apache2ctl configtest
/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not allowed)
Syntax OK
# service apache2 reload
[....] 重新加载 Web 服务器配置:apache2/usr/sbin/apache2ctl: 87: ulimit: error setting limit (Operation not allowed)
。好的
# service apache2 restart
[....] 重新启动 Web 服务器:apache2/usr/sbin/apache2ctl: 87: ulimit: 错误设置限制(不允许操作)
...等待 /usr/sbin/apache2ctl: 87: ulimit: 错误设置限制(操作不允许)
。好的
# service apache2 status
Apache2 正在运行(pid 32045)。