摘要: 1. 首先查看Linux是否有ftp软件 2. 查看ftp状态 3. 增加写的权限 取消 前面的注释 4. 查看机器的ip地址 5. 在Windows用软件FileZilla向Linux上传文件 阅读全文
posted @ 2018-04-13 20:07 whist 阅读(15940) 评论(0) 推荐(1) 编辑
摘要: 在LINUX中,周期执行的任务一般由cron这个守护进程来处理[ps ef|grep cron]。cron读取一个或多个配置文件,这些配置文件中包含了命令行及其调用时间。 cron的配置文件称为“crontab”,是“cron table”的简写。 1. 写cron脚本文件,命名为crontest. 阅读全文
posted @ 2018-04-13 19:25 whist 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 1. 设置Git的user name和email: 2.生成密钥 连续3个回车。 最后得到两个文件: id_rsa 和 id_rsa.pub 。 3. 添加密钥到ssh agent 确保 ssh agent 是可用的。ssh agent是一种控制用来保存公钥身份验证所使用的私钥的程序,其实ssh a 阅读全文
posted @ 2018-04-12 20:08 whist 阅读(196) 评论(0) 推荐(0) 编辑
摘要: For example: 阅读全文
posted @ 2018-04-12 10:33 whist 阅读(771) 评论(0) 推荐(0) 编辑
摘要: For example: mysql delete from table_name where id 10 and id 阅读全文
posted @ 2018-04-12 08:20 whist 阅读(6814) 评论(0) 推荐(0) 编辑
摘要: 1. 因为搜狗输入法是基于fcitx的,所以要设置系统的input method为fcitx,如下图: 2. 到 "搜狗输入法官网" 下载deb文件。 下载完成后双击安装即可。 3. Input method configuration 阅读全文
posted @ 2018-04-10 17:00 whist 阅读(524) 评论(0) 推荐(0) 编辑
摘要: Mainland: people.cn news.cn huanqiu.com cankaoxiaoixi.com china.com.cn cctv.com cnr.cn youth.cn gmw.cn Taiwan: chinatimes.com udn.com(United Daily New 阅读全文
posted @ 2018-04-10 09:27 whist 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 1. 在修改source.list前,最好先备份一份 2. 修改源命令: 3. 把source.list内容替换成下面其中一个源 清华大学 阿里云源 4. update命令 ` sudo apt get update ` 阅读全文
posted @ 2018-03-29 15:49 whist 阅读(2844) 评论(0) 推荐(0) 编辑
摘要: Beautiful Soup transforms a complex HTML document into a complex tree of Python objects. But you’ll only ever have to deal with about four kinds of ob 阅读全文
posted @ 2018-03-20 18:44 whist 阅读(114) 评论(0) 推荐(0) 编辑
摘要: mysql向表中某字段后追加一段字符串: mysql 向表中某字段前加字符串: 阅读全文
posted @ 2018-03-20 18:05 whist 阅读(3056) 评论(0) 推荐(0) 编辑