有的時候即便安裝了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 發佈!