Blogtrottr
Mobile01最新文章
 
QNAP 安裝node.js 卻無法執行?
Nov 17th 2014, 02:44

自問自答

經過與QNAP 人員的線上幫助(中文及時線上幫助還沒有人,一定要去英文的@@")

QNAP 官方回答是....第三方軟體不提供任何技術支援...QNAP真有你的

後來自力救濟找到了一篇日期是 2014/8/14 的文章還算熱騰騰的

http://tech.panshin.me/technology/qnap-node-js-installation.html

裡面大約說的是....QNAP 的套件不完全,自行下載一份來做安裝,也順邊升級一下node.js 版本

所以照著做....打完收工

大約的做法如下

1. Install the Node.js by QNAP App Center
2. Open SSH to you QNAP and login by admin user
For Mac, open terminal and type: ssh {QNAP IP} -l admin
For Windows you can use PuTTY tool from the site: Download page
3. Run the commands:

1. cd /share/MD0_DATA/.qpkg/nodejs
2. wget http://nodejs.org/dist/v0.10.32/node-v0.10.32-linux-x86.tar.gz
3. tar zxf node-v0.10.32-linux-x86.tar.gz
4. mv node node-v0.8.22
5. ln -s node-v0.10.32-linux-x86 node
npm version
Script explanation:
Line:2 – download the latest version of Node.js, you can change version “v0.10.32″ in the line to any version of Node.js from their site: Node.js
Line:3 – uncompress the downloaded file, put attention on version in case you changed it.
Line:4 – move old files to tmp directory.
Line:5 – create link with name “node” to the new version of Node.js, you should put attention on version in name, in case you changed it.
Line:6 – the command will display current Node.js version. In my case the output was:

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 xals2q 的頭像
    xals2q

    2015花千骨線上看tv 2016花千骨 花千骨線上看drama q 花千骨線上看drama 仙俠奇緣之花千骨線上看 花千骨線上看tv543 電視劇花千骨線上看 花千骨線上看第一集

    xals2q 發表在 痞客邦 留言(0) 人氣()