Hello!
I recently decided to buy a VPS, but I don't have any experience with ubuntu/linux, therefore I am asking here. (no, i could not find any tutorials which were up to date).
The VPS is bought from: www.digitalocean.com
What I have done so far:
- Downloaded openJDK
- Connected to the VPS through Putty.
- Made a directory in root called 'rsky'.
- Uploaded the server files to the directory 'rsky' with Filezilla.
- Headed into the server files directory and executed this command:
Code:
java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar: server.Server
It's giving me this error:
Code:
root@Runesky:~/rsky# java -classpath bin:deps/poi.jar:deps/mysql.jar:deps/mina.jar:deps/slf4j.jar:deps/slf4j-nop.jar:deps/jython.jar:log4j-1.2.15.jar: server.Server
java.io.FileNotFoundException: ./data/cfg/prices.txt (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at java.util.Scanner.<init>(Scanner.java:656)
at server.world.ItemHandler.loadItemPrices(ItemHandler.java:307)
at server.world.ItemHandler.<init>(ItemHandler.java:37)
at server.Server.<clinit>(Server.java:67)
./Data/CFG/npc.cfg: file not found.
./Data/CFG/spawn-config.cfg: file not found.
shops.cfg: file not found.
[ObjectDef] Configuration has been loaded...
[Region] Configuration has been loaded...
[6/15/15 9:05 AM]: Done loading raredrops!
[6/15/15 9:05 AM]: Loaded 1024 doors in 345ms.
[6/15/15 9:05 AM]: Loaded 273 Double doors in 33ms.
[6/15/15 9:05 AM]: Server - accepting connections from port 43594.
It's pretty obvious that the directory ./Data/CFG/ and the files: prices.txt, npc.cfg & shops.cfg isn't found.
To me that sounds ridiculous, because when I head into the directory that isn't found, it's there:
On top of that I got some other questions aswell:
- How do I portforward on a VPS?
- How am I supposed to use no-ip?
- How can I keep the server running when I turn my computer off?
If there is any other details you need to help out, shout it out!
All help is highly appreciated!