2017年3月7日

ubuntu安装node和npm

摘要: 一 node的安装 通过命令行sudo apt-get install nodejs安装后,执行node -v 出现 The program 'node' can be found in the following packages: * node * nodejs-legacy 发现只有再执行su 阅读全文

posted @ 2017-03-07 15:31 猫来喵去 阅读(123) 评论(0) 推荐(0) 编辑

2017年1月23日

关于ubuntu的cron

摘要: 新的项目,要求服务定时请求固定url。于是安装了lynx库,来触发固定url。之前在/etc/crontab下有定时任务,触发.sh文件,作为数据库的定时备份使用。但直接添加lynx -dump http://xxxxx/xxx.php无论怎样都实施不了。看到https://zhidao.baidu 阅读全文

posted @ 2017-01-23 19:00 猫来喵去 阅读(117) 评论(0) 推荐(0) 编辑

导航