首页 文章 精选 留言 我的

精选列表

搜索[系统工具],共10000篇文章
优秀的个人博客,低调大师

hexo 搭建 自己的博客系统(hexo, github,maupassant)

查看效果 https://curoiusby.github.io/ https://curoiusby.github.io/2018/07/17/%E7%AC%AC%E4%B8%80%E7%AF%87-linux-hexo-%E5%AE%89%E8%A3%85%E8%AF%A6%E7%BB%86/ hexo 搭建 Jul 17, 2018| linux 文章目录 1.准备工作 1.1.安装 node 1.2.安装 git 1.3.安装 python 2.安装 hexo 2.1.安装hexo本地 2.2.安装hexo 发步到github 准备工作 1 2 3 安装 node 安装 git 安装 python 安装 node 去逛网下载 node-v6.11.2-x64.msi,或者去csdn 下载,csdn 下载速度快一点 反正下载好msi文件后,双击打开安装,也是一路next,不过在Custom Setup这一步记得选 Add to PATH,这样你就不用自己去配置电脑上环境变量了,装完在按 win + r 快捷键调出运行,然后输入cmd确定,在cmd中输入path可以看到你的 nod e 是否配置在里面(环境变量),没有的话你就自由发挥吧 测试查看: node -v v6.11.2 npm -v(安装nod e 后就存在npm了) 3.10.10 npm update -g (版本比较低,更新一下,并下载库) npm -v 6.1.0 安装 git 下载git安装文件,双击执行安装 git config --global user.name "你的GitHub用户名" git config --global user.email "你的GitHub注册邮箱" ssh-keygen -t rsa -C "你的GitHub注册邮箱" 将公钥添加到github: 用户头像→Settings→SSH and GPG keys→New SSH key→将id_rsa.pub中的内容复制到Key文本框中,然后点击Add SSH key(添加SSH)按钮 ssh-add /c/Users/baoy/.ssh/id_rsa 测试是否联通 ssh -T git@github.com 联通报文 The authenticity of host 'github.com (53.72.123.109)' can't be established. RSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,53.72.123.109' (RSA) to the list of known hosts. Hi xxxx! You've successfully authenticated, but GitHub does not provide shell access. 安装 python 为啥安装python? 下面我们在安装hexo 主题 maupassant的时候,会应用一个nod e 模块node_modules/which/which.js.,which 中要求安装python 下载 :python-3.5.4rc1-amd64.exe 安装next ->到底 测试: py -V Python 3.5.4rc1 安装 hexo 安装hexo本地 # 安装hexo npm install hexo-cli g # 测试 hexo -v hexo: 3.7.1 hexo-cli: 1.1.0 os: Windows_NT 10.0.17134 win32 x64 http_parser: 2.7.0 node: 6.11.2 v8: 5.1.281.103 uv: 1.11.0 zlib: 1.2.11 ares: 1.10.1-DEV icu: 58.2 modules: 48 openssl: 1.0.2l # 初始化博客文件夹 hexo init blog(mkdir blog && hexo init ) # 切换到该路径 cd blog # 安装hexo的扩展插件 npm install # 安装其它插件 npm install hexo-deployer-git --save(提交到github 做准备) npm install hexo-server --save npm install hexo-admin --save npm install hexo-generator-archive --save npm install hexo-generator-feed --save npm install hexo-generator-search --save npm install hexo-generator-tag --save npm install hexo-generator-sitemap --save # 清空已经发布内容 hexo clean # 生成静态文件 hexo g (hexo generate) # 发布到github 上 hexo d (hexo deploy) #本地启动 hexo s (hexo server) 安装hexo本地 , 只需要命令 npm install hexo-cli g npm install hexo-deployer-git --save npm install hexo init blog hexo clean hexo generate hexo server # 启动后效果 INFO Start processing INFO Hexo is running at http://localhost:4000/. Press Ctrl+C to stop. http://localhost:4000/ 安装hexo 发步到github # 安装插件 npm install hexo-deployer-git --save # 修改配置 (注意冒号后面有一空格) deploy: type: git repository: git@github.com:curoiusby/curoiusby.github.io.git branch: master hexo clean hexo generate hexo deploy (hexo d -g) # 发布成功后报文 INFO Start processing INFO Files loaded in 2.02 s INFO Generated: index.html INFO Generated: img/BTCQR.png INFO Generated: img/WeChatQR.png INFO Generated: img/AliPayQR.png INFO Generated: img/github.svg INFO Generated: img/wechat.svg INFO Generated: img/paypal.svg INFO Generated: img/alipay.svg INFO Generated: img/bitcoin.svg INFO Generated: img/like.svg INFO Generated: archives/2018/index.html INFO Generated: archives/index.html INFO Generated: donate/index.html INFO Generated: archives/2018/07/index.html INFO Generated: js/codeblock-resizer.js INFO Generated: js/donate.js INFO Generated: js/search.js INFO Generated: js/fancybox.js INFO Generated: js/share.js INFO Generated: js/smartresize.js INFO Generated: js/totop.js INFO Generated: css/donate.css INFO Generated: css/style.css INFO Generated: css/default.css INFO Generated: 2018/07/16/第一篇-linux-hexo-安装详细/index.html INFO Generated: js/gitment.browser.js INFO 26 files generated in 277 ms hexo d INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... INFO Copying files from extend dirs... warning: LF will be replaced by CRLF in css/default.css. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in css/donate.css. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in css/style.css. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in donate/index.html. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/codeblock-resizer.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/donate.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/fancybox.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/gitment.browser.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/search.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/share.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/smartresize.js. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in js/totop.js. The file will have its original line endings in your working directory. [master 1884519] Site updated: 2018-07-17 10:43:43 5 files changed, 5 insertions(+), 5 deletions(-) rewrite "2018/07/16/\347\254\254\344\270\200\347\257\207-linux-hexo-\345\256\211\350\243\205\350\257\246\347\273\206/index.html" (66%) rewrite archives/2018/07/index.html (68%) rewrite archives/2018/index.html (68%) rewrite archives/index.html (68%) rewrite index.html (87%) # 查看页面 https://curoiusby.github.io/ https://curoiusby.github.io// linux hexo 捐助开发者 在兴趣的驱动下,写一个免费的东西,有欣喜,也还有汗水,希望你喜欢我的作品,同时也能支持一下。 当然,有钱捧个钱场(支持支付宝和微信 以及扣扣群),没钱捧个人场,谢谢各位。 个人主页:http://knight-black-bob.iteye.com/ 谢谢您的赞助,我会做的更好!

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册