This tutorial mainly introduces how to deploy MeterSphere online on Ubuntu 16.04
Environmental preparation
Install Ubuntu 16.04 on VMware Workstation
- Install VMware Workstation
- 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:
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