将STAF安装成windows服务
来源:互联网 发布:君士坦丁十一世 知乎 编辑:程序博客网 时间:2024/05/09 22:02
Set STAF as windows service
If you wish to have STAFProc start automatically on Windows whenthe operating system is rebooted (without requiring a user to logon to Windows),you can install STAF as a Windows service.
These instructions assume you have copied INSTSRV.EXE andSVRANY.EXE (available from the Windows Resource Kit) intoC:\WINNT\SYSTEM32.
Get INSTSRV.EXE and SVRANY.EXEfrom: http://download.csdn.net/source/2248126
1. Create a base STAF service which by default is startedautomatically when the system boots.
instsrv STAF c:\winnt\system32\srvany.exe
2. Start the Windows Registry Editor by typing regedit andfind:
MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\STAF
3. Create a new string value with the name Description. Set the value to Automatically start STAF service.
4. Create a new Keywith name Parameters. Inside the newkey, create a new string value with the name Application and set the value to c:\staf\bin\stafproc.exe.
删除的办法有两个:
办法一: 用sc.exe这个Windows命令
开始——运行——cmd.exe,然后输入sc就可以看到了。使用办法很简单:
sc delete "服务名"
如针对上面的: sc delete KSD2Service
方法二:直接进行注册表编辑(不推荐)
打开注册表编辑器,找到下面的键值:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- 将STAF安装成windows服务
- 将java程序安装成windows服务
- 将java程序安装成windows服务
- 将 java 程序安装成 windows 服务
- 将jboss安装成windows服务
- 将java程序安装成windows服务
- 将java程序安装成windows服务
- windows和linux下安装STAF
- 将Java应用程序安装成Windows的服务
- 将Apache2手动安装成Windows的服务
- 将jboss as 7 安装成windows服务
- Windows下将GlassFish V4安装成系统服务
- 使用wrapper将java程序安装成windows服务(摘)
- Windows上 将solr安装成系统服务
- 将SVN服务器程序安装成Windows服务的方法
- 将MongoDB安装为Windows服务
- 将mysql安装至windows系统服务
- windows将nginx安装为系统服务
- Powershell 操作hyper-v 一般性操…
- pstool 的使用方法
- OTRS安装使用系列之一——安装及初始…
- STAF 自动化测试框架学习积累
- 分析:虚拟装置成为应用交付的新选…
- 将STAF安装成windows服务
- OTRS安装使用系列之二——安装系统组…
- Python 学习积累《一》
- OTRS中文论坛
- Windows 7 中 安装ORACLE客户端
- OTRS安装使用系列之三——不同的OTRS…
- Oralce复习、学习积累《一》
- OTRS安装使用系列之四——[转载]OTRS…
- java 二维码生成和加密base64压码