From 2c2a04d411aa0b8e67c559f301a0a68f67c9d710 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> Date: Fri, 29 Aug 2003 15:14:12 +0000 Subject: add warning for using default pttbbs.conf git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- docs/INSTALL | 10 +++++++--- sample/pttbbs.conf | 6 +++++- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/INSTALL b/docs/INSTALL index 4311cc70..ebaae2eb 100644 --- a/docs/INSTALL +++ b/docs/INSTALL @@ -38,9 +38,13 @@ 更新至 pttbbs 最新的源碼. 如: cd /home/bbs/pttbbs; svn update - 8. 執行 cd ~bbs/pttbbs - 9. 如果之前沒有設定過 pttbbs.conf 的話, 請 cp sample/pttbbs.conf pttbbs.conf - 10.修改 pttbbs.conf + 8. 切換到 pttbbs 的目錄下 ( cd ~bbs/pttbbs ) + 9. 如果您的 pttbbs.conf並不存在, 可以拷一份預設的來用: + cp sample/pttbbs.conf pttbbs.conf + 10.依據您的須求, 修改 pttbbs.conf + 請注意, 預設的 pttbbs.conf是給相當大規模的 bbs用的. + 通常您須要進行修改以符合您的須求. + * 如果您是用 Linux系統, 請先安裝 pmake, 然後將 make alias 成 pmake * 11.執行 make BBSHOME=/home/bbs all install (如果出現 iconv.h找不到的話, 請見 FAQ 7 ) diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 8811b6d9..854bbeb9 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -1,5 +1,9 @@ /* $Id: pttbbs.conf,v 1.14 2003/07/06 03:41:08 in2 Exp $ */ - +/* 請注意! 這個檔案是批踢踢實業坊(telnet://ptt.csie.ntu.edu.tw)的設定值, + * 這個設定在硬體資源足夠的前題下, 可以提供給上萬個人同時在線上. 若您的硬 + * 體資源並不足夠, 也不須負荷這麼多註冊人數/看板/上線人數, 請您務必要將相 + * 關設定值改小, 否則將會使用掉極為大量的記憶體. + */ /* 定義 BBS 站名位址 */ #define BBSNAME "新批踢踢" /* 中文站名 */ #define MYHOSTNAME "ptt2.cc" /* 網路位址 */ -- cgit v1.2.3