| 1 |
# LBBS - Classical terminal server of LeafOK BBS
|
| 2 |
|
| 3 |
Copyright (C) 2004-2025 by Leaflet
|
| 4 |
Email : leaflet@leafok.com
|
| 5 |
Demo site : bbs.fenglin.info (Telnet 2323 / SSH2 2322)
|
| 6 |
|
| 7 |
|
| 8 |
Introduction
|
| 9 |
=================
|
| 10 |
This software (named as LBBS) aims to providing a telnet-based interface for a pure web-based BBS (LeafOK BBS @ https://github.com/leafok88/leafok_bbs).
|
| 11 |
|
| 12 |
|
| 13 |
System Requirement
|
| 14 |
==================
|
| 15 |
1) GNU C Compiler
|
| 16 |
2) PHP ( Version >= 8.2 )
|
| 17 |
3) MySQL database ( Version >= 8.4 )
|
| 18 |
|
| 19 |
|
| 20 |
Quick Installation
|
| 21 |
==================
|
| 22 |
To install LBBS quickly, please do the following steps:
|
| 23 |
|
| 24 |
0) Prerequisite
|
| 25 |
Follow README.md under https://github.com/leafok88/leafok_bbs to initialize the database structure shared by both web version and telnet version.
|
| 26 |
It is highly recommended to finish the configuration steps of web version first and make sure those features could work properly.
|
| 27 |
|
| 28 |
1) Extract the source files from a tarball or export from GitHub
|
| 29 |
Run the following command to set up the autoconf/automake environment,
|
| 30 |
sh ./autogen.sh
|
| 31 |
and fix any error if exists.
|
| 32 |
|
| 33 |
2) Compile source files
|
| 34 |
./configure --prefix=/usr/local/lbbs
|
| 35 |
make
|
| 36 |
|
| 37 |
3) Create user and group
|
| 38 |
sudo useradd bbs
|
| 39 |
|
| 40 |
4) Install binary files and data files
|
| 41 |
sudo make install
|
| 42 |
|
| 43 |
5) Modify following configuration files
|
| 44 |
Default configuration files is saved as *.default, you should rename them first.
|
| 45 |
/usr/local/lbbs/conf/bbsd.conf
|
| 46 |
/usr/local/lbbs/utils/conf/db_conn.inc.php
|
| 47 |
|
| 48 |
6) Generate menu configuration file with section data by running the script
|
| 49 |
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php
|
| 50 |
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_ex_list.php
|
| 51 |
|
| 52 |
7) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf
|
| 53 |
ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key
|
| 54 |
|
| 55 |
8) Startup
|
| 56 |
sudo /usr/local/lbbs/bin/bbsd
|
| 57 |
|
| 58 |
9) Set up systemd
|
| 59 |
Create your own /usr/lib/systemd/system/lbbs.service from the sample at conf/lbbs.service.default, and make any change if necessary.
|
| 60 |
Reload daemon config and start the service.
|