hexo 系列001:hexo 安装及站点初始化
1.安装好 nodejs:
2.创建 hexo 安装目录:
1mkdir -p /data/hexo
3.进入创建目录,执行命令安装 hexo
1cd /data/hexo && npm install hexo-cli -g
4.初始化站点目录:
1hexo init blog
5.进入站点目录,进行安装:
1cd blog && hexo install
6.启动 hexo
1hexo server
7.查看安装的 hexo 版本:
12345678910111213141516171819202122232425262728293031323334353637root@ubuntuhome:/data/hexo/blog# hexo --versionINFO Validating configINFO =================================================================== ##### # # ##### ##### ###### ##### ## ...
爬取大乐透开奖数据
10fa5de6cfece65072059c6e799a4590403f91d0d20f99690459d19457dd9543927bd214c23960f9ea2bb717fea2b4ae6808bab63d8e1d8b8f113572a8cc5cac7e89dbab178fe1f9250559e8659321ed025866e58d4cd6c4f851b3e3177ea443f16239b39e5b6100067b051c28011dc6bd6261c5515b82912b93dc4ac508b3e845c7998755a492c49f81fef9f6e11b15a3b6627923bb72c81ca8bab5507f4ac443db5bae193580f7cee499eabc5be3f28a76e95fe12c64920c950eaa1a639c7db1f93e8a252c251685b261ab8e9114b589b3e217c01f74d993473a42e51cbdd9d76fe06637d82c9308e83eabb518790db33624433a88e80f9 ...