Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Basic H@H Installation & Seedbox Guide

 
post Mar 19 2017, 00:02
Post #1
Art3misBBO



Lurker
Group: Recruits
Posts: 9
Joined: 13-January 17
Level 37 (Apprentice)



(IMG:[i.art3m.is] https://i.art3m.is/u/1489863696.gif)

BASIC H@H SEEDBOX GUIDE
Written & Maintained by Art3misBBO

Disclaimer: This guide is WORK IN PROGRESS!
Please post feedback and suggestions. (IMG:[invalid] style_emoticons/default/smile.gif)

(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)
- TABLE OF CONTENTS -
Introduction
What is a Seedbox?
Pros and Cons
Seedbox Options
H@H Installation
Disclaimer
(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)



(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)


- Introduction -

Hello, and thanks for taking a look at my Hentai@Home guide!

This guide is made for people who are interested in investing money into rented hardware for Hentai@Home usage. If you're not interested in purchasing anything, you can still read this guide as it might have valuable information nonetheless.


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)


- What is a Seedbox? -

In short, a Seedbox is a remote server hosted in a high-bandwidth data center.

Seedboxes are commonly used on torrenting sites to have more privacy and seeding performance, however Seedboxes can also be used to keep H@H enabled 24/7.


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)


- Pros and Cons -

(IMG:[i.art3m.is] https://i.art3m.is/u/1489868533.png)


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)


- Seedbox Options -

There are a LOT of server hosts in the world. To make things easy, I've listed a few hosts here. Please note, that you might find something else, that might be potentially better. This list is based on my own personal experience and opinions.

Kimsufi.com (Recommended) *
SoYouStart.com

Online.net
FeralHosting.com

* I'm recommending Kimsufi due to their good price/quality ratio. I'm able to run ~10 websites, a torrenting software and H@H on the server without problems or major latency.
However, if you're only interested in using the server for H@H, feel free to take a look at the other options.


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)



- H@H Installation -
*This guide is currently only written to support the Ubuntu operating system
**WORK IN PROGRESS

Before reading this section, try to login to your server via SSH using a program like PuTTY. Usually the server host sends you the login details via email, or provides them to you after a successful purchase.

Once you've purchased the server you're ready install H@H and get started. Most of the time when buying a seedbox, the usual internet problems are resolved by default, so I won't go over that right now.

First of all, we need to check if the repositories are up to date. Simply run the following command:

sudo apt-get update

After the package update is done, check if Java is installed:

java -version

If Java hasn't been installed yet, execute the following command:

sudo apt-get install default-jre

Once Java has been installed, we need to install one more package to get started:

sudo apt-get install unzip

Alright. We're finally done installing packages. Now we can get into installing H@H.
Run the following commands:

sudo mkdir /home/YourUsername/hathclient
cd /home/YourUsername/hathclient
sudo wget https://repo.e-hentai.org/hath/HentaiAtHome_1.4.1.zip
sudo unzip HentaiAtHome_1.4.1.zip

Once you've ran those commands, we're going to make a "tmux" session to keep H@H active even when the SSH connection isn't open. Execute the following commands:

tmux
java -jar HentaiAtHome.jar

If you don't have a H@H client set up, click here and do so. Once you're configured the client, re-open the SSH window and enter the Client ID and Client Key when requested.

If all goes well, the client successfully connects to the H@H network and starts doing it's magic. When you want to disconnect from the tmux session, simply enter the following key combination:

CTRL + B Then D

If you ever need to re-access the session (to shut down the client, for example) enter the following commands:

tmux list-sessions

This command lists all the active sessions. If you've only used tmux for H@H, the ID of the session should be 0. Simply use the following command to re-access the session:

tmux a -t 0


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)


- Disclaimer -

This guide is heavily Work In Progress!
Please post your feedback and suggestions. (IMG:[invalid] style_emoticons/default/smile.gif)


