# Taiko NodeRunner (Ubuntu)

By [Alpha Road](https://paragraph.com/@alpha-road) · 2022-12-29

---

![Attention. Not to use your main wallet with assets.](https://storage.googleapis.com/papyrus_images/e06e28f77c77f493c0ae6c3865ed6f4a781c25b3e3aafdeec389fc002e4f1c96.png)

Attention. Not to use your main wallet with assets.

The first step, hopefully, won’t catch you off guard, and you’ll have a dedicated mediumwell server.

![Attention. Not to use your main wallet with assets.](https://storage.googleapis.com/papyrus_images/b0ec75e81d7c92f96aa559c749b94a401343c10f60a34c14674a20bf51df03d3.png)

Attention. Not to use your main wallet with assets.

So, first of all, connect to virtual machine and enter the following commands which will allow us to install docker without any problems.
-----------------------------------------------------------------------------------------------------------------------------------------

1.  `sudo apt-get update sudo apt-get install \ ca-certificates \ curl \ gnupg \ lsb-release`
    
2.  `sudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg`
    
3.  `echo \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null`
    
4.  `sudo apt-get update`
    
    _If you get a GPG error at this step, use the solutions below:_
    
    `sudo chmod a+r /etc/apt/keyrings/docker.gpg sudo apt-get update`
    
5.  `sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin`
    
6.  Complete. Make sure that the docker is working well:
    
    `sudo docker run hello-world`
    
    or
    
    `docker compose version`
    
    Now let's take a look at Taiko's official guide to launching the node.
    ----------------------------------------------------------------------
    
7.  `git clone https://github.com/taikoxyz/simple-taiko-node.git cd simple-taiko-node`
    
8.  `cp .env.sample .env`
    
9.  Substitute the correct values in the .env file that we copied in the previous step. To do this, activate the nano editor.
    
    `nano .env`
    
    At the bottom you will see three values that you need to change. I put them in bold:
    
    ENABLE\_PROPOSER=**true** L1\_PROPOSER\_PRIVATE\_KEY=**your private key** L2\_SUGGESTED\_FEE\_RECIPIENT=**your wallet address**
    
    e.g. `ENABLE_PROPOSER=true L1_PROPOSER_PRIVATE_KEY=d8d8c71ncvjdn388dfnq3zvn45757gnduirfy473274hfuasdfgzh23hjbcjdf L2_SUGGESTED_FEE_RECIPIENT=0x2ce9fd0eb115cd0ee9gc03241a362d0452ff172e`
    
10.  You are great. Let's get the node up and running.
    
    `docker compose up`
    

### Helpful commands:

Run node in the background: `docker compose up -d` Stop node: `docker compose down` Uninstall node: `docker compose down -v` `rm -f .env` Check logs: `docker compose logs`

Be well.

### Links

[https://github.com/taikoxyz/simple-taiko-node](https://github.com/taikoxyz/simple-taiko-node)

[Taiko Discord](https://discord.gg/taikoxyz) [Taiko Twitter](https://mobile.twitter.com/taikoxyz)

_by_ [_Alpha Road_](https://mobile.twitter.com/0xalpharoad)

---

*Originally published on [Alpha Road](https://paragraph.com/@alpha-road/taiko-noderunner-ubuntu)*
