| 1 |
# LBBS |
# LBBS - Classical terminal server of LeafOK BBS |
| 2 |
|
|
| 3 |
Copyright (C) 2004-2025 by Leaflet |
Copyright (C) 2004-2025 by Leaflet |
| 4 |
|
|
| 34 |
================== |
================== |
| 35 |
To install LBBS quickly, please do the following steps: |
To install LBBS quickly, please do the following steps: |
| 36 |
|
|
| 37 |
|
0) Prerequisite |
| 38 |
|
|
| 39 |
|
Follow README.md under https://github.com/leafok88/leafok_bbs to initialize the database structure shared by both web version and telnet version. It is highly recommended to finish the configuration steps of web version first and make sure those features could work properly. |
| 40 |
|
|
| 41 |
1) Extract the source files from a tarball or export from GitHub |
1) Extract the source files from a tarball or export from GitHub |
| 42 |
|
|
| 43 |
Run the following command to set up the autoconf/automake environment, |
Run the following command to set up the autoconf/automake environment, |
| 68 |
|
|
| 69 |
/usr/local/lbbs/utils/conf/db_conn.inc.php |
/usr/local/lbbs/utils/conf/db_conn.inc.php |
| 70 |
|
|
| 71 |
6) Startup |
6) Generate menu configuration file with section data by running the script |
| 72 |
|
|
| 73 |
|
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php |
| 74 |
|
|
| 75 |
|
7) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf |
| 76 |
|
|
| 77 |
|
ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key |
| 78 |
|
|
| 79 |
|
8) Startup |
| 80 |
|
|
| 81 |
|
sudo /usr/local/lbbs/bin/bbsd |
| 82 |
|
|
| 83 |
|
9) Set up systemd |
| 84 |
|
|
| 85 |
|
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. |
| 86 |
|
|
| 87 |
|
Run the following bash command to startup the service: |
| 88 |
|
|
| 89 |
|
sudo systemctl daemon-reload |
| 90 |
|
|
| 91 |
/usr/local/lbbs/bin/bbsd |
sudo systemctl start lbbs |
| 92 |
|
|