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端口设置账号密码

懒得配置两步验证,忽略

相关文章
|
9天前
|
Ubuntu Shell 网络安全
安装了ubuntu虚拟机后发现shell无法连接 ubuntu开启ssh连接
【8月更文挑战第23天】安装了ubuntu虚拟机后发现shell无法连接
46 6
|
2天前
|
Ubuntu Shell C++
在Ubuntu18.04上安装ros2的环境,ros2的常用命令:播放包、录制包等
在Ubuntu18.04上安装ros2的环境,ros2的常用命令:播放包、录制包等
9 1
|
2天前
|
Ubuntu Docker 索引
2024年最新版 Ubuntu 20+ 上安装 Docker
这篇文章提供了在Ubuntu 20+版本上安装Docker的详细步骤,包括更新软件包索引、安装依赖包、添加Docker官方GPG密钥、设置Docker稳定版仓库、安装Docker CE以及验证安装是否成功,并指导如何将用户添加到docker组以非root用户身份运行Docker。
|
8天前
|
Ubuntu Linux 开发工具
【事件中心 Azure Event Hub】在Linux环境中(Ubuntu)安装Logstash的简易步骤及配置连接到Event Hub
【事件中心 Azure Event Hub】在Linux环境中(Ubuntu)安装Logstash的简易步骤及配置连接到Event Hub
|
10天前
|
Ubuntu 网络安全 C语言
【VirtualBox安装Ubuntu过程记录】
【VirtualBox安装Ubuntu过程记录】
30 2
|
10天前
|
Ubuntu Linux Windows
如何下载并安装Ubuntu22.04
本文是一份详细的Ubuntu 22.04 LTS系统安装指南,包括从Ubuntu官网下载镜像、使用balenaEtcher工具烧录镜像到U盘,以及通过U盘启动并安装Ubuntu系统的完整步骤。
20 0
如何下载并安装Ubuntu22.04
|
10天前
|
Ubuntu Apache
Ubuntu20.04下一键安装Moveit
本文提供了一个一键安装Moveit的脚本工具,旨在帮助中国地区的用户在Ubuntu 20.04系统上安装Moveit并配置相关环境。脚本包括安装必要包、创建catkin工作空间、克隆Moveit源代码和示例代码、使用rosdep安装依赖以及构建工作空间,并提供了详细的使用说明和源码。
25 0
Ubuntu20.04下一键安装Moveit
|
10天前
|
Ubuntu Apache
Ubuntu20.04下一键安装ROS1 Noetic
本文提供了一个简化在Ubuntu 20.04系统上安装ROS1 Noetic过程的一键安装脚本工具,该脚本通过优化配置和使用清华大学镜像源,加速了国内用户的下载速度,并自动完成环境设置和依赖安装,同时提供了详细的使用说明和源码。
89 0
Ubuntu20.04下一键安装ROS1 Noetic
|
13天前
|
Ubuntu Shell Docker
在Docker环境下如何“安装”Ubuntu
【8月更文挑战第18天】在Docker环境中“安装”Ubuntu实际上是指利用Ubuntu镜像构建容器。
45 1
|
15天前
|
Ubuntu 安全 测试技术
Ubuntu 22.04 Samba 安装和配置
SMB(Server Message Block)是一种跨平台的文件共享协议,它允许不同操作系统之间的文件和打印机共享。在本文中,我们将详细介绍如何在 Ubuntu 服务器上部署和配置一个 SMB 服务器,并涵盖多通道配置、性能测试、安全最佳实践以及一些常见问题。【8月更文挑战第1天】
44 1
下一篇
云函数