JAVA常用命令积累

 查指定端口并杀进程 

 netstat -aon |findstr "8080"
 taskkill -F /pid 3080

Redis

1 redis 启动

进入src目录下,执行./redis-server & (带上&是在后台启动)

2 redis关闭

进入src目录下,执行./redis-cli shutdown

3 远程连接redis服务器

./redis-cli -h redis服务器IP -p 6379 (默认端口)

Mysql

 客户端连接Mysql.exe -P 3306 -h 主机IP -u 密码 -p maven
 

 Maven

出现问题-Dmaven.multiModuleProjectDirectory=$M2_HOME
百度IP地址查询接口:http://apistore.baidu.com/apiworks/servicedetail/114.html

//word生成
http://www.anyrt.com/blog/list/201609092011.html
https://msdn.microsoft.com/zh-cn/library/bb943901.aspx
https://msdn.microsoft.com/en-us/library/aa212822(v=office.11).aspx

windows下把redis打成服务
http://www.codeproject.com/Articles/715967/Running-Redis-as-a-Windows-Service

百度地图开放平台
http://lbsyun.baidu.com/index.php?title=webapi/ip-api

Mybatis -代码自动生成(generatorConfig.xml)
http://blog.csdn.net/wangxy799/article/details/60870361

猜你喜欢

转载自blog.csdn.net/u012965203/article/details/46891927