konga安裝

安裝KONGA

安裝nodejs和git,安裝kong的文檔中已經(jīng)安裝了,版本>=8,git運行

Centos安裝git

yum install git -y

yum install -y git

需要注意版本,git --version??, ???版本太低的話需要重新下載,否則git??clone時會報錯

git解壓編譯安裝

cd git-2.0.0

make configure

./configure --prefix=/usr/git ##配置目錄

make profix=/usr/git

make install

加入環(huán)境變量

echo "export PATH=$PATH:/usr/git/bin" >> /etc/profile

source /etc/profile

檢查版本

git --version

git version 2.0.0

安裝依賴 ?(這些依賴的包,安裝在konga目錄中,減少一些問題)

yum -y install nodejs npm

npm install -g gulp

npm install -g bower

npm install -g sails

安裝konga

git clone https://github.com/pantsel/konga.git

cd konga

npm install konga

npm start

Tips:這里會遇到很多問題

1.頁面空白

npm run bower-deps # (界面空白的時候,需要執(zhí)行這個)

npm install dotenv-extended

npm install angular

2.npm run bower-deps 一直失敗

大多數(shù)情況是因為有墻很多git包拉不下來

git clone出現(xiàn) fatal: unable to access 'https://github.com/...'的解決辦法(親測有效)_Dashi_Lu的博客-CSDN博客

可以參考這個

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容