| 1 |
/***************************************************************************
|
| 2 |
LBBS
|
| 3 |
-------------------
|
| 4 |
Copyright : (C) 2004-2025 by Leaflet
|
| 5 |
Email : leaflet@leafok.com
|
| 6 |
***************************************************************************/
|
| 7 |
|
| 8 |
/***************************************************************************
|
| 9 |
* *
|
| 10 |
* This program is free software; you can redistribute it and/or modify *
|
| 11 |
* it under the terms of the GNU General Public License as published by *
|
| 12 |
* the Free Software Foundation; either version 3 of the License, or *
|
| 13 |
* (at your option) any later version. *
|
| 14 |
* *
|
| 15 |
***************************************************************************/
|
| 16 |
|
| 17 |
Introduction
|
| 18 |
============
|
| 19 |
|
| 20 |
This software (named as LBBS) aims to providing a telnet-based interface for
|
| 21 |
a pure web-based BBS (named as LeafOK BBS).
|
| 22 |
LeafOK BBS is a powerful BBS system, not only providing almost every function
|
| 23 |
that a standard BBS should have, but also giving many features other BBS hasn't
|
| 24 |
complemented yet.
|
| 25 |
As an open source project, LeafOK BBS use MySQL as its major data depository,
|
| 26 |
and PHP as its developing language. With MySQL and PHP, LeafOK BBS becomes a
|
| 27 |
platform-independent system. It can works stably on many popular Web Servers
|
| 28 |
such as Apache and IIS.
|
| 29 |
However, as a pure web-based BBS, its shortage is inevitable. For LeafOK BBS
|
| 30 |
uses Browser/Server as its architecture, it will cause more data traffic between
|
| 31 |
Users and Server than telnet-based BBS, and its response is a little slower than
|
| 32 |
telnet-based BBS.
|
| 33 |
In order to conquer these shortage, a new project was launched. LBBS is a
|
| 34 |
telnet-based BBS which is full compatible with LeafOK BBS. It also uses MySQL as
|
| 35 |
its data repository, and keep coherence with the data structure of LeafOK BBS.
|
| 36 |
LBBS is designed to be a system running on Linux, with GNU C as its developing
|
| 37 |
language. For my spare time is very limit, I decide not to make LBBS as a
|
| 38 |
cross-platform system temporarily. If you have interest in developing this system,
|
| 39 |
please contact me.
|
| 40 |
Thank you for using this software. If you meet any bugs or have any suggestion,
|
| 41 |
please tell me.
|
| 42 |
|
| 43 |
|
| 44 |
System Requirement
|
| 45 |
==================
|
| 46 |
|
| 47 |
Operation System: Linux
|
| 48 |
|
| 49 |
Software:
|
| 50 |
1) GNU C Compiler
|
| 51 |
2) PHP ( Version >= 8.2 )
|
| 52 |
3) MySQL database ( Version >= 8.4 )
|
| 53 |
|
| 54 |
|
| 55 |
Quick Installation
|
| 56 |
==================
|
| 57 |
|
| 58 |
To install LBBS quickly, please do the following steps:
|
| 59 |
|
| 60 |
1) Extract the source files from a tarball or export from GitHub
|
| 61 |
Run the following command to set up the autoconf/automake environment,
|
| 62 |
sh ./autogen.sh
|
| 63 |
and fix any error if exists.
|
| 64 |
|
| 65 |
2) Compile source files
|
| 66 |
./configure --prefix=/usr/local/lbbs
|
| 67 |
make
|
| 68 |
|
| 69 |
3) Install binary files and data files
|
| 70 |
make install
|
| 71 |
|
| 72 |
4) Create user and group
|
| 73 |
groupadd bbs
|
| 74 |
useradd bbs
|
| 75 |
|
| 76 |
5) Set privileges of files
|
| 77 |
cd /usr/local/lbbs
|
| 78 |
chown bbs:bbs -R lbbs
|
| 79 |
chmod 750 -R lbbs
|
| 80 |
chmod 4750 lbbs/bin/bbsd
|
| 81 |
|
| 82 |
6) Modify following configuration files
|
| 83 |
Default configuration files is saved as *.default, you should rename them first.
|
| 84 |
/usr/local/lbbs/conf/bbsd.conf
|
| 85 |
/usr/local/lbbs/utils/conf/db_conn.inc.php
|
| 86 |
|
| 87 |
7) Startup
|
| 88 |
/usr/local/lbbs/bin/bbsd
|
| 89 |
|