[開箱分享] 雙碟旗艦 群暉 DS710+ RoR 環境架設

我的天啊!本來要實作的,結果 http://ipkg.nslu2-linux.org/feeds/optware/syno-x07/cross/unstable/Packages.gz 掛了,看來要等等了。
數位天堂 http://digiland.tw/

謝謝 Aven138 大,我昨天試他又好了,但遇到底下的問題了。

先謝謝版大的教導,收穫良多。
目前小弟已經安裝到最尾端了,目前遇到的問題在 http://www.nslu2-linux.org/wiki/HowTo/HostingGit 中有提到,但實在是看不懂,能否請版大幫忙一下,感恩~。

1. The git clone operation asks for password.
- Check the gitosis user is allowed to login via the sshd.
- if not - add the line "AllowUsers gitosis" to the /usr/local/etc/sshd_conf or equivalent. (因為找不到 /usr/local/etc/sshd_conf or /usr/local/etc/sshd_config ,所以我直接修改 /etc/ssh/sshd_config,加入AllowUsers gitosis )

- Check you have the transfered-SSH-key.pub enabled in your ~/.ssh/config (不知道他是指local 端,還是server端。若是server端,指的是 ~root ? ~gitosis ? ,我確定這兩個家目錄下,我是的確沒有 .ssh/config,這個檔案是必須的嗎?)
if not, add the line "IdentityFile ~/.ssh/SSH-key-pub" or equivalent.
吉米劉 wrote:
- Check you have the transfered-SSH-key.pub enabled in your ~/.ssh/config (不知道他是指local 端,還是server端。若是server端,指的是 ~root ? ~gitosis ? ,我確定這兩個家目錄下,我是的確沒有 .ssh/config,這個檔案是必須的嗎?)
if not, add the line "IdentityFile ~/.ssh/SSH-key-pub" or equivalent.



這裡我想我找到了答案, 我想他的意思是說,在local端,~/.ssh 中是否有config ,若沒有,增加這個檔案,並且在檔案中增加 IdentityFile ~/.ssh/id_rsa 。

另外, 在 etc/ssh_config 中(指的是local 端的電腦,client ssh 的設定),有註解

# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa



而 sshd_config 指的是 server 端 ,sshd中的d代表 daemon ,sshd_config指的就是在server 端中的 ssh 設定。
整串看下來放棄使用Synology 的機器。

考慮Q牌中。
小弟輸入wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh

結果會出現以下這堆咚咚耶,請問該如何做才對?

SuperDisk> wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
--22:05:26-- http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/syno-i686-bootstrap_1.2-7_i686.xsh
=> `syno-i686-bootstrap_1.2-7_i686.xsh'
Resolving ipkg.nslu2-linux.org... 140.211.169.169
Connecting to ipkg.nslu2-linux.org|140.211.169.169|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 249,654 (244K) [text/plain]
syno-i686-bootstrap_1.2-7_i686.xsh: Permission denied
Cannot write to `syno-i686-bootstrap_1.2-7_i686.xsh' (Permission denied).
irsjx2vxo3ne3k84dr1dz4,r4pe8bez3/4ne3bq4bew2j92gea jx4hq me-2d8 e3hy4hi2ty k84!
看起來你沒有權限,是用哪個帳號登入呢?

不能用admin要用root登入,不然做什麼都會Permission denied
P2P精神:我餵人人,人人餵我
感謝版大,小弟目前已完成 gitosis 與 gitweb了,目前準備進攻 TRAC。
Huge0313 大:小弟照著裝以後,結果到一半就出現錯誤,所以沒有繼續裝下去。
現在啟動內建的Web station以後,網頁都會出現以下的錯誤訊息。

Warning: Unknown: open_basedir restriction in effect. File(/usr/syno/synoman/phpsrc/web/sample.php) is not within the allowed path(s): (/etc:/source/busybox-1.1.0/synocmds/get_key_value.c) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/usr/syno/synoman/phpsrc/web/sample.php' (include_path='.:/usr/syno/php/lib/php') in Unknown on line 0

請問這該如何解決呢?
irsjx2vxo3ne3k84dr1dz4,r4pe8bez3/4ne3bq4bew2j92gea jx4hq me-2d8 e3hy4hi2ty k84!
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!