|
|
| (39 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| (draft)
| |
|
| |
|
| ==Prerequisites==
| |
| * Basic familiarity with Linux.
| |
|
| |
| * A Linux server running '''Debian version 9''' (''Stretch'') or newer, or '''Ubuntu version 16''' (''Xenial Xerus'') or newer.<br>To use earlier versions you will need to determine how to install a '''Java 8''' runtime, which may not be a straightforward process and is beyond the scope of this guide.
| |
|
| |
| * Root access to your server (i.e. <code>su</code>/<code>sudo</code>).
| |
|
| |
| * PuTTY or any other SSH program to connect to your server. This allows for copying/pasting of commands.
| |
|
| |
| * An “active” H@H client (https://e-hentai.org/hentaiathome.php).
| |
|
| |
| * An open port through which H@H can accept connections from the internet.<br>You may need to choose a port number greater than 1023 to avoid having to run the H@H client as root.
| |
|
| |
| * This guide assumes a server-style environment, typical of VPS/cloud-hosted systems. Installation on desktop or IoT systems, for example, may require doing some things differently.
| |
|
| |
| ===A couple things to be aware of before starting===
| |
|
| |
| * Linux is case-sensitive with file names. Therefore, it is best to use lowercase names everywhere to make it easier for yourself.
| |
|
| |
| * Commands starting with '''$''' are to be run as current user, those starting with '''#''' as root.
| |
|
| |
| * H@H 1.6.0 and above uses SSL certificates. For them to work properly, you need the '''ntp''' package (it syncs the server's date and time). It is normally installed by default, but package updates may make it fail.
| |
|
| |
| ==Installing Java - Using packages==
| |
|
| |
| [[File:Point.png]] '''Don't use Debian 8's repository for H@H 1.6.0 and above.''' The JRE provided in the packages for Debian 8 is Java 7, and H@H 1.6.0 needs Java 8 or above.
| |
| If you are running Debian 8, install Java by using a downloaded archive, like described in the next section.
| |
|
| |
|
| |
| To run the H@H server you will have to have Java installed on the server.
| |
| The best and easiest method is to use the Debian packages.
| |
|
| |
| To do so, connect to your server, and run the following commands either as root, or by prefixing them by sudo (if you have the sudo package installed):
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D"># apt-get update
| |
| # apt-get install default-jre</FONT></pre>
| |
|
| |
| And that's it, you're already done. Simple isn't it?
| |
|
| |
| ==Installing H@H==
| |
|
| |
| For more security let's create new user for H@H:
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D"># adduser <FONT COLOR="35A4D6">hath</FONT></FONT></pre>
| |
|
| |
| Now login as the new user and create a directory for H@H client:
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D"># login <FONT COLOR="35A4D6">hath</FONT>
| |
| $ mkdir <FONT COLOR="35A4D6">hath</FONT></FONT></pre>
| |
|
| |
| Download H@H (check for the latest version [https://e-hentai.org/hentaiathome.php here]):
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D">$ wget https://repo.e-hentai.org/hath/HentaiAtHome_1.4.2.zip</FONT></pre>
| |
|
| |
| Unzip the downloaded archive (install unzip if you haven't yet):
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D">$ unzip HentaiAtHome_1.4.2.zip -d <FONT COLOR="35A4D6">hath/</FONT></FONT></pre>
| |
|
| |
| Well done, let's launch it!
| |
| <pre<includeonly></includeonly> style="overflow: auto;{{{style|}}}"><FONT COLOR="1FD30D">$ cd <FONT COLOR="35A4D6">hath</FONT>
| |
| $ java -jar HentaiAtHome.jar</FONT></pre>
| |
|
| |
| You will be prompted for your client ID and Password which you can find on [https://e-hentai.org/hentaiathome.php your H@H page]
| |
|
| |
| You will need to configure your client settings on the above page before you get your client password. If you have not applied to run a H@H client yet, you will have to do so first.
| |
|
| |
| To stop the server, press "Ctrl+C" and wait for a couple seconds.
| |
|
| |
| ==Testing==
| |
|
| |
| ==See also==
| |
| *[[Hentai@Home]]
| |
| *[[Installing H@H on Ubuntu]]
| |
| *[https://forums.e-hentai.org/index.php?showtopic=19795&st=0&p=797807&#entry797807 Advanced Linux Installation]
| |
|
| |
| [[Category:E-Hentai Galleries]]
| |