# Installing and running BPX full node on Debian / Ubuntu

1. Log in as root. Use **wget** to download the DEB packages for the latest releases of the **[Execution Client](https://github.com/bpx-chain/bpx-execution-client/releases)** and **[Beacon Client](https://github.com/bpx-chain/bpx-beacon-client/releases)**. Replace **X.X.X** with the latest versions tags.

```bash
wget "https://github.com/bpx-chain/bpx-execution-client/releases/download/X.X.X/bpx-execution-client_X.X.X+stable_amd64.deb"
wget "https://github.com/bpx-chain/bpx-beacon-client/releases/download/X.X.X/bpx-beacon-client-cli_X.X.X-1_amd64.deb"
```

[![node-debian1.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/EY3NV23TsTGeZY2q-node-debian1.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/EY3NV23TsTGeZY2q-node-debian1.png)

2\. Install both packages. Replace **X.X.X** with the downloaded versions tags.

```bash
dpkg -i bpx-execution-client_X.X.X+stable_amd64.deb bpx-beacon-client-cli_X.X.X-1_amd64.deb
```

[![node-debian2.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/oqqS5qC8rwBHvbxv-node-debian2.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/oqqS5qC8rwBHvbxv-node-debian2.png)

3\. Create a new user account for BPX Chain services.

```bash
adduser bpxchain
```

Set a password for the new account. You can leave the additional information fields empty.

[![node-debian3.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/9kK8etHBytK6aq1t-node-debian3.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/9kK8etHBytK6aq1t-node-debian3.png)

4\. Switch to the newly created account.

```bash
su - bpxchain
```

5\. Initialize the Beacon Client configuration.

```bash
bpx init
```

[![node-debian4.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/U6aLVTRKvaVlB1Zj-node-debian4.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/U6aLVTRKvaVlB1Zj-node-debian4.png)

6\. Press **Control + D** to log out and return to the root console.

7\. Create a configuration file for the BPX Execution Client **systemd** service using any text editor, for example **nano**:

```bash
nano /etc/systemd/system/bpx-execution.service
```

Insert the following file content:

```
[Unit]
Description=BPX Execution Client

[Service]
Type=simple
User=bpxchain
ExecStart=bpx-geth --http
Restart=always

[Install]
WantedBy=multi-user.target
```

Save the file by pressing **Control + O** and close the editor with **Control + X**.

8\. Follow the same procedure to create a configuration file for the Beacon Client service:

```bash
nano /etc/systemd/system/bpx-beacon.service
```

Insert the following file content:

```
[Unit]
Description=BPX Beacon Client

[Service]
Type=forking
User=bpxchain
ExecStart=bpx start beacon
ExecStop=bpx stop -d all
Restart=always

[Install]
WantedBy=multi-user.target
```

9\. Reload the system services configuration.

```bash
systemctl daemon-reload
```

10\. Enable automatic startup of the BPX Chain services.

```bash
systemctl enable bpx-execution
systemctl enable bpx-beacon
```

11\. Start both services.

```bash
systemctl start bpx-execution
systemctl start bpx-beacon
```

[![node-debian5.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/auUAk0Tom7bUR6qS-node-debian5.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/auUAk0Tom7bUR6qS-node-debian5.png)

12\. Your full node has just started and will begin the initial synchronization of the blockchain. This process may take several hours or even days. Use the following command to watch the sync status.

```bash
su - bpxchain
watch -n 10 bpx show -s
```

[![node-debian6.png](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/scaled-1680-/4CV3cz4TTOK5JIXC-node-debian6.png)](https://docs.bpxchain.cc/uploads/images/gallery/2024-11/4CV3cz4TTOK5JIXC-node-debian6.png)

<div class="mb-2 flex gap-3 empty:hidden -ml-2" id="bkmrk--6"><div class="items-center justify-start rounded-xl p-1 flex"><div class="flex items-center"><button aria-label="Read aloud" class="rounded-lg text-token-text-secondary hover:bg-token-main-surface-secondary" data-testid="voice-play-turn-action-button"><svg class="icon-md-heavy" fill="none" height="24" viewbox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"></svg></button><button aria-label="Copy" class="rounded-lg text-token-text-secondary hover:bg-token-main-surface-secondary" data-testid="copy-turn-action-button"><svg class="icon-md-heavy" fill="none" height="24" viewbox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"></svg></button>  
</div></div></div>