# Run Your Linea Node with a few simple clicks!

By [Cryptoboys27.Validator](https://paragraph.com/@0xcb) · 2024-03-05

---

Welcome to Cryptoboys27.Validator!

With just a few clicks, you can easily learn and understand how to set up your node without any prior technical knowledge. Follow us on [Twitter](https://twitter.com/cryptoboys27) to stay updated on everything related to nodes.

Linea is a network that enhances the Ethereum experience by scaling it. Its out-of-the-box compatibility with the Ethereum Virtual Machine enables deploying both new and existing applications, which would be too expensive on Mainnet. It also enables the community to use those dapps at a fraction of the cost and multiplies the speed of Mainnet.

**VPS configuration :**
-----------------------

To run a Linea node, you'll need a Virtual Private Server (VPS), and one of the most reliable and cost-effective options is [Contabo](https://contabo.com/en/vps/). To run a node, you can choose the CLOUD VPS 2. Note that you can choose a more powerful server (VPS 3 or 4) to run multiple nodes more economically.

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

Select a rental period of 1-12 months, I selected 1 month with the flexibility to extend it later if needed:

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

select European union

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

Select SSD For the best storage solution

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

To access Docker with Ubuntu 22.04, navigate to the “**Apps & Panels**” section and make the appropriate selection:

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

To prioritize security, I highly recommend generating a new password and securely storing it to ensure maximum protection:

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

**Remember** to choose a strong password. Once payment is complete, you'll receive an e-mail with your IP address.

**Connect To Your VPS via SSH :**
---------------------------------

To access your VPS securely, installing the **Putty** application, which facilitates a protected connection is necessary. Simply connect to your VPS using your IP address. simply enter “root” as the user and use your chosen password:

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

Congratulations! You are now successfully logged into your server:

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

**Node deployment :**
---------------------

Here's the procedure for deploying the node!

Make sure you **copy (Ctrl+C)** and **paste (right/center-click your mouse)** each command line, one by one, into your terminal. The italic text under each command provides extra information to help you understand what the command does.

1.  Run the following command to update and upgrade your Debian-based Linux system packages:
    
        sudo apt-get update && sudo apt-get upgrade -y
        
    
    This will refresh the package list and apply the latest updates automatically.
    
2.  Install the software-properties-common package and screen utility by running this command:
    
        sudo apt-get install software-properties-common screen -y
        
    
3.  Add the Ethereum Personal Package Archive (PPA) to your system by running these commands:
    
        sudo add-apt-repository -y ppa:ethereum/ethereum
        sudo apt-get update
        sudo apt-get install ethereum -y
        
    
4.  Download the file genesis.json from the Linea documentation site by running this command:
    
        wget https://docs.linea.build/files/genesis.json
        
    
5.  Use the fallocate command to allocate a file named linea.img with a size of 100 gigabytes:
    
        fallocate -l 100G linea.img
        
    
6.  Create an Ext4 filesystem on the file linea.img and format the file to act as an Ext4 filesystem disk image by running this command:
    
        mkfs.ext4 linea.img
        
    
7.  Create a new directory named linea\_data in the current working directory and mount the linea.img file to the linea\_data directory by running these two commands:
    
        mkdir linea_data sudo mount -o loop linea.img linea_data
        
    
8.  Set up the specified directory (./linea\_data) to be used as the data storage location for an Ethereum blockchain node, configured according to the genesis file (./genesis.json) by running this command:
    
        sudo geth --datadir ./linea_data init ./genesis.json
        
    
9.  Start a new screen session by running this command:
    
        screen -S linea
        
    
10.  Run the node by running this command:
    
    copy all the code at once
    
        sudo geth \
        --datadir linea_data \
        --networkid 59144 \
        --rpc.allow-unprotected-txs \
        --txpool.accountqueue 50000 \
        --txpool.globalqueue 50000 \
        --txpool.globalslots 50000 \
        --txpool.pricelimit 1000000 \
        --txpool.pricebump 1 \
        --txpool.nolocals \
        --http --http.addr '127.0.0.1' --http.port 8545 --http.corsdomain '*' --http.api 'web3,eth,txpool,net' --http.vhosts='*' \
        --ws --ws.addr '127.0.0.1' --ws.port 8546 --ws.origins '*' --ws.api 'web3,eth,txpool,net' \
        --bootnodes "enode://ca2f06aa93728e2883ff02b0c2076329e475fe667a48035b4f77711ea41a73cf6cb2ff232804c49538ad77794185d83295b57ddd2be79eefc50a9dd5c48bbb2e@3.23.106.165:30303,enode://eef91d714494a1ceb6e06e5ce96fe5d7d25d3701b2d2e68c042b33d5fa0e4bf134116e06947b3f40b0f22db08f104504dd2e5c790d8bcbb6bfb1b7f4f85313ec@3.133.179.213:30303,enode://cfd472842582c422c7c98b0f2d04c6bf21d1afb2c767f72b032f7ea89c03a7abdaf4855b7cb2dc9ae7509836064ba8d817572cf7421ba106ac87857836fa1d1b@3.145.12.13:30303" \
        --syncmode full \
        --metrics \
        --verbosity 3
        
    

Congratulations, you’ve just deployed your first `node on Linea!` If you want to detach from the screen session, simply press **CTRL+A+D**, and your node will keep running. To reattach to the existing screen session, type **screen -r linea.**

Feel free to follow us on [Twitter](https://twitter.com/cryptoboys27) to stay updated on everything related to nodes.

Help us By **Minting** this article for **FREE**. Thank you.

[Subscribe](null)

---

*Originally published on [Cryptoboys27.Validator](https://paragraph.com/@0xcb/run-your-linea-node-with-a-few-simple-clicks)*
