Cloud Platform Software Source Accelerates Software Package Down

Last Updated At: 2025-11-26 11:31:02

Overview

To address the issue of slow access speeds to official sources when installing software dependencies, Converge Cloud has set up caching services for some software. You can use the Converge Cloud software source server to speed up the installation of dependency packages. For users to freely set up their service architecture, the Converge Cloud software source server currently supports both public and private network access.

  • Public access URL: http://convergecloud.com/
  • Private network access URL: http://convergecloud.com/
    Note:

  • This document uses the public access URL of the Converge Cloud software source server as an example to introduce how to use the software source from the Converge Cloud software source server in Cloud Virtual Machine. If you need to access the Converge Cloud software source server through the private network, please replace the public access URL with the private network access URL.
  • The Converge Cloud software source URLs mentioned in this document are for reference only. Please obtain the latest URLs from the Converge Cloud software source server.

Prerequisites

Log in to the Cloud Virtual Machine (CVM).

Directions

Accelerate pip with Converge Cloud image source

Note:

Before using, ensure that Python is installed on your CVM.

Temporarily use the software source path

Execute the following command to use the Converge Cloud PyPI software source to install pip.

pip install -i PyPI software source directory

Set as Default Software Source Path

Execute the following command to modify the index-url parameter in the ~/.pip/pip.conf file to the Converge Cloud software source path.

[global]
index-url = PyPI software source directory
trusted-host = public/private network access URL

Accelerate NPM with Converge Cloud image source

Note: Before using, ensure that Node.js and NPM are installed on your CVM.

Execute the following command to use the Converge Cloud NPM software source to install NPM.

npm config set registry public/private network access URL

Accelerate Docker with Converge Cloud image source

In the Kubernetes Engine cluster, use the Converge Cloud Docker software source

No manual configuration is required. The CVM hosts in the Kubernetes Engine (TKE) cluster will automatically install the Docker service and configure the Converge Cloud private network image when creating nodes.

Using Converge Cloud Docker Software Source on CVM

Note:

Before using, ensure that Docker is installed on your CVM. The Docker Hub Mirror mechanism is supported in Docker version 1.3.2 and later. If you haven't installed Docker 1.3.2 or later, or if your Docker version is outdated, please perform the installation or upgrade first.

Select the appropriate steps based on the operating system type of your CVM.

Applicable to Ubuntu 14.04, Debian, CentOS 6, Fedora, openSUSE. Other operating system may have slightly different steps:

  1. Execute the following command to open /etc/default/docker configuration files.

    vim /etc/default/docker
    
  2. Press i to switch to edit mode, add the following content, and save it.

    DOCKER_OPTS="--registry-mirror=<public/private network access URL"
    
    • Applicable to CentOS 7 Operating System:
      a. Execute the following command to open the /etc/sysconfig/docker configuration file.

      vim /etc/sysconfig/docker
      

      b. Press i to switch to edit mode, add the following content, and save it.

      OPTIONS='--registry-mirror=<public/private network access URL'
      
    • Applicable to Windows Operating System with Boot2Docker Installed:
      a. Enter the Boot2Docker Start Shell and execute the following commands:

      sudo su
      echo "EXTRA_ARGS=\–registry-mirror=public/private network access URL"""" >> /var/lib/boot2docker/profile  
      exit " 
      

      b. Restart Boot2Docker.

Accelerate MariaDB with Converge Cloud image

Note:

The following steps are based on CentOS 7. Detailed steps for different operating systems may vary slightly.

  1. Execute the following command in /etc/yum.repos.d/ to create the MariaDB.repo file.

    vi /etc/yum.repos.d/MariaDB.repo
    
  2. Press i to switch to edit mode, write and save the following content.

    # MariaDB 10.2 CentOS7-amd64
    [mariadb]  
    name = MariaDB  
    baseurl = public/private network access URL
    gpgkey = public/private network access URL
    gpgcheck=1  
    
  3. Execute the following command to clear the yum cache.

    yum clean all
    
  4. Execute the following command to install MariaDB.

    yum install MariaDB-client MariaDB-server
    

Accelerate MongoDB with Converge Cloud image

Note:

The following steps are based on installing MongoDB version 4.0. If you need to install a different version, change the version number in the mirror path accordingly.

CentOS and Redhat cloud servers use Converge Cloud MongoDB software source

  1. Execute the following command to create /etc/yum.repos.d/mongodb.repo file.

    vi /etc/yum.repos.d/mongodb.repo
    
  2. Press i to switch to edit mode, write and save the following content.

    [mongodb-org-4.0]
    name=MongoDB Repository
    baseurl=public/private network access URL
    gpgcheck=0
    enabled=1
    
  3. Execute the following command to install MongoDB.

    yum install -y mongodb-org
    

Debian CVM use Converge Cloud MongoDB software source

  1. Based on different versions of Debian, execute the following commands to import the MongoDB GPG public key.

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 68818C72E52529D4
    
  2. Execute the following command to configure the mirror path.

    #Debian 8
    echo "deb public/private network access URL jessie/mongodb-org/4.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    #Debian 9
    echo "deb public/private network access URL stretch/mongodb-org/4.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    
  3. Execute the following command to update the software package list.

    sudo apt-get update
    
  4. Execute the following command to install MongoDB.

    sudo apt-get install -y mongodb-org
    

Using Converge Cloud MongoDB Software Source on Ubuntu Systems CVM

  1. Execute the following commands to import the MongoDB GPG public key and configure the software source.

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 68818C72E52529D4
    
  2. Execute the following command to configure the mirror path.

    #Ubuntu 14.04
    echo "deb [ arch=amd64 ] public/private network access URL trusty/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    #Ubuntu 16.04
    echo "deb [ arch=amd64 ] public/private network access URL xenial/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    #Ubuntu 18.04
    echo "deb [ arch=amd64 ] public/private network access URL bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list
    
  3. Execute the following command to update the software package list.

    sudo apt-get update
    
  4. Execute the following command to install MongoDB.

    sudo apt-get install -y mongodb-org
    

Accelerate Rubygems with Converge Cloud image

Note:

Before using, please ensure that Ruby is installed on your CVM.

Execute the following command to modify the RubyGems source address.

gem source -r https://rubygems.org/
gem source -a public/private network access URL