开启zookeepper和杀死tomcat端口

启动zookeeper

cd /zookezookeeper-3.4.6/bin

[root@localhost bin]# ./zkServer.sh start

关闭:[root@localhost bin]# ./zkServer.sh stop

查看状态:[root@localhost bin]# ./zkServer.sh status

 

查看进程

C:\windows\system32>netstat -ano | findstr 8080
TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 6148

C:\windows\system32>taskkill /pid 6148 /f
成功: 已终止 PID 为 6148 的进程。

C:\windows\system32>

 

 

开启nginx

cd  /nginx-1.8.0

cd /usr/local

cd nginx

cd sbin

./nginx

 

posted @ 2017-11-07 09:41  我是刘亮不是流量  阅读(273)  评论(0)    收藏  举报