nodejs換源,成功安裝hexo,搭建sanghongxv.gitee.io
今天配置hexo,發現現在網上的教程都安裝失敗,所有發此文。
npm使用國內映象的方法
1、換成阿里源
npm config set registry https://registry.npm.taobao.org
2、驗證命令
npm config get registry
返回https://registry.npm.taobao.org,說明映象配置成功。
3、安裝cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
4、使用cnpm安裝hexo
cnpm install -g hexo
安裝成功!!!
可能有錯誤,請大家留言。
接下來設定Hexo,看各位大佬的帖子就好了。
5、自己隨意建一個資料夾:如hexo
6、使用命令進入此資料夾
7、使用命令hexo init 初始化
hexo init
8、使用 cnmp install hexo安裝hexo
9、使用命令hexo server
hexo server
啟動服務
10、本地訪問http://localhost:4000/顯示 下圖即安裝完成
上線釋出看各位大佬的教程吧
個人空間:sanghongxv.gitee.io
相關推薦
nodejs換源,成功安裝hexo,搭建sanghongxv.gitee.io
今天配置hexo,發現現在網上的教程都安裝失敗,所有發此文。 npm使用國內映象的方法 1、換成阿里源 npm config set registry https://registry.npm.taobao.org 2、驗證命令 npm config get registry
CentOS7如何建立本地阿裏yum源,並安裝htop文件?
repos solved ble nsa depend AR centos lang base 版本centos 7.01、[root@localhost yum.repos.d]# mv CentOS-Base.repo CentOS-Base.repo.bak 將原文件
配置yum源,並安裝ftp服務器
mct ethernet work The file 進入 .com nbsp ftp 修改IP: |-ip addr add 192.168.43.2/24 dev eno16777736 (語法格式) (想要添加的地址) (設備的名字) 修改配置文件: |-c
CentOS yum更換為國內的源,解決安裝軟體時無法從國外映象下載的問題
預設的那些國外的映象,估計大多數被GFW幹掉了(GFW的宗旨:“寧可錯殺一千,不能放過一個!”),基本上是連不上,導致yum安裝失敗。實在沒辦法,只能更換成國內的: 具體步驟: 進入源所在的目
Linux 沒有lszrz yum源,lszrz安裝
Linux 終端使用上傳rz、下載sz命令 # wget http://down1.chinaunix.net/distfiles/lrzsz-0.12.20.tar.gz # tar zxvf lrzsz-0.12.20.tar.gz # cd lrzs
pytorch安裝問題,使用soumith的conda源,下載安裝很慢的解決方法
那個清華映象的版本又太低,嘗試了很多辦法,最終方案卻很簡單: 首先更新pip(非anaconda使用者請跳過這步): conda install pip conda update pip 嘗
基於centos7 獲得一個基於互聯網的yum源,並安裝ifconfig命令。
ges 備份 清除緩存 ifconf vpd png mirrors 緩存 ofo 1.cd /etc/yum.repos.d/進入配置文件2.創建backup文件進行備份,並把所有C開頭的文件加入backup3.引導安裝rpm包wget http://mirrors.16
解決linux下安裝nodejs後npm未成功安裝的問題
oot lan scripts 輸入 src 有一個 .sh 成功 bubuko 1.下載npm軟件包 點擊鏈接進入下載頁面:npm下載 2.下載完成後將壓縮包放到家目錄下就可以(也可以放到其他地方) 3.解壓 tar -zxvf 壓縮包名稱,解壓後你會得到一個文件夾
LAMP環境搭建(源碼包安裝,僅測試)
dex pack 數據加密 spa 不支持 doc 安裝php mysql數據庫 mysqld linux系統+Apache服務+MySQL數據庫+PHP 安裝順序:PHP要在最後安裝 首先將安裝包上傳到/root目錄下 鏈接:http://pan.baidu.com/s/
Windows環境下,從零開始搭建Nodejs+Express+Ejs框架(一)---安裝nodejs
直接 分享圖片 完成 info pre download png 安裝包 get 第一步,安裝nodejs https://nodejs.org/en/download/ 這個是nodejs的官網,由於操作系統是win7 64位的,所以,我下載的是node-v8.11.1-
Windows環境下,從零開始搭建Nodejs+Express+Ejs框架(二)---安裝Express,ejs
所有 nod 環境 安裝目錄 關於 str 列表 ima 執行 安裝Express,ejs的前提是一定要先安裝nodejs,具體安裝方法請查看 http://www.cnblogs.com/tfiremeteor/p/8973105.html 安裝Express和ejs的前
Linux軟體包安裝與解除安裝,yum搭建本地倉庫,yum下載rpm包,安裝擴充套件源,更換國內源
Linux軟體包的安裝與解除安裝安裝軟體包的三種方法rpm工具 red hat package manager,紅帽公司開發的包管理軟體yum工具 Yum(全稱為 Yellow dog Updater, Modified)是一個在Fedora和RedHat以及Cen
linux 文件目錄標準,變量,修改字符集運行級別,設置別名和軟件安裝,(nginx),換源
比較 外置 may found image 作用 ps1 網卡 long # FHS 在早期的 UNIX 系統中,各個廠家各自定義了自己的 UNIX 系統文件目錄,比較混亂。Linux 面世不久後,對文件目錄進行了標準化,於1994年對根文件目錄做了統一的規範,推出 FH
linux下weblogic11g成功安裝後,啟動報錯Getting boot identity from user
tro ace author reason tac ica ons pst pri <2015-7-1 下午05時46分33秒 CST> <Info> <Management> <BEA-141107> <Versi
聯想的S415電腦,Debian8.8開機後亮度值始終最大,嘗試過各種方法,始終無法解決,最後安裝開源驅動後,成功
firmware 保存 ces fst pack 聯系 輸入 aptitude reboot 安裝ATI顯卡驅動(開源)(方法步驟來自Debian WiKi) A.先升級可用的包 # aptitude upgrade B.安裝下面3個包 # apt-get i
github+hexo搭建自己的博客網站(三)主題之外的一些基本配置(圖片位置,文章目錄功能)
100% setattr border color fff scale 進行 自己 num 使用的yilia主題之後,還需要進行自己的定制配置 1、圖片的位置 比如打賞的支付寶二維碼圖片,是在當前博客的source/assets/img/下 (不是當前主題) 配
github+hexo搭建自己的博客網站(六)進階配置(搜索引擎收錄,優化你的url)
主動 home perm roo 如何 url 文檔 con tom 詳細的可以查看hexo博客的演示:https://saucxs.github.io/綁定了域名: http://www.chengxinsong.cnhexo+github博客網站源碼(可以clone,運
github+hexo搭建自己的博客網站(七)註意事項(避免read.me,CNAME文件的覆蓋,手動改github page的域名)
覆蓋 ron mage roo span 文件夾 都是 系列 .html 詳細的可以查看hexo博客的演示:https://saucxs.github.io/綁定域名可以查看:http://www.chengxinsong.cn可以查看在github上生成的靜態文件(如果覺
nodejs,webpack安裝以及初步運用
title set lena conf webpack node logs scrip 成了 nodejs安裝: 1.下載:https://nodejs.org/en/download/ 2.安裝node-v6.11.3-x64.msi文件,直接默認安裝(next……);
yum更換國內源,yum下載rpm包,源碼包 安裝
yum更換國內源 源碼包安裝 yum下載rpm包 筆記內容:l 7.6 yum更換國內源l 7.7 yum下載rpm包l 7.8/7.9 源碼包安裝筆記日期:2017.8.107.6 yum更換國內源CentOS自帶yum倉庫源網址是國外的網址,所以從國內下載國外網址的rpm包有時候會很慢或者無法