闲置的服务器资源,拿来挂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应该是挂机时间和稳定性

END

本文标题:centos7运行Hentai@Home服务用于挂机

本文作者:宇宙最帅的男人

本文链接:https://lolicp.com/others/202426661.html

版权声明:转载或者引用本文内容请注明来源及原作者,本文著作权归作者 (宇宙最帅的男人) 所有。

除非另有说明,本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议

最后修改:2024 年 01 月 26 日
如果觉得我的文章对你有用,请随意赞赏