二维码

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

1865 人阅读 | 时间:2021年03月23日 21:15

服务器网站管理面板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

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


©著作权归作者所有:来自ZhiKuGroup博客作者没文化的原创作品,如需转载,请注明出处,否则将追究法律责任 来源:ZhiKuGroup博客,欢迎分享。

评论专区
  • 昵 称必填
  • 邮 箱选填
  • 网 址选填
◎已有 0 人评论
搜索
作者介绍
30天热门
×
×
本站会员尊享VIP特权,现在就加入我们吧!登录注册×
»
会员登录
新用户注册
×
会员注册
已有账号登录
×