51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

centos7运行Hentai@Home服务用于挂机

闲置的服务器资源,拿来挂e-hentai积分。

初始化环境

服务器专门拿来用的,建议放到存储空间大的目录下。

[root@lolicp ~]# yum install -y java wget unzip tmux
[root@lolicp ~]# wget https://repo.e-hentai.org/hath/HentaiAtHome_1.6.2.zip
[root@lolicp ~]# unzip HentaiAtHome_1.6.2.zip
Archive:  HentaiAtHome_1.6.2.zip
 extracting: autostartgui.bat
  inflating: HentaiAtHome.jar
  inflating: HentaiAtHomeGUI.jar

启动服务

第一次需要手动设置Client IDClient Key

因为是前台运行,所以需要tmux命令创建一个窗口,防止中断。

[root@lolicp ~]# tmux
[root@lolicp ~]# java -jar HentaiAtHome.jar
2024-01-26T01:11:40Z [info] Hentai@Home 1.6.2 (Build 160) starting up
2024-01-26T01:11:40Z [info] Copyright (c) 2008-2023, E-Hentai.org - all rights reserved.
2024-01-26T01:11:40Z [info] This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v3 license.
2024-01-26T01:11:40Z [info] Before you can use this client, you will have to register it at https://e-hentai.org/hentaiathome.php
2024-01-26T01:11:40Z [info] IMPORTANT: YOU NEED A SEPARATE IDENT FOR EACH CLIENT YOU WANT TO RUN.
2024-01-26T01:11:40Z [info] DO NOT ENTER AN IDENT THAT WAS ASSIGNED FOR A DIFFERENT CLIENT UNLESS IT HAS BEEN RETIRED.
2024-01-26T01:11:40Z [info] After registering, enter your ID and Key below to start your client.
2024-01-26T01:11:40Z [info] (You will only have to do this once.)
Enter Client ID: 
Enter Client Key:

启动完成后可以前往https://e-hentai.org/hentaiathome.php查看客户端状态。
根据点击量获得GP,Hath应该是挂机时间和稳定性

赞(0)
未经允许不得转载:工具盒子 » centos7运行Hentai@Home服务用于挂机