sc create "Memcached Server1" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 32 -p 11211 -l 127.0.0.1" DisplayName= "Memcached Server1"

sc create "Memcached Server2" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 32 -p 11210 -l 127.0.0.1" DisplayName= "Memcached Server2"

sc create "Memcached Server3" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 32 -p 11212 -l 127.0.0.1" DisplayName= "Memcached Server3"

sc create "Memcached Server4" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 32 -p 11213 -l 127.0.0.1" DisplayName= "Memcached Server4"

sc create "Memcached Server5" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 32 -p 11214 -l 127.0.0.1" DisplayName= "Memcached Server5"

sc create "Memcached Server8" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11218 -l 127.0.0.1" DisplayName= "Memcached Server8"
sc create "Memcached Server9" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11219 -l 127.0.0.1" DisplayName= "Memcached Server9"
sc create "Memcached Server10" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11220 -l 127.0.0.1" DisplayName= "Memcached Server10"
sc create "Memcached Server11" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11221 -l 127.0.0.1" DisplayName= "Memcached Server11"
sc create "Memcached Server26" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11226 -l 127.0.0.1" DisplayName= "Memcached Server26"
sc create "Memcached Server28" start= auto binPath= "D:\01_Soft\memcached\memcached.exe -d runservice -m 10 -p 11228 -l 127.0.0.1" DisplayName= "Memcached Server28"

sc start "Memcached Server1" //启动
sc stop "Memcached Server1" //停止
sc delete "Memcached Server1" //卸载该服务

windows上memecache添加多个端口命令的更多相关文章

  1. windows上,任务管理器中,进程命令行太长怎么办

    一.前言 在windows上,有时候需要查看进程命令行,但是有的进程的命令行太长了,很难看全 此时,可以使用下面的方法解决(红框改为自己要查看的进程即可): C:\Users\Gaoyu>wmi ...

  2. 在windows上用netsh动态配置端口转发

    使用多个虚拟机,将开发环境和工作沟通环境分开(即时通,办公系统都只能在windows下使用…),将开发环境的服务提供给外部访问时,需要在主机上通过代理配置数据转发. VirtualBox提供了端口转发 ...

  3. 在CentOS Linux系统上,添加新的端口,启用ssh服务

    SSH作为Linux远程连接重要的方式,如何配置安装linux系统的SSH服务,如何开启SSH? SSH是什么? SSH 为 Secure Shell 由 IETF 的网络工作小组(Network W ...

  4. windows上redis添加密码

    命令: config get requirepass config set requirepass pwd redis-server.exe redis-windows.conf. auth   pw ...

  5. 解决windows上安装TortoiseSVN后不能使用命令行问题

    一般我们安装TortoiseSVN的时候都是一路next安装好之后就右键开始使用.但是有时候我们需要在windows的命令窗口下执行SVN命令.这时候我们就会发现svn help之后显示没svn这个命 ...

  6. Windows批量添加防火墙例外端口

    Windows下批量添加防火墙例外端口,查了网上资料,基本上都是使用"Netsh命令",循环增加端口,这会导致建立的规则特别多,不便于管理,查了下微软的资料,原来是Netsh命令, ...

  7. Windows上安装配置SSH教程(1)——知识点汇总

    1.是什么SSH? 维基百科:https://zh.wikipedia.org/wiki/Secure_Shell 其他博客:http://www.ruanyifeng.com/blog/2011/1 ...

  8. Windows上安装配置SSH教程(1)

    作者:feipeng8848 出处:https://www.cnblogs.com/feipeng8848/p/8559803.html 本站使用「署名 4.0 国际」创作共享协议,转载请在文章明显位 ...

  9. windows上用netstat查看端口/进程占用

    windows上用netstat命令查看某个端口是否占用,被哪个进程所占用 1.查看端口的占用情况,获取进程的PID 命令: netstat -ano | findstr "<端口号& ...

随机推荐

  1. TortoiseGit revert failed - unable to revert local changes

    TortoiseGit revert failed - unable to revert local changes 下载完按照提示一步一步安装就可以了 成功之后就是windows.1版本,如图

  2. SVN教程 -- 基于自己学习记录

    SVN教程 -- 基于自己学习记录 1. 概述 a. 什么是SVN? Apache Subversion 通常被缩写成 SVN,是一个开放源代码的版本控制系统.相较于 git ,svn 是集中式版本控 ...

  3. 【微信小程序】——实战开发之和风(含demo)

    微信小程序之和风 序 凑了一把微信小程序的热闹!12月,小程序正式发布,很火,但随之而来的是各种冷水,唱衰之调随处可见.但作为一个小前端,岂能有新技术却弃之不顾之理,更何况是微信出品的?抱着学习和研究 ...

  4. mxonline实战13,授课讲师列表页,详情页,index页面全局导航

    对应github地址:第13天   把teacher-list.html和teacher-detail.html拷贝过来   一. 授课讲师列表页   1. 修改html文件 把org-list.ht ...

  5. mxonline实战4,用户登陆页面2和用户注册1

            一. 基于类来定义view.py diango中使用基于类来定义views的功能,其实更加方便,因为这样可继承一些定义好的基类,来减少我们的代码量   1. 使用基于类的方法,来重新定 ...

  6. 3. STL编程三

    1. 算法容器的使用: #include <iostream> #include <functional> #include <vector> #include & ...

  7. 结合业务,精炼SQL

    现代网站,性能的瓶颈都围绕着数据库的性能来谈.数据库是存储的核心部件,在日益增长的流量中会凸显数据库的性能瓶颈.从<淘宝技术十年>书中来看,淘宝发展历程中从MYSQL换成了ORACLE又换 ...

  8. the type initializer for 'system.drawingcore.gdiplus' threw an exception

    Centos 7 yum install libgdiplus-devel reboot之后生效 apt install libgdiplus cp /usr/lib/libgdiplus.so ~/ ...

  9. canvas+js画饼状图

    效果: 源码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="U ...

  10. bzoj4361:isn(dp+容斥+树状数组)

    题面 darkbzoj 题解 \(g[i]\)表示长度为\(i\)的非降序列的个数 那么, \[ ans = \sum_{i=1}^{n}g[i]*(n-i)!-g[i+1]*(n-i-1)!*(i+ ...