win8.1 安装 vm 11 和 centos 7,以及git 2.9 ,ruby2.3,rubygems2.6 ;github.io
2016-08-01 00:14
609 查看
前段时间因为本机用户名为中文安装python一些库时报错,所以一劳永逸删除了本机的中文用户,导致虚拟机也无法使用,今天抽时间重装了一下,顺便搞了一下github.io;在windows 8.1踩了不少的坑,简单记录一下。
一、win8.1 安装vm11 和 centos 7网上教程很多,可以参考这个:
http://blog.csdn.net/liuyanlinglanq/article/details/46272683
需要注意的地方是,如下图,在手动分区这里,先将根目录的Desired Capacity设置为空,否则可用空间太小会导致/home等因为没有足够的可用空间而挂载不成功。
二、git 2.9 安装
下载路径:https://git-scm.com/downloads,安装即可。
三、ruby2.3,rubygems2.6安装
请参考文章http://www.cnblogs.com/Sophiawow/p/4522429.html
这里需要注意的是,在安装rails时:gem install actionmailer-5.0.0.gem,多次下载失败,报错: (Gem::RemoteFetcher::FetchError)
Errno::ETIMEDOUT: Failed to open TCP connection to rubygems.global.ssl.fastly.net:443 (A connection attempt failed because the connected party did not properly respond after a period of time, or
established connection failed because con……
这是网络不稳定造成的,重新执行安装即可。
四、创建github.io
参考:http://jekyllbootstrap.com/usage/jekyll-quick-start.html
没有能够在3分钟搞定,搞了好久,原因在于执行 git push origin master时报错,permission denied(publickey)
原因在于jekyll-quick-start 这里所讲的方法需要稍微改动一下,参考:
https://teamtreehouse.com/community/i-got-permission-deniedpublickey-when-i-typed-git-push-origin-master
改动的地方为:上述连接中的原文:"
Dongju Seo 3y ago
I solved this problem by using the https url, 'https://github.com/geekerati/treebook.git', not with 'git@github.com:geekerati/treebook.git'.it's
weird .. O.o;;but Thanks!"
如此便可用顺利的git push 成功了。
除了jekyllbootstrap.com,更推荐参考:http://www.myexception.cn/other/1806295.html
相关文章推荐
- centos下git 安装以及octopress 博客
- CentOS 编译安装git,解决github HTTPS 403错误
- Eclipse安装git插件以及关联导入GitHub项目
- Ubuntu下安装Git以及面向Github的简单教程
- Centos 下安装Ruby和rubygems
- window下git,TortoiseGit安装,以及和github托管项目
- GIT简介以及在Centos上的安装
- Eclipse安装git插件以及关联导入GitHub项目
- GitHub使用教程详解(下)——Git的安装以及Git命令详解
- Eclipse安装Git插件以及关联导入Github项目
- 我的Git之旅(1)---git安装、github注册以及一些基本命令
- 解决VMware8安装CentOS等系统时出现Fatal IO error 11(Resource temporarilt unavaliable) on Xshell:1问题
- Centos 5.5 安装 Git 以及配置
- Windows下,Git的安装,使用,以及远程github
- CentOS安装python2.6以及MySQL-python
- redhat下安装ruby2.2以及安装rubygems
- vm安装centOS报错:anaconda: Fatal IO error 104
- centos安装git客户端以及常用指令
- 【Jekyll搭建GITHUB个人博客】安装Ruby 环境、包管理器 RubyGems、Jekyll与错误解决
- 在centos6.5中安装github的客户端git