注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 CCIE-Lab考试将新增10分钟..
 帮助

如何在Windows Server 2008 Core里面添加Role~~~


2007-08-29 16:23:06
版权声明:原创作品,谢绝转载!否则将追究法律责任。
SERVER CORE 中添加服务器

添加AD:
在SERVER CORE 下安装AD必须使用UNATTEND文件来进行安装
以下是一个UNATTED文件的实例
; DCPROMO unattend file (automatically generated by dcpromo)
; Usage:
;   dcpromo.exe /unattend:F:\LONGHORN.txt
;
[DCInstall]
; New forest promotion
ReplicaOrNewDomain=Domain (产生新域)
NewDomain=Forest(新森林)
NewDomainDNSName=Nwtraders.msft(新域的DNS名字)
ForestLevel=0(森林根)
DomainNetbiosName=nwtraders(DOMAIN的NETBIOS名)
DomainLevel=0
InstallDNS=Yes自动安装DNS
ConfirmGc=Yes(当前DC为GC)
DNSDelegation=No
DatabasePath=D:\Windows\NTDS
LogPath=c:\Windows\NTDS
SYSVOLPath=c:\Windows\SYSVOL
; Set SafeModeAdminPassword to the correct value prior to using the unattend file
SafeModeAdminPassword=(目录恢复模式管理员密码)
; Run-time flags (optional)
; CriticalReplicationOnly=Yes
; RebootOnCompletion=Yes(安装结束是否自动启动)
TransferIMRoleIfNecessary=No


设置多个DNS
netsh interface ipv4 add dnsserver name="#" address=192.168.1.1 index=1
netsh interface ipv4 add dnsserver name="#" address=192.168.1.2 index=2
name为网络连接名称


添加角色
start /w ocsetup rolepackage

rolepackage:
DHCP = DHCPServerCore
DNS = DNS-Server-Core-Role
File = File-Server-Core-Role
File Replication service = FRS-Infrastructure
Distributed File System service = DFSN-Server
Distributed File System Replication = DFSR-Infrastructure-ServerEdition
Network File System = ServerForNFS-Base
Single Instance Store = SIS
Microsoft-Hyper-v

查看当前计算机名
IPCONFIG /ALL
SET C
SYSTEMINFO
ps:有时间,分步骤说明~~~~~~~~

本文出自 “世界因你而不同” 博客,谢绝转载!





    文章评论
 
2007-08-29 20:58:00
坐下来,慢慢看
内容不错

2007-12-26 20:27:21
小伙不错,上TECHNET速递了呀

2008-02-15 13:50:09
不要骄傲,要继续努力,朝着博客之星奋斗。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: