Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwarven committed Jun 5, 2017
1 parent cce68b3 commit b55a691
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
通过Linux服务器搭建Windows KMS激活服务器,可以用来激活Windows和Office ,下面开始教程

> 可以从[MDL](https://forums.mydigitallife.net/threads/emulated-kms-servers-on-non-windows-platforms.50234/)下载最新版的VLMCSD (Source and binaries),然后找到自己选择平台对应的二进制文件
> 这里以`CentOS`为例
### 永久关闭SELinux
Expand Down Expand Up @@ -45,8 +46,25 @@ chmod u+x /usr/local/KMS-server
```

### 防火墙设置
CentOS 6

```
iptables -I INPUT -p tcp --dport 1688 -j ACCEPT
service iptables save
service iptables restart
```

CentOS 7

```
firewall-cmd --zone=public --add-port=1688/tcp --permanent
firewall-cmd --reload
or
systemctl disable firewalld
yum install iptables-services
systemctl enable iptables
iptables -I INPUT -p tcp --dport 1688 -j ACCEPT
service iptables save
service iptables restart
Expand Down

0 comments on commit b55a691

Please sign in to comment.