亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 3719 | 回復(fù): 2
打印 上一主題 下一主題

[FastDFS] 請教:FastDFS v1.22如何配置客戶端 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2009-10-28 11:43 |只看該作者 |倒序瀏覽
本人剛接觸FastDFS,通過這兩天看論壇,已經(jīng)把tracker和storage已經(jīng)配置成功了,http也配置成功了,關(guān)于client api不怎么理解,不知道怎么配置,還請配置過客戶端的高手給點(diǎn)配置步驟,最好詳細(xì)點(diǎn)的步驟,謝謝

操作系統(tǒng):Redhat 5.3 x64
node1為tracker和storage
node2為storage


附錄1:
[root@node1 php_client]# php fastdfs_test.php
PHP Notice:  Use of undefined constant FDFS_FILE_ID_SEPERATOR - assumed 'FDFS_FILE_ID_SEPERATOR' in /fastdfs/FastDFS/php_client/fastdfs_test.php on line 4
PHP Fatal error:  Call to undefined function fastdfs_tracker_make_all_connections() in /fastdfs/FastDFS/php_client/fastdfs_test.php on line 6

附錄2:
[root@node1 php_client]# more fastdfs_client.ini
extension = fastdfs_client.so

fastdfs_client.tracker_group_count = 1
fastdfs_client.tracker_group0 = /fastdfs/FastDFS/conf/client.conf
#fastdfs_client.tracker_group1 = /home/yuqing/fastdfs/conf/client.conf

附錄3:
[root@node1 php_client]# more /fastdfs/FastDFS/conf/client.conf
network_timeout=60
base_path=/fastdfs

tracker_server=172.18.27.133:22122

#standard log level as syslog, case insensitive, value list:
### emerg for emergency
### alert
### crit for critical
### error
### warn for warning
### notice
### info
### debug
log_level=info


#HTTP settings
http.tracker_server_port=8080

#use "#include" directive to include HTTP other settiongs
#include http.conf

附錄4:
[root@gfs-node1 php_client]# more /fastdfs/FastDFS/conf/http.conf
# HTTP default content type
http.default_content_type = application/octet-stream

# MIME types mapping filename
# MIME types file format: MIME_type  extensions
# such as:  image/jpeg  jpeg jpg jpe
# you can use apache's MIME file: mime.types
http.mime_types_filename=mime.types

# if use token to anti-steal
# default value is false (0)
http.anti_steal.check_token=false

# token TTL (time to live), seconds
# default value is 600
http.anti_steal.token_ttl=900

# secret key to generate anti-steal token
# this parameter must be set when http.anti_steal.check_token set to true
# the length of the secret key should not exceed 128 bytes
http.anti_steal.secret_key=FastDFS1234567890

# return the content of the file when check token fail
# default value is empty (no file sepecified)
http.anti_steal.token_check_fail=/fastdfs/FastDFS/conf/anti-steal.jpg


附錄5:

[root@node1 php_client]# netstat -an|grep -w 8080
tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN

論壇徽章:
4
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:56:11IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-11 06:20:00IT運(yùn)維版塊每日發(fā)帖之星
日期:2016-08-15 06:20:00
2 [報告]
發(fā)表于 2009-10-28 13:42 |只看該作者

回復(fù) #1 lanfeng356 的帖子

看一下帖子:http://linux.chinaunix.net/bbs/thread-1141400-1-1.html
有問題請留言。

論壇徽章:
0
3 [報告]
發(fā)表于 2009-10-30 13:44 |只看該作者
我想用FastDFS,部署一個webserver,比如tomcat,有成功的案例嗎?應(yīng)該怎樣部署呢?

有知道的達(dá)人請幫忙~
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP