Handle本地部署
Handle 启动
1.安装jdk11
rpm -qa | grep jdk
rpm -e --nodeps java-1.8.0-openjdk-1.8.0.412.b08-1.el7_9.x86_64
yum install -y java-11-openjdk java-11-openjdk-devel
1.1检查java
java -version
2.安装handle
下载地址
https://www.handle.net/download_hnr.html
2.1.拖进服务器
$ tar -zxvf handle-9.3.0-distribution.tar.gz
$ mkdir /opt/hs
$ mv handle-9.3.0 /opt/hs/
2.2.创建本地handle服务的数据存放文件夹
$ mkdir -p /opt/hs/svr-1
2.3.安装
$ cd /opt/hs
$ ./handle-9.3.0/bin/hdl-setup-server svr-1/
[root@zkpk hs]# ./handle-9.3.0/bin/hdl-setup-server svr-1/To configure your new Handle server, please answer
the questions which follow; default answers, shown in
[square brackets] when available, can be chosen by
pressing Enter.# 搭建的单节点服务器,所以选择"是"主服务
Will this be a "primary" server (ie, not a mirror of another server)?(y/n) [y]:
# 只用到ip4,所以关闭双栈
Will this be a dual-stack server (accessible on both IPv6 and IPv4)?(y/n) [n]:
# 输入可以访问到该机器的IP,如我这里输入的是服务器在局域网中的ip
Through what network-accessible IP address should clients connect to this server? [192.168.9.160]: If different, enter the IP address to which the server should bind. [192.168.9.160]: 192.168.6.110
# 使用默认的端口
Enter the (TCP/UDP) port number this server will listen to [2641]:
# 使用默认的端口
What port number will the HTTP interface be listening to? [8000]:
# 是否保存访问记录
Would you like to log all accesses to this s