Skip to content

Commit

Permalink
debian standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Oct 27, 2023
1 parent 84144bf commit 9982fda
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/ztnet/docs/Installation/debian_11.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ sidebar_position: 2

# Standalone Debian & Ubuntu

Install curl if it is not already installed:

```bash
sudo apt update && sudo apt install curl
```

:::info
if you system does not have sudo installed, you will need to run the script as root and remove the "sudo" from the command below.
:::

To install ztnet on Debian or Ubuntu, run the following command:

```bash
curl -s http://install.ztnet.network | sudo bash
```
Expand All @@ -24,27 +35,29 @@ This script executes the following steps:
5. **Systemd Service**: Sets up a systemd service to auto-start `ztnet` during system boot.

### Monitoring Service Status

To check the status of the `ztnet` service, run the following command:

```bash
sudo systemctl status ztnet
```

### Starting the Service

To start the `ztnet` service, run the following command:

```bash
sudo systemctl start ztnet
```

### Stopping the Service

To stop the `ztnet` service, run the following command:

```bash
sudo systemctl stop ztnet
```


## Uninstalling ztnet

Follow these steps to uninstall `ztnet` from your system:
Expand All @@ -58,3 +71,6 @@ Follow these steps to uninstall `ztnet` from your system:

After following these steps, `ztnet` should be completely uninstalled from your system.

### Development

The installation scripts is available in the [install.ztnet](https://github.com/sinamics/ztnet/tree/main/install.ztnet) folder in main repository.

0 comments on commit 9982fda

Please sign in to comment.