10 2022 档案
摘要:1. 新建VUE项目局域网无法访问 修改 package.json文件 # 重新初始化 npm install # 启动项目 npm run dev VITE v3.2.2 ready in 323 ms ➜ Local: http://10.105.212.1:5173/ ➜ Network: h
阅读全文
摘要:1. vite创建vue环境 [root@Python Vue]# npm init vite@latest Need to install the following packages: create-vite@3.2.0 Ok to proceed? (y) ✔ Project name: …
阅读全文
摘要:1. 下载地址 curl -O https://nodejs.org/dist/v16.18.0/node-v16.18.0-linux-x64.tar.xz 2. 安装部署 VERSION=v16.18.0 DISTRO=linux-x64 mkdir -p /usr/local/lib/node
阅读全文
摘要:local-aaa-user password policy administrator # 关闭密码历史策略 password history record number 0 # 关闭密码过期 password expire 0 # interface Vlanif1 nat outbound 2
阅读全文
摘要:sed -i 's/preserve_hostname: false/preserve_hostname: true/g' /etc/cloud/cloud.cfg truncate -s0 /etc/hostname hostnamectl set-hostname localhost rm -r
阅读全文
摘要:vi /etc/default/grub GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0" grub-mkconfig -o /boot/grub/grub.cfg # 修改网卡 vi /etc/netplan/00-installer-config.
阅读全文
摘要:# 接口Trunk int GigabitEthernet 0/0/28 port link-type trunk port trunk allow-pass vlan all # 静态路由 ip route-static 0.0.0.0 0 10.1.1.1 # 配置VLAN vlan 1000
阅读全文
摘要:1. 查看交换机信息 DS_6610B:admin> switchshow switchName: DS_6610B switchType: 170.0 switchState: Online switchMode: Native switchRole: Principal switchDomain
阅读全文