Ubuntu在安装一些程序时如果出现No usable dialog-like program is installed 的错误提示
那么可能只是因为系统原程序没有正确安装的原因,可以运行
apt-get update && apt-get dist-upgrade
即可解决。

v88.cn In name of my son
Ubuntu在安装一些程序时如果出现No usable dialog-like program is installed 的错误提示
那么可能只是因为系统原程序没有正确安装的原因,可以运行
apt-get update && apt-get dist-upgrade
即可解决。
使用vesta之后,本人遇到最为头疼的就是服务器log文件增长过快塞满空间导致宕机假死
之前以为只需限制log大小就可以了,但后来发现依然不能解决问题
查看error.log发现绝大多数的记录都是
WordPress\xe6\x95\xb0\xe6\x8d\xae\xe5\xba\x93\xe6\x9f\xa5\xe8\xaf\xa2SELECT
这样的奇怪记录,Google之后才知道这是由于限制了单个进程打开文件数所致
解决办法就是修改 /etc/security/limits.conf 添加2句进去 以下的运行即可
In /etc/security/limits.conf soft nofile 1024 hard nofile 65535 Increase ulimit by "ulimit -n 65535" echo 65535 > /proc/sys/fs/file-max In /etc/sysctl.conf fs.file-max=65535