Welcome Guest ( Log In | Register )

15 Pages V « < 3 4 5 6 7 > »   
Reply to this topicStart new topic
> Setting up a server (for retards), Help the Linux Noob!

 
post Nov 18 2012, 16:28
Post #81
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


edit

This post has been edited by r3dd0ssal: Nov 5 2020, 10:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:32
Post #82
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


It is there...
(IMG:[s1.directupload.net] http://s1.directupload.net/images/121118/gfmhnvwf.jpg)

But I forgot to unzip it (IMG:[invalid] style_emoticons/default/laugh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:34
Post #83
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


Ahhhh. Try what the gui said, hopefully zip is already installed.

unzip HentaiAtHome_1.0.10.zip
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:35
Post #84
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


I already deleted it and placed the correct file there (IMG:[invalid] style_emoticons/default/happy.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:40
Post #85
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


Does it work? (IMG:[invalid] style_emoticons/default/ohmy.gif)

This post has been edited by DemonEyesBob: Nov 18 2012, 16:40
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:40
Post #86
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


CODE
root@Ichy:~/hhome# ll -la
total 8
drwxr-xr-x 2 root root 4096 Nov 18 17:39 ./
drwx------ 7 root root 4096 Nov 18 17:39 ../

root@Ichy:~/hhome# /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
Error: Unable to access jarfile HentaiAtHome.jar
root@Ichy:~/hhome#

(IMG:[invalid] style_emoticons/default/cry.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:45
Post #87
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


They should be showing up when you do "ll -la" (which should list all files), so that's really weird. Can you take another screenshot?


I need to go do some errands, hopefully Tiap or Penguin will come back soon and help. I'll try to get back as soon as I can.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:49
Post #88
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


(IMG:[s1.directupload.net] http://s1.directupload.net/images/121118/kph9clv7.jpg)

I guess Linux is playing a prank on me! (IMG:[invalid] style_emoticons/default/sleep.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 16:56
Post #89
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Paste the output of this (it should be one or two lines long):

CODE
find / -type f -name HentaiAtHome.jar 2>/dev/null


Also, if you haven't already, create a new unprivileged user:

CODE
useradd ichy --create-home --home /home/ichy
passwd ichy
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:00
Post #90
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


CODE
root@Ichy:~/hhome# find / -type f -name HentaiAtHome.jar 2>/dev/null
/hhome/HentaiAtHome.jar

root@Ichy:~/hhome# useradd ichy --create-home --home /home/ichy
root@Ichy:~/hhome#


Nothing happened.
Same when I tried to add a user.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:07
Post #91
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Run passwd ichy and choose a new password.

Then:
CODE
visudo

Ubuntu uses nano so that should simplify things.
Locate a line that looks something like this:

CODE
root   ALL=(ALL) ALL


Add a new line below that but replace root with ichy:

CODE
ichy   ALL=(ALL) ALL


Hit Ctrl-X, then Y, then Enter

su into ichy:

CODE
su ichy


Test sudo:

CODE
sudo pwd
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:15
Post #92
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


I was able to enter a password!

when I entered visudo there is said screen, I even found the root ALL=(ALL) ALL line but somehow I can't type anything in there.
Is there a command to add a new line?

This post has been edited by Ichy: Nov 18 2012, 17:16
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:22
Post #93
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Nevermind that, let's keep it simple.
Close the the terminal, open it again and login as root.
Run:

CODE
echo 'ichy ALL=(ALL) ALL' >> /etc/sudoers

su into ichy and test sudo:

CODE
su ichy
sudo pwd


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:29
Post #94
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


CODE
Last login: Sun Nov 18 19:25:14 2012 from 83-215-197-201.stjo.dyn.salzburg-onlin
e.at
root@Ichy:~# echo 'ichy ALL=(ALL) ALL' >> /etc/sudoers
root@Ichy:~# su ichy
$ sudo pwd
[sudo] password for ichy:
/root
$


was this correct?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:33
Post #95
hzqr



Savagely Still
********
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09
Level 462 (Dovahkiin)


Yes.
Close the terminal again, login as ichy this time.
Run:

CODE
pwd


The output should be /home/ichy

Now:

CODE
mkdir ~/hhome
sudo mv /hhome/* ~/hhome
cd ~/hhome
ls -lah


You should see your files (H@H and sqlite), run them using Java.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:39
Post #96
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


CODE
$ pwd
/home/ichy
$ mkdir ~/home
$ sudo^H
-sh: sud: not found
$ mkdir ~/hhome
$ sudo mv /hhome/* ~/hhome
[sudo] password for ichy:
$ cd ~/hhome
$ ls -lah
total 3.2M
drwxrwxr-x 2 ichy ichy 4.0K Nov 18 19:37 .
drwxr-xr-x 5 ichy ichy 4.0K Nov 18 19:37 ..
-rw-r--r-- 1 root root  89K Sep  1 20:45 HentaiAtHome.jar
-rw-r--r-- 1 root root 3.1M Nov 18 17:43 sqlite-jdbc-3.7.2.jar
$


how do I run them? Sorry this is my first time using Linux.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:41
Post #97
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


edit

This post has been edited by r3dd0ssal: Nov 5 2020, 10:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:42
Post #98
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


welcome back!

CODE
$ /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
-sh: /root/ibm-java-x86_64-70/jre/bin/java: Permission denied
$
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:45
Post #99
masquepiph



Elite Poster
*********
Group: Gold Star Club
Posts: 6,823
Joined: 23-February 07
Level 370 (Godslayer)


edit

This post has been edited by r3dd0ssal: Nov 5 2020, 10:51
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 18 2012, 17:50
Post #100
Ichy



~ Loli Trainer ~
***********
Group: Catgirl Camarilla
Posts: 13,061
Joined: 19-February 09
Level 500 (Dovahkiin)


This time I managed to start it up. typed in the ID and Key.
Then it started... (IMG:[invalid] style_emoticons/default/biggrin.gif) and shut down again.

CODE
$ pwd
/home/ichy
$ mkdir ~/home
$ sudo^H
-sh: sud: not found
$ mkdir ~/hhome
$ sudo mv /hhome/* ~/hhome
[sudo] password for ichy:
$ cd ~/hhome
$ ls -lah
total 3.2M
drwxrwxr-x 2 ichy ichy 4.0K Nov 18 19:37 .
drwxr-xr-x 5 ichy ichy 4.0K Nov 18 19:37 ..
-rw-r--r-- 1 root root  89K Sep  1 20:45 HentaiAtHome.jar
-rw-r--r-- 1 root root 3.1M Nov 18 17:43 sqlite-jdbc-3.7.2.jar
$ /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
-sh: /root/ibm-java-x86_64-70/jre/bin/java: Permission denied
$ sudo /root/ibm-java-x86_64-70/jre/bin/java -jar HentaiAtHome.jar
2012-11-18T15:46:58Z [info] Started logging to data/log_out
2012-11-18T15:46:58Z [info] Started logging to data/log_err
2012-11-18T15:46:58Z [info] Hentai@Home 1.0.10 starting up
2012-11-18T15:46:58Z [info]
2012-11-18T15:46:58Z [info] Copyright (c) 2008-2012, E-Hentai.org - all rights r
eserved.
2012-11-18T15:46:58Z [info] This software comes with ABSOLUTELY NO WARRANTY. Thi
s is free software, and you are welcome to modify and redistribute it under the
GPL v3 license.
2012-11-18T15:46:58Z [info]
2012-11-18T15:46:58Z [info] Before you can use this client, you will have to reg
ister it at http://hentaiathome.net/
2012-11-18T15:46:58Z [info] IMPORTANT: YOU NEED A SEPARATE IDENT FOR EACH CLIENT
YOU WANT TO RUN.
2012-11-18T15:46:58Z [info] DO NOT ENTER AN IDENT THAT WAS ASSIGNED FOR A DIFFER
ENT CLIENT.
2012-11-18T15:46:58Z [info] After registering, enter your ID and Key below to st
art your client.
2012-11-18T15:46:58Z [info] (You will only have to do this once.)
Enter Client ID: ___
Enter Client Key: iI^H^[[3~
2012-11-18T15:47:49Z [WARN] Invalid Client Key, it must be exactly 20 alphanumer
ical characters. Please try again.
Enter Client Key: ____
2012-11-18T15:48:00Z [info] Connecting to the Hentai@Home Server to register cli
ent with ID 7442...
2012-11-18T15:48:00Z [info] Connecting to rpc.hentaiathome.net...
2012-11-18T15:48:00Z [info] /clientapi.php?clientbuild=69&act=server_stat: Retri
eving 66 bytes...
2012-11-18T15:48:00Z [info] Reading Hentai@Home client settings from server...
2012-11-18T15:48:00Z [info] Connecting to rpc.hentaiathome.net...
2012-11-18T15:48:00Z [info] /clientapi.php?clientbuild=69&act=client_login&add=&
cid=7442&acttime=1353253668&actkey=ac2b8f761a32f7cf5c715352c52d44be56e4d70e: Ret
rieving 304 bytes...
2012-11-18T15:48:00Z [info] Applying settings...
2012-11-18T15:48:00Z [WARN] Failed parsing setting throttle_bytes = 4294967295
2012-11-18T15:48:00Z [info] Finished applying settings
2012-11-18T15:48:00Z [info] CacheHandler: Initializing database engine...
2012-11-18T15:48:00Z [info] CacheHandler: Loading database from data/hath.db
2012-11-18T15:48:01Z [info] CacheHandler: Using SQLite 3.7.2 over SQLiteJDBC 2.1
running in native mode
2012-11-18T15:48:01Z [info] CacheHandler: Initializing database tables...
2012-11-18T15:48:01Z [info] CacheHandler: Optimizing database...
2012-11-18T15:48:01Z [info] Last shutdown was dirty - the cache index must be ve
rified.
2012-11-18T15:48:01Z [info] CacheHandler: Rotating database backups
2012-11-18T15:48:01Z [info] CacheHandler: Database initialized
2012-11-18T15:48:01Z [info] CacheHandler: Initializing the cache system...
2012-11-18T15:48:01Z [info] CacheHandler: Loading cache.. (this could take a whi
le)
2012-11-18T15:48:01Z [info] CacheHandler: Purged 0 nonexisting files from databa
se.
2012-11-18T15:48:01Z [info] CacheHandler: Loaded 0 known files.
2012-11-18T15:48:01Z [info] CacheHandler: Loaded 0 new files.
2012-11-18T15:48:01Z [info] CacheHandler: Finished initializing the cache (0 fil
es, 0 bytes)
2012-11-18T15:48:01Z [info] Starting up the internal HTTP Server...
java.net.BindException: Address already in use
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:40
6)
        at java.net.ServerSocket.bind(ServerSocket.java:387)
        at java.net.ServerSocket.<init>(ServerSocket.java:248)
        at java.net.ServerSocket.<init>(ServerSocket.java:139)
        at org.hath.base.HTTPServer.startConnectionListener(HTTPServer.java:65)
        at org.hath.base.HentaiAtHomeClient.run(HentaiAtHomeClient.java:126)
        at java.lang.Thread.run(Thread.java:780)
2012-11-18T15:48:01Z [info]
2012-11-18T15:48:01Z [info] ****************************************************
********************************************************************************
2012-11-18T15:48:01Z [info] Could not start the internal HTTP server.
2012-11-18T15:48:01Z [info] This is most likely caused by something else running
on the port H@H is trying to use.
2012-11-18T15:48:01Z [info] In order to fix this, either shut down whatever else
is using the port, or assign a different port to H@H.
2012-11-18T15:48:01Z [info] ****************************************************
********************************************************************************
2012-11-18T15:48:01Z [info]
2012-11-18T15:48:01Z [ERROR] {org.hath.base.HentaiAtHomeClient.dieWithError(Hent
aiAtHomeClient.java:271)} Critical Error: Failed to initialize HTTPServer
2012-11-18T15:48:01Z [info] Shutting down...
2012-11-18T15:48:01Z [info] Your business is appreciated
$


/edit: changed port and now it is running... I think (IMG:[invalid] style_emoticons/default/happy.gif)

This post has been edited by Ichy: Nov 18 2012, 17:53
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


15 Pages V « < 3 4 5 6 7 > » 
Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 28th April 2025 - 21:23