如何制作域服务器?XP得系统可以做域服务器么?

如何制作域服务器?XP得系统可以做域服务器么?,第1张

我觉得你要是做域服务器的话,最好还是用2000 或2003 server
居我所知XP是不可以做 域的!
这是我给你找的东西,希望对你有用:
win2000服务器版高级篇如何创建域控制器2006-12-22 22:44域模式网络概述
在win2000中域是活动目录的核心,同时域也是各种对象的容器这些对象可以是计算机,用户,打印机,他们具有相同的安全要求所有的域控制器都是平等的活动目录采用了多主复制式的管理模式,使得活动目录可以在多个域控制器之间,自动实现目录的复制和管理,因此能很好的实现一个用户,一个帐号的目录服务目标一个域树可以由一个或者多个域组成,其中包括了根域和子域在域树中,第一个域是该域的根(root),其他的域则是该域的子域每一个子域的上一层域是它的父域由此可见,树域构成了连续的名称空间,域树中的每个域除了共享相同的DNS域名后辍外,还有共享的配置模式对象和全局目录
域网络和对等网络(也就是工作组了)的区别
域模式与工作组模式不同的是:域内所有的计算机和用户共享一个集中的控制的活动目录数据库,目录数据库中包括了域内所有的计算机的用户帐户等对象的安全信息
在windows2000server和windows nt server 40中域的目录环境下,通过这个共享的目录数据库可以对域中的帐户,优先权,安全性,网络资源等进行集中管理,因此域是安全与集中管理的一个基本单位
工作组计算机 可以在fat32下进行,而域网络的服务器必须要在ntfs格式下才可以,因为域控制器是通过活动目录来提供支持的, 一台电脑上如果没有安装aective directory活动目录,可以说没有活动目录的就不是真正的win2000网络,而要安装活动目录必须要ntfs的支持,而要安装域控制器必须要活动目录的支持
首先,你要了解域网络必须先了解Active Directory活动目录
因为域控制器依赖活动目录来提供目录服务的
这里我们只需要大概的了解一下就可以了,如果要详细了解去学习活动目录,请参考>托管的机器一般是在IDC机房运行机房有多个机柜组成机柜上面接入带宽并放置多台的服务器因为一个机柜所放的机器数量有限所以托管机器的尺寸大小就直接影响到了托管的费用目前托管的机器大多是1U的机架式服务器比较节约空间费用也便宜
塔式服务器很多是4U的标准很多IDC机房也允许托管只是它所占用的空间较大费用会比1U的要高出很多另外你如果对硬件方面不是很熟悉的话个人建议你直接找IDC公司租用服务器会更划算一方面是硬件出问题时由IDC负责的可以免费帮你更换节约时间另一方面租用的费用比你自己买一台机器再托管可能还要划算一些
个人建议仅供参考若有需要帮忙的来找我吧

1 实习内容及知识应用
11实训内容以及进程安排
实训内容:动态网站制作的学习及动态网站的制作
这次在3名指导老师的带领下,我们主要学习了用2种现在比较流行的动态网站开发平台来开发网站:JSP平台与ASPNET平台;JSP平台方面主要通过XX老师示范制作myblog个人博客网站而学习JSP平台的搭建、数据库的连接、网站测试等内容;而ASPNET平台主要通过XX老师和XX2位老师的指导,学习并搭建了ASPNET平台,掌握了网页三剑客制作动态网站的基本常识与方法,以及数据库的连接、网站测试及Photoshop处理等内容