(IMG:[i.art3m.is] https://i.art3m.is/u/1489866048.png)

Updated:
18.3.2017


This post has been edited by Art3misBBO: Mar 19 2017, 00:12
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 19 2017, 00:08
Post #2
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


Ouch, centre aligned stuff does not look good. It is hard to read.

And
QUOTE
If Java hasn't been installed yet, execute the following command:
I believe that the major newbie problem is not that. A newbie would not know which output means that java is installed and which means it is installed.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 19 2017, 00:11
Post #3
Art3misBBO



Lurker
Group: Recruits
Posts: 9
Joined: 13-January 17
Level 37 (Apprentice)


QUOTE(blue penguin @ Mar 19 2017, 00:08) *

Ouch, centre aligned stuff does not look good. It is hard to read.

AndI believe that the major newbie problem is not that. A newbie would not know which output means that java is installed and which means it is installed.


I might change the alignment at some point, looks good enough in my eyes at the moment though.

The guide is WIP, I'll work on adding images to make things easier to understand in due time.

Thanks for the feedback!

EDIT Removed center alignment for main content.

This post has been edited by Art3misBBO: Mar 19 2017, 00:13
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 19 2017, 00:35
Post #4
blue penguin



in umbra, igitur, pugnabimus
***********
Group: Gold Star Club
Posts: 10,046
Joined: 24-March 12
Level 500 (Godslayer)


QUOTE(Art3misBBO @ Mar 18 2017, 22:11) *
Removed center alignment for main content.
Much better, thanks.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 20 2017, 09:01
Post #5
mozilla browser



Nutscrape Navigator
*******
Group: Gold Star Club
Posts: 2,131
Joined: 22-December 11
Level 500 (Godslayer)


there's a bunch of stuff that newbies might want, even if they don't yet know that they want it, such as: start H@H automatically on reboot, isolate H@H from their normal user account, apply safe patches automatically, ...

If they just want to get it to work and aren't particularly interested in the how and why, this was my previous attempt. It probably just needs to be updated with the latest URL/filename.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 20 2017, 12:18
Post #6
Sapo84



Deus lo vult
********
Group: Gold Star Club
Posts: 3,332
Joined: 14-June 09
Level 500 (Ponyslayer)


I'm pretty sure that running wget and unzip as root is a bad idea.
You're working in your home, you shouldn't need sudo at all.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Mar 21 2017, 03:31
Post #7
mozilla browser



Nutscrape Navigator
*******
Group: Gold Star Club
Posts: 2,131
Joined: 22-December 11
Level 500 (Godslayer)


QUOTE(Sapo84 @ Mar 20 2017, 18:18) *
I'm pretty sure that running wget and unzip as root is a bad idea.


Aye. It should not even work since running mkdir and unzip as roor means they get created based on root's umask, which should not allow normal users to modify it. Then you'd need to change the ownership/permissions or (gasp) run H@H as root.

QUOTE

You're working in your home, you shouldn't need sudo at all.


Still required to install jre and other software.

Mostly, those running at home will use whatever OS they already have. If that OS is Windows/OSX, these instructions don't apply. If that OS is a debian derivative, they probably don't need these instructions (IMG:[invalid] style_emoticons/default/unsure.gif) So these are probably more useful for those who have leased a server somewhere.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 3 2017, 21:53
Post #8
Sokono



Newcomer
*
Group: Gold Star Club
Posts: 45
Joined: 19-May 10
Level 194 (Ascended)


Is there a way to have this thing autorun when it shuts off?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 6 2017, 18:50
Post #9
ALL_MIGHT



Becoming addicted to LN and WN
*******
Group: Gold Star Club
Posts: 1,548
Joined: 14-October 16
Level 460 (Godslayer)


Is there a way to Run H@h on a private IP? because in this case client always fails to connect.
As after reading wiki i found that IP of system has to be public.

This post has been edited by ALL_MIGHT: May 6 2017, 18:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 7 2017, 04:27
Post #10
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,581
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(ALL_MIGHT @ May 6 2017, 16:50) *
Is there a way to Run H@h on a private IP? because in this case client always fails to connect.
As after reading wiki i found that IP of system has to be public.
No, a public IP is essential, and there are no workarounds, unfortunately. (This is so that gallery browsers can connect to you via
CODE
<img id="img" src="http://123.456.78.9/lin/52477042/87bd5a94c8d2c2ad9ba7283d7c0bb0a8ebc06ff8-1010473-1018-1500-jpg/780/j72a7ck8w8q/n03.jpg"...
)
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2017, 06:46
Post #11
pika5baba



Lurker
Group: Lurkers
Posts: 1
Joined: 11-May 17


hello (IMG:[invalid] style_emoticons/default/smile.gif) (IMG:[invalid] style_emoticons/default/smile.gif) i want to ask i don't know where to get my cliend ID and key can you help me?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 11 2017, 07:10
Post #12
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,581
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(pika5baba @ May 11 2017, 04:46) *
hello (IMG:[invalid] style_emoticons/default/smile.gif) (IMG:[invalid] style_emoticons/default/smile.gif) i want to ask i don't know where to get my cliend ID and key can you help me?
See the sticky at the top of this forum:
https://forums.e-hentai.org/index.php?showtopic=183923

Note that this guy was asking around on IRC for someone to PM him a speedtest with sufficient upload speed to qualify for H@H because his own speed is too low - that's basically fraud, don't do that.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 12 2017, 07:35
Post #13
sakuracircle



Casual Poster
***
Group: Gold Star Club
Posts: 154
Joined: 21-May 10
Level 288 (Godslayer)


I'm gonna install a hath client on a Centos 7 VPS. Can I assume that I can keep it running like the tmux using the "screen" session?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 12 2017, 07:41
Post #14
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,581
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(TennoujiSaburou @ May 12 2017, 05:35) *
I'm gonna install a hath client on a Centos 7 VPS. Can I assume that I can keep it running like the tmux using the "screen" session?
Yep, screen is probably the easiest option.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 12 2017, 07:58
Post #15
sakuracircle



Casual Poster
***
Group: Gold Star Club
Posts: 154
Joined: 21-May 10
Level 288 (Godslayer)


We only need to enter the client id/key at the first startup of the H@H client, right? Does this mean that after the first run, I can just make an auto-run.sh file to root home?

I also want to ask if I also have to execute something like "systemctl enabel default-jre" to autorun the Java service on boot.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 12 2017, 08:15
Post #16
Superlatanium



Dreaming of optimizing the system
**********
Group: Gold Star Club
Posts: 7,581
Joined: 27-November 13
Level 500 (Godslayer)


QUOTE(TennoujiSaburou @ May 12 2017, 05:58) *
We only need to enter the client id/key at the first startup of the H@H client, right? Does this mean that after the first run, I can just make an auto-run.sh file to root home?
You only need to enter information the first time, so autorun should be easy. I don't think you need anything running as long as Java is installed.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

 
post May 24 2017, 15:39
Post #17
NihilD



Casual Poster
***
Group: Gold Star Club
Posts: 141
Joined: 18-July 11
Level 113 (Lord)


A quick question, I followed this tutorial successfully a couple of days ago and my server has been running without issues. However it seems that it's hitrate and Hath generation is apparently very low (0.2 hitrate/min and 1.2 Hath/day). Is there anything in the H@H client configuration that can be done to better this or do I just have to wait? IF it's of any help I have 400GB dedicated to H@H with a 10Gbit connection in Netherlands.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post May 24 2017, 16:37
Post #18
runareo



Casual Poster
***
Group: Members
Posts: 141
Joined: 20-May 16
Level 162 (Ascended)


QUOTE(Sircrab @ May 24 2017, 13:39) *

Is there anything in the H@H client configuration that can be done to better this or do I just have to wait? IF it's of any help I have 400GB dedicated to H@H with a 10Gbit connection in Netherlands.

If your quality metric is high, you just need to wait to get some static ranges assigned to your client.
You can view the assigned static ranges using the H@H client, or by selecting the client here.
You can increase your cache size if you want your client to do more work after the static range cap has been reached for your configured disk cache size (around 2k for 400 gigs).
As always, you can read the EHWiki for more information.

This post has been edited by runareo: May 24 2017, 17:21
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 7th February 2025 - 19:58