<?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=Melkeku</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=Melkeku"/>
	<link rel="alternate" type="text/html" href="https://ehwiki.org/wiki/Special:Contributions/Melkeku"/>
	<updated>2026-04-08T02:02:17Z</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=8411</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=8411"/>
		<updated>2012-06-03T10:31:19Z</updated>

		<summary type="html">&lt;p&gt;Melkeku: changed more spelling and grammar errors&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;
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;/div&gt;</summary>
		<author><name>Melkeku</name></author>
	</entry>
	<entry>
		<id>https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=8407</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=8407"/>
		<updated>2012-06-02T20:52:46Z</updated>

		<summary type="html">&lt;p&gt;Melkeku: /* “Installing” H@H */&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;
&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 server (http://g.e-hentai.org/hentaiathome.php) if not you will have to request this first.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple things you should be aware of before you start:&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 promt 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;
* when i created this manual i used a virtual server, if you use a physical server or another program than VMware to virtualize your server you might have to do some things different.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring the network ==&lt;br /&gt;
&lt;br /&gt;
&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 you 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;
&lt;br /&gt;
PS: 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;
&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;
&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;
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;
&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;
&lt;br /&gt;
I’m going to explain the “iso” way in this guide since it is what I used.&lt;br /&gt;
&lt;br /&gt;
First of all we need to download the java file from a computer with a gui. Go to:&lt;br /&gt;
&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 old version… I know it’s a pain…)&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
Now we have to mount the cdrom 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;
&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;
&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;
This should wrap it up for the java installation.&lt;br /&gt;
&lt;br /&gt;
Now onto downloading and using the H@H program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== “Installing” H@H ==&lt;br /&gt;
&lt;br /&gt;
Download Hentai at home (check what the newest version is here: http://g.e-hentai.org/hentaiathome.php)&lt;br /&gt;
&lt;br /&gt;
(when this is written, 1.0.9 is the current version)&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;
&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;
&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;
&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;
&lt;br /&gt;
If you are having trouble when downloading updates or when installing the unzip program, if the command prompt is stuck on ”[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;
&lt;br /&gt;
As always check the H@H FAQ first! [[Technical_Issues#H.40H]]&lt;br /&gt;
&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&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for problems related to putty, Ubuntu or Java please use &amp;quot;insert favorite search engine here&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
will try to add &amp;quot;autostart/stop&amp;quot; function as well&lt;/div&gt;</summary>
		<author><name>Melkeku</name></author>
	</entry>
	<entry>
		<id>https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=8405</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=8405"/>
		<updated>2012-06-02T20:15:58Z</updated>

		<summary type="html">&lt;p&gt;Melkeku: &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;
&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 server (http://g.e-hentai.org/hentaiathome.php) if not you will have to request this first.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple things you should be aware of before you start:&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 promt 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;
* when i created this manual i used a virtual server, if you use a physical server or another program than VMware to virtualize your server you might have to do some things different.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring the network ==&lt;br /&gt;
&lt;br /&gt;
&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 you 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;
&lt;br /&gt;
PS: 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;
&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;
&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;
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;
&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;
&lt;br /&gt;
I’m going to explain the “iso” way in this guide since it is what I used.&lt;br /&gt;
&lt;br /&gt;
First of all we need to download the java file from a computer with a gui. Go to:&lt;br /&gt;
&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 old version… I know it’s a pain…)&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
Now we have to mount the cdrom 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;
&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;
&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;
This should wrap it up for the java installation.&lt;br /&gt;
&lt;br /&gt;
Now onto downloading and using the H@H program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== “Installing” H@H ==&lt;br /&gt;
&lt;br /&gt;
Download Hentai at home (check what the newest version is here: http://g.e-hentai.org/hentaiathome.php)&lt;br /&gt;
&lt;br /&gt;
(when this is written, 1.0.9 is the current version)&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;
&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;
&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;
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;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
If you are having trouble when downloading updates or when installing the unzip program, if the command prompt is stuck on ”[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;
&lt;br /&gt;
As always check the H@H FAQ first! [[Technical_Issues#H.40H]]&lt;br /&gt;
&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&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for problems related to putty, Ubuntu or Java please use &amp;quot;insert favorite search engine here&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
will try to add &amp;quot;autostart/stop&amp;quot; function as well&lt;/div&gt;</summary>
		<author><name>Melkeku</name></author>
	</entry>
	<entry>
		<id>https://ehwiki.org/index.php?title=Installing_H@H_on_Ubuntu&amp;diff=8404</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=8404"/>
		<updated>2012-06-02T20:10:52Z</updated>

		<summary type="html">&lt;p&gt;Melkeku: Created page with &amp;quot;This page will tell you how to set up a Hentai@Home client using a Linux Ubuntu Server  Before you start reading at all, to use this guide you should be “above average” in...&amp;quot;&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;
&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 server (http://g.e-hentai.org/hentaiathome.php) if not you will have to request this first.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A couple things you should be aware of before you start:&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 promt 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;
* when i created this manual i used a virtual server, if you use a physical server or another program than VMware to virtualize your server you might have to do some things different.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuring the network ==&lt;br /&gt;
&lt;br /&gt;
&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 you 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;
&lt;br /&gt;
PS: 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;
&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;
&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;
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;
&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;
&lt;br /&gt;
I’m going to explain the “iso” way in this guide since it is what I used.&lt;br /&gt;
&lt;br /&gt;
First of all we need to download the java file from a computer with a gui. Go to:&lt;br /&gt;
&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 old version… I know it’s a pain…)&lt;br /&gt;
&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;
&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;
&lt;br /&gt;
Now we have to mount the cdrom 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;
&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;
&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;
This should wrap it up for the java installation.&lt;br /&gt;
&lt;br /&gt;
Now onto downloading and using the H@H program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== “Installing” H@H ==&lt;br /&gt;
&lt;br /&gt;
Download Hentai at home (check what the newest version is here: http://g.e-hentai.org/hentaiathome.php)&lt;br /&gt;
&lt;br /&gt;
(when this is written, 1.0.9 is the current version)&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;
&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;
&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;
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;
&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
If you are having trouble when downloading updates or when installing the unzip program, if the command prompt is stuck on ”[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;
&lt;br /&gt;
As always check the H@H FAQ first! [[Technical_Issues#H.40H]]&lt;br /&gt;
&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&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
for problems related to putty, Ubuntu or Java please use &amp;quot;insert favorite search engine here&amp;quot;.&lt;/div&gt;</summary>
		<author><name>Melkeku</name></author>
	</entry>
</feed>