| 1 |
# LBBS |
# LBBS - Classical terminal server of LeafOK BBS |
| 2 |
|
|
| 3 |
Copyright (C) 2004-2025 by Leaflet |
Copyright (C) 2004-2025 by Leaflet |
| 4 |
|
|
| 48 |
|
|
| 49 |
make |
make |
| 50 |
|
|
| 51 |
3) Install binary files and data files |
3) Create user and group |
| 52 |
|
|
| 53 |
make install |
sudo useradd bbs |
| 54 |
|
|
| 55 |
4) Create user and group |
4) Install binary files and data files |
| 56 |
|
|
| 57 |
groupadd bbs |
sudo make install |
| 58 |
|
|
| 59 |
useradd bbs |
5) Modify following configuration files |
| 60 |
|
|
| 61 |
5) Set privileges of files |
Default configuration files is saved as *.default, you should rename them first. |
| 62 |
|
|
| 63 |
|
/usr/local/lbbs/conf/bbsd.conf |
| 64 |
|
|
| 65 |
|
/usr/local/lbbs/utils/conf/db_conn.inc.php |
| 66 |
|
|
| 67 |
cd /usr/local/lbbs |
6) Generate menu configuration file with section data by running the script |
| 68 |
|
|
| 69 |
chown bbs:bbs -R lbbs |
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php |
| 70 |
|
|
| 71 |
chmod 750 -R lbbs |
7) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf |
| 72 |
|
|
| 73 |
chmod 4750 lbbs/bin/bbsd |
ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key |
| 74 |
|
|
| 75 |
6) Modify following configuration files |
8) Startup |
| 76 |
|
|
| 77 |
Default configuration files is saved as *.default, you should rename them first. |
sudo /usr/local/lbbs/bin/bbsd |
| 78 |
|
|
| 79 |
/usr/local/lbbs/conf/bbsd.conf |
9) Set up systemd |
| 80 |
|
|
| 81 |
/usr/local/lbbs/utils/conf/db_conn.inc.php |
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. |
| 82 |
|
|
| 83 |
|
Run the following bash command to startup the service: |
| 84 |
|
|
| 85 |
7) Startup |
sudo systemctl daemon-reload |
| 86 |
|
|
| 87 |
/usr/local/lbbs/bin/bbsd |
sudo systemctl start lbbs |
| 88 |
|
|