/[LeafOK_CVS]/lbbs/INSTALL.md
ViewVC logotype

Diff of /lbbs/INSTALL.md

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 by sysadm, Sun Oct 12 13:01:15 2025 UTC Revision 1.6 by sysadm, Fri Nov 7 07:27:36 2025 UTC
# Line 19  To install LBBS, please perform the foll Line 19  To install LBBS, please perform the foll
19     sh ./autogen.sh     sh ./autogen.sh
20    
21  3) Compile source files    3) Compile source files  
22     ./configure --prefix=/usr/local/lbbs       export LBBS_HOME_DIR=/usr/local/lbbs
23       ./configure --prefix=$LBBS_HOME_DIR  
24     make     make
25    
26  4) Create user and group    4) Create user and group  
# Line 27  To install LBBS, please perform the foll Line 28  To install LBBS, please perform the foll
28    
29  5) Install binary files and data files    5) Install binary files and data files  
30     sudo make install       sudo make install  
31     chown -R bbs:bbs /usr/local/lbbs     chown -R bbs:bbs $LBBS_HOME_DIR
32    
33  6) Modify following configuration files    6) Modify following configuration files  
34     Default configuration files is saved as *.default, you should rename them first.       Default configuration files is saved as *.default, you should rename them first.  
35     /usr/local/lbbs/conf/bbsd.conf       $LBBS_HOME_DIR/conf/bbsd.conf  
36     /usr/local/lbbs/utils/conf/db_conn.conf.php       $LBBS_HOME_DIR/conf/badwords.conf  
37       $LBBS_HOME_DIR/utils/conf/db_conn.conf.php  
38    
39  7) Generate menu configuration file with section data by running the script    7) Generate menu configuration file with section data by running the script  
40     sudo -u bbs php /usr/local/lbbs/utils/bin/gen_section_menu.php       sudo -u bbs php $LBBS_HOME_DIR/utils/bin/gen_section_menu.php  
41     sudo -u bbs php /usr/local/lbbs/utils/bin/gen_ex_list.php       sudo -u bbs php $LBBS_HOME_DIR/utils/bin/gen_ex_list.php  
42    
43  8) Create or copy SSH2 RSA certificate into /usr/local/lbbs/conf    8) Create SSH2 RSA certificate  
44     ssh-keygen -t rsa -C "Your Server Name" -f ssh_host_rsa_key     ssh-keygen -t rsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key
45    
46  9) Startup    9) Startup  
47     sudo -u bbs /usr/local/lbbs/bin/bbsd     sudo -u bbs $LBBS_HOME_DIR/bin/bbsd
48    
49  10) Set up systemd    10) Set up systemd  
50     Create your own /usr/lib/systemd/system/lbbs.service from the sample at conf/lbbs.service.default, and make any change if necessary.       Create your own /usr/lib/systemd/system/lbbs.service from the sample at conf/lbbs.service.default, and make any change if necessary.  


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

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