Files
ShellHubNative/readme.md

54 lines
2.0 KiB
Markdown

# ShellHub Native
### Running ShellHub without docker, compiled on local Jenkins
## Script Compatibility
Stable
* Ubuntu 18.04
* EL8 (Centos 8, etc)
Latest and Latest_Tested
* Ubuntu 18.04 and 20.04
* Debian 10
* EL8 (Centos 8, etc)
## Installing
**For all builds**
1. install git `apt -y install git` or `dnf install -y git`
2. Clone repo ```git clone https://git.bprieshof.nl/Tools/ShellHubNative```
**Latest_Tested (default if install.sh is not changed)**
1. Run script ```bash ShellHubNative/Server/install.sh```
2. Add user ```/opt/ShellHub/tools/add-user <Username> <Password> <Email>```
3. Add name space ```/opt/ShellHub/tools/add-namespace <Username> <Username>```
**Latest**
1. edit Server/install.sh ```nano ShellHubNative/Server/install.sh```
2. Comment out `RelVer=latest_Tested` and `Un-comment RelVer=latest`
3. Run script ```bash ShellHubNative/Server/install.sh```
4. Add user ```/opt/ShellHub/tools/add-user <Username> <Password> <Email>```
5. Add name space ```/opt/ShellHub/tools/add-namespace <Username> <Username>```
**Stable (current release tag from ShellHub git)**
**Warning**: Current stable will only run if mongodb 3.6 is available (Centos 8 and ubuntu 18.04)
1. edit Server/install.sh ```nano ShellHubNative/Server/install.sh```
2. Comment out `RelVer=latest_Tested` and `Un-comment RelVer=stable`
3. Set `MongoVer=*` to `MongoVer=3.6`
4. Run script ```bash ShellHubNative/Server/install.sh```
5. Add user ```/opt/ShellHub/tools/add-user <Username> <Password> <Email>```
**Quick install ofLatest_Tested**
```
git clone https://git.bprieshof.nl/Tools/ShellHubNative
bash ShellHubNative/Server/install.sh
```
## Notes
Tools can be found in ` /opt/ShellHub/tools/`
## Links
ShellHub project on GitHub: https://github.com/shellhub-io/shellhub
Builds Published on: https://git.bprieshof.nl/ci/
#### BuildServer (jenkins)
Stable build: https://git.bprieshof.nl/ci/job/Public/job/ShellHub_TAGGED/
Latest build : https://git.bprieshof.nl/ci/job/Public/job/ShellHub/