有的时候即便安装了vmtools仍然不能查看到具体的共享文件夹。这个时候须要linux
sudo vmhgfs-fuse .host:/shared /mnt/hgfswindows
注意格式 shared 为分享的文件名 .host前面有个空格centos
sudo 要加 我以前不加一直有错误centos7
执行完后 查看.net
上述能展现分享文件,可是重启虚拟机后分享文件小时rest
按照网上说的修改code
$ vi /tec/fstabhtm
添加blog
.host:/file_name vmhgfs /mnt/hgfs defaults 0 0ip
没有做用 反而会引发系统 emegency mode
暂时尚未解决
原文连接:http://www.javashuo.com/article/p-huprdape-de.html
因为不少文件和文件夹操做须要劝降,因此须要切换到root用户下
su root
Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details
将ifcfg-xxx文件中的DEVICE一行注释掉或者删掉
Redirecting to /bin/systemctl status iptables.service
Unit iptables.service could not be found.
解决办法
1. 使用systemctl
systemctl [start|stop|restart|save|status] iptables.service
2. 安装iptables-services
切换到root用户下,执行:
yum install iptables-services` `systemctl enable iptables.service //设置开机启动
以后就能够使用如下指令了:
service iptables [start|stop|restart|save|status]
centos7和centos 6不一样的关闭防火墙的方式
https://www.linuxidc.com/Linux/2016-12/138979.htm
本文由博客一文多发平台 OpenWrite 发布!