Linux Tutorial

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, AMD drivers (AMD GPU ) and AMD driver signatures , HIP or C UDA drivers

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

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

B. View CPU and GPU Information

# CPU Information:

# GPU Information:

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

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

#Allow TCP Port 5901 for VNC

B. Install and Configure VNC Service

#Install VNC Service

#Run VNC Service

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

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

#Modified Command Image

#Restart VNC

C. Install VNC Viewer

Install VNC Viewer on your local device

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

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:

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

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.

Last updated