https://github.com/aspectron/khost
Kaspa p2p node deployment tool for Linux
https://github.com/aspectron/khost
Last synced: about 1 year ago
JSON representation
Kaspa p2p node deployment tool for Linux
- Host: GitHub
- URL: https://github.com/aspectron/khost
- Owner: aspectron
- Created: 2024-01-12T13:20:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T20:41:14.000Z (almost 2 years ago)
- Last Synced: 2025-05-30T01:48:47.592Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 271 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## `kHOST`
[
](https://github.com/aspectron/khost)

Kaspa p2p node deployment automation tool for Linux.
kHOST was created to automate deployment of Kaspa nodes intended for use as a part of the Kaspa public RPC network as well as private network high-availability clusters. kHOST deploys Rusty-Kaspa nodes from sources, configures them to run as a `systemd` service as well as configures NGINX to act as a reverse proxy for the RPC. This tool exists to simplify and automate Kaspa node deployment as well as to standardize related system configuration.
## Deploying
As `root`:
```bash
sudo -s
apt install -y curl build-essential pkg-config libssl-dev
adduser -q kaspa
adduser kaspa sudo
login kaspa
```
As `kaspa` user:
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
cargo install khost
khost
```
If you already have an existing user and rust installed, you can simply run `cargo install khost` followed by `khost`.
Please note that the user needs to have root (sudo) privileges to run khost.
IMPORTANT: This tool creates it's own configuration for the kaspad node, as such, any previous configurations should be disabled and removed. If kaspad was running before under the same username, the `~/.rusty-kaspa` data folders containing databases will be re-used.