吉米劉 wrote:
我的天啊!本來要實作...(恕刪)
若http://ipkg.nslu2-linux.org/feeds/optware/無法連結, 修改/opt/etc/ipkg.conf後, 再update.
ftp://ftp.osuosl.org/pub/nslu2/feeds/optware/
http://nslu2-linux.dyoung-mirror.net/feeds/optware/
參考資料:http://digiland.tw/viewtopic.php?id=1075
數位天堂 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 設定。
結果會出現以下這堆咚咚耶,請問該如何做才對?
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!
現在啟動內建的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!