五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

Termux 利用 GitHub Page 搭建 Hexo

2022-01-18 23:37 作者:朝兮未聞道  | 我要投稿


博客地址:http://shit.xv4n.ml

Termux搭建hexo博客并部署到GitHub

安裝

termux-change-repo

apt update

apt install git && nodejs && vim

apt update

npm install hexo -g

mkdir hexo

hexo init hexo

cd hexo

hexo server

部署到GitHub

安裝ssh

apt install openssh

生成ssh key

ssh-keygen -t rsa -C "你注冊Github用的郵箱"

然后回車

ssh-keygen -t rsa -C "你的郵箱"

# Creates a new ssh key using the provided email

Generating public/private rsa key pair.

Enter file in which to save the key (/your_home_path/.ssh/id_rsa):

再回車

Enter passphrase (empty for no passphrase): [你的密碼]

Enter same passphrase again: [你的密碼]

你輸入的內(nèi)容是不會顯示的

輸密碼

確認(rèn)密碼

然后查看key的內(nèi)容

?vim ~/.ssh/id_rsa.pub

把內(nèi)容全部復(fù)制下來,打開https://github.com/settings/keys

title隨便填

key就填你ssh key里的內(nèi)容

然后

npm install hexo-deployer-git --save

然后

vim _config.yml

在里面找到并修改

deploy:

? type: git

? repo: git倉庫項目地址

? branch: 分支

還有

url: https://用戶名.github.io/

root: /

點ESC輸:wq退出來

然后

git config --global user.name "GitHub用戶名"

git config --global user.email "GitHub注冊郵箱"

然后

hexo clean

hexo g

hexo d

輸個ssh key密碼就可以了上傳到Github了

然后是主題配置

畢竟原主題實在丑

cd themes

git clone https://gitee/fak3adm1n/fexo.git

cd fexo

vim _config.yml

根據(jù)注釋自己自定義一下就行

最后的最后

新建文章是hexo new post 文章標(biāo)題

上傳是:

hexo clean

hexo g

hexo d

祝成功!


Termux 利用 GitHub Page 搭建 Hexo的評論 (共 條)

分享到微博請遵守國家法律
浮山县| 勃利县| 怀安县| 保靖县| 宝兴县| 乐平市| 齐齐哈尔市| 兰考县| 丘北县| 安丘市| 桦川县| 巴林右旗| 白朗县| 阜宁县| 满洲里市| 江安县| 紫阳县| 依兰县| 青海省| 军事| 甘谷县| 泰顺县| 鱼台县| 凤冈县| 高密市| 韶山市| 澜沧| 襄城县| 蕉岭县| 乌拉特后旗| 来凤县| 星座| 新建县| 永丰县| 马鞍山市| 根河市| 延津县| 安福县| 宁波市| 阿图什市| 南京市|