[分享][更新mldonkey]支援BT的窮人NAS-PCI NAS-01G

biggio wrote:
要使用 rtorre...(恕刪)

感謝您了吔~
不小心多發..........................................請版主幫忙刪除...謝謝啦
請問一下我已經將它安裝好了也格式化了
可是按P2P設定那顯像裡的那網址之後會顯示無法顯示網頁,這要怎麼處理呢?
還有用那sancho,也無法連線到他這應該是哪裡的問題呢?



版本更新過了


到P2P的設定


按確定後面顯示找不到網頁
rabbit.dl wrote:
請問一下我已經將它安裝好了也格式化了
可是按P2P設定那顯像裡的那網址之後會顯示無法顯示網頁,這要怎麼處理呢?
還有用那sancho,也無法連線到他這應該是哪裡的問題呢?...(恕刪)


之前設定時也偶爾會碰到這種情形,
我都是重新開機試試看,
有時候一次不成,多試幾次通常會成功吧。

Anyone successfully install webcam on NAS-01G??

BTW, I've tried the use lsusb but nothing shown...
各位大大救命呀~我已跟足安裝Debian Linux的流程教學了,但重新啟動lighttpd出現以下問題

Starting web server: lighttpdDuplicate config variable in conditional 0 global: fastcgi.server

2007-10-21 03:26:22: (configfile.c.827) source: /etc/lighttpd/lighttpd.conf line: 165 pos: 1 parser

failed somehow near here: (EOL)

failed!好痛

EOL是什麼?

我的 lighttpd.conf加入了以下指令

server.modules = (
"mod_access",
"mod_alias",
"mod_accesslog",
"mod_fastcgi",
# "mod_rewrite",
# "mod_redirect",
# "mod_status",
# "mod_evhost",
# "mod_compress",
# "mod_usertrack",
# "mod_rrdtool",
# "mod_webdav",
# "mod_expire",
# "mod_flv_streaming",
# "mod_evasive"
)

fastcgi.server = ( ".php" => ((
"bin-path" => "/usr/bin/php5-cgi",
"socket" => "/tmp/php.socket"
)))

可以幫我一下嗎~我試了幾晚都找不到問題在哪

Here is my /etc/lighttpd/lighttpd.conf. Hope it helps. (EOL = End Of Line???)

BTW, I've compiled it from the latest version lighttpd-1.4.18 though.

BTW, I've installed MySQL + Lighttpd + php5 + ruby/rails so far. For Rails, can only use local gem installation (gem install rails hangs for 3 hours (with message like bulk updating gem index) ... ).

And now want to install webcam but dunno how.. :D



## be nice and keep it at lighttpd
# server.tag = "lighttpd"

#### accesslog module
accesslog.filename = "/var/log/lighttpd/access.log"

## deny access the file-extensions
#
# ~ is for backupfiles from vi, emacs, joe, ...
# .inc is often used for code includes which should in general not be part
# of the document-root
url.access-deny = ( "~", ".inc" )

$HTTP["url"] =~ "\.pdf$" {
server.range-requests = "disable"
}

##
# which extensions should not be handle via static-file transfer
#
# .php, .pl, .fcgi are most often handled by mod_fastcgi or mod_cgi
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".rb", "~", ".inc" )

######### Options that are good to be but not neccesary to be changed #######

## bind to port (default: 80)
#server.port = 81

## bind to localhost (default: all interfaces)
#server.bind = "127.0.0.1"

## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
#server.error-handler-404 = "/error-handler.php"

## to help the rc.scripts
#server.pid-file = "/var/run/lighttpd.pid"


###### virtual hosts
##
## If you want name-based virtual hosting add the next three settings and load
## mod_simple_vhost
##
## document-root =
## virtual-server-root + virtual-server-default-host + virtual-server-docroot
## or
## virtual-server-root + http-host + virtual-server-docroot
##
#simple-vhost.server-root = "/srv/www/vhosts/"
#simple-vhost.default-host = "www.example.org"
#simple-vhost.document-root = "/htdocs/"


##
## Format: <errorfile-prefix><status-code>.html
## -> ..../status-404.html for 'File not found'
#server.errorfile-prefix = "/usr/share/lighttpd/errors/status-"
#server.errorfile-prefix = "/srv/www/errors/status-"

## virtual directory listings
#dir-listing.activate = "enable"

