技术改变生活

博客园 首页 新随笔 联系 订阅 管理

2020年7月1日 #

摘要: [root@x112 html]# setfacl -m u:apache:r /var/www/html/setfacl: /var/www/html/: Operation not supported 解决方法如下(转载): 情景1 硬盘挂载:问题:/mnt/bak为硬盘的一个分区,在fstab 阅读全文
posted @ 2020-07-01 16:56 小阿峰 阅读(920) 评论(0) 推荐(0) 编辑

摘要: 搭建nfs服务器,服务端配置如下: [root@x160 ~]# yum -y install nfs-utils [root@x160 ~]# systemctl start nfs-server [root@x160 ~]# systemctl enable nfs-server [root@x 阅读全文
posted @ 2020-07-01 16:46 小阿峰 阅读(395) 评论(0) 推荐(0) 编辑

摘要: vmware的nat模式上网 此种模式,原理是使用了2次nat功能,现在的移动及联通多数使用这种方式上网,解决了ipv4地址不足的问题。需要注意的是,2次nat,需要分配2个不同的网段。 例如: [root@x112 ~]# ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mt 阅读全文
posted @ 2020-07-01 10:50 小阿峰 阅读(689) 评论(0) 推荐(0) 编辑