Ubuntu安装Jpom

简介: Ubuntu安装Jpom

沉默并非总是智慧的表现,但唠叨却永远是一项愚行——富兰克林

本机环境:

root@VampireAchao:~# lsb_release -d
Description:    Ubuntu 22.04.1 LTS
root@VampireAchao:~# java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (build 1.8.0_352-8u352-ga-1~22.04-b08)
OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)

安装服务端:

# 提前创建好文件夹 并且切换到对应到文件夹执行命令
mkdir -p /home/jpom/server/
apt install -y wget && wget -O install.sh https://jpom.top/docs/install.sh && bash install.sh Server jdk

输入y确定

报错了

root@VampireAchao:~# mkdir -p /home/jpom/server/
root@VampireAchao:~# apt install -y wget && wget -O install.sh https://jpom.top/docs/install.sh && bash install.sh Server jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21.2-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
--2022-11-23 10:19:58--  https://jpom.top/docs/install.sh
Resolving jpom.top (jpom.top)... 106.227.20.214, 106.227.20.215, 106.227.20.216, ...
Connecting to jpom.top (jpom.top)|106.227.20.214|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6176 (6.0K) [text/x-sh]
Saving to: ‘install.sh’
install.sh             100%[============================>]   6.03K  --.-KB/s    in 0s      
2022-11-23 10:19:59 (6.57 GB/s) - ‘install.sh’ saved [6176/6176]
install.sh: line 113: yum: command not found
开始检查 jdk
已经存在java环境/bin/java
默认安装目录 /usr/local/jpom-server, 是否使用此目录作为安装目录? 输入 y 确定, 否则请输入安装目录, 需要使用绝对路径 (注意: agent 和 server 不能装到同一个目录!):y
开始安装:Server  , 安装目录 /usr/local/jpom-server
--2022-11-23 10:20:03--  https://download.jpom.top/release/2.9.15/server-2.9.15-release.zip
Resolving download.jpom.top (download.jpom.top)... 106.227.20.215, 106.227.20.212, 106.227.20.217, ...
Connecting to download.jpom.top (download.jpom.top)|106.227.20.215|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 81243430 (77M) [application/zip]
Saving to: ‘Server.zip’
Server.zip             100%[============================>]  77.48M  12.8MB/s    in 5.8s    
2022-11-23 10:20:09 (13.5 MB/s) - ‘Server.zip’ saved [81243430/81243430]
install.sh: line 175: unzip: command not found
chmod: cannot access 'Server.sh': No such file or directory
bash: Server.sh: No such file or directory

删除目录

rm -r /home/jpom/

安装解压命令

apt install unzip

一直按回车

重新安装

# 提前创建好文件夹 并且切换到对应到文件夹执行命令
mkdir -p /home/jpom/server/
apt install -y wget && wget -O install.sh https://jpom.top/docs/install.sh && bash install.sh Server jdk

执行(我这里忘记cd /home/jpom/server/了,所以默认安装到/usr/local/jpom-server)了

root@VampireAchao:~# mkdir -p /home/jpom/server/
root@VampireAchao:~# apt install -y wget && wget -O install.sh https://jpom.top/docs/install.sh && bash install.sh Server jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21.2-2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
--2022-11-23 11:01:45--  https://jpom.top/docs/install.sh
Resolving jpom.top (jpom.top)... 106.227.20.212, 106.227.20.215, 106.227.20.214, ...
Connecting to jpom.top (jpom.top)|106.227.20.212|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6176 (6.0K) [text/x-sh]
Saving to: ‘install.sh’
install.sh             100%[============================>]   6.03K  --.-KB/s    in 0s      
2022-11-23 11:01:45 (7.30 GB/s) - ‘install.sh’ saved [6176/6176]
开始检查 jdk
已经存在java环境/bin/java
默认安装目录 /usr/local/jpom-server, 是否使用此目录作为安装目录? 输入 y 确定, 否则请输入安装目录, 需要使用绝对路径 (注意: agent 和 server 不能装到同一个目录!):y
开始安装:Server  , 安装目录 /usr/local/jpom-server
--2022-11-23 11:01:48--  https://download.jpom.top/release/2.9.15/server-2.9.15-release.zip
Resolving download.jpom.top (download.jpom.top)... 106.227.20.212, 106.227.20.211, 106.227.20.216, ...
Connecting to download.jpom.top (download.jpom.top)|106.227.20.212|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 81243430 (77M) [application/zip]
Saving to: ‘Server.zip’
Server.zip             100%[============================>]  77.48M  7.03MB/s    in 7.5s    
2022-11-23 11:01:56 (10.3 MB/s) - ‘Server.zip’ saved [81243430/81243430]
Archive:  Server.zip
   creating: lib/
  inflating: Server.sh               
  inflating: Server.bat              
  inflating: extConfig.yml           
  inflating: LICENSE                 
  inflating: lib/server-2.9.15.jar   
