/[LeafOK_CVS]/lbbs/README.md
ViewVC logotype

Diff of /lbbs/README.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 by sysadm, Sat May 31 14:39:06 2025 UTC Revision 1.18 by sysadm, Sun Oct 12 13:01:28 2025 UTC
# Line 1  Line 1 
1  # LBBS - Classical terminal server of LeafOK BBS  # LBBS - Classical terminal server of LeafOK BBS
2    
3  Copyright (C) 2004-2025 by Leaflet  中文版本的README.md位于[README.zh_CN.md](README.zh_CN.md)
4    
5  Email : leaflet@leafok.com  
6    Copyright (C) 2004-2025 by Leaflet  
7    Email : leaflet@leafok.com  
8    Demo site : bbs.fenglin.info (Telnet 2323 / SSH2 2322)
9    
10    
11  Introduction  Introduction
12  =================  =================
13  This software (named as LBBS) aims to providing a telnet-based interface for a pure web-based BBS (named as LeafOK BBS).  This software aims to providing a telnet-based interface for a pure web-based BBS [leafok_bbs](https://github.com/leafok88/leafok_bbs).  
14    ![Welcome](misc/images/ssh_welcome.jpg "Welcome to LBBS")  
15  LeafOK BBS is a powerful BBS system, not only providing almost every function that a standard BBS should have, but also giving many features other BBS hasn't complemented yet.  ![Menu](misc/images/telnet_menu.jpg "Main menu")  
16    ![Section](misc/images/telnet_section.jpg "List of articles")  
17  As an open source project, LeafOK BBS use MySQL as its major data depository, and PHP as its developing language. With MySQL and PHP, LeafOK BBS becomes a platform-independent system. It can works stably on many popular Web Servers such as Apache and IIS.  ![Reader](misc/images/telnet_article_reader.jpg "Article reader")  
   
 However, as a pure web-based BBS, its shortage is inevitable. For LeafOK BBS uses Browser/Server as its architecture, it will cause more data traffic between Users and Server than telnet-based BBS, and its response is a little slower than telnet-based BBS.  
   
 In order to conquer these shortage, a new project was launched. LBBS is a telnet-based BBS which is full compatible with LeafOK BBS. It also uses MySQL as its data repository, and keep coherence with the data structure of LeafOK BBS. LBBS is designed to be a system running on Linux, with GNU C as its developing language.  
   
 Thank you for using this software. If you meet any bugs or have any suggestion, please tell me.  
18    
19    
20  System Requirement  System Requirement
21  ==================  ==================
22  Operation System: Linux  1) GNU C Compiler  
23    2) PHP ( Version >= 8.2 )  
24    3) MySQL database ( Version >= 8.4 )  
25    
 Software:  
 1) GNU C Compiler  
 2) PHP ( Version >= 8.2 )  
 3) MySQL database ( Version >= 8.4 )  
26    
27    Installation
 Quick Installation  
28  ==================  ==================
29  To install LBBS quickly, please do the following steps:  See guide in [INSTALL.md](INSTALL.md)
   
 1) Extract the source files from a tarball or export from GitHub  
   
    Run the following command to set up the autoconf/automake environment,  
   
    sh ./autogen.sh  
   
    and fix any error if exists.  
   
 2) Compile source files  
   
    ./configure --prefix=/usr/local/lbbs  
   
    make  
   
 3) Create user and group  
   
    sudo useradd bbs  
   
 4) Install binary files and data files  
   
    sudo make install  
   
 5) Modify following configuration files  
   
    Default configuration files is saved as *.default, you should rename them first.  
     
    /usr/local/lbbs/conf/bbsd.conf  
     
    /usr/local/lbbs/utils/conf/db_conn.inc.php  
   
 7) Generate menu configuration file with section data by running the script  
   
    sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php  
   
 6) Startup  
   
    sudo /usr/local/lbbs/bin/bbsd  
   
 7) Set up systemd  
   
    Create your own /usr/lib/systemd/system/lbbs.service from the sample at conf/lbbs.service.default, and make any change if necessary. Please note that the startup argument "-f" with bbsd should be used in systemd notify mode.  
   
    Run the following bash command to startup the service:  
   
    sudo systemctl daemon-reload  
   
    sudo systemctl start lbbs  
30    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1