『23年07月22日』

title

1
2
3
sudo curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -

sudo apt-get install nodejs
『23年04月23日』

zerotier

zerotier 路由旁路的实验,在跳板机上操作如下

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[root@localhost ~]# vi /etc/sysctl.conf
# sysctl settings are defined through files in
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
#
# Vendors settings live in /usr/lib/sysctl.d/.
# To override a whole file, create a new file with the same in
# /etc/sysctl.d/ and put new settings there. To override
# only specific settings, add a file with a lexically later
# name in /etc/sysctl.d/ and put new settings there.
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
net.ipv4.ip_forward = 1
net.ipv4.conf.all.proxy_arp = 1

[root@localhost ~]#sysctl -p /etc/sysctl.conf

[root@localhost ~]#firewall-cmd --permanent --zone=internal --change-interface=zttyxavm2z

[root@localhost ~]#firewall-cmd --permanent --direct --passthrough ipv4 -t nat POSTROUTING -o ens32 -j MASQUERADE -s 10.11.12.0/24

firewall-cmd --reload

『23年03月26日』

title

sssssssssssssssssssssssfadfas

『23年01月10日』

vmware17.0遇到的坑

需要编译安装vmmon

#git clone https://github.com/mkubecek/vmware-host-modules

cd vmware-host-modules

#git branch -a

#remotes/origin/master
remotes/origin/player
remotes/origin/player-12.5.2
remotes/origin/player-12.5.5
remotes/origin/player-12.5.6
查看本机的vmware

vmware –version
VMware Workstation 16.2.1 build-18811642

执行

git checkout workstation-17.0

开始编译安装后

make

make install

然后加载vmware的虚拟网卡模块:

1
modprobe vmnet vmw_vmci vmmon

再查看是否能够正常启动网络:

1
2
3
4
5
6
7
8
# vmware-networks --start
Started Bridge networking on vmnet0
Enabled hostonly virtual adapter on vmnet1
Started DHCP service on vmnet1
Started NAT service on vmnet8
Enabled hostonly virtual adapter on vmnet8
Started DHCP service on vmnet8
Started all configured services on all networks
『22年11月25日』

helloworld

https://s1.xptou.com/2022/11/25/63806d35c0fa0.png写一篇文章进行测试

https://cdn.jsdelivr.net/gh/a52948/img/2022/11/25/6380623e767db.jpg

https://cdn.jsdelivr.net/gh/a52948/img/2022/11/25/63808dbd3cf26.png