更改Windows Server Core 2008计算机名字和配置网络连接

简介:
更改Windows Server Core 2008计算机名字

步骤:

1. 以管理员的身份登录Windows Server核心服务器。

2. 运行“hostname”,显示当前计算机名字。

3. 运行netdom renamecomputer WIN-M95F5DFAZC0 /newname:FileServer 其中WIN-M95F5DFAZC0是现在的计算机名字,FileServer是新的计算机名字。

4. 运行shutdown /r /t 0 重启系统。

clip_image002[22]

配置网络连接

步骤:

1. 使用管理员账号登录Windows Server 核心操作系统。

2. 使用IPconfig /all 查看Ip地址。发现已经从DHCP请求得到了地址。

clip_image004[20]

Ping www.inhe.net测试到Internet的连接性。发现能够解析该域名的地址,并且能够从该地址返回数据包。

clip_image006[20]

如果网络上没有DHCP服务器给分配IP地址,你需要进行以下步骤人工指定静态地址。

输入netsh

输入interface

输入show interface显示接口

输入Exit退出

clip_image008[18]

输入netsh

输入interface ipv4 set address name=”本地连接” source=static addr=10.7.1.212 mask= 255.255.255.0 gateway=10.7.1.1

clip_image010[16]

以下配置指定使用的DNS服务器

输入netsh

输入interface ipv4 set dnsserver “本地连接” static 10.7.10.232 primary

clip_image012[17]

输入exit退出

输入Ipconfig /all查看配置的DNS

Ping www.inhe.net测试到Internet的连接性。发现能够解析该域名的地址,并且能够从该地址返回数据包。表明能够连接到Internet。


本文转自 onesthan 51CTO博客,原文链接:http://blog.51cto.com/91xueit/1110424,如需转载请自行联系原作者

相关文章
|
5月前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
1305 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
5月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
566 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
5月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
789 0
|
6月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
527 1
|
6月前
|
安全 Linux iOS开发
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
298 0
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具