首页 > 其他分享 >MeterSphere安装

MeterSphere安装

时间:2023-12-18 10:02:02浏览次数:33  
标签:... MeterSphere -- metersphere ms v1.6 release 安装

介绍
MeterSphere 是一站式开源持续测试平台,涵盖测试跟踪、接口测试、性能测试、团队协作等功能,兼容JMeter 等开源标准,有效助力开发和测试团队充分利用云弹性进行高度可扩展的自动化测试,加速高质量软件的交付。

前提条件
1、需要一台不小于8G内存且可以访问互联网的64位Linux主机;
2、以root用户执行如下命令一键安装MeterSphere。

1、脚本下载并安装

[root@master1 ~]# curl -sSL https://github.com/metersphere/metersphere/releases/latest/download/quick_start.sh | sh

--2021-01-13 06:18:03--  https://github.com/metersphere/metersphere/releases/latest/download/metersphere-release-v1.6.2.tar.gz
Resolving github.com (github.com)... 13.250.177.223
Connecting to github.com (github.com)|13.250.177.223|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github.com/metersphere/metersphere/releases/download/v1.6.2/metersphere-release-v1.6.2.tar.gz [following]
--2021-01-13 06:18:04--  https://github.com/metersphere/metersphere/releases/download/v1.6.2/metersphere-release-v1.6.2.tar.gz
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/237867883/ef1cd680-5037-11eb-9e47-af03443a9c33?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210113T111804Z&X-Amz-Expires=300&X-Amz-Signature=8ef19220d5244c90fad92c9a6f5e7ad41000a066cf32190d7a171f3dcfb56d3f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=237867883&response-content-disposition=attachment%3B%20filename%3Dmetersphere-release-v1.6.2.tar.gz&response-content-type=application%2Foctet-stream [following]
--2021-01-13 06:18:04--  https://github-production-release-asset-2e65be.s3.amazonaws.com/237867883/ef1cd680-5037-11eb-9e47-af03443a9c33?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210113%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210113T111804Z&X-Amz-Expires=300&X-Amz-Signature=8ef19220d5244c90fad92c9a6f5e7ad41000a066cf32190d7a171f3dcfb56d3f&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=237867883&response-content-disposition=attachment%3B%20filename%3Dmetersphere-release-v1.6.2.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.100.116
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.100.116|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8039 (7.9K) [application/octet-stream]
Saving to: ‘metersphere-release-v1.6.2.tar.gz’

100%[========================================================================================================================================================================>] 8,039       11.3KB/s   in 0.7s   

2021-01-13 06:18:06 (11.3 KB/s) - ‘metersphere-release-v1.6.2.tar.gz’ saved [8039/8039]

