EMC Testnet Documentation: Quick Start Guide
  • EMC TESTNET
    • EMC Testnet Chain Documentation: Quick Start Guide
      • Introduction
      • Requirements
      • Setting Up the Development Environment
      • Testing
      • Conclusion
    • Estimate Gas Costs
      • What is Gas fee?
      • Methods to estimate gas costs
      • Precaution
      • Conclusion
    • EMC chain documents: Mainnet and Testnet
      • EMC mainnet
      • EMC Testnet
      • User Guide
      • Conclusion
    • Cross-chain messaging
      • What is cross-chain messaging?
      • Principle of cross-chain message passing
      • Implement cross-chain messaging
      • Conclusion
    • How to use oracles in applications
      • What is an oracle?
      • Steps to use oracle
      • Precautions
      • Conclusion
    • Precompilation
      • Overview of precompiled contracts
    • Functions of NodeInterface
      • Using NodeInterface
      • Conclusion
    • RPC endpoints and providers
      • Introduction
      • EMC Mainnet RPC endpoint
      • EMC Testnet RPC endpoint
      • User Guide
      • Conclusion
    • Block explorer
      • User Guide
    • Cross-chain bridge
      • Overview
      • Detailed operation rules and principles
  • EMC Airdrop Guidelines
    • EMC Airdrop Guidelines
      • What is EMC Public Testnet?
      • EMC Public Testnet Incentive Program
      • EMC Public Testnet Mining Rules
      • How to seek help if you encounter a problem?
      • How long will the EMC Public Testnet Mining Event last?
    • Wallet Setup
      • Method 1: One-Click Configuration (Recommended)
      • Method 2: Manual Configuration
        • EMC Testnet Network RPC Information
    • Faucets: Claim Test Tokens
    • Testnet Tutorial Guide
      • Windows Tutorial
        • Docker Installation and Setup Tutorial(Window Version)
      • MacOS Tutorial
      • Linux Tutorial
        • Docker Installation and NVIDIA GPU Configuration
        • EMC Client Installation and Operation
      • Windows CLI Tutorial
        • WSL Subsystem Installation
        • Install and Setup Docker Desktop
        • EMC CLI Download and Mining
        • Claim Gas Fee from EMC Community
    • EMC Testnet Blockchain Explorer
Powered by GitBook
On this page
  • Minimum Requirements for Linux Mining
  • Linux Installation and Configuration
  • 1. Configure GPU Cloud Server
  • 2. Ubuntu System Configuration
  1. EMC Airdrop Guidelines
  2. Testnet Tutorial Guide

Linux Tutorial

PreviousMacOS TutorialNextDocker Installation and NVIDIA GPU Configuration

Last updated 8 months ago

Minimum Requirements for Linux Mining

As a recommendation, Users should ensure their hardware meets the requirements:

GPU Cloud Server: The server must allow access to Docker's official website and possess a static IP located in Europe or North America. Users must ensure their hardware meets the following basic requirements

  • Operating System: Ubuntu 20 and above

  • Processor : At least 2 cores

  • Memory : Minimum 4GB, 12GB recommended

  • Graphics card: Minimum NVIDIA GeForce GTX 1070 8GB, recommended NVIDIA GeForce GTX 3060 12GB

  • Graphics drivers: OpenCL, ) and , HIP or

Linux Installation and Configuration

To ensure a stable network and proper GPU support, it's recommended to rent a GPU cloud server with a static IP in the US or Europe.Below is a step-by-step guide using Tencent Cloud with a US IP as an example.

1. Configure GPU Cloud Server

Ensure your server meets the GPU and IP requirements, choose a Linux OS version, and save the server’s IP, account, and password.

2. Ubuntu System Configuration

In this example, select Ubuntu 22.04 LTS during the GPU cloud server setup. The server automatically installs the system and the necessary components.

2.1 Ubuntu Device Status Verification

A. View System Version

cat /proc/version
cat /etc/os-release

Note: Docker installation and commands vary by Ubuntu version. Check your Ubuntu version before installation.

B. View CPU and GPU Information

# CPU Information:

cat /proc/cpuinfo | grep "cpu cores" | uniq
cat /proc/cpuinfo | grep "model name" | uniq

# GPU Information:

lspci | grep -i vga
lspci | grep -i nvidia

2.2 Ubuntu Graphical Interface and Remote Control

Ubuntu on GPU cloud servers usually don’t have a graphical interface by default. You need to install the xfce desktop environment and remote control via VNC.

A. Install xfce Desktop

Open a terminal and run the following commands:

#Clear Cache and Update Packages

sudo apt clean all && sudo apt update

#Install xfce Desktop Packages (Skip if a Graphical Interface is Already Installed)

sudo apt install xfce4 xfce4-goodies

#Allow TCP Port 5901 for VNC

sudo ufw allow 5901/tcp

B. Install and Configure VNC Service

#Install VNC Service

sudo apt install tightvncserver

#Run VNC Service

vncserver

When you first run the vncserver command, enter your VNC password (at least 8 characters) when prompted. Press Enter and re-enter the password to confirm it. Optionally, set a read-only password for access.

Enable VNC Copy and Paste

#Install the autocutsel Package

sudo apt-get install autocutsel

#Modify ~/.vnc/xstartup and add autocutsel -fork.

sudo vim ~/.vnc/xstartup

#Modified Command Image

#Restart VNC

vncserver -kill :1  
vncserver :1

C. Install VNC Viewer

Install VNC Viewer on your local device

Enter GPU cloud service public IP:1 in the address bar. When prompted, enter your VNC password and click Confirm.

By default, VNC Viewer has low display quality.

Run the following command on the cloud server to improve it:

sudo vim /etc/tightvncserver.conf

Set the VNC resolution to 2560x2048 as shown in the figure above.

Restart the VNC service on the cloud server. Reconnect with your local VNC Viewer to check if the resolution is clear.

2.3 Install Google Chrome on Ubuntu

Install Google Chrome on Ubuntu to access the EMC testnet for mining.

Install Chrome Browser

# download google-chrome-stable.deb
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

# install google-chrome-stable.deb
sudo apt install ./google-chrome-stable_current_amd64.deb

# run google-chrome-stable
google-chrome-stable

Use Chrome in VNC Viewer

Connect to the cloud server using VNC Viewer on your local computer. Open Chrome within the VNC session to confirm the browser is installed correctly.

The image above shows that Chrome is installed successfully.

Visit the and download the appropriate version for your operating system. Install the application and then open VNC Viewer as shown in the image below:

AMD drivers (AMD GPU
AMD driver signatures
C UDA drivers
VNC website