Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -------------------------
- # Update System
- # -------------------------
- sudo apt update && sudo apt upgrade -y
- # -------------------------
- # Install Required Packages
- # -------------------------
- sudo apt install ca-certificates curl gnupg lsb-release -y
- # -------------------------
- # Docker Installation
- # -------------------------
- # Step 1: Add Docker GPG Key
- sudo mkdir -p /etc/apt/keyrings
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
- # Step 2: Set up Docker Repository
- 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
- # Step 3: Install Docker Engine and Components
- sudo apt update
- sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y
- # Step 4: Add Current User to Docker Group
- sudo usermod -aG docker $USER
- # -------------------------
- # MEE Node Deployment
- # -------------------------
- # Clone the MEE Node Repository
- git clone https://github.com/bcnmy/mee-node-deployment
- # Create Directory for Chains
- cd mee-node-deployment
- mkdir chains
- # Copy Testnet Chain Files
- cp /root/mee-node-deployment/chains-testnet/*.json /root/mee-node-deployment/chains/
- # -------------------------
- # Manual Configuration Steps
- # -------------------------
- # Edit Docker Compose Configuration
- nano docker-compose.yml
- # Edit Chain Configuration Files
- cd chains
- nano 1.json
- nano 11155111.json
- nano 11155420.json
- nano 421614.json
- nano 84532.json
- # -------------------------
- # Run the Node
- # -------------------------
- cd
- cd mee-node-deployment
- docker compose up -d
- # -------------------------
- # Access node endpoint / Share URL
- # -------------------------
- http://localhost:3000/v3/info
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement