Windows服务安装

2017-04-17 17:54  3166人阅读  评论 (0)
Tags: windows

windows中的服务

都记录在这里,省的忘了

apache服务

httpd -k install -n httpddotcoo
httpd -k uninstall -n httpddotcoo

mysql服务

mysqld --install mysql --defaults-file="D:\dotcoo\mysql\my.ini"
mysqld --uninstall mysql

memecache服务

memcached -d install -m 128m -p 11211
memcached -d uninstall

redis服务

redis-server --service-install --service-name redis D:\dotcoo\redis\redis.windows.conf
redis-server --service-uninstall --service-name redis

mongodb服务

mongod --install --serviceName memcache --dbpath D:\dotcoo\mongo\data --logpath D:\mongo\log.txt
mongod --remove --serviceName memcache

coreseek服务

searchd --install --servicename coreseek --config C:\dotcoo\coreseek\etc\dotcoo.conf
searchd --delete --servicename coreseek

sc添加系统服务

sc create memcache binPath= "\"C:\soft\memcached\memcached.exe\" -d runservice -p 8888" start= auto





豫ICP备09035262号-1