8月個人考核
阿新 • • 發佈:2018-09-10
ces fff als put png protocol req tcp 命令模式
加載光盤
回車
按F11
回車
回車
輸入root密碼
按F11開始安裝
<rule>
<direction>outbound</direction>
<protocol>tcp</protocol>
<protocol>dst</protocol>
<port>
<begin>1</begin>
<end>60000</end>
</port>
</rule>
<enabled>true</enabled>
<required>false</required>
</service>
保存退出
編輯文件
vi /etc/services
把22改成5555
加載光盤
回車
按F11
回車
回車
輸入root密碼
按F11開始安裝
本地登錄esxi
然後選中回車
開啟
現在可以用putty遠程了,端口為22
然後按ALT+F1進入命令模式
輸入權限
cd /vmfs/volumes/datastore1
cat /etc/vmware/firewall/service.xml > ./service.xml
cat /etc/services > ./services
編輯文件
vi /etc/vmware/firewall/service.xml
在sshServer下的22端口射成5555
在文件末尾加上
<service id=‘0099‘>
<id>TCPALLOUT</id>
<direction>outbound</direction>
<protocol>tcp</protocol>
<protocol>dst</protocol>
<port>
<begin>1</begin>
<end>60000</end>
</port>
</rule>
<enabled>true</enabled>
<required>false</required>
</service>
保存退出
vi /etc/services
把22改成5555
8月個人考核