您好,欢迎光临中国U网,租用美国服务器香港服务器瑞典服务器等全球各地的服务器。
您现在的位置:首页 > 帮助中心 > 服务器问题 > 安装virtualmin出现错误:/tmp directory is mounted noexec. Installation cannot continue及解决办法

安装virtualmin出现错误:/tmp directory is mounted noexec. Installation cannot continue及解决办法

来源:中国U网 日期:2012-05-28 类别:服务器问题 点击:3485
出现这种问题一般是因为服务器设置了安全权限导致的,给/tmp加了noexec保护。要临时取消他,建议用命令:mount -o remount,exec /tmp

服务器网站管理面板virtualmin是著名的webmin的一个子集,能在Linux很方便的创建和管理网站,它既支持独立服务器的安装,也支持VPS的安装,是网站站长不可多得的工具。

安装virtualmin的时候,不免会遇到一些问题,这次就遇到了/tmp目录加安全设置的情况,提示:/tmp directory is mounted noexec. Installation cannot continue.,然后直接就中断了安装进程。

解决办法如下:

 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 :-)

翻译如下:

要取消此设置,需要做一下两点:

1. 编辑/etc/fstab,在/tmp设置的地方删除noexec选项,这样下次重启的时候就正常了。
2. 要改变当前/tmp的设置,可以执行mount -o remount,exec /tmp

你需要做到两点——一要解决当前问题,另外要保证以后问题不会重现:-)


关键词:noexec, webmin, virtualmin
安装virtualmin出现错误:/tmp directory is mounted noexec. Installation cannot continue及解决办法为中国U网原创文章,在不经过允许的情况下,禁止用于商业用途或随意转载,转载请注明出处,并加上本页链接地址:
http://www.cuwww.com/help/detail-45.html