KeepBx-System-JpomServerApplication
/usr/local/jpom-server/
/usr/local/jpom-server/server.log
automatic running:server-2.9.15.jar
Jpom-Server Starting
       _
      | |
      | |_ __   ___  _ __ ___
  _   | | '_ \ / _ \| '_ ` _ \
 | |__| | |_) | (_) | | | | | |
  \____/| .__/ \___/|_| |_| |_|
        | |
        |_|
 ➜ Jpom \ (•◡•) / (v2.9.15)
Jpom[2.9.15] Current data path:/usr/local/jpom-server External configuration file path:file:/usr/local/jpom-server/extConfig.yml
Jpom Successful start preparation. start loading module
start load h2 db
h2 db Successfully loaded, url is 【jdbc:h2:/usr/local/jpom-server/db/Server;CACHE_SIZE=10240;MODE=MYSQL;LOCK_TIMEOUT=10000】
Server Successfully started,Can use happily => http://172.28.110.24:2122 【The current address is for reference only】
Time-consuming to start this time:4秒246毫秒
2022-11-23 11:02:01,085 WARN [pool-1-thread-2] i.j.s.u.TriggerTokenLogServer [TriggerTokenLogServer.java:156]- x:() TriggerToken status recover,user list empty
There is no docker service local java.io.IOException: com.sun.jna.LastErrorException: [2] No such file or directory

访问2122端口设置账号密码

懒得配置两步验证,忽略

相关文章
|
27天前
|
并行计算 Ubuntu Linux
Ubuntu学习笔记(五):18.04安装多版本CUDA
这篇博客文章介绍了在Ubuntu 18.04系统上如何安装和切换不同版本的CUDA,以及如何安装不同版本的cuDNN。
147 2
|
27天前
|
并行计算 PyTorch TensorFlow
Ubuntu安装笔记(一):安装显卡驱动、cuda/cudnn、Anaconda、Pytorch、Tensorflow、Opencv、Visdom、FFMPEG、卸载一些不必要的预装软件
这篇文章是关于如何在Ubuntu操作系统上安装显卡驱动、CUDA、CUDNN、Anaconda、PyTorch、TensorFlow、OpenCV、FFMPEG以及卸载不必要的预装软件的详细指南。
2366 3
|
21天前
|
Ubuntu Linux 测试技术
Linux系统之Ubuntu安装cockpit管理工具
【10月更文挑战第13天】Linux系统之Ubuntu安装cockpit管理工具
75 4
Linux系统之Ubuntu安装cockpit管理工具
|
26天前
|
Ubuntu 应用服务中间件 nginx
Ubuntu安装笔记(三):ffmpeg(3.2.16)源码编译opencv(3.4.0)
本文是关于Ubuntu系统中使用ffmpeg 3.2.16源码编译OpenCV 3.4.0的安装笔记,包括安装ffmpeg、编译OpenCV、卸载OpenCV以及常见报错处理。
108 2
Ubuntu安装笔记(三):ffmpeg(3.2.16)源码编译opencv(3.4.0)
|
26天前
|
Ubuntu Linux C语言
Ubuntu安装笔记(二):ubuntu18.04编译安装opencv 3.4.0 opencv_contrib3.4.0
本文介绍了在Ubuntu 18.04系统上编译安装OpenCV 3.4.0及其扩展包opencv_contrib 3.4.0的详细步骤,包括下载源码、安装依赖、配置CMake和编译安装,以及常见问题的解决方法。
63 1
Ubuntu安装笔记(二):ubuntu18.04编译安装opencv 3.4.0 opencv_contrib3.4.0
|
27天前
|
Ubuntu 虚拟化
软件安装(二):VMware ubuntu20.04 安装步骤
这篇文章是关于如何在VMware Workstation 16 Player上安装Ubuntu 20.04桌面版的详细步骤指南。
139 2
软件安装(二):VMware ubuntu20.04 安装步骤
|
27天前
|
PyTorch TensorFlow 算法框架/工具
Jetson环境安装(一):Ubuntu18.04安装pytorch、opencv、onnx、tensorflow、setuptools、pycuda....
本文提供了在Ubuntu 18.04操作系统的NVIDIA Jetson平台上安装深度学习和计算机视觉相关库的详细步骤,包括PyTorch、OpenCV、ONNX、TensorFlow等。
32 1
Jetson环境安装(一):Ubuntu18.04安装pytorch、opencv、onnx、tensorflow、setuptools、pycuda....
|
30天前
|
消息中间件 监控 Ubuntu
大数据-54 Kafka 安装配置 环境变量配置 启动服务 Ubuntu配置 ZooKeeper
大数据-54 Kafka 安装配置 环境变量配置 启动服务 Ubuntu配置 ZooKeeper
64 3
大数据-54 Kafka 安装配置 环境变量配置 启动服务 Ubuntu配置 ZooKeeper
|
22天前
|
Kubernetes Ubuntu Docker
从0开始搞K8S:使用Ubuntu进行安装(环境安装)
通过上述步骤,你已经在Ubuntu上成功搭建了一个基本的Kubernetes单节点集群。这只是开始,Kubernetes的世界广阔且深邃,接下来你可以尝试部署应用、了解Kubernetes的高级概念如Services、Deployments、Ingress等,以及探索如何利用Helm等工具进行应用管理,逐步提升你的Kubernetes技能树。记住,实践是最好的老师,不断实验与学习,你将逐渐掌握这一强大的容器编排技术。
62 1
|
26天前
|
Ubuntu Linux
软件安装(五):Ubuntu 18.04安装Teamviewer 看一遍就会
这篇文章介绍了在Ubuntu 18.04系统上通过图形界面和命令行两种方法安装TeamViewer远程控制软件的步骤。
26 2