| 49 |
|
|
| 50 |
6) Generate menu configuration file with section data by running the script |
6) Generate menu configuration file with section data by running the script |
| 51 |
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php |
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php |
| 52 |
|
sudo -u bbs php /usr/local/lbbs/utils/bin/gen_ex_list.php |
| 53 |
|
|
| 54 |
7) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf |
7) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf |
| 55 |
ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key |
ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key |
| 58 |
sudo /usr/local/lbbs/bin/bbsd |
sudo /usr/local/lbbs/bin/bbsd |
| 59 |
|
|
| 60 |
9) Set up systemd |
9) Set up systemd |
| 61 |
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. |
Create your own /usr/lib/systemd/system/lbbs.service from the sample at conf/lbbs.service.default, and make any change if necessary. |
| 62 |
Run the following bash command to startup the service: |
Reload daemon config and start the service. |
|
sudo systemctl daemon-reload |
|
|
sudo systemctl start lbbs |
|