| 21 |
|
|
| 22 |
4) Compile source files |
4) Compile source files |
| 23 |
export LBBS_HOME_DIR=/usr/local/lbbs |
export LBBS_HOME_DIR=/usr/local/lbbs |
| 24 |
./configure --prefix=$LBBS_HOME_DIR |
Choose different implementation based on System V or Posix |
| 25 |
make |
./configure --prefix=$LBBS_HOME_DIR --with-sysv |
| 26 |
|
./configure --prefix=$LBBS_HOME_DIR --without-sysv |
| 27 |
|
make |
| 28 |
|
|
| 29 |
5) Create user and group |
5) Create user and group |
| 30 |
sudo useradd bbs |
sudo useradd bbs |
| 66 |
sudo -u bbs ipcrm -a |
sudo -u bbs ipcrm -a |
| 67 |
|
|
| 68 |
|
|
| 69 |
For Cygwin User |
For MSYS2 / MinGW User |
| 70 |
================== |
================== |
| 71 |
Installation of LBBS on Cygwin is similar to the above steps for Linux, except that: |
Installation of LBBS on MSYS2 is similar to the above steps for Linux, except that: |
| 72 |
|
|
| 73 |
1) Use additional config switches to keep compatible with the Cygwin environment. |
1) Use additional config switches to keep compatible with the MSYS2 / MinGW environment. |
| 74 |
./configure --prefix=$LBBS_HOME_DIR --with-mariadb --without-epoll |
./configure --prefix=$LBBS_HOME_DIR --with-mariadb --without-epoll --without-sysv |
| 75 |
|
|
| 76 |
2) Enable Cygserver with optimized parameters (as large as possible) of XSI semaphore and shared memory in /etc/cygserver.conf |
2) Skip those steps not supported by Cygwin (e.g. systemd and logrotate). |
|
|
|
|
3) Skip those steps not supported by Cygwin (e.g. systemd and logrotate). |
|
| 77 |
|
|