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

服务器网站管理面板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
你需要做到两点——一要解决当前问题,另外要保证以后问题不会重现:-)
安装virtualmin出现错误:/tmp directory is mounted noexec. Installation cannot continue及解决办法为中国U网原创文章,在不经过允许的情况下,禁止用于商业用途或随意转载,转载请注明出处,并加上本页链接地址:
http://www.cuwww.com/help/detail-45.html

香港服务器租用:
E3-1230 / 8G / 1TB / 10M = 700元
美国洛杉矶服务器租用:
i3-4130 / 4G / 1TB / 30M=500元
荷兰服务器租用:
E3-1230/8G/4x1T/1G/100TB=680元
瑞典斯德哥尔摩服务器租用:
E3-1240 / 16G / 1T或250GB SSD / 1Gbps=950元
- /dev/sda is apparently in use by the system; will not make a filesystem here!解决方法
- 为什么网站测速都是红色,没有返回200状态码?
- CentOS终止更新之后的替代系统/方案
- 宝塔企业版/开心版安装升级(免绑定宝塔账号)
- Linux下面查找目录下面所有文件,并找到包含某个字符的文件
- 修改Windows远程桌面登录端口
- 把Python程序编译成Windows可执行文件exe的工具pyinstaller
- 解决:Could not resolve host: mirrorlist.centos.org; Unknown error解决方法
- 宝塔安装PHP的Swoole扩展的时候,CentOS 7提示No package 'libbrotlienc' found的解决方法
- ModuleNotFoundError: No module named 'PIL'解决方法
- 在Linux服务器上手动生成自签名证书
- Python数据类型中比较有趣的事情