CentOS安装vlmcsd搭建KMS激活服务器

文章目录

Key Management Service(简称:KMS),这个功能是在Windows Vista之后的产品中的一种新型产品激活机制。我们可以利用手里闲置的VPS安装vlmcsd来搭建KMS激活服务器,这篇文章以CentOS为例,当然vlmcsd并不局限限于CentOS,如Ubuntu、Windows、MacOS等都可以安装服务端,原理和方法相同。

安装vlmcsd服务端

首先在vlmcsd/releases下载最新版本 以下命令供参考:

#下载vlmcsd
wget http://soft.xiaoz.org/linux/vlmcsd-1111-2017-06-17-Hotbird64.gz
#解压
tar -zxvf vlmcsd-1111-2017-06-17-Hotbird64.gz
#进入对应目录,请根据自己不同系统和CPU自行区分
cd binaries/Linux/intel/static
#将vlmcsd的二进制文件拷贝到/usr/sbin
cp vlmcsd-x64-musl-static /usr/sbin/vlmcsd

如果不出意外,输入vlmcsd -h可以查看帮助,如下截图。
CentOS安装vlmcsd搭建KMS激活服务器

再次输入vlmcsd命令来运行vlmcsd,如果没有报错,可输入netstat -apn|grep 'vlmcsd'查看是否运行,如下截图。

CentOS安装vlmcsd搭建KMS激活服务器

放行端口:vlmcsd监听1688端口,因此需要在防火墙放行该端口:

#如果使用的是firewalld
firewall-cmd --zone=public --add-port=1688/tcp --permanent
firewall-cmd --reload
#如果使用的是iptables
iptables -A INPUT -p tcp --dport 1688 -j ACCEPT
service iptables save
service iptables restart

至此,vlmcsd服务端已架设完成。如果上面的说明没看懂或觉得太复杂了?可以使用秋水逸冰的一键脚本安装vlmcsd:一键安装KMS服务脚本

本地测试(此步骤可省略)

本地以Windows为例,将客户端\binaries\Windows\intel\vlmcs-Windows-x64.exe解压到任意目录,并进入该目录,执行下面的命令进行测试:

vlmcs-Windows-x64.exe -v -l 3 你的VPS的IP或者绑定的域名

如果看到下面的返回信息说明连接成功,测试通过。

CentOS安装vlmcsd搭建KMS激活服务器

激活Windows or Office

激活Windows

以管理员身份运行cmd终端,并依次输入下面的命令,或者自行新建一个*.bat文件写入下面的内容。

cd /d "%SystemRoot%\system32"
slmgr /skms 你的VPS的IP或者绑定的域名
slmgr /ato
slmgr /xpr

激活Office

#进入office安装目录,可能不同版本目录有区别,请自行修改
cd /d "%ProgramFiles%\Microsoft Office\Office15"
#依次执行下面的命令
cscript ospp.vbs /sethst:你的VPS的IP或者绑定的域名
cscript ospp.vbs /act
cscript ospp.vbs /dstatus

注意事项

  • KMS方式激活的有效期只有180天
  • 此教程仅供学习测试,请24小时内自行删除相关软件和忘掉方法

文章固定链接:www.rakbuluo.com/p63

原文链接:,转发请注明来源!

