Rome Devnet & Testnet have been reforged, and new network details are available.
Subscribe on X for future announcements.
Rome Docs
rome.buildersX / TwitterDiscord
  • Getting Started
  • Overview of Rome
    • Rome Scales Bitcoin
      • How Rome Scales Bitcoin
    • Rome Scales Ethereum
      • How Rome Scales Ethereum
    • Rome Scales Rollups
      • How Rome Scales Rollups
    • Rome Provides Interop with Cosmos
      • How Rome Provides Interop with Cosmos
  • Rome L2 Setup
    • Setup your L2
      • Prep Remote Server
        • Setup Remote Server
        • Setup Certificate
      • Choose your Chain ID
      • Download Rome Repos
      • Register your L2
      • Initialize your L2
      • Setup OP Geth Node
      • Run Block Explorer
    • Test your L2
      • Setup MetaMask
      • Fund your Wallet
      • Check Wallet Balance
      • Do Simple Transfer
      • Run Uniswap (Optional)
  • Rome Interop
    • Setup Rome SDK
      • Prepare Environment
      • Set Configuration
      • Run Rhea Example
      • Run Remus Example
      • Run Romulus Example
    • Learn about Remus
    • Learn about Romulus
  • Rome EVM
    • Start using Rome EVM
      • Rome Devnet
      • Rome Testnet
    • Deploy a smart contract on Rome
  • Nexus: Based Sequencing
    • Learn how Nexus works
    • Nexus Transaction Flow
  • Rome Shared Sequencer
    • Atomicity
    • Rome Transactions
    • Rhea
    • Hercules
    • Data Availability
    • Settlement
Powered by GitBook
On this page
  1. Rome L2 Setup
  2. Setup your L2
  3. Prep Remote Server

Setup Remote Server

Provides machine specs and commands for installing Docker and Solana CLI on Ubuntu.

PreviousPrep Remote ServerNextSetup Certificate

Last updated 1 month ago

Was this helpful?

CtrlK
  • Machine Specs
  • Add Docker's official GPG key
  • Add the repo to APT sources
  • Install docker-compose
  • Install Solana
  • Update Docker Permissions
  • Log Out of SSH Session
  • Open the EC2 Ports below

Was this helpful?

Machine Specs

4 cores, 8GB RAM, 1TB storage, 8MBit/sec network bandwidth

E.g. AWS c5a.2xlarge, Ubuntu, x86_64, EBS 1 TB GP3

8 cores, 16GB RAM, 1 TB SSD, 25 MBit/sec network bandwidth

E.g. AWS c5a.4xlarge, Ubuntu, x86_64, EBS 1 TB GP3

Add Docker's official GPG key

sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

Add the repo to APT sources

echo \
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
  $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Not needed but just to check if docker is working
sudo docker run hello-world

Install docker-compose

sudo snap install docker
sudo apt install -y docker-compose

Install Solana

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env
sh -c "$(curl -sSfL https://release.anza.xyz/stable/install)"
export PATH="/home/ubuntu/.local/share/solana/install/active_release/bin:$PATH"

Update Docker Permissions

sudo groupadd docker
sudo usermod -aG docker $USER
sudo chown root:docker /var/run/docker.sock
sudo chmod 660 /var/run/docker.sock

Log Out of SSH Session

logout

This will log you out of the SSH session. It is needed to reapply the permission updates.

Open the EC2 Ports below

Use an EC2 security group to open the ports below.

  • HTTP: 80

  • HTTPS: 443

  • Deposit UI: 3000

  • Block Explorer: 1000