时间:2016-02-28 13:50 来源: 我爱IT技术网 作者:佚名
欢迎您访问我爱IT技术网,今天小编为你分享的电脑教程是网络协议方面的经验知识教程:如何为W2k创建一个tftp,下面是详细的分享!
如何为W2k创建一个tftp
近日总是有人问怎么启动Win2K下的TFTP服务,其实在默认情况下TFTP服务是没有安装的,只有在使用RIS服务的时候才会安装该服务,现在我给大家示范如何来安装一个tftp服务。我们首先找到系统中的tftpd.exe文件,一般我们可以在%systemroot%system32dllcache目录下找到该文件,建议把该文件copy到其他目录。
C:>copy %systemroot%system32dllcache ftpd.exe
%systemroot%system32
已复制 1 个文件。
我们会用Windows 2000下的Resource
Kits中的一个工具instsrv创建一个服务,instsrv的用法如下,当然,你也可以用其他的工具来实现(如srvinstw,GUI方式的)。
C:>instsrv
Installs and removes system services from NT
INSTSRV
[-a
Install service example:
INSTSRV MyService C:MyDirDiskService.Exe
-OR-
INSTSRV MyService C:mailsrvmailsrv.exe -a MYDOMAINjoebob -p foo
Remove service example:
INSTSRV MyService REMOVE
[俺的特色:字不够,帮助凑!]
添加一个服务,注意,该服务创建侯为自动启动。
C:>instsrv tftp c:winntsystem32 ftpd.exe
The service was successfuly added!
Make sure that you go into the Control Panel and use
the Services applet to change the Account Name and
Password that this newly installed service will use
for its Security Context.
启动服务
C:>net start tftp
tftp 服务正在启动 .
tftp 服务已经启动成功。
测试服务是否正常工作
C:>tftp -i 61.135.21.195 PUT sometips.gif sometips.gif
Transfer successful: 4209 bytes in 1 second, 4209 bytes/s
C:>dir tftpdroot
驱动器 C 中的卷是 C
卷的序列号是 1E23-1907
C: ftpdroot 的目录
2004-09-22 01:14
2004-09-22 01:14
2004-09-22 01:14 4,209 sometips.gif
1 个文件 4,209 字节
2 个目录 94,113,792 可用字节
注意,如果你上传文件,系统会在%systemdrive%自动创建一个名为tftproot的目录,OK,所有的工作已经完成了!
以上就是关于如何为W2k创建一个tftp的网络协议知识分享,更多电脑教程请移步到>>电脑教程。
- 评论列表(网友评论仅供网友表达个人看法,并不表明本站同意其观点或证实其描述)
-