metersphere-release-v1.6.2/
metersphere-release-v1.6.2/quick_start.sh
metersphere-release-v1.6.2/msctl
metersphere-release-v1.6.2/install.sh
metersphere-release-v1.6.2/metersphere/
metersphere-release-v1.6.2/metersphere/docker-compose-kafka.yml
metersphere-release-v1.6.2/metersphere/docker-compose-node-controller.yml
metersphere-release-v1.6.2/metersphere/docker-compose-mysql.yml
metersphere-release-v1.6.2/metersphere/conf/
metersphere-release-v1.6.2/metersphere/conf/my.cnf
metersphere-release-v1.6.2/metersphere/conf/version
metersphere-release-v1.6.2/metersphere/conf/metersphere.properties
metersphere-release-v1.6.2/metersphere/version
metersphere-release-v1.6.2/metersphere/docker-compose-base.yml
metersphere-release-v1.6.2/metersphere/bin/
metersphere-release-v1.6.2/metersphere/bin/mysql/
metersphere-release-v1.6.2/metersphere/bin/mysql/init.sql
metersphere-release-v1.6.2/metersphere/docker-compose-server.yml
metersphere-release-v1.6.2/metersphere/logs/
metersphere-release-v1.6.2/metersphere/logs/README.md
metersphere-release-v1.6.2/install.conf
metersphere-release-v1.6.2/Jenkinsfile
metersphere-release-v1.6.2/README.md
======================= 开始安装 =======================
time: Wed Jan 13 06:18:06 EST 2021
[MeterSphere Log]: 检测到 Docker 已安装,跳过安装步骤 
[MeterSphere Log]: 启动 Docker  
Redirecting to /bin/systemctl start docker.service
which: no docker-compose in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin)
[MeterSphere Log]: ... 在线安装 docker-compose 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   651  100   651    0     0   1918      0 --:--:-- --:--:-- --:--:--  1914
100 11.6M  100 11.6M    0     0  21361      0  0:09:32  0:09:32 --:--:-- 26035
[MeterSphere Log]: 拉取镜像 
Pulling ms-node-controller ... done
Pulling mysql              ... done
Pulling ms-server          ... done
Pulling zookeeper          ... done
Pulling kafka              ... done
Pulling ms-data-streaming  ... done
5.3-ms14: Pulling from metersphere/jmeter-master
801bfaa63ef2: Pulling fs layer
59f8794b5182: Pulling fs layer
b0c05bf17fb2: Pulling fs layer
4e59daf8f2d1: Pulling fs layer
a8d3bfc40c06: Pulling fs layer
07be4530e3ef: Pulling fs layer
4e59daf8f2d1: Waiting
07be4530e3ef: Waiting
a8d3bfc40c06: Waiting
b0c05bf17fb2: Verifying Checksum
4e59daf8f2d1: Verifying Checksum
4e59daf8f2d1: Download complete
a8d3bfc40c06: Verifying Checksum
a8d3bfc40c06: Download complete
801bfaa63ef2: Verifying Checksum
801bfaa63ef2: Download complete
801bfaa63ef2: Pull complete
07be4530e3ef: Verifying Checksum
07be4530e3ef: Download complete
59f8794b5182: Verifying Checksum
59f8794b5182: Download complete
59f8794b5182: Pull complete
b0c05bf17fb2: Pull complete
4e59daf8f2d1: Pull complete
a8d3bfc40c06: Pull complete
07be4530e3ef: Pull complete
Digest: sha256:37aabd433e70ba5de7d9581ffb470979e30d5348e4cb2a0339a45415d5bc97c2
Status: Downloaded newer image for registry.cn-qingdao.aliyuncs.com/metersphere/jmeter-master:5.3-ms14
registry.cn-qingdao.aliyuncs.com/metersphere/jmeter-master:5.3-ms14
/root/metersphere-release-v1.6.2
[MeterSphere Log]: 启动服务 
Removing network metersphere_ms-network
Network metersphere_ms-network not found.
Removing volume metersphere_ms-conf
Volume metersphere_ms-conf not found.
Removing volume metersphere_ms-logs
Volume metersphere_ms-logs not found.
Removing volume metersphere_ms-data
Volume metersphere_ms-data not found.
Removing volume metersphere_ms-jmeter-data
Volume metersphere_ms-jmeter-data not found.
Removing volume metersphere_ms-mysql-data
Volume metersphere_ms-mysql-data not found.
Removing volume metersphere_ms-zookeeper-data
Volume metersphere_ms-zookeeper-data not found.
Removing volume metersphere_ms-kafka-data
Volume metersphere_ms-kafka-data not found.
Creating network "metersphere_ms-network" with the default driver
Creating volume "metersphere_ms-conf" with default driver
Creating volume "metersphere_ms-logs" with default driver
Creating volume "metersphere_ms-data" with default driver
Creating volume "metersphere_ms-jmeter-data" with default driver
Creating volume "metersphere_ms-mysql-data" with default driver
Creating volume "metersphere_ms-zookeeper-data" with default driver
Creating volume "metersphere_ms-kafka-data" with default driver
Creating mysql              ... done
Creating ms-node-controller ... done
Creating zookeeper          ... done
Creating kafka              ... done
Creating ms-data-streaming  ... done
Creating ms-server          ... done

       Name                     Command                       State                               Ports                     
----------------------------------------------------------------------------------------------------------------------------
kafka                /opt/bitnami/scripts/kafka ...   Up (healthy)            0.0.0.0:19092->19092/tcp, 9092/tcp            
ms-data-streaming    /deployments/run-java.sh         Up (health: starting)   0.0.0.0:8084->8084/tcp, 0.0.0.0:8085->8085/tcp
ms-node-controller   /deployments/run-java.sh         Up (healthy)            0.0.0.0:8082->8082/tcp                        
ms-server            /deployments/run-java.sh         Up (health: starting)   0.0.0.0:8081->8081/tcp                        
mysql                docker-entrypoint.sh mysqld      Up (healthy)            0.0.0.0:3307->3306/tcp, 33060/tcp             
zookeeper            /opt/bitnami/scripts/zooke ...   Up (healthy)            2181/tcp, 2888/tcp, 3888/tcp, 8080/tcp        
======================= 安装完成 =======================

