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


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

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