# Mina Protocol - Testworld 2.0

By [Kendi](https://paragraph.com/@kendi) · 2023-10-16

testnet, mina, incentivized, node

---

[![](https://storage.googleapis.com/papyrus_images/d387d753bbb54ba017214b860f073a55.png)](https://minaprotocol.com/)

This time i will share how to install Node for [Mina Testworld 2.0](https://docs.minaprotocol.com/test-world-2/node-operator-responsibilities), coincidentally I was also selected as a `Block Producer` on this testnet. Mina is a unique blockchain, its size is only 22KB and at any time, the following is [Mina roadmap](https://minaprotocol.com/mina-roadmap) which will continue to be developed.

![](https://paragraph.xyz/editor/callout/tip-icon.png)

Remember, this tutorial is only for `Block Producer` participants.

![](https://storage.googleapis.com/papyrus_images/e29f105f1bd2219be20872a8b4119070.png)

* * *

### First run the following code and press ENTER:

    wget -O install_mina.sh https://raw.githubusercontent.com/maragung/testnet/main/mina/install_testworld_2.0_ubuntu.sh && chmod +x ./install_mina.sh && ./install_mina.sh && rm -rf ./install_mina.sh 

![](https://storage.googleapis.com/papyrus_images/7d7f9234f6f083486ed598d50cf02970.png)

![](https://storage.googleapis.com/papyrus_images/274bd7267e7e9e309846a9924dd74af1.png)

Finally, if it appears like the image above, it means that Mina has been successfully installed.

* * *

### Next step (**Environment Variables):**

To save various variables and passwords to `~/.mina-env`, follow these steps (copy the password from the `community-xxx-password.txt` file from the email):

The following is an example of the contents of the `community-xxx-password.txt` file:

![](https://storage.googleapis.com/papyrus_images/206cb1a794cf406cbba994c43d420e43.png)

Run the following command to download the setup script:

    wget -O setup_keys_and_password.sh https://raw.githubusercontent.com/maragung/testnet/main/mina/setup_keys_and_password.sh && chmod +x setup_keys_and_password.sh && ./setup_keys_and_password.sh && rm -rf setup_keys_and_password.sh

Once successful it will look like the following:

![](https://storage.googleapis.com/papyrus_images/c34a36b5a99a98ad95b2a9e86b4b5a1f.png)

* * *

### Next step (Keys):

Upload the files in the archive that you have received from the Mina team to the `~/keys` folder, except the file `community-xxx-password.txt`

Change the file name `community-147-key` to `my-wallet` and `community-147-key.pub` to `my-wallet.pub` as in the following image:

![](https://storage.googleapis.com/papyrus_images/ae2ae83aa985eea1afdb548871cd248a.png)

Then run the following command:

    sudo chmod 700 ~/keys
    sudo chmod 600 ~/keys/my-wallet
    ls -lh ~/keys

Then the file details will appear along with the access rights that have been applied as shown in the following image:

![](https://storage.googleapis.com/papyrus_images/cd1c450725ec7dcf38066a007370e142.png)

* * *

### Next Step (Allow Mina Port):

    sudo ufw allow 8302
    sudo ufw allow 3089
    sudo ufw allow 10001 

* * *

### Next Step (Services):

Run the following command to create the unit file for the Mina service:

    wget -O create_mina_service.sh https://raw.githubusercontent.com/maragung/testnet/main/mina/create_mina_service.sh && chmod +x create_mina_service.sh && ./create_mina_service.sh && rm -rf create_mina_service.sh

Starting the Service:

    sudo systemctl daemon-reload
    sudo systemctl enable mina
    sudo systemctl start mina

Checking the Service Status:

    sudo systemctl status mina

Stopping the Service:

    sudo systemctl stop mina

Disabling the Service at Startup:

    sudo systemctl disable mina

Removing the Service:

    sudo rm /etc/systemd/system/mina.service
    sudo systemctl daemon-reload

* * *

### Logs:

Viewing Node Logs:

    sudo journalctl -u mina -n 1000 -f

Viewing Node Status:

    mina client status

* * *

### Updates Available:

![](https://paragraph.xyz/editor/callout/important-icon.png)

23/10/2023 - [BERKELEY TESTNET RELEASE 2.0.0RAMPUP6 (ITN RC2)](https://github.com/MinaProtocol/mina/releases/tag/2.0.0rampup6):

    wget -O update_testworld_2.0.0rampup6-4061884_ubuntu.sh https://raw.githubusercontent.com/maragung/testnet/main/mina/update_testworld_2.0.0rampup6-4061884_ubuntu.sh && chmod +x update_testworld_2.0.0rampup6-4061884_ubuntu.sh && ./update_testworld_2.0.0rampup6-4061884_ubuntu.sh && rm update_testworld_2.0.0rampup6-4061884_ubuntu.sh

![](https://paragraph.xyz/editor/callout/warning-icon.png)

14/12/2023 - [BERKELEY TESTNET RELEASE](https://github.com/MinaProtocol/mina/releases/tag/2.0.0rampup7) [2.0.0rampup7](https://github.com/MinaProtocol/mina/releases/tag/2.0.0rampup7) [(ITN RC3)](https://github.com/MinaProtocol/mina/releases/tag/2.0.0rampup7):

    wget -O update_testworld_2.0.0rampup7-4a0fff9_ubuntu.sh https://raw.githubusercontent.com/maragung/testnet/main/mina/update_testworld_2.0.0rampup7-4a0fff9_ubuntu.sh && chmod +x update_testworld_2.0.0rampup7-4a0fff9_ubuntu.sh && ./update_testworld_2.0.0rampup7-4a0fff9_ubuntu.sh && rm update_testworld_2.0.0rampup7-4a0fff9_ubuntu.sh

---

*Originally published on [Kendi](https://paragraph.com/@kendi/mina-protocol-testworld-2-0)*
