随笔分类 -  ubuntu云服务器部署准备

如何查看某个端口号被占用情况,如何结束某个端口运行的程序
摘要:查看端口占用情况命令: 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 码农时刻 阅读(365) 评论(0) 推荐(0)
ubuntu apt-get 如何搜索结果
摘要:apt-cache search xxx 阅读全文
posted @ 2017-05-14 16:55 码农时刻 阅读(303) 评论(0) 推荐(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 码农时刻 阅读(212) 评论(0) 推荐(0)
ubuntu 显示隐藏文件
摘要:ls -a 阅读全文
posted @ 2017-05-12 16:33 码农时刻 阅读(134) 评论(0) 推荐(0)
如何往云服务器上上传jar包
摘要:来源:http://bbs.qcloud.com/thread-24970-1-1.html 两种方式mark以下: 1. rsync 【优点】功能强大,操作类似scp,支持排除目录,支持限速参数;还支持本地复制。 【缺点】暂无 【用法】 rsync是类unix系统下的数据镜像备份工具,从软件的命名 阅读全文
posted @ 2017-05-12 15:59 码农时刻 阅读(2891) 评论(0) 推荐(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 码农时刻 阅读(269) 评论(0) 推荐(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 码农时刻 阅读(137) 评论(0) 推荐(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 码农时刻 阅读(134) 评论(0) 推荐(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 码农时刻 阅读(1187) 评论(0) 推荐(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 码农时刻 阅读(689) 评论(0) 推荐(0)