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

本文涉及的产品
云解析 DNS,旗舰版 1个月
全局流量管理 GTM,标准版 1个月
公共DNS(含HTTPDNS解析),每月1000万次HTTP解析
简介:
更改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,如需转载请自行联系原作者

相关文章
|
6天前
|
安全 Unix 虚拟化
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 2 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 2 月更新)
32 11
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 2 月更新)
|
6天前
|
Unix 虚拟化 Windows
Windows Server 2025 中文版、英文版下载 (2025 年 2 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 2 月更新)
28 7
Windows Server 2025 中文版、英文版下载 (2025 年 2 月更新)
|
6天前
|
安全 虚拟化 Windows
Windows Server 2019 中文版、英文版下载 (2025 年 2 月更新)
Windows Server 2019 中文版、英文版下载 (2025 年 2 月更新)
41 22
|
13天前
|
安全 网络安全 数据安全/隐私保护
Windows Server 2025 Active Directory 重置用户密码
密码重置是管理员日常任务之一,用户因忘记或多次输错密码导致账户锁定时需进行重置。本文介绍在Active Directory服务器上重置密码的三种方法。
|
3月前
|
网络安全 Windows
Windows server 2012R2系统安装远程桌面服务后无法多用户同时登录是什么原因?
【11月更文挑战第15天】本文介绍了在Windows Server 2012 R2中遇到的多用户无法同时登录远程桌面的问题及其解决方法,包括许可模式限制、组策略配置问题、远程桌面服务配置错误以及网络和防火墙问题四个方面的原因分析及对应的解决方案。
239 4
|
存储 安全 Apache
2023-10 适用于基于 x64 的系统的 Windows Server 2012 R2 月度安全质量汇总(KB5031419)
2023-10 适用于基于 x64 的系统的 Windows Server 2012 R2 月度安全质量汇总(KB5031419)
1025 2
|
9月前
|
开发框架 .NET API
在Windows Server 2008 R2上运行.Net 8应用
在Windows Server 2008 R2上成功运行.Net 8程序,需安装三个补丁:Windows Server 2008 R2 SP1 (KB976932)是基础更新;VC_redist.x64提供MSVC库支持;KB3063858解决.NET运行时加载`kernel.dll`的路径问题。KB3063858可能需要KB2533623。详细信息和下载链接在文中给出。
611 4
|
9月前
|
关系型数据库 MySQL C++
Windows Server 2012R2 安装mysql 丢失VCRUNTIME140_1.dll------亲测
Windows Server 2012R2 安装mysql 丢失VCRUNTIME140_1.dll------亲测
246 0
|
缓存 JavaScript 前端开发
Windows7压缩包安装node.js 报错提示windows Server 2012 R2 和安装React脚手架 最详细教程
对于Windows 7安装node.js 提示“This application is only supported on wWindows 8.1,windows Server 2012 R2, or higher.”类似这种情况的,该问题是因为node.js官方在 x12版本后就不支持win7系统了。
|
9月前
|
Ubuntu 安全 Linux
【Linux】安装VMWare虚拟机(安装配置)和配置Windows Server 2012 R2(安装配置连接vm虚拟机)以及环境配置(Windows版详细教程)
【Linux】安装VMWare虚拟机(安装配置)和配置Windows Server 2012 R2(安装配置连接vm虚拟机)以及环境配置(Windows版详细教程)
761 0