You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -13,14 +13,29 @@ When running the batch files under Windows 10, Windows Defender will likely popu
## Ubuntu
To run natively on Ubuntu you will have to build from source. If you're comfortable with git and build tools you should be good to go. I would suggest building [bitcoin core](https://github.com/bitcoin/bitcoin) first to make sure you have all the right dependencies.
To run natively on Ubuntu you will have to build from source. If you're comfortable with git and build tools you should be good to go.
* Acquire read-access to https://github.com/Equibit/equibit-core
* Run `git clone https://github.com/Equibit/equibit-core`
* cd to `equibit-core`
* Run `git fetch && git checkout v0.02.15`
* Follow Ubuntu build instructions in the [README](https://github.com/Equibit/equibit-core/blob/dev/doc/build-unix.md)
### Ubuntu Service
Most likely you will want to automatically start the node when the machine boots. The Ubuntu systemctl service can be used to easily provide this capability. A sample service file and start script has been created in the repository.
* Copy the `src/equibitd` and `src/equibit-cli` binaries from the `src` folder to a new folder (eg. `equibit-node`). This step is optional if you used make install.
* Copy the `start-node.sh` script into this folder.
* Edit `start-node.sh` to point to the data directory created with the Equibit configuration file. See the Configuration section below.
* Give `start-node.sh` execute permissions: `chmod +x ./start-node.sh`
* Copy the sample service definition file into the service definition directory: `sudo cp ./equibit-node.service /etc/systemd/system`
* Edit the User, WorkingDirectory and ExecStart settings in the service definition file to point to the node directory.
* Run `sudo systemctl enable equibit-node.service` to enable the service.
* Run `sudo systemctl start equibit-node` to start the node.
**Note. It is not recommended to run the Equibit node as root. Create a new user to run the service or run under an existing user.**
## Docker
* You'll probably want to install [Docker](https://www.docker.com/products/docker-desktop)