进程安排
日期
日程安排
08年7月28日 确定小组组员,小组成员为:XX(组长),XX(组员)
08年7月29日 确定小组动态网页开发平台为ASPNET
08年7月30日 确定网站要实现的功能①
08年7月31日-8月5日 制作BBS网站
08年8月6日 测试BBS网站
08年8月7日-08年8月15日 制作电子商务网站
08年8月16日-8月17日 测试电子商务网站
08年8月18日-8月20日 提交网站给指导老师,听取指导老师意见,完善网站
08年8月21日-8月22日 网站制作与小学期总结,写小学期文档
08年8月23日 提交小学期文档,小学期实训结束
说明:①经过讨论,我们组决定建设2个网站来实现以下功能
网站1-BBS网站:在这个网站中,我们主要实现了站点日历与站点搜索引擎2大功能。
网站2-电子商务网站:在这个网站中,我们主要实现了用户注册与登陆、购物车的实现、订单的显示等页面。
12知识(点)应用以及经验总结
这次制作2个网站主要应用的知识有以下:
⒈ 数据库的创建
① Access数据库的创建
Acess提供2种数据库创建方式:一种是创建一个空数据库,然后编辑数据表的内容;另一种使用数据库自带的模板创建;在动态网页面中,一般应用第一种方式
② Access数据库的打开方式
包括打开、只读方式打开、独占方式打开、只读独占方式打开
③ 利用设计器设计Access数据库
利用Access数据库里的设计器设计Access数据库
④ 使用向导设计Access数据库
通过Access的向导,经过一系列对话来设置Access数据库
⑤ 通过输入数据连接Access数据库。
先输入数据再确定字段
⒉ 数据库的连接
① ODBC连接数据库
打开ODBC数据源管理器面板。 在windows XP中打开控制面板,再打开管理工具,找到数据源(ODBC),双击图标打开管理器,选择系统DSN。添加数据源,点击添加按钮,开始创建数据源,在接下来的对话框中选择数据源的驱动程序,因我们使用的是Microsoft Access创建的数据库,所以选择Microsoft Access Driver(mdb)作为数据库驱动程序。点击完成按钮,填写数据源名,以简单易记为原则,这里我们以userinfo(表名)来命名,注意不要冲突。说明填不填都无所谓,是描述这个数据库的用途而已。点击选择按钮,选择你的数据库文件。找到自己想添加的数据库,选中即可。
② OLEDB连接数据库
在Dreamweaver 中,可以通过在连接字符串中包含 Provider 参数来创建 OLE DB 连接。打开Dreameaver,在站点里面先新建个ASP页面(indexasp)。 在“应用程序”面板中选中“数据库”标签。只要我们在前面建立了站点,选择了文档类型(即我们选的ASP Javascript的),并且还测试了服务器(>

那么游戏行业究竟该选择什么样的服务器呢?总结来说的话,首先要考虑这游戏的对象范围,是主打国内还是国外,如果是国内,由于南电信北网通的格局,必须考虑互通问题,BGP线路等等。此外也要考虑技术支持,游戏需要的网络标准,还有服务器对可拓展性的支持。当然最重要的就是抗攻击能力。

综合以上来说的话,高防云服务器相对更适合游戏网站。例如迅云为游戏云用户量身打造了超高IO性能的独立云服务器,平均读写可达1000Mb/秒,能够有效避免游戏卡顿现象。同时打造了低虚拟化、高可用性的游戏集群,每一个数据中心迅云都配备了万兆独立光纤,搭建了完善的实时监控故障告警技术。另外硬防可达300G,能够有效防御ddos攻击,保障游戏用户网络稳定安全。

腐蚀 RUST游戏指令和服务器指令一览,在服务器中,管理员也可以利用指令来管理游戏中不正当行为。下面就给大家带来腐蚀RUST基本指令及服务器指令大全,以供玩家们参考。

基本指令

(以下在聊天框内输入)

/msgmessage a specified player(私信一个玩家)

/mePuts your text into a purple color(你的 文字 将以紫色发出)

(以下在控制台内输入,按F1)

grasson true/false Enables or disables grass; Improves FPS for some(打开/关闭草地,可提高FPS)

grassdisplacement true/false Enables or disables grass displacements(打开关闭草地 移动 )

terrainidleinterval 0-100 Sets how often to draw unseen terrain; setting to 0 will disable(远景更新平率,0为不允许)

guishow Turns the UI on(显示用户界面)

guihide Turns the UI off(关闭用户界面)

guishow_branding Turns the branding UI in top-right corner on(显示右上角的标识)

guihide_branding Turns the branding UI in top-right corner off(隐藏右上角的标识)

netconnect "Server IP" Connect to a direct server IP(连接服务器IP,Server IP出填写服务器的IP)

netdisconnect Disconnects from a server(断开服务器连接)

netreconnect Reconnect to the last server you were on(重新连接上一个服务器)

censornudity false Disabled censorship(关闭裸体)

suicide Kills your character allowing for a respawn(自杀)

quit Quits the game(退出游戏)

服务器指令

rconlogin "password" Use your 'Password' to login into Rcon via ingame console (F1)。(使用控制台登录服务器)

status See how many players are online on server(查看在线玩家数量)

noticepopupall "message" Pops up a message for all players(发送服务器公告,在每个玩家屏幕上d出)

find Lists available console commands(列出控制台指令)

kick "player" Kicks player from the server(踢出某个玩家)

ban "player" or "steamid" Bans player Doesn't kick him though(封掉一个玩家)

banid "steamid" "reason" Bans a steamid from the server(封掉一个玩家的steamID,reason处可写理由,挂狗和无(B)素(I)质(U)狗去死吧)

unbanall Unbans all players(解封所有玩家)

truthenforce true/false Server kicks people automatically when they are doing "weird" things(服务器自动踢出做奇怪事情的人,如卡BUG)

saveall Saves world map and player inventory(服务器保存当前地图和玩家信息)。

say [message] Sends a message to the person/s in-game globally(以服务器身份说话)

invgiveplayer "player" "item" "amount" Gives 'Player' the 'Item' Full name and Item name required List of Items(给玩家东西,“玩家”“物品”“数量”)

invgiveall "item" "amount" Gives all players 'Item' Full Item name required List of Items(给所有人东西,“玩家”“物品”“数量”,比如节日的时候,可以作为惊喜,没人给一把q什么的)

dmggodmode true/false Gives all logged in admins godmode(开启/关闭所有人 创造 模式)

craftingcancel Cancels every single crafting job in progress for everyone(取消制作任何东西)

craftinginstant true/false Sets crafting to be instant for everyone(开启/关闭瞬间制作)

craftinginstant_admins true/false Sets crafting to be instant for logged in admins only(开启/关闭管理员瞬间制作)

craftingtimescale "amount" Sets the timescale of crafting to 'amount' (1 = default, 05 = half time)。(设置制作物品时间的速度,1为默认,05为一半时间)

airdropdrop Starts an airdrop(进行一次物品空降)

airdropmin_players "amount" Starts airdrops only when minimum X players are online(开始物品空降,当在线人数至少“X”人的时候)

vehiclespawn Spawns a car at your current position( 放置 一辆车,在你当前位置,管理装B专用)

serverhostname Sets a hostname(设置服务器名称)

serverclienttimeout "time"Sets the time until someone times out Good to fight item glitchers (Default 2 minutes)(设置超时时长,默认为2分钟)

serverpvp true/false Sets PVP on or off(开启PVP)

servermaxplayers "amount" Sets maximum amount of server slots(设置最大玩家数量)

sleeperson true/false Sets sleepers on or off(是否允许睡眠模式)

envtime "amount" Sets the time of day to a specified value(设置天的时间)

falldamageenabled true/false Turns fall damage on or off(开启/关闭掉落伤害)

RUST++ MOD

(以下在聊天框内输入)

基本命令

/share playername shares your doors with a player(共享你的门给一个玩家)

/unshare playername unshares your doors with a player(解除对一个玩家的门共享)

/help Shows commands(显示所有指令)

/pm "playername" "message" private messages a player(私聊一个玩家,名字必须写全)

/r message here quick reply to last PM(快速回复上一个私聊你的玩家)

/history Shows chat history, last 6 messages by default(显示前6个聊天内容)

/players Shows online players(显示当前在线玩家)

/location Shows the coordinates of the player(显示玩家的当前坐标)

/ping shows latency between client and server(显示服务器的延迟)

/starter gives a configurable starter kit(给予初始装备)

/friends shows your friends list(显示朋友列表)

/addfriend playername adds a player to your friends list(添加一个玩家为好友)

/unfriend playername removes a friend(移除一个好友)

/about shows server mod version(显示服务器版本)

管理员命令

/announce message here ADMIN ONLY - announces a message to the server(发送服务器公告)

/loadout ADMIN ONLY - spawns you an admin loadout set in the config file(生成一个管理 *** 作记录在设置文件夹下)

RustEssentials MOD

(以下在聊天框内输入)

/access {on} (Gives the sender access to all doors,给予你打开所有门的权限)

/access {off} (Revokes access to all doors from the sender,移除你打开所有门的权限)

/airdrop (Spawns an airdrop with a random drop location,设置一次随地地点的空降)

/airdrop(Spawns an airdrop with a drop location at the specified player,设置一次空降给某个玩家)

/ban(Bans player with reason: "Banned by a(n)",封掉一个玩家)

/ban[reason] (Bans player with reason,封掉一个玩家和愿意)

/chan {g} (Joins the global chat,加入全球聊天屏道)

/chan {global} (Joins the global chat,同上)

/chan {d} (Joins the direct chat,加入一个特定聊天屏道)

/chan {direct} (Joins the direct chat,同上)

/give(Gives the item to that player,给一个玩家指定物品)

/give[amount] (Gives the amount of the item to that player,给一个玩家指定物品和数量)

/give[item id] (Gives 1 of the item with the corresponding id to that player,给一个玩家指定的物品,这里用的是物品ID)

/give[item id] [amount] (Gives the amount of the item with the corresponding id to that player,给一个玩家指定的物品和数量,这里用的是物品ID)

/god(Gives the specified player god mode,给指定玩家上帝模式)

/heal player name (Heals the designated player,恢复指定玩家的血)

/help (Returns available commands for your current rank,显示指令)

/help [command without /] (Returns the documentation and syntax for the specified command,显示已经排除外的指令,without/后面填上你不想显示的指令)

/history {1-50} (Returns the the last # lines of the chat history,查看聊天记录,1-50里面填你想查看前面多少条记录)

/i(Gives the item to you,给自己指定物品)

/i[amount] (Gives the amount of the item to you,给自己指定物品和数量)

/i [item id] (Gives 1 of the item with the corresponding id to you,给自己指定物品,这里用的是物品ID)

/i [item id] [amount] (Gives the amount of the item with the corresponding id to you,给自己指定物品和数量,这里用的是物品ID)

/join (Emulates the joining of yourself, 模拟 自己加入游戏)

/join(Emulates the joining of a fake player,加入一个机器人到游戏中)

/kick(Kick player with reason: "Kicked by a(n)",踢出一个玩家)

/kick[reason] (Kick player with reason,踢出一个玩家和愿意)

/kickall (Kicks all users, except for the command executor, out of the server踢出所有玩家,除了输入这条指令者)

/kill(Kills the specified player,杀死一个指定玩家)

/kit [kit name] (Gives the user the specified kit if the user has the correct authority level,给一个用户指定套装,当这个玩家有指定的权限的时候)

/kits (Lists the kits available to you,列出自己所有能用的套装)

/leave (Emulates the leaving of yourself,模拟自己离开游戏)

/leave(Emulates the leaving of a fake player,模拟一个机器人离开游戏)

/mute(Mutes the player on global chat,禁言一个玩家)

/online (Returns the amount of players currently connected,显示所有服务器在线玩家)

/pmmessage (Sends a private message to that player,私聊某个玩家)

/pos (Returns the player's position,显示玩家所在的坐标)

/reload {config/whitelist/ranks/commands/kits/motd/bans/all} (Reloads the specified file,重新加载指定的文件)

/save (Saves all world data,保存世界数据)

/say message (Says a message through the plugin,以服务器身份说话,在公屏上)

/saypop message (Says a (!) dropdown message to all clients,d出一段话,在玩家屏幕上)

/saypop [icon] message (Says a dropdown message to all clients with designated icon),以icon的什么d出一段话,在玩家屏幕上

/share player name (Shares ownership of your doors with the designated user,共享门给指定玩家)

/stop (Saves, deactivates, and effectively stops the server,停止服务器并保存)

/time (Returns current time of day,显示当前世界时间)

/time {0-24} (Sets time to a number between 0 and 24,设置当前世界时间)

/time {day} (Sets time to day,设置为白天)

/time {freeze} (Freezes time,冻住当前时间)

/time {night} (Sets time to night,设置为晚上)

/time {unfreeze} (Unfreezes time,解冻当前时间)

/timescale (Returns the speed at which time passes,显示当前时间流逝速度)

/timescale [#] (Sets the speed at which time passes Recommended between 0 and 1 WARNING: THIS AFFECTS AIRDROPS,设置时间流逝速度,在0和1之间,警告!这个将影响到空降时间)

/uid (Returns your steam UID,显示你的steamID)

/uid player name (Returns that user's steam UID,显示指定玩家的steamID)

/unban(Unbans the specified player,解封指定玩家)

/ungod(Revokes god mode from the specified player,解除指定玩家的上帝模式)

/unmute(Unmutes the player on global chat,解除指定玩家的禁言)

/unshare {all} (Revokes ownership of your doors from everyone,解除对所有玩家的门共享)

/unshare player name(Revokes ownership of your doors from the designated user,解除对指定玩家的门共享)

/version (Returns the current running version of Rust Essentials,重置Rust Essentials模组的版本)

/whitelist {add} [UID] (Adds the specified Steam UID to the whitelist,把指定steamID添加至白名单)

/whitelist {check} (Checks if you're currently on the whitelist,查询白名单)

/whitelist {kick} (Kicks all players that are not whitelisted This only work if whitelist is enabled,踢出所有在白名单的人,如果白名单已经启动)

/whitelist {off} (Turns whitelist off,关掉白名单)

/whitelist {on} (Turns whitelist on,打开白名单)

/whitelist {rem} [UID] (Removes the specified Steam UID to the whitelist,移除指定steamID从白名单)

无论是LGA115x平台的i7或者是旗舰级桌面平台的i7,想拿来当服务器也是可以的,并且性能也很强悍。
但问题在于普通电脑结构并不是为724小时开机设计的。而大部分服务器对连续运转有需求。如果楼主能保证每天电脑都有关机时间的话这个倒是问题不大。724不仅对平台有要求,硬盘也需要选择724的,至少是监控级,最好是企业级。都要实现的话成本直线上升。
另外就是服务器的可靠性确实要高过桌面平台,无论是双电源设计还是ECC校验内存都是高可靠性的保证。所以说就看楼主有多严苛的要求。
如果不追求724和极致的可靠性,单从性能来说i7处理器的性能还是挺强劲的。

你这种情况不好处理
你的B服务器决定了只能放置下载、附件等非关键的但流量大的内容。
A服务器用来放置数据库及网站源码。。
所以,用单纯的智能DNS或许解决不了问题,因为智能DNS将联通(网通)的用户全解析到你B服务器上,但可能B服务器挂了。
我建议:在B服务器上做squid代理缓存,将一部分联通(网通)的用户调到B服务器上,当B服务器挂了的时候,就自动转到A上。关于B出现问题的时候,就转到A上的智能DNS,可以用DNSPOD的VIP。

我给你一个类似的代码,你自己改一下就可以了,我不给你该了。希望对你有所帮助!
<----------------------服务器端------------------------------->
//实现多线程的网络连接
package cnsocket;
import javaio;
import javanet;
public class SocketServerTrue {
public SocketServerTrue()
{
try {
//服务器开启一个端口
Systemoutprintln("等待连接");
ServerSocket ss= new ServerSocket(8090);
//等待连接,返回socket类型的对象
Socket s=ssaccept();
Systemoutprintln("连接成功,等待客户端输入信息!");

//得到客户端的信息
InputStreamReader isr=new InputStreamReader(sgetInputStream());
BufferedReader br=new BufferedReader(isr);

//向客户端传递信息
PrintWriter pw=new PrintWriter(sgetOutputStream(),true);

//实现从控制台输入数据
InputStreamReader isrS=new InputStreamReader(Systemin);
BufferedReader brS=new BufferedReader(isrS);

while(true)
{
//得到客户端的信息
String info=brreadLine();

//判断是否结束
if(infoequals("bye"))
{
Systemoutprintln("对话结束!");
sclose();
break;
}

Systemoutprintln("对方说:"+info);

//给客户端传递信息
String infoC=brSreadLine();
pwprintln(infoC);
if(infoCequals("bye"))
{
Systemoutprintln("对话结束!");
sclose();
break;
}
}

} catch (IOException e) {
// TODO Auto-generated catch block
eprintStackTrace();
}
}
/
@param args
/
public static void main(String[] args) {
// TODO Auto-generated method stub
SocketServerTrue ssm=new SocketServerTrue();
}
}
<---------------------------客户端-------------------------->
//客户端的(多线程)
package cnsocket;
import javaio;
import javanet;
public class SocketClientTrue {
public SocketClientTrue()
{
//去连接服务器
try {
Socket s=new Socket("127001",8090);
Systemoutprintln("连接成功,给服务器说话!");

//向服务器传递的信息
PrintWriter pw=new PrintWriter(sgetOutputStream(),true);

//得到服务器信息
InputStreamReader isr=new InputStreamReader(sgetInputStream());
BufferedReader br=new BufferedReader(isr);

//从控制台输入信息
InputStreamReader isrC=new InputStreamReader(Systemin);
BufferedReader brC=new BufferedReader(isrC);

while(true)
{
//给服务器说话
String infoS=brCreadLine();
pwprintln(infoS);
if(infoSequals("bye"))
{
Systemoutprintln("对话结束!");
sclose();
break;

}
//得到服务器的信息
String info=brreadLine();
if(infoequals("bye"))
{
Systemoutprintln("对话结束!");
sclose();
break;
}
Systemoutprintln("对方说:"+info);
}

} catch (UnknownHostException e) {
// TODO Auto-generated catch block
eprintStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
eprintStackTrace();
}
}
/
@param args
/
public static void main(String[] args) {
// TODO Auto-generated method stub
SocketClientTrue scm=new SocketClientTrue();
}
}
;


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/12785009.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-28
下一篇 2023-05-28

发表评论

登录后才能评论

评论列表(0条)

保存