| 17 |
(For CentOS / RHEL 用户) |
(For CentOS / RHEL 用户) |
| 18 |
sudo dnf install -y libssh-devel systemd-devel |
sudo dnf install -y libssh-devel systemd-devel |
| 19 |
(MSYS2 with MinGW-w64 toolchain 用户) |
(MSYS2 with MinGW-w64 toolchain 用户) |
| 20 |
pacman -S --needed msys2-runtime-devel libssh pcre2-devel mingw-w64-x86_64-libiconv mingw-w64-x86_64-libmariadbclient |
pacman -S --needed msys2-runtime-devel libssh libssh-devel pcre2-devel mingw-w64-x86_64-libiconv mingw-w64-x86_64-libmariadbclient |
| 21 |
|
|
| 22 |
2) 从Github导出或下载源代码文件 |
2) 从Github导出或下载源代码文件 |
| 23 |
运行以下命令来初始化autoconf/automake环境: |
运行以下命令来初始化autoconf/automake环境: |
| 50 |
|
|
| 51 |
8) 将MySQL服务器的CA证书文件,复制到$LBBS_HOME_DIR/conf/ca_cert.pem |
8) 将MySQL服务器的CA证书文件,复制到$LBBS_HOME_DIR/conf/ca_cert.pem |
| 52 |
|
|
| 53 |
9) 创建SSH2 RSA证书 |
9) 创建SSH2 RSA / ED25519 证书 |
| 54 |
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" -f $LBBS_HOME_DIR/conf/ssh_host_rsa_key |
| 55 |
|
ssh-keygen -t ed25519 -C "Your Server Name" -f $LBBS_HOME_DIR/conf/ssh_host_ed25519_key |
| 56 |
|
|
| 57 |
10) 启动服务程序 |
10) 启动服务程序 |
| 58 |
sudo -u bbs $LBBS_HOME_DIR/bin/bbsd |
sudo -u bbs $LBBS_HOME_DIR/bin/bbsd |