Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
install:nix [2023/02/25 19:59] – [See Also] Add link to nix:mail article digital man | install:nix [2024/10/11 22:14] (current) – The installation and re-build make commands are now very different to avoid confusion and mistake that leads to lost files and weeping sysops :-P digital man | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UNIX Installation ====== | ====== UNIX Installation ====== | ||
- | You will likely need to build Synchronet from [[dev: | + | Build Synchronet from [[dev: |
- | Before attempting to install/build Synchronet, insure that the [[install: | + | :!: **Before attempting to build Synchronet, insure that the system |
- | You will to use a *nix terminal and command shell (e.g. sh/bash) to install and configure Synchronet. | + | You will need to use a *nix terminal and command shell (e.g. sh/bash) to install and configure Synchronet. |
===== Run-as User ===== | ===== Run-as User ===== | ||
Line 11: | Line 11: | ||
It is recommended that you install Synchronet while logged-in with the user account that Synchronet will be run-as. If you install Synchronet with one user account and then later run with another (non-root) user account, you could encounter permissions errors. | It is recommended that you install Synchronet while logged-in with the user account that Synchronet will be run-as. If you install Synchronet with one user account and then later run with another (non-root) user account, you could encounter permissions errors. | ||
- | **Running the BBS servers/ | + | :!: **Running the BBS servers/ |
Use '' | Use '' | ||
Line 20: | Line 20: | ||
$ groups sbbs | $ groups sbbs | ||
sbbs : sbbs sudo ... | sbbs : sbbs sudo ... | ||
- | Belonging to the '' | + | Belonging to the '' |
Use the '' | Use the '' | ||
Line 64: | Line 64: | ||
Choose a build method (using [[dev:Git]] or Tarball)((The Git install method is preferred/ | Choose a build method (using [[dev:Git]] or Tarball)((The Git install method is preferred/ | ||
- | ==== Using Git ==== | + | ==== Git Build Method |
Quick installation from [[dev:Git]] (requires 100+MB of disk space): | Quick installation from [[dev:Git]] (requires 100+MB of disk space): | ||
- | * '' | + | * '' |
To get and build the latest code: | To get and build the latest code: | ||
- | * '' | + | * '' |
On Linux, it's normal that the user's password may be prompted for near the end of the build process, as required to invoke the '' | On Linux, it's normal that the user's password may be prompted for near the end of the build process, as required to invoke the '' | ||
Line 78: | Line 78: | ||
If building on a Linux system as a user without '' | If building on a Linux system as a user without '' | ||
- | * '' | + | * '' |
Or, if you want to build a stable release from Git, specify a valid release [[dev: | Or, if you want to build a stable release from Git, specify a valid release [[dev: | ||
- | * '' | + | * '' |
* **NOTE**: this does not work with release tags earlier than '' | * **NOTE**: this does not work with release tags earlier than '' | ||
Line 87: | Line 87: | ||
* These commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass '' | * These commands will make and install a //RELEASE// build of the software. To make and install a //DEBUG// build instead, pass '' | ||
* We don't support parallel builds (e.g. '' | * We don't support parallel builds (e.g. '' | ||
- | | + | * Mirrors of the '' |
- | | + | * [[https:// |
- | * [[https:// | + | * [[https:// |
- | * [[https:// | + | |
Line 99: | Line 98: | ||
lrwxrwxrwx 1 sbbs sbbs 25 Jan 26 21:03 docs -> / | lrwxrwxrwx 1 sbbs sbbs 25 Jan 26 21:03 docs -> / | ||
lrwxrwxrwx 1 sbbs sbbs 25 Jan 26 21:03 exec -> / | lrwxrwxrwx 1 sbbs sbbs 25 Jan 26 21:03 exec -> / | ||
- | -rw-r--r-- 1 sbbs sbbs 11001 Jan 26 20:51 GNUmakefile | + | -rw-r--r-- 1 sbbs sbbs 11001 Jan 26 20:51 install-sbbs.mk |
drwxr-xr-x 1 sbbs sbbs 116 Jan 26 21:07 node1 | drwxr-xr-x 1 sbbs sbbs 116 Jan 26 21:07 node1 | ||
drwxr-xr-x 1 sbbs sbbs 48 Jan 26 21:06 node2 | drwxr-xr-x 1 sbbs sbbs 48 Jan 26 21:06 node2 | ||
Line 114: | Line 113: | ||
**Notes**: | **Notes**: | ||
- | * You can safely remove the installation '' | + | * You can safely remove the installation '' |
- | ==== Tarball ==== | + | ==== Tarball |
Alternatively, | Alternatively, | ||
Line 123: | Line 122: | ||
- '' | - '' | ||
- '' | - '' | ||
- | - '' | ||
- '' | - '' | ||
- '' | - '' | ||
Line 172: | Line 170: | ||
error: unknown type name ' | error: unknown type name ' | ||
- | * The following error indicates the Synchronet libraries (shared objects) are not in your system' | + | * The following error indicates the Synchronet libraries (shared objects) are not in your system' |
sbbs: error while loading shared libraries: libsbbs.so: cannot open shared object file: No such file or directory | sbbs: error while loading shared libraries: libsbbs.so: cannot open shared object file: No such file or directory |