摘要: 转自: https://blog.csdn.net/lu_wei_wei/article/details/51205943 Elasticsearch在linux下使用命令sh elasticsearch start,按键ctrl+c的时候程序就会stop掉,如何将程序在后台启动呢? 需要使用:./ 阅读全文
posted @ 2019-05-25 23:27 忘记时间zms 阅读(277) 评论(0) 推荐(0) 编辑
摘要: gg : 跳转到文件头 Shift+g : 跳转到文件末尾 行数+gg : 跳转到指定行,例跳转到123行:123gg 阅读全文
posted @ 2019-05-25 23:18 忘记时间zms 阅读(12431) 评论(0) 推荐(3) 编辑
摘要: 真的是各种坑啊,哎 安装显示 Building wheel for twisted (setup.py) ... error 解决方法: https://askubuntu.com/questions/966939/failed-building-wheel-for-twisted 退出虚拟环境,然 阅读全文
posted @ 2019-05-25 23:01 忘记时间zms 阅读(222) 评论(0) 推荐(0) 编辑
摘要: w3m 本地电脑失败,vps成功: 失败原因未知 links 都成功 正常用 apt安装就可以 阅读全文
posted @ 2019-05-25 22:25 忘记时间zms 阅读(247) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/jackghq/article/details/64124062 分别是下载文件、上传文件、下载文件夹、上传文件夹 ssh : secure shell scp : secure copy 对于文件数目太多的文件夹,先打包压缩再上传,速度很快,否则速度太慢 阅读全文
posted @ 2019-05-25 21:52 忘记时间zms 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 安装 python-pip 的时候,python 命令指向的需要是python2 的版本 要不安装完成后pip会出问题 https://www.linuxidc.com/Linux/2018-05/152390.htm pip 命令具体使用python2还是python3,是由pip文件中第一行中p 阅读全文
posted @ 2019-05-25 21:00 忘记时间zms 阅读(153) 评论(0) 推荐(0) 编辑
摘要: http://man.linuxde.net/chmod u User,即文件或目录的拥有者;g Group,即文件或目录的所属群组;o Other,除了文件或目录拥有者或所属群组之外,其他用户皆属于这个范围;a All,即全部的用户,包含拥有者,所属群组以及其他用户;r 读取权限,数字代号为“4” 阅读全文
posted @ 2019-05-25 20:39 忘记时间zms 阅读(252) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012897374/article/details/78827359 接下来进入root用户,如果之前就没有普通用户,那就直接输入 就可以进入root了 给 sudoers添加写的权限 然后保存退出就可以了 阅读全文
posted @ 2019-05-25 20:37 忘记时间zms 阅读(1807) 评论(0) 推荐(0) 编辑
摘要: -r 递归 -f force强制 阅读全文
posted @ 2019-05-25 20:27 忘记时间zms 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 直接重启服务,不要start,容易出错 ssh连接的时候注意输入yes,而不是直接回车 https://github.com/uxh/shadowsocks_bash/wiki/Vultr%E4%BD%BF%E7%94%A8%E6%95%99%E7%A8%8B shadowsocks 服务器安装以及 阅读全文
posted @ 2019-05-25 14:01 忘记时间zms 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 在项目下的路径下下运行 后面的端口换成其他可用的端口也可以 如何让外网也能访问呢,有待更新 阅读全文
posted @ 2019-05-25 13:12 忘记时间zms 阅读(327) 评论(0) 推荐(0) 编辑
摘要: 只有数组的selector才有用 阅读全文
posted @ 2019-05-25 11:42 忘记时间zms 阅读(387) 评论(0) 推荐(0) 编辑