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

Diff of /lbbs/INSTALL.zh_CN.md

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

Revision 1.22 by sysadm, Mon Dec 1 14:01:36 2025 UTC Revision 1.24 by sysadm, Tue Jan 6 13:58:34 2026 UTC
# Line 52  请按照以下步骤在Linux (例如: D Line 52  请按照以下步骤在Linux (例如: D
52  8) 将MySQL服务器的CA证书文件,复制到$LBBS_HOME_DIR/conf/ca_cert.pem    8) 将MySQL服务器的CA证书文件,复制到$LBBS_HOME_DIR/conf/ca_cert.pem  
53    
54  9) 创建SSH2 RSA / ED25519 证书    9) 创建SSH2 RSA / ED25519 证书  
55     ssh-keygen -t rsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key       ssh-keygen -t rsa -C "Your Server Name" -N "" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key  
56     ssh-keygen -t ed25519 -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ed25519_key       ssh-keygen -t ed25519 -C "Your Server Name" -N "" -f $LBBS_HOME_DIR/conf/ssh_host_ed25519_key  
57     ssh-keygen -t ecdsa -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ecdsa_key       ssh-keygen -t ecdsa -C "Your Server Name" -N "" -f $LBBS_HOME_DIR/conf/ssh_host_ecdsa_key  
58    
59  10) 启动服务程序    10) 启动服务程序  
60     sudo -u bbs $LBBS_HOME_DIR/bin/bbsd     sudo -u bbs $LBBS_HOME_DIR/bin/bbsd
# Line 73  请按照以下步骤在Linux (例如: D Line 73  请按照以下步骤在Linux (例如: D
73     正常情况下不存在所有者是bbs的项。否则,请运行以下命令清理:       正常情况下不存在所有者是bbs的项。否则,请运行以下命令清理:  
74     sudo -u bbs ipcrm -a     sudo -u bbs ipcrm -a
75    
76    
77    Docker用户
78    ==================
79    你可以从源代码位置生成容器镜像:  
80       docker compose up --build -d  
81    
82    也可以从Docker Hub下载镜像文件:  
83       docker compose pull  
84    
85    记得需要根据本地配置 (数据库连接、服务端口等) 修改配置文件,步骤见上节。  


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

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