发表评论

  • 75 Responses to “CentOS安装vlmcsd搭建KMS激活服务器”
    • Kndnboop

      cheap viagra pills <a href="http://viagratx.com/ ">viagra online no prior prescription</a> how do i get viagra

      回复
    • Fjjuprest

      cheap viagra pills <a href="http://viagraonlinejc.com/ ">sex pills for men viagra </a> viagra 100mg street price

      回复
    • Nbmoprest

      buy cialis pils on uk <a href="http://buycialisxz.com/ ">http://buycialisxz.com/ </a> cialis professionel

      回复
    • Abcfbopinnots

      pfizer viagra 100 <a href="https://viagriyvik.com/ ">viagra brand 100mg </a> viagracoupons

      回复
    • KbbfIdovE

      viagra cheap and fast delivery <a href="https://kloviagrli.com/ ">http://kloviagrli.com/ </a> buy viagra gold

      回复
    • AhbzAniny

      cnn money personal loans <a href="http://daymoneygo.com/ ">bmo cash advance interest rate</a> instant cash loans blackpool

      回复
    • Jbnvblafe

      biaya cash advance kartu kredit mega <a href="http://samcash21.com/ ">can my parents loan me money to buy a house</a> money store cash advance

      回复
    • JbbnAniny

      nhs cost cialis <a href="http://ljcialishe.com/ ">cialis halbe tablette</a> can you take cialis with coversyl

      回复
    • Kvaxboop

      payday advance raleigh <a href="http://rirocash.com/ ">cash advance mass</a> absa cash loan calculator

      回复
    • FqbbAniny

      define cash advance apr <a href="http://ascashapply.com/ ">cash loans el cajon</a> cash advance in woonsocket ri

      回复
    • Fbsgprest

      cialis without a rx <a href="http://llecialisjaw.com/ ">cheap generic cialis </a> cialis canada sale

      回复
    • Nbnhprest

      sildenafil 100mg tablets price <a href="http://vigedon.com/ ">http://vigedon.com/ </a> viagra online fast shipping

      回复
    • LabxAniny

      uprima and cialis together <a href="https://jecialisbn.com/ ">20 mg cialis vs 100mg viagra</a> cialis depoimentos

      回复
    • Aqcfbopinnots

      cheap cialis prices <a href="http://cialisvja.com/ ">, cialis</a> low cost cialis

      回复
    • KuikIdovE

      viagra sources <a href="http://viagerkr.com/ ">viagra uk</a> online generic viagra

      回复
    • Jbnbblafe

      canada pharmacies online pharmacy <a href="http://online21rxon.com/ ">northwest pharmacy canada</a> drug stores near me

      回复
    • AhkdAniny

      online pharmacy without a prescription <a href="http://storerxpharmcanada.com/ ">canadian pharcharmy online fda approved</a> cialis canada

      回复
    • JbbvAniny

      cialis generic pharmacy online <a href="http://canadianpharmnorx.com/ ">price pro pharmacy canada</a> discount pharmacies

      回复
    • Kbcxboop

      canadian pharmacies-247 <a href="http://xuypharmacyonline.com/">medication costs</a> canada discount drug

      回复
    • FqhhAniny

      canada prescription drugs <a href="http://happyrxpharmacy21.com/ ">online pharmacy without scripts</a> best online pharmacies no prescription

      回复
    • Fvfcprest

      buy viagra onlie <a href="http://hopeviagrin.com/ ">canada viagra dapoxetine</a> viagra 100mg

      回复
    • LbsxAniny

      prescription drugs from canada <a href="https://ssviagriia.com/ ">on line viagra questionarre</a> costco online pharmacy

      回复
    • Nncsprest

      viagra for sale <a href="http://lightvigra.com/ ">young people viagra</a> actual prescription cost of viagra

      回复
    • FmnfAniny

      free cialis no prescription <a href="https://impotencecdny.com/info/history.php">dapoxetine cialis</a> cialis no prescription paypal https://impotencecdny.com/info/history.php - cialis with no prescription ’

      回复
    • Jnscblafe

      viagra cost nz <a href="http://erectilejyzd.com/index.php?called=terms">buy brand name viagra</a> viagra without a pescripton http://erectilejyzd.com/index.php?called=terms - brand viagra in canada ’

      回复
    • Fhnhprest

      cheap prescription drugs online <a href="https://canadianpharmacy-yy.com/">canadian pharmacy no prescription needed</a> Theo-24 Cr https://canadianpharmacy-yy.com/ - drugstore online ’

      回复
    • Kbbgboop

      how much does viagra cost at walmart <a href="http://erectilejyzd.com/#">Lamictal</a> viagra without prescription,bc http://erectilejyzd.com/ - cheap canadian drugs ’

      回复
    • AhmdAniny

      buy cialis pay with paypal canada <a href="https://impotencecdny.com/">panacea pharmacy</a> buying cialis in australia https://impotencecdny.com/ - Cleocin ’

      回复
    • FmfvAniny

      cialis 20 mg from canada <a href="http://sjcialis.com/#">buy cialis online in australia</a> cialis sell http://sjcialis.com/ - how can i get cialis in australia ’

      回复
    • Jnhblafe

      cialis where to buy in las vegas nv <a href="http://loncialis.com/#">find cialis online</a> cialis online aust http://loncialis.com/ - cialis pre ’

      回复
    • Nmilprest

      trusted ed medical viagra <a href="http://xz-pharmacyonline.com/en/career-opportunities.html">viagra with dapoxetine online</a> viagra pyschological http://xz-pharmacyonline.com/en/career-opportunities.html - generic viagra (sildenafil) 100mg ’

      回复
    • Fbgprest

      for sale viagra australia <a href="https://canadianpharmacy-usx.com/organic.htm">viagra on sale</a> viagra purchase online https://canadianpharmacy-usx.com/organic.htm - viagra and cialis discount ’

      回复
    • Kbbtboop

      acs cialis <a href="https://xz-pharmacyonline.com/#">Aricept</a> cialis cheap https://xz-pharmacyonline.com - Suhagra ’

      回复
    • AhmdAniny

      cialis soft tabs, united states origin <a href="http://cialmenshoprx.com/#">viagra levitra cialis offers</a> cialis buy paypal http://cialmenshoprx.com/ - find cheapest cialis pills ’

      回复
    • LcxAniny

      genereic viagra <a href="http://genqpviag.com/#">viagra gel karmagara australia</a> original viagra http://genqpviag.com/ - viagra without prescription canada ’

      回复
    • Jvcbxblafe

      cialis nex day delivery uk <a href="http://phrcialiled.com/#">how to buy cialis online?</a> cialis generic for sale http://phrcialiled.com/ - toronto buy cialis ’

      回复
    • FsbxAniny

      viagra. <a href="http://genericrxxx.com/#">where to find viagra online</a> where can i buy generic viagra http://genericrxxx.com/ - viagra on line singapore ’

      回复
    • Nlbxprest

      real cialis on line ordering <a href="http://cialijomen.com/#">buy cialis</a> viagra cialis trail pack http://cialijomen.com/ - brand cialis with prescription ’

      回复
    • Kbctboop

      cialis overnight shipping <a href="http://mycialedst.com/#">discount cialis 20mg</a> acheter cialis http://mycialedst.com/ - cialis usa ’

      回复
    • Fbdhprest

      cialis 10 mg tablet <a href="http://21cialismen.com/#">cialis no prescriotion</a> cialis over night http://21cialismen.com/ - cialis free samples ’

      回复
    • JbdcAniny

      viagra without a rx <a href="http://llviabest.com/#">viagra 800mg</a> viagra sources http://llviabest.com/ - best viagra alternatives ’

      回复
    • AqbvAniny

      need viagra today <a href="http://acialaarx.com/#">viagra super active</a> viagra no prescription http://acialaarx.com/ - viagra online to australia ’

      回复
    • Nlbxprest

      viagra levitra paypal <a href="http://viashoprx.com/#">viagra cheap online order</a> super viagra plus lowest viagra price <a href="http://xviagarrx.com/#">buying viagra</a> can i buy viagra over the counter in the us buy viagra with paypal canada <a href="http://viagraviagria.com/#">the truth about super viagra</a> reliable cheap viagra australia viagra <a href="http://asgenviagria.com/#">buy viagra online in australia\'</a> viagra no prescription viagra mastercard <a href="http://viagengen.com/#">viagra online</a> viagra, tijuana

      回复
    • Klioboop

      viagra vs cialis forum <a href="http://bestviagrx.com/#">buy cheap viagra</a> viagra mastercard that accept viagra top of the line <a href="http://viarxhd.com/#">viagra coupons</a> viagra for sale cheap viagrasites <a href="http://viagetpill.com/#">viagra online next day delivery</a> denver viagra cost of viagra 100mg <a href="http://pillexrx.com/#">where to buy viagra online</a> viagra for every day use how can i buy viagra in korea <a href="http://usggrxmed.com/#">viagra austrlia</a> where can you buy cheap viagra

      回复
    • Fgnhprest

      viagra walmart price <a href="http://ltdviagragogo.com/#">fast working viagra</a> buy viagra in south africa viagra dosage mg <a href="http://hdgenericviagraxk.com/#">viagra for sale ireland</a> brand viagra with dapoxetine viagra surgery <a href="http://buygenericviarga.com/#">viagra premature ejaculation cure</a> generic viagra where to buy online viagra for sale in new zealand <a href="http://buyhdpillvia.com/#">reliable viagra reviews</a> brand viagra offers chesp viagra <a href="http://genericviagrix.com/#">viagra price per pill</a> viagraorcialis

      回复
    • FnrhAniny

      order viagra <a href="https://genqpviag.com/#">viagra online generic</a> online pharmacey viagra

      回复
    • FnsbAniny

      essay writing difficulties <a href="https://customessaywriterbyz.com/#">i need help with geometry homework</a> law homework help

      回复
    • FsfAniny

      do my math class <a href="https://essayhelpbgs.com/#">help me write my thesis statement</a> research paper background

      回复
    • custom essays online

      Order custom essays online <a href="https://customessaywriterbyz.com/">https://customessaywriterbyz.com/</a> custom essays toronto

      回复
    • essays online to buy

      Where to buy essays <a href="https://buyessayhelpbtg.com/">https://buyessayhelpbtg.com/</a> buy essays online cheap

      回复
    • FnrdAniny

      cheap viagra pills <a href="https://llviabest.com/#">is perscription needed for viagra</a> viagra recipe

      回复
    • FqfAniny

      writing the doctoral dissertation <a href="https://essaywritingservicesjy.com/#">school assignments says:</a> write narrative essay

      回复
    • Kwgdboop

      writing a how to essay <a href="https://researchpaperssfk.com/#">writing history essays</a> buy custom essays online

      回复
    • Fgsprest

      fake essay writer <a href="https://writemypaperbuyhrd.com/#">algebra problems</a> sociology research proposal

      回复
    • Dvscprest

      the custom house essay <a href="https://dissertationhelpvfh.com/#">essay writers cheap</a> need help with my essay

      回复
    • Jgscblafe

      writing an election speech <a href="https://thesisbyd.com/#">best paper writing services</a> tutor homework help

      回复
    • FtghAniny

      buy an essay <a href="https://thesiswritinghelpsjj.com/#">write a thesis</a> buy an essay

      回复
    • FmsgAniny

      immun mot viagra <a href="https://siviagmen.com/#">viagra Г§a sert a quoi</a> women on viagra what happens

      回复
    • Kbrgboop

      buy real viagra no prescription <a href="https://miraclevigra.com/#">female viagra buy online india</a> sildenafil 100 mg generic price

      回复
    • Fdbvprest

      generic viagra online no prescription <a href="https://hopeviagrin.com/#">sildenafil 20 mg sale</a> buy sildenafil generic

      回复
    • Dbsfprest

      viagra 400 mg <a href="https://lightvigra.com/#">no script viagra</a> sildenafil 220

      回复
    • Jsweblafe

      female viagra 50 mg <a href="https://mygoviagar.com/#">real viagra online canada</a> viagra india pharmacy

      回复
    • Juan Mohorovich

      After examine a couple of of the weblog posts in your web site now, and I truly like your means of blogging. I bookmarked it to my bookmark web site list and shall be checking back soon. Pls check out my website as well and let me know what you think.

      回复
    • https://mygoviagar.com/

      Viagra mexico online <a href="https://mygoviagar.com/">https://mygoviagar.com</a> can you purchase viagra over the counter

      回复
    • where can i buy generic viagra in canada

      Cheap generic viagra 100mg canada <a href="https://miraclevigra.com/">https://miraclevigra.com/</a> cheap generic india viagra

      回复
    • FhsbAniny

      tiempo de efecto viagra <a href="https://buybuyviamen.com/#">buybuyviamen.com</a> how safe is to take viagra

      回复
    • FbsgAniny

      viagra 3 free pills <a href="https://buybuyviamen.com/#">where to buy viagra in taipei</a> viagra eurim

      回复
    • Kmrfboop

      viagra insurance coverage aetna <a href="https://purevigra.com/#">https://purevigra.com</a> viagra side effects and precautions

      回复
    • Frbhprest

      best viagra <a href="https://paradiseviagira.com/#">https://paradiseviagira.com/</a> cheap viagra and cialis in australia

      回复
    • Jivhblafe

      viagra elimination <a href="https://purevigra.com/#">melhor forma de usar o viagra</a> garlic natural viagra

      回复
    • JildcAniny

      buying online viagra http://fmedrx.com/ <a href="http://fmedrx.com/#">what is generic viagra</a> best generic viagra online reviews

      回复
    • KmrfAniny

      buy viagra online http://usggrxmed.com/ <a href="http://usggrxmed.com/#">generic viagra canada pharmacy</a> order viagra online usa

      回复
    • viagra for sale online usa

      Blow-dry the area as you apply it with a hair dryer on low heat...

      <a href="http://siviagmen.com/">viagra for sale online usa</a> viagra for men online

      回复
    • alternative to viagra

      I am supposed to take my temp and pulse 5 times a day for 5 days.
      <a href="https://saleviabuy.com/">alternative to viagra</a> viagra best buy reviews

      回复
    • Stephenpeaky

      viagra coupon <a href=" http://sild100fast.com/# ">generic viagra</a> viagra online canadian pharmacy

      回复