<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ehwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fyxie</id>
	<title>EHWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ehwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Fyxie"/>
	<link rel="alternate" type="text/html" href="https://ehwiki.org/wiki/Special:Contributions/Fyxie"/>
	<updated>2026-04-06T05:14:26Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=17635</id>
		<title>Installing H@H on Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=17635"/>
		<updated>2012-12-08T09:38:25Z</updated>

		<summary type="html">&lt;p&gt;Fyxie: removed unneded cd download steps from java6 install, added java7 install&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will tell you how to set up a [[Hentai@Home]] client using a Linux Ubuntu Server&lt;br /&gt;
&lt;br /&gt;
Before you start reading at all, to use this guide you should be “above average” interested in computers, having a little more than “standard” equipment is recommended! (Meaning this guide is for advanced users)&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
*Being able to search Google.&lt;br /&gt;
&lt;br /&gt;
*Basic Linux knowledge is recommended.&lt;br /&gt;
&lt;br /&gt;
*A running Linux server (I used version 12.04) (for setting one up refer to: http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3  page 1 and 2)&lt;br /&gt;
&lt;br /&gt;
*It is recommended to use PuTTY or any other SSH program to connect to your server, this allows the copying/pasting of commands to the server.&lt;br /&gt;
&lt;br /&gt;
*You have an “active” H@H client (http://g.e-hentai.org/hentaiathome.php) if not you will have to request this first.&lt;br /&gt;
&lt;br /&gt;
A couple things to be aware of before starting:&lt;br /&gt;
&lt;br /&gt;
*Linux IS case sensitive on file names. Therefore, best thing is to create everything with lower case names to make it easier for yourself.&lt;br /&gt;
&lt;br /&gt;
*Commands you should type is given in &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;Green&amp;lt;/FONT&amp;gt;, output from the command prompt is given in &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;Red&amp;lt;/FONT&amp;gt;. Text in commands that is marked in &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;Blue&amp;lt;/FONT&amp;gt; is part of a command that typically you would have to change.&lt;br /&gt;
&lt;br /&gt;
*This manual was developed based on a virtual server. The use of a physical server or another program than VMware to virtualize your server may require doing some things differently.&lt;br /&gt;
&lt;br /&gt;
==Configuring the Network==&lt;br /&gt;
First thing you would want to do with your server is setting a static IP address. &lt;br /&gt;
Use this command&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo nano /etc/network/interfaces&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The file that is opened should look something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;This file describes the network interfaces available on your system&lt;br /&gt;
# and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
 &lt;br /&gt;
# The loopback network interface&lt;br /&gt;
auto lo&lt;br /&gt;
iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
# The primary network interface&lt;br /&gt;
auto eth0&lt;br /&gt;
iface eth0 inet dhcp&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below where it says “# The primary network interface”&lt;br /&gt;
 &lt;br /&gt;
Type in this information:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;auto eth0&lt;br /&gt;
iface eth0 inet static&lt;br /&gt;
address &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.100&amp;lt;/FONT&amp;gt;&lt;br /&gt;
netmask &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;255.255.255.0&amp;lt;/FONT&amp;gt;&lt;br /&gt;
gateway &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.1&amp;lt;/FONT&amp;gt;&lt;br /&gt;
dns-nameservers &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.1&amp;lt;/FONT&amp;gt;&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the IP addresses with what is relevant for your network.&lt;br /&gt;
&lt;br /&gt;
When you have made the changes to the file press “ctrl+o” and press enter to save changes.&lt;br /&gt;
Then press “ctrl+x” to exit the text editor. &lt;br /&gt;
&lt;br /&gt;
When you have exited the file, type this command to restart the network interface and activate the new configuration.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo /etc/init.d/networking restart&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check and see if your IP has changed by typing:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ifconfig&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see something like this:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00&lt;br /&gt;
inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0&lt;br /&gt;
inet6 addr: ffff::fff:ffff:ffff:ffff/64 Scope:Link&lt;br /&gt;
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
collisions:0 txqueuelen:0&lt;br /&gt;
RX bytes:0 (0.0 MB)  TX bytes:0 (0.0 GB)&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second line is what is important.&lt;br /&gt;
&lt;br /&gt;
You can test and see if the network is working by pinging an internet server:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ping google.com&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
If this returns an error try pinging:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ping 8.8.8.8&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
If this last one works and not the first, there is a problem with your DNS settings (refer to “dns-nameservers” that was typed in when you configured the network, this setting is typically the same as you gateway).&lt;br /&gt;
&lt;br /&gt;
If none of them work there is no connection to internet. If this is the case you can try pinging your inside router(gateway) to check if you have network connection at all, if not check the IP you set for your server, make sure it&#039;s not in use by another computer and make sure you server is physically connected to the network.&lt;br /&gt;
&lt;br /&gt;
That’s it for setting up the network.&lt;br /&gt;
&lt;br /&gt;
P.S: Important thing to do when you have confirmed network connection on your server, run these commands to update you server with latest security patches.&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo apt-get update&lt;br /&gt;
sudo apt-get upgrade&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing Java (Pick 6 or 7)==&lt;br /&gt;
&lt;br /&gt;
===Java 6 Installation===&lt;br /&gt;
(old source: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/ rewritten by Melkeku and Fyxie)&lt;br /&gt;
&lt;br /&gt;
To run the H@H server you will have to have java installed on the server.&lt;br /&gt;
&lt;br /&gt;
As far as I was told on the forums and as I installed you have to use Sun&#039;s(/Oracle&#039;s) Java. It will not work with other versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First download the JDK can be with the following command.&lt;br /&gt;
(Official download is here http://www.oracle.com/technetwork/java/javase/downloads/index.html)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;wget --no-cookies --header &amp;quot;Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F&amp;quot; &amp;quot;http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin&amp;quot;&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extract the (bin) file:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;./jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you type «ls» you should now see 2 files:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;jdk1.6.0_32  jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now move the extracted file:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mv jdk1.6.0_32 /usr/lib/jvm/&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in these commands to “install” Java (as 3 separate commands)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1&lt;br /&gt;
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now tell the server that this java installation is the default one (as 3 separate commands):&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo update-alternatives --config javac&lt;br /&gt;
sudo update-alternatives --config java&lt;br /&gt;
sudo update-alternatives --config javaws&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To verify the installation is complete type:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;java -version&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see this message:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;java version &amp;quot;1.6.0_32&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.6.0_32-b05)&lt;br /&gt;
Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Java 7 Installation===&lt;br /&gt;
Note that 7 is said to have issues with the graphical client. 7 Should be fine for a headless machine.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Become root&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;su -&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Download and exract files &lt;br /&gt;
(Official download is here http://www.oracle.com/technetwork/java/javase/downloads/index.html)&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;wget --no-cookies --header &amp;quot;Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F&amp;quot; &amp;quot;http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz&amp;quot;&lt;br /&gt;
tar xvfo jdk-7u9-linux-x64.tar.gz&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Move java files into their place&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;mkdir /usr/lib/jvm&lt;br /&gt;
mv jdk1.7.0_09 /usr/lib/jvm/jdk1.7.0_09&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set alternatives links&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;update-alternatives --install &amp;quot;/usr/bin/java&amp;quot; &amp;quot;java&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0_09/bin/java&amp;quot; 1&lt;br /&gt;
update-alternatives --install &amp;quot;/usr/bin/javac&amp;quot; &amp;quot;javac&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0_09/bin/javac&amp;quot; 1&lt;br /&gt;
update-alternatives --install &amp;quot;/usr/bin/javaws&amp;quot; &amp;quot;javaws&amp;quot; &amp;quot;/usr/lib/jvm/jdk1.7.0_09/bin/javaws&amp;quot; 1&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Config alternatives links&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;update-alternatives --config java&lt;br /&gt;
update-alternatives --config javac&lt;br /&gt;
update-alternatives --config javaws&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Verify java version&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;java -version&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Expected output)&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;java version &amp;quot;1.7.0_09&amp;quot;&lt;br /&gt;
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)&lt;br /&gt;
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Installing H@H==&lt;br /&gt;
Download H@H (check what the newest version is [http://g.e-hentai.org/hentaiathome.php here])&lt;br /&gt;
&lt;br /&gt;
To download H@H first make a new directory for where you want to run the files from:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mkdir /home/”username”/hath&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;cd /home/”username”/hath&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This creates a folder called “hath” in your home directory and moves you to it. Now download the H@H program by typing:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo wget hentaiathome.net/get/HentaiAtHome_1.0.10.zip&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
This might take time depending on your network speed.&lt;br /&gt;
&lt;br /&gt;
When finished downloading you will have to install “unzip” to unzip the file. Type:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo apt-get install unzip&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now unzip the file by typing:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo unzip HentaiAtHome_1.0.10.zip&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you type «ls» you should see all the files extracted from the zip file.&lt;br /&gt;
&lt;br /&gt;
Now, if everything went as planned before you can type:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;java –jar HentaiAtHome.jar&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
And the server should start up.&lt;br /&gt;
&lt;br /&gt;
You will be prompted for your client ID and Password which you can find on your H@H page:&lt;br /&gt;
http://g.e-hentai.org/hentaiathome.php&lt;br /&gt;
&lt;br /&gt;
You will need to configure the server settings on the above page before you get you client password. If you have not applied to run a H@H client yet you will have to do so first.&lt;br /&gt;
&lt;br /&gt;
To stop the server, press &amp;quot;Ctrl+C&amp;quot; and wait for a couple seconds.&lt;br /&gt;
&lt;br /&gt;
If you restart the server or for some reason are not in the folder where the H@H program is located you can also start it by typing&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo java -jar /home/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;&amp;quot;username&amp;quot;&amp;lt;/FONT&amp;gt;/hath/HentaiAtHome.jar&amp;lt;/FONT&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
If you are having trouble when downloading updates or when installing the unzip program, if the command prompt is stuck saying ”[waiting for headers]” please refer to this page (it&#039;s a common/known problem):&lt;br /&gt;
http://askubuntu.com/questions/37753/how-can-i-get-apt-to-use-a-mirror-close-to-me-or-choose-a-faster-mirror&lt;br /&gt;
&lt;br /&gt;
As always check the [[Technical_Issues#H.40H | H@H technical issues]] first!&lt;br /&gt;
&lt;br /&gt;
For problems after starting the H@H program that are not explained in the FAQ make a forum post [http://forums.e-hentai.org/index.php?showforum=7 here].&lt;br /&gt;
&lt;br /&gt;
For problems related to putty, Ubuntu or Java please use a search engine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- will try to add &amp;quot;autostart/stop&amp;quot; function as well --&amp;gt;&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Hentai@Home]]&lt;br /&gt;
*[http://forums.e-hentai.org/index.php?showtopic=19795&amp;amp;st=0&amp;amp;p=797807&amp;amp;#entry797807 Advanced Linux Installation]&lt;br /&gt;
&lt;br /&gt;
[[Category:E-Hentai Galleries]]&lt;/div&gt;</summary>
		<author><name>Fyxie</name></author>
	</entry>
	<entry>
		<id>https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=10625</id>
		<title>Installing H@H on Ubuntu</title>
		<link rel="alternate" type="text/html" href="https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=10625"/>
		<updated>2012-07-28T18:17:52Z</updated>

		<summary type="html">&lt;p&gt;Fyxie: added wget command to direct download java bin&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page will tell you how to set up a [[Hentai@Home]] client using a Linux Ubuntu Server&lt;br /&gt;
&lt;br /&gt;
Before you start reading at all, to use this guide you should be “above average” interested in computers, having a little more than “standard” equipment is recommended! (Meaning this guide is for advanced users)&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
* Being able to search Google&lt;br /&gt;
&lt;br /&gt;
* Basic Linux knowledge is recommended (Google helps a lot)&lt;br /&gt;
&lt;br /&gt;
* A running Linux server (I used version 12.04) (for setting one up refer to: http://www.howtoforge.com/perfect-server-ubuntu-12.04-lts-apache2-bind-dovecot-ispconfig-3  page 1 and 2)&lt;br /&gt;
&lt;br /&gt;
* I recommend using putty or any other SSH program to connect to your server, this way you can copy/paste commands to your server&lt;br /&gt;
&lt;br /&gt;
* You have an “active” H@H client (http://g.e-hentai.org/hentaiathome.php) if not you will have to request this first.&lt;br /&gt;
&lt;br /&gt;
A couple things to be aware of before starting:&lt;br /&gt;
&lt;br /&gt;
* Linux IS case sensitive on file names. Therefore, best thing is to create everything with lower case names to make it easier for yourself.&lt;br /&gt;
&lt;br /&gt;
* Commands you should type is given in &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;Green&amp;lt;/FONT&amp;gt;, output from the command prompt is given in &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;Red&amp;lt;/FONT&amp;gt;. Text in commands that is marked in &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;Blue&amp;lt;/FONT&amp;gt; is part of a command that typically you would have to change.&lt;br /&gt;
&lt;br /&gt;
* This manual was developed based on a virtual server. The use of a physical server or another program than VMware to virtualize your server may require doing some things differently.&lt;br /&gt;
&lt;br /&gt;
==Configuring the Network==&lt;br /&gt;
First thing you would want to do with your server is setting a static IP address. &lt;br /&gt;
Use this command&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo nano /etc/network/interfaces&amp;lt;/FONT&amp;gt;&lt;br /&gt;
The file that is opened should look something like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;This file describes the network interfaces available on your system&lt;br /&gt;
 # and how to activate them. For more information, see interfaces(5).&lt;br /&gt;
 &lt;br /&gt;
 # The loopback network interface&lt;br /&gt;
 auto lo&lt;br /&gt;
 iface lo inet loopback&lt;br /&gt;
 &lt;br /&gt;
 # The primary network interface&lt;br /&gt;
 auto eth0&lt;br /&gt;
 iface eth0 inet dhcp&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below where it says “# The primary network interface”&lt;br /&gt;
 &lt;br /&gt;
Type in this information:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;auto eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
 address &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.100&amp;lt;/FONT&amp;gt;&lt;br /&gt;
 netmask &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;255.255.255.0&amp;lt;/FONT&amp;gt;&lt;br /&gt;
 gateway &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.1&amp;lt;/FONT&amp;gt;&lt;br /&gt;
 dns-nameservers &amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;192.168.0.1&amp;lt;/FONT&amp;gt;&amp;lt;/FONT&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Change the IP addresses with what is relevant for your network.&lt;br /&gt;
&lt;br /&gt;
When you have made the changes to the file press “ctrl+o” and press enter to save changes.&lt;br /&gt;
Then press “ctrl+x” to exit the text editor. &lt;br /&gt;
&lt;br /&gt;
When you have exited the file, type this command to restart the network interface and activate the new configuration.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo /etc/init.d/networking restart&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can check and see if your IP has changed by typing:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ifconfig&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see something like this:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00&lt;br /&gt;
 inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0&lt;br /&gt;
 inet6 addr: ffff::fff:ffff:ffff:ffff/64 Scope:Link&lt;br /&gt;
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1&lt;br /&gt;
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0&lt;br /&gt;
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;
 collisions:0 txqueuelen:0&lt;br /&gt;
 RX bytes:0 (0.0 MB)  TX bytes:0 (0.0 GB)&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second line is what is important.&lt;br /&gt;
&lt;br /&gt;
You can test and see if the network is working by pinging an internet server:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ping google.com&amp;lt;/FONT&amp;gt;&lt;br /&gt;
If this returns an error try pinging:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ping 8.8.8.8&amp;lt;/FONT&amp;gt;&lt;br /&gt;
If this last one works and not the first, there is a problem with your DNS settings (refer to “dns-nameservers” that was typed in when you configured the network, this setting is typically the same as you gateway).&lt;br /&gt;
&lt;br /&gt;
If none of them work there is no connection to internet. If this is the case you can try pinging your inside router(gateway) to check if you have network connection at all, if not check the IP you set for your server, make sure it&#039;s not in use by another computer and make sure you server is physically connected to the network.&lt;br /&gt;
&lt;br /&gt;
That’s it for setting up the network.&lt;br /&gt;
&lt;br /&gt;
P.S: Important thing to do when you have confirmed network connection on your server, run these commands to update you server with latest security patches.&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo apt-get upgrade&lt;br /&gt;
 sudo apt-get update&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing Java==&lt;br /&gt;
(source: http://www.devsniper.com/ubuntu-12-04-install-sun-jdk-6-7/ rewritten by Melkeku)&lt;br /&gt;
&lt;br /&gt;
To run the H@H server you will have to have java installed on the server.&lt;br /&gt;
&lt;br /&gt;
As far as I was told on the forums and as I installed you have to use Sun&#039;s(/Oracle&#039;s) Java. It will not work with other versions.&lt;br /&gt;
&lt;br /&gt;
The JDK can be downloaded directly from Sun with the following command. It is a bit of a hack, so it may stop working in the future. If it works, you can skip down to where jdk-6u32-linux-x64.bin is mentioned below and use it instead of the file from the CD image.&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;wget --no-cookies --header &amp;quot;Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F&amp;quot; &amp;quot;http://download.oracle.com/otn-pub/java/jdk/6u32-b05/jdk-6u32-linux-x64.bin&amp;quot;&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the trickiest part of the installation since you are not easily able to install this version of java on Ubuntu from the &amp;quot;repositories&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The tricky part here is getting the java installation file onto the server itself.&lt;br /&gt;
You have to accept the license agreement for downloading, which is hard when working from a command line... This is why you&#039;re not able to directly download it to the server.&lt;br /&gt;
&lt;br /&gt;
So if you know an easy way of transferring files from another computer over to the server, go for it. I&#039;ll tell how I did it.&lt;br /&gt;
&lt;br /&gt;
Since I set up the server in a VMware environment I have the possibility to connect an .ISO file to the server (just like a CD if you are running the server on a physical computer). There are most likely 100 other ways to do it. You could for example do it using TFTP (read about it here: http://manpages.ubuntu.com/manpages/hardy/man1/tftp.1.html).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The ISO way&#039;&#039;&#039;:&lt;br /&gt;
Download the java file from a computer with a GUI. Go to:&lt;br /&gt;
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u32-downloads-1594644.html&lt;br /&gt;
&lt;br /&gt;
Accept the license agreement and download either the file named: jdk-6u32-linux-i586.bin (for 32 bit system(x86) OR jdk-6u32-linux-x64.bin (for 64 bit system(x64)&lt;br /&gt;
&lt;br /&gt;
You will be asked to log in; you will have to create an account to download older versions.&lt;br /&gt;
&lt;br /&gt;
When you have downloaded the file, make it into an .ISO file. You can use a program called “imgburn” or another program able to do the same thing. (or you can burn the java file to a CD and insert it in the computer if you are running this installation on a physical computer)&lt;br /&gt;
&lt;br /&gt;
When you have the .ISO file, mount it in the server through VMware (or as a CD as stated above).&lt;br /&gt;
&lt;br /&gt;
Go to the server console (or use putty (recommended) to connect to the servers IP address) and type the following command:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ls –l /dev/cdrom&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should get an output looking something like this:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;lrwxrwxrwx 1 root root 3 Jun  2 00:04 /dev/cdrom -&amp;gt; sr0&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The info we are after is the last part, in my case &amp;quot;sr0&amp;quot;. If what you get is different change it in the next command as well.&lt;br /&gt;
&lt;br /&gt;
Now we have to mount the CD-ROM so we can access the files on the &amp;quot;CD&amp;quot;. Type:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mount /dev/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;sr0&amp;lt;/FONT&amp;gt; /media/cdrom&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To check if everything was successful type:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;ls /media/cdrom&amp;lt;/FONT&amp;gt;&lt;br /&gt;
You should see the file names of what is located on the CD drive, in my case I see:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, transfer the file to a folder locally (change “username” with your actual username) (as 2 separate commands):&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mkdir /home/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;”username”&amp;lt;/FONT&amp;gt;/java&amp;lt;/FONT&amp;gt;&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo cp /media/cdrom/jdk-6u32-linux-x64.bin /home/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;”username”&amp;lt;/FONT&amp;gt;/java/&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Go to the directory where the copied file is located:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;cd /home/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;”username”&amp;lt;/FONT&amp;gt;/java&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, make the file we just copied executable (type &amp;quot;ls&amp;quot; to see the file name):&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;chmod +x jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extract the (bin) file:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;./jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you type «ls» you should now see 2 files:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;jdk1.6.0_32  jdk-6u32-linux-x64.bin&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now move the extracted file:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mv jdk1.6.0_32 /usr/lib/jvm/&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now type in these commands to “install” Java (as 3 separate commands)&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_32/bin/javac 1&lt;br /&gt;
 sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_32/bin/java 1&lt;br /&gt;
 sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_32/bin/javaws 1&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now tell the server that this java installation is the default one (as 3 separate commands):&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo update-alternatives --config javac&lt;br /&gt;
 sudo update-alternatives --config java&lt;br /&gt;
 sudo update-alternatives --config javaws&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To verify the installation is complete type:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;java -version&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see this message:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;C94649&amp;quot;&amp;gt;java version &amp;quot;1.6.0_32&amp;quot;&lt;br /&gt;
 Java(TM) SE Runtime Environment (build 1.6.0_32-b05)&lt;br /&gt;
 Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02, mixed mode)&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installing H@H==&lt;br /&gt;
Download H@H (check what the newest version is [http://g.e-hentai.org/hentaiathome.php here])&lt;br /&gt;
&lt;br /&gt;
To download H@H first make a new directory for where you want to run the files from:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo mkdir /home/”username”/hath&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;cd /home/”username”/hath&amp;lt;/FONT&amp;gt;&lt;br /&gt;
This creates a folder called “hath” in your home directory and moves you to it. Now download the H@H program by typing:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo wget hentaiathome.net/get/HentaiAtHome_1.0.9.zip&amp;lt;/FONT&amp;gt;&lt;br /&gt;
This might take time depending on your network speed.&lt;br /&gt;
&lt;br /&gt;
When finished downloading you will have to install “unzip” to unzip the file. Type:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo apt-get install unzip&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now unzip the file by typing:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo unzip HentaiAtHome_1.0.9.zip&amp;lt;/FONT&amp;gt;&lt;br /&gt;
If you type «ls» you should see all the files extracted from the zip file.&lt;br /&gt;
&lt;br /&gt;
Now, if everything went as planned before you can type:&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;java –jar HentaiAtHome.jar&amp;lt;/FONT&amp;gt;&lt;br /&gt;
And the server should start up.&lt;br /&gt;
&lt;br /&gt;
You will be prompted for your client ID and Password which you can find on your H@H page:&lt;br /&gt;
http://g.e-hentai.org/hentaiathome.php&lt;br /&gt;
&lt;br /&gt;
You will need to configure the server settings on the above page before you get you client password. If you have not applied to run a H@H client yet you will have to do so first.&lt;br /&gt;
&lt;br /&gt;
To stop the server, press &amp;quot;Ctrl+C&amp;quot; and wait for a couple seconds.&lt;br /&gt;
&lt;br /&gt;
If you restart the server or for some reason are not in the folder where the H@H program is located you can also start it by typing&lt;br /&gt;
 &amp;lt;FONT COLOR=&amp;quot;1FD30D&amp;quot;&amp;gt;sudo java -jar /home/&amp;lt;FONT COLOR=&amp;quot;35A4D6&amp;quot;&amp;gt;&amp;quot;username&amp;quot;&amp;lt;/FONT&amp;gt;/hath/HentaiAtHome.jar&amp;lt;/FONT&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
If you are having trouble when downloading updates or when installing the unzip program, if the command prompt is stuck saying ”[waiting for headers]” please refer to this page(it’s a common/known problem):&lt;br /&gt;
http://askubuntu.com/questions/37753/how-can-i-get-apt-to-use-a-mirror-close-to-me-or-choose-a-faster-mirror&lt;br /&gt;
&lt;br /&gt;
As always check the [[Technical_Issues#H.40H | H@H technical issues]] first!&lt;br /&gt;
&lt;br /&gt;
For problems after starting the H@H program that are not explained in the FAQ make a forum post [http://forums.e-hentai.org/index.php?showforum=7 here].&lt;br /&gt;
&lt;br /&gt;
For problems related to putty, Ubuntu or Java please use a search engine.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- will try to add &amp;quot;autostart/stop&amp;quot; function as well --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Hentai@Home]]&lt;br /&gt;
*[http://forums.e-hentai.org/index.php?showtopic=19795&amp;amp;st=0&amp;amp;p=797807&amp;amp;#entry797807 Advanced Linux Installation]&lt;/div&gt;</summary>
		<author><name>Fyxie</name></author>
	</entry>
</feed>