首页
码农说码
运维自嗨
茶话四海
留言板
友链
许可
Search
1
批量将 discuz 数据库编码从 utf8 转为 utf8mb4
99,313 阅读
2
Windows 下生成 SSL 数字证书
98,510 阅读
3
rsync 多进程并发执行同步数据
97,347 阅读
4
正则表达式 - 模式修饰符(PHP)
97,101 阅读
5
PHP 获取文件真实路径(清理路径信息)
96,663 阅读
一个全栈攻城狮的纯技术干货分享 ~
登录
Search
标签搜索
linux
shell
ubuntu
php
nginx
windows
mysql
batch
js
ip
docker
esxi
macos
k3s
kubernetes
域名
svn
matomo
k8s
转载
若海
累计撰写
170
篇文章
累计收到
176
条评论
首页
栏目
码农说码
运维自嗨
茶话四海
页面
留言板
友链
许可
搜索到
2
篇与
的结果
2017-06-30
通过 VNC 远程访问 ESXi 虚拟机控制台
最近家庭服务器升级了ESXi6.5,发现使用 VMware Web Client 管理服务器还是蛮不错。但是用来查看虚拟机的控制台,就不那么美了,每次都要点那么多下才能看到,费事儿的紧。偏执狂的我,自然把注意打到了VMware自带的VNC控制台身上。首先要打开ESXi宿主机的SSH权限,登陆进去后执行1和2两个步骤,然后在需要管理的虚拟机上执行第3步。最后要怎么访问VNC就不用教程了吧?1、列表项目添加firewall配置文件vi /etc/vmware/firewall/vnc.xml<ConfigRoot> <service> <id>VNC</id> <rule id='0000'> <direction>inbound</direction> <protocol>tcp</protocol> <porttype>dst</porttype> <port> <begin>5911</begin> <end>5919</end> </port> </rule> <rule id='0001'> <direction>outbound</direction> <protocol>tcp</protocol> <porttype>dst</porttype> <port> <begin>0</begin> <end>65535</end> </port> </rule> <enabled>true</enabled> <required>false</required> </service> </ConfigRoot>2、刷新并验证防火墙规则esxcli network firewall refresh esxcli network firewall ruleset list | grep VNC3、配置虚拟机高级参数RemoteDisplay.vnc.enabled=TRUE RemoteDisplay.vnc.password=rehiy.com RemoteDisplay.vnc.port=5911备注,我是允许了5911-5919这9个端口,客官你可随意,但是一定要和虚拟机配置对应的啦~
2017年06月30日
33,866 阅读
0 评论
0 点赞
2014-12-09
ESXi 5.x 强制识别 ssd 硬盘
1、登录到 ESXi 5.x 主机的命令行2、执行如下命令来查看ESXi 5.x识别到的设备列表,执行如下命令esxcli storage nmp device list记录要修改的硬盘 VMW_SATP_XXXX 和 naa.xxxxxxxxxx 的值3、在需要将之配置为SSD盘的设备上,执行如下命令esxcli storage nmp satp rule add -s VMW_SATP_XXXX -d naa.xxxxxxxxxx -o enable_ssd命令参数说明: s - The SATP for which a new rule will be added. d - Set the device when adding SATP claim rules. o - Set the option string when adding a SATP claim rule.4、接着回收一下设备,执行如下命令:esxcli storage core claiming reclaim -d naa.xxxxxxxxxx若无法回收设备,请安全重启即可。
2014年12月09日
30,563 阅读
0 评论
0 点赞