## enable debugging
#debug.log-request-header = "enable"
#debug.log-response-header = "enable"
#debug.log-request-handling = "enable"
#debug.log-file-not-found = "enable"

### only root can use these options
#
# chroot() to directory (default: no chroot() )
#server.chroot = "/"

## change uid to <uid> (default: don't care)
#server.username = "wwwrun"

## change uid to <uid> (default: don't care)
#server.groupname = "wwwrun"

#### compress module
#compress.cache-dir = "/var/cache/lighttpd/compress/"
#compress.filetype = ("text/plain", "text/html")

#### proxy module
## read proxy.txt for more info
#proxy.server = ( ".php" =>
# ( "localhost" =>
# (
# "host" => "192.168.0.101",
# "port" => 80
# )
# )
# )

#### fastcgi module
## read fastcgi.txt for more info
## for PHP don't forget to set cgi.fix_pathinfo = 1 in the php.ini
fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php.socket",
"bin-path" => "/usr/local/bin/php",
"max-procs" => 2,
"idle-timeout" => 20,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "4",
"PHP_FCGI_MAX_REQUESTS" => "10000"
),
"bin-copy-environment" => (
"PATH", "SHELL", "USER"
),
"broken-scriptfilename" => "enable"
)
)
)

#### CGI module
#cgi.assign = ( ".pl" => "/usr/bin/perl",
# ".cgi" => "/usr/bin/perl" )
#

#### SSL engine
#ssl.engine = "enable"
#ssl.pemfile = "/etc/ssl/private/lighttpd.pem"

#### status module
#status.status-url = "/server-status"
#status.config-url = "/server-config"

#### auth module
## read authentication.txt for more info
#auth.backend = "plain"
#auth.backend.plain.userfile = "lighttpd.user"
#auth.backend.plain.groupfile = "lighttpd.group"

#auth.backend.ldap.hostname = "localhost"
#auth.backend.ldap.base-dn = "dc=my-domain,dc=com"
#auth.backend.ldap.filter = "(uid=$)"

#auth.require = ( "/server-status" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "user=jan"
# ),
# "/server-config" =>
# (
# "method" => "digest",
# "realm" => "download archiv",
# "require" => "valid-user"
# )
# )

#### url handling modules (rewrite, redirect, access)
#url.rewrite = ( "^/$" => "/server-status" )
#url.redirect = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
#### both rewrite/redirect support back reference to regex conditional using %n
#$HTTP["host"] =~ "^www\.(.*)" {
# url.redirect = ( "^/(.*)" => "http://%1/$1" )
#}

#
# define a pattern for the host url finding
# %% => % sign
# %0 => domain name + tld
# %1 => tld
# %2 => domain name without tld
# %3 => subdomain 1 name
# %4 => subdomain 2 name
#
#evhost.path-pattern = "/srv/www/vhosts/%3/htdocs/"

#### expire module
#expire.url = ( "/buggy/" => "access 2 hours", "/asdhas/" => "access plus 1 seconds 2 minutes")

#### ssi
#ssi.extension = ( ".shtml" )

#### rrdtool
#rrdtool.binary = "/usr/bin/rrdtool"
#rrdtool.db-name = "/var/lib/lighttpd/lighttpd.rrd"

#### setenv
#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
#setenv.add-response-header = ( "X-Secret-Message" => "42" )

## for mod_trigger_b4_dl
# trigger-before-download.gdbm-filename = "/var/lib/lighttpd/trigger.db"
# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
# trigger-before-download.trigger-url = "^/trigger/"
# trigger-before-download.download-url = "^/download/"
# trigger-before-download.deny-url = "http://127.0.0.1/index.html"
# trigger-before-download.trigger-timeout = 10

## for mod_cml
## don't forget to add index.cml to server.indexfiles
# cml.extension = ".cml"
# cml.memcache-hosts = ( "127.0.0.1:11211" )

#### variable usage:
## variable name without "." is auto prefixed by "var." and becomes "var.bar"
#bar = 1
#var.mystring = "foo"

## integer add
#bar += 1
## string concat, with integer cast as string, result: "www.foo1.com"
#server.name = "www." + mystring + var.bar + ".com"
## array merge
#index-file.names = (foo + ".php") + index-file.names
#index-file.names += (foo + ".php")

#### include
#include /etc/lighttpd/lighttpd-inc.conf
## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
#include "lighttpd-inc.conf"

#### include_shell
#include_shell "echo var.a=1"
## the above is same as:
#var.a=1
謝謝silverhand大大幫忙
不過我的問題依然沒完結

先是
(configfile.c.1095) a default document-root has to be set

然後加入
server.modules += (
"mod_indexfile",
)
server.document-root = "/tmp"
server.port = 92

後出現
(server.c.872) WARNING: unknown config-key: accesslog.filename (ignored)
(server.c.872) WARNING: unknown config-key: url.access-deny (ignored)
(server.c.872) WARNING: unknown config-key: fastcgi.server (ignored)
(log.c.75) server started

過一會又會變成
lighttpd2007-10-21 14:00:46: (network.c.300) can't bind to port: 92 Address already in use
@.@

真是解決不了,可以指教一下嗎,謝謝
不好意思想請教大家~

我想購買這台PCI NAS-01G,已經先把前面的討論看過....
不過各位前輩討論的實在太深入了,還是有許多疑問想請教大家....

我目前沒有打算要做BT下載用,我的需求是:
做為網路硬碟,可以讓家中不同電腦可以共用檔案:美工網頁的專案、音樂、影片、相簿等...
到公司可以由網路存取檔案,或還可以分享給客戶抓取檔案用。

有幾個問題想請教大大:
1.用網路芳鄰存取的方式、速度是不是和內部網路其他電腦存取資料的速度差不多?如果有差會差很多嗎?

2.由PC複製到PCI NAS-01G的檔案,檔名如果是比較長,或是有PC原本可以容忍的命名方式,例如「測試檔案名字又臭又長_(這是測試)有 空格.rar」,PC to NAS後,檔名還會正確嗎?

3.很多層的資料夾直接複製過去,一次1~200G以上可以嗎?(個別檔案大致不會超過10G)

4.我的對外網路是Cable浮動ip,但我有裝ip分享器,請問這樣還有辦法用FTP或網頁存取檔案嗎?

5.Samba伺服器是內建的功能還是需要Linux架站才能使用呢?(這個題目我問的很心虛,不懂...)

6.用EXT3的格式,如果有一天,NAS-01G有什麼異常讀不到資料,裝到PC上,還可以看到和存取檔案嗎?

7.如果安裝3.3版韌體程式,不關掉DLNA和iTunes,網路硬碟的效率會比較差嗎?

8.之後還有新的韌體程式要更新的話,會影響已經複製到NAS裡的資料嗎?

9.可以把NAS-01G當做網路的工作碟嗎?例如直接開啟檔案,儲存,還有直接燒錄檔案?

因為想把家裡的主要檔案都放到這個網路硬碟,不知道會不會很多風險和不便,問的問題如果太笨請見諒喔~
coolstar wrote:
關於日本PCI官方釋...(恕刪)

coolstar大大您好

在您的教學中我始終無法使用ssh連線 我也不知道原因為何...

但我還是靠著原有的telnet完成了您的Debian教學安裝

也出現了lighttpd的初始頁面

還漫開心的,正想說可以使用最新的php5 又可以節省一些硬碟空間的同時

我又陷入泥沼....

安裝完php5 與相關套件 還有將

"再裝完PHP5之後,必須要讓lighttpd能支援PHP5才行.所以要編輯一下lighttpd的設定檔.在命令列輸入下列指令"

編修這個"10-fastcgi.conf"模組設定檔

都完成之後

1.# lighty-enable-mod fastcgi

2. /etc/init.d/lighttpd restart

結果原本跑出來的網頁 不見了....變成找不到網頁

訊息如下

root@NAS-01G:/# /etc/init.d/lighttpd restart
Stopping web server: lighttpd.
Starting web server: lighttpd.
root@NAS-01G:/# 2007-10-22 09:38:43: (mod_fastcgi.c.889) bind failed for: unix:/
tmp/php.socket-0 Permission denied
2007-10-22 09:38:43: (mod_fastcgi.c.1322) [ERROR]: spawning fcgi failed.
2007-10-22 09:38:43: (server.c.849) Configuration of plugins failed. Going down.

請問我哪裡設定錯誤了 或是要打開哪裡的權限嗎??
『只要上壘,就有反攻機會!』杜哈亞運金牌-中華隊2番-張建銘
文章分享
評分
評分
複製連結
請輸入您要前往的頁數(1 ~ 160)

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