服务器网站管理面板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
你需要做到两点——一要解决当前问题,另外要保证以后问题不会重现:-)
评论专区