摘要: 服务端配置: 1.安装package:apt install nfs-kernel-server -y 2.创建共享目录: mkdir /home/user/mnt 3.修改文件夹权限:sudo chmod -R 777 /home/user/mnt 4.修改配置文件: sudo vi /etc/e 阅读全文
posted @ 2024-07-30 10:59 midhillzhou 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.查看iptables 1.1 查看nat表 1 [root@linux ~]# iptables -t nat -nvL POSTROUTING --line-number 2 Chain POSTROUTING (policy ACCEPT 38 packets, 2297 bytes) 3 阅读全文
posted @ 2024-03-22 15:23 midhillzhou 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.在win10上如下路径检查是否有公钥和私钥,如果有跳到步骤3,依序执行步骤2 C:\Users\自己的用户名\.ssh 2.打开dos cmd,在里面执行ssh-keygen,一路回车 3.将生成的公钥通过某种方式传到服务器上,我这里使用的是 virtualbox自带的共享文件夹功能,任何一种方 阅读全文
posted @ 2024-03-18 20:52 midhillzhou 阅读(515) 评论(0) 推荐(0) 编辑
摘要: 本教程以virtualbox 7.0.14 + ubuntu 22.04.4为例。 ubuntu官网其实已经有一篇写的非常棒的安装教程,链接如下。 https://ubuntu.com/tutorials/how-to-run-ubuntu-desktop-on-a-virtual-machine- 阅读全文
posted @ 2024-03-11 21:01 midhillzhou 阅读(158) 评论(0) 推荐(0) 编辑
摘要: message layout message period 在下图中,首先定义GenMsgSendType为 0表示Cyclic,1表示Event。 然后设置1128号message的send type定义为1事件型,周期为0 设置1121号message的send type定义为0事件型,周期为3 阅读全文
posted @ 2022-11-07 14:18 midhillzhou 阅读(568) 评论(0) 推荐(0) 编辑