流浪のwolf

卷帝

导航

2023年8月15日

vagrant文件基础配置

摘要: Vagrant.configure("2") do |config| config.vm.box = "centos7" # box 名称 config.vm.hostname = "centos7" # 虚拟机主机名 shell 中显示 config.vm.define "centos7" # v 阅读全文

posted @ 2023-08-15 13:24 流浪のwolf 阅读(33) 评论(0) 推荐(0) 编辑

vagrant常用命令

摘要: vagrant --version # 查看 vagrant 版本 vagrant box list # 查看 box 列表 vagrant box add [boxname] [url] # 添加 box vagrant box remove [boxname] # 移除 box vagrant 阅读全文

posted @ 2023-08-15 13:23 流浪のwolf 阅读(235) 评论(0) 推荐(0) 编辑

windows下查看用户名

摘要: net user 查看计算机所有用户名 echo %username% 查看当前用户名 阅读全文

posted @ 2023-08-15 11:35 流浪のwolf 阅读(30) 评论(0) 推荐(0) 编辑