[Ubuntu 16.04 Deployment MeterSphere Tutorial]

This tutorial mainly introduces how to deploy MeterSphere online on Ubuntu 16.04

Environmental preparation

Install Ubuntu 16.04 on VMware Workstation

  1. Install VMware Workstation
  2. Install Ubuntu 16.04 on VMware Workstation, allocate 8g memory, 20g hard disk, 4-core processor, and can connect to the Internet

Install and start docker on Ubuntu

  • Refer to the docker installation tutorial , I use the manual installation method, first uninstall the old version, and then use the docker warehouse to install.
  • Start Docker: you need su first
su root

Then enter the correct username and password, and then do the following to start docker.

systemctl start docker

Install MeterSphere

After starting docker, enter:

curl -sSL https://resource.fit2cloud.com/metersphere/metersphere/releases/latest/download/quick_start.sh | bash

Normally you can see:
insert image description here

some problems

container mysql is unhealthy

  • The cause of the problem: the first installation failed, resulting in the creation of mysql in the opt/metersphere folder, which contains garbage files
  • Solution: delete opt/metersphere and reinstall

container system-setting is unhealthy

  • 问题原因:Your kernel does not support swap limit capabilities or the cgroup is not mounted
  • Solution: refer to the tutorial

Port mapping and share services to other computers in the LAN

Use port mapping to map the port of the service to the local host, refer to the tutorial

Guess you like

Origin blog.csdn.net/weixin_44200259/article/details/131846756