安装virtualmin出现错误: /tmp directory is mounted noexec. Installation cannot continue. 怎么办?
总结:
通常这是你的IDC给你的服务器做了安全设置导致的。给/tmp加了noexec保护。要临时取消他,建议用命令:mount -o remount,exec /tmp /var/tmp
原因:
Sounds like /tmp is mounted with "noexec", which is preventing the installation from continuing ;-)
Setting the tmp partition to use the "noexec" option is not a default for any distro I'm familiar with, so that was likely added in manually. You'll need to remove that option in order for Virtualmin to install.
解决方法:
To disable it, you'll need to do two things:
1. Edit /etc/fstab, and remove the noexec option from the line that sets up /tmp. That'll make sure the mount options are correct next time you reboot.
2. To change the current options /tmp is mounted with, you can type: mount -o remount,exec /tmp
You'll want to do both of those steps -- one fixes things now, the other makes sure they stay fixed later :-)