summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-29 23:14:12 +0800
committer(no author) <(no author)@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-08-29 23:14:12 +0800
commitb8fe36d967ef5c29e1f88f9672c7eeeabf577876 (patch)
treeae3500fbbd642d61f785a359f616fed53e49dde5
parent612e2c7201cdd05ccbfc43b1e9957ae6de4d29fd (diff)
downloadpttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar.gz
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar.bz2
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar.lz
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar.xz
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.tar.zst
pttbbs-b8fe36d967ef5c29e1f88f9672c7eeeabf577876.zip
add warning for using default pttbbs.conf
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1140 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/docs/INSTALL10
-rw-r--r--pttbbs/sample/pttbbs.conf6
2 files changed, 12 insertions, 4 deletions
diff --git a/pttbbs/docs/INSTALL b/pttbbs/docs/INSTALL
index 4311cc70..ebaae2eb 100644
--- a/pttbbs/docs/INSTALL
+++ b/pttbbs/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/pttbbs/sample/pttbbs.conf b/pttbbs/sample/pttbbs.conf
index 8811b6d9..854bbeb9 100644
--- a/pttbbs/sample/pttbbs.conf
+++ b/pttbbs/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" /* 網路位址 */