如何查看某个端口号被占用情况,如何结束某个端口运行的程序
摘要:查看端口占用情况命令: lsof -i TCP:8080 这种形式 tcp是协议,8080是具体的端口 结束正在占用某个端口的应用: kill -9 pid $ps -ef|grep 8080 查看8080端口的进程号 $ps -ef|grep tomcat 查看tomcat占据的进程号 sudo
阅读全文
posted @
2017-05-23 22:31
码农时刻
阅读(357)
推荐(0) 编辑
malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list *** set a breakpoint in malloc_error_break to debug
摘要:在集成第三方sdk的时候碰到这个问题, malloc: *** error for object 0x6080000bd200: Invalid pointer dequeued from free list*** set a breakpoint in malloc_error_break to
阅读全文
posted @
2017-05-17 20:09
码农时刻
阅读(623)
推荐(0) 编辑
如何打一个可执行war包并使之可以部署在tomcat服务器上
摘要:https://www.mkyong.com/spring-boot/spring-boot-deploy-war-file-to-tomcat/ 1、首先你的pom文件中需要包含内嵌tomcat: 3、最后你的app要继承SpringBootServletInitializer如:
阅读全文
posted @
2017-05-16 23:04
码农时刻
阅读(679)
推荐(0) 编辑
tomcat 关闭时的问题 error retrieving current directory: getcwd: cannot access parent directories
摘要:error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Error occurred during initialization of VM 解决办
阅读全文
posted @
2017-05-16 00:49
码农时刻
阅读(427)
推荐(0) 编辑
ubuntu 安装tomcat
摘要:http://blog.topspeedsnail.com/archives/4551 https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-8-on-ubuntu-16-04 遇到的问题: A、u
阅读全文
posted @
2017-05-12 16:48
码农时刻
阅读(209)
推荐(0) 编辑
如何往云服务器上上传jar包
摘要:来源:http://bbs.qcloud.com/thread-24970-1-1.html 两种方式mark以下: 1. rsync 【优点】功能强大,操作类似scp,支持排除目录,支持限速参数;还支持本地复制。 【缺点】暂无 【用法】 rsync是类unix系统下的数据镜像备份工具,从软件的命名
阅读全文
posted @
2017-05-12 15:59
码农时刻
阅读(2873)
推荐(0) 编辑
ubuntu 安装java
摘要:https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/ https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu
阅读全文
posted @
2017-05-12 14:31
码农时刻
阅读(264)
推荐(0) 编辑
ubuntu 安装 java时遇到的问题 add-apt-repository command not found
摘要:http://zqloter.blog.163.com/blog/static/8940004201211102401365/ add-apt-repository command not found, 需要安装两个东西: sudo apt-get install python-software-p
阅读全文
posted @
2017-05-12 14:11
码农时刻
阅读(128)
推荐(0) 编辑
ubuntu 安装mysql
摘要:https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-14-04 sudo apt-get update sudo apt-get install mysql-server 设置mysql ht
阅读全文
posted @
2017-05-12 13:31
码农时刻
阅读(127)
推荐(0) 编辑
ubuntu 安装home-brew.
摘要:2、安装git sudo apt-get install git 3、http://stackoverflow.com/questions/26595620/how-to-install-ruby-2-1-4-on-ubuntu-14-04下载rbenv 并设置好环境变量: 安装: export P
阅读全文
posted @
2017-05-12 11:47
码农时刻
阅读(1168)
推荐(0) 编辑
mac如何通过终端登录云服务器
摘要:mac可以通过terminal 使用ssh命令登录云服务器 命令格式为:ssh username@IP 其中username是你云服务器上面的用户名,IP为云服务器分配给你的公网IP 首次登录的时候会提示你 The authenticity of host 'xxx' can't be establ
阅读全文
posted @
2017-05-11 23:06
码农时刻
阅读(675)
推荐(0) 编辑
sublime-text3 React-native 插件
摘要:前阵子下了nuclide - Atom 来作为reactive-native的ide但是个人感觉用不习惯,用不来。于是开始选择另外一款神器来替代. 网上有很多比较,最终选择了sublime-text来作为开发工具,虽然atom是facebook开发react-native的ide,但是在易用性上感觉
阅读全文
posted @
2017-05-08 23:03
码农时刻
阅读(434)
推荐(0) 编辑
WebViewJavascriptBridge 使用 js调iOS原生代码
摘要:js代码和原生ios代码进行交互使用WebViewJavascriptBridge非常简化了我们的操作特别是在ios这边 js 掉用ios原生代码时要注意的几个事项: 1、js和ios定义好相互调用的各自要掉用对方的函数名 2、ios中的操作: a、创建一个bridge对象self.bridge =
阅读全文
posted @
2017-05-04 15:19
码农时刻
阅读(1030)
推荐(0) 编辑