> For the complete documentation index, see [llms.txt](https://docs.chjina.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chjina.com/it-zhi-shi-ku/xu-ni-hua/vmware/vcenter/vcsa7.0.2-wu-dns-an-zhuang.md).

# VCSA7.0.2无DNS安装

7.0.2既 7.0U2

### 第一阶段

* FQDN，IP地址，DNS服务器填写同一个IP地址
* 待第一阶段提示部署成功后，在vsphere web client里，按F2进入VCSA的配置界面，选择Troubleshooting Mode Options，回车进入，选择Enable SSH，然后回车。确保SSH状态开启。
* ssh登录VCSA的管理地址，输入shell，

  ```
    Command> shell
    Shell access is granted to root
  ```
* 编辑/etc/hosts文件，

  ```
  vi /etc/hosts
  ```
* 添加一行如下内容：

  ```
  192.169.1.22 localhost  
  ```

  格式说明：VCSA管理地址 主机名

VCSA7.0默认的主机名是localhost，VCSA6.7默认的主机名是photon-machine。

### 第二阶段

* **如果你进入5480安装，并且更改了默认的主机名localhost，则/etc/hosts文件中的主机名和修改后的主机名一致**

参考链接：

{% embed url="<https://docs.vmware.com/cn/VMware-vSphere/index.html>" %}
VMware 官网文档
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chjina.com/it-zhi-shi-ku/xu-ni-hua/vmware/vcenter/vcsa7.0.2-wu-dns-an-zhuang.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