请通过以下方式访问:
 URL: http://$LOCAL_IP:8081
 用户名: admin
 初始密码: metersphere
您可以使用命令 'msctl status' 检查服务运行情况.

标签:...,MeterSphere,--,metersphere,ms,v1.6,release,安装
From: https://blog.51cto.com/u_14620403/8868247

相关文章

  • k8s集群安装KubeSphere3.0
    架构:前提条件:k8s集群版本必须是1.15.x,1.16.x,1.17.x,or1.18.x必须有默认的storageclass内存和cpu最低要求:CPU>1Core,Memory>2G安装并设置默认storageclass略过,可以看之前的我发过的博客1.安装yaml文件(先安装第一个,再安装第二个)kubectlapply-fhttps://github.com......
  • cpp环境搭建 - MinGW和cmake安装
    【MinGW】MinGW主要用于在Windows上使用gnu下的相关编译工具,比如:gcc。下载地址1:MinGW-w64-for32and64bitWindows-Browse/mingw-w64atSourceForge.net下载地址2:Releases·niXman/mingw-builds-binaries(github.com)下载地址3:WinLibs-GCC+MinGW-w64compilerf......
  • rsync安装步骤(服务端、客户端)
    需求:需要定时把客户机上的文件增量同步到服务器上,达到备份效果。环境:服务器:linux系统客户机:windows系统思路:1.linux上安装rsync服务端;2.windows上安装rsync客户端;3.客户端上每5分钟触发一次同步。一、在linux上,安装rsync服务端:手动安装rsync:1.rsync下载https://do......
  • 使用 nssm 把 bat 安装成 windows 服务
    一、背景:目的:客户端电脑在指定文件夹下会不定时地产生一些新的文件,现在要对这些文件进行远程备份到服务器上。工具:使用rsync进行文件的备份。rsync优秀的好像是差分算法,可以快速比较本地文件与服务器上文件的差异并增量式地推送新文件到服务器上。遇到的问题:rsync不会自......
  • Nginx的安装
     文章目录1、Linux安装Nginx(1)安装Nginx依赖(2)安装Nginx2、阿里云配置安全组(1)开放80端口3、Nginx配置开机启动(1)开机启动微信公众号 1、Linux安装Nginx(1)安装Nginx依赖1、GCC,nginx是C语言开发yuminstallgcc-c++ PCRE,(Pe......
  • 关于查看ubuntu下安装的字体
    importmatplotlib.font_managerasfm#获取系统上的所有可用字体font_list=fm.fontManager.ttflist#打印字体列表forfontinfont_list:print(font.name) 这将打印出系统上安装的所有可用字体的名称。如果你只想查看中文字体,可以使用以下代码:importmatplotlib.fo......
  • Centos7的宝塔系统上用Docker安装Openwrt
    Docker安装Openwrt,我是按照林中静月下仙的博客做的 主机是Dell的E7250I5-5300U先安装Centos7.9,然后使用手机做热点安装了宝塔系统,大约用了五六个小时。然后在宝塔系统的软件商店搜索,安装 设置加速url 拉取openwrt镜像【registry.cn-shanghai.aliyuncs.com/suling/......
  • win11 安装pytorch
    第一步骤,是安装cuda和cudnn,看这个链接。https://zhuanlan.zhihu.com/p/586913250。重点就是如何安装pytorch了,因为网络慢的原因  首先,直接使用下面这个命令不好使,如果你的科上网流量非常足的话,没问题的。我用aconda,差不多就安装好了,可是比较可惜的是,机器内存不够(32G),aconda安......
  • k8s集群安装
    在三台机器上都执行如下命令操作:1、关闭防火墙systemctlstopfirewalldsystemctldisablefirewalld2、关闭selinuxsed-i's/enforceing/disabled/'/etc/selinux/config#永久关闭setenforce0#临时关闭3、关闭swapswapoff-a#临时关闭vim/etc/fst......
  • docker从0安装Jenkins
    docker从0安装JenkinsUbuntu初始化sudoapt-getinstallopenssh-serversudovim/etc/ssh/sshd_config设置静态IPcd/etc/netplan···network:version:2renderer:NetworkManagerethernets:ens33:#网卡名称dhcp4:no#关闭dhcp......