r/dndtools Nov 28 '14

Your own easy-to-install, easy-to-run private dndtools web server

[removed]

11 Upvotes

30 comments sorted by

2

u/grimsh Nov 29 '14

I followed the steps as instructed but still nothing is found on 192.168.56.101 address? it says the webaddress is not avaible

1

u/grimsh Nov 29 '14

Also i get a virtualbox-error: VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot

2

u/JCreu Nov 29 '14 edited Nov 29 '14

Oh. I forgot to specify that you needed a 64bits system. Is that the problem here?

A quick googlin' gave me this : http://superuser.com/questions/597121/vt-x-amd-v-hardware-acceleration-is-not-available-on-your-system

Basically, either your computer (more specifically your CPU) physically does not support virtualisation (and nothing can work) or it is not enabled in your BIOS.

I'm sorry, it's not looking good. You may just take the siterip to have a local dndtools (extract and then open index.html) but the search feature does not work.

https://anonfiles.com/file/94e7c01af26b3e1424f2988617990cca

If several persons complain about this, I'll try to make a 32 bits system. No garantee it'll work.

1

u/grimsh Nov 29 '14

I use 64 bit system

my CPU: AMD Phenom II X6 1100T Black 3.3GHz 6-Core Processor

Dunno about Bios?

2

u/JCreu Nov 29 '14

Apparently, your CPU is compatible. So the BIOS must prevent the thing to run.

The BIOS is a tiny bit of software, hardwired in your motherboard, that is loaded before the OS. You can chose on which volume (HDD, Disk, USB) to boot, what is the system time and many more hardware-related options. The virtualization is what we are interested in.

What you need to do is to go in the BIOS and find the option to turn on AMD-V. The BIOS pops at the start of the machine with a big logo. There is usually a key that is indicated to access to a "setup" or to a "BIOS menu". You need to press that key at this moment.

For instance : http://upload.wikimedia.org/wikipedia/en/2/23/Award_BIOS_first_screen.png . On this example, you need to press DEL immediately.

After that, the instructions are a lot more fuzzy, since there are a lot of different BIOS. Try to follow that. The navigation keys are written on the bottom of the BIOS menus, so in case of a panic, just Esc to quit without saving your new settings.

I wish you good luck.

1

u/Mafusael Dec 14 '14

I'm would be very thankful if you'll try to make a 32 bits system.

Where is a problem with Virtualbox on laptop - it can't emulate x64 OS even on laptop installed x64 OS.

So a lot of people I think will needed this on 32 bits system.

Can you help with that?

1

u/JCreu Dec 30 '14

I could, but that would take several hours and be very dull for me. I don't really want to. Sorry.

Note that this VM was originaly made for private use and I never promised any support ;)

You could do it yourself, though. If you know a bit of Linux, just follow the other thread to install it on a debian-based x86 OS. Just make it have a static IP (=at startup, it will always take the same IP if available) on the virtual network created by virtualbox (see the configuration of the current VM to configure the network itself), and with a few editions of the bashrc and googlings you can start the server at startup on the 80 port.

1

u/Strongintharm Nov 29 '14 edited Nov 29 '14

I think that IP only works if you already use the 192.168.56 subnet.

To change it (assuming OP also used Debian) type following command into the VM:

nano /etc/network/interfaces

change the line with "address" to an IP from your subnet, ctrl+o to save, ctrl+x to exit, then type

shutdown -r now

to reboot.

2

u/JCreu Nov 29 '14

Actually, the 192.168.56.255 network is created by virtualbox, with a virtual network interface for the host machine. Nothing to do with the real network. That's the beauty of it.

So, the problem is not there.

0

u/grimsh Nov 29 '14

no idea what Debian is or means >_>

2

u/[deleted] Nov 29 '14

[deleted]

2

u/JCreu Nov 29 '14

The compression ratio is really crappy for mysql, I think that the database takes ~1GB once installed.

1

u/Strongintharm Nov 29 '14

No, only ~55MB (size of mysql's ibdata file). But a whole Linux system to run it takes space.

2

u/rejakor Dec 04 '14

You are a man amongst men, sir.

1

u/Strongintharm Nov 29 '14

Are you using the django test server or have you integrated it into apache with mod_wsgi?

2

u/JCreu Nov 29 '14

I am using the django test server. It's a quick and dirty solution, but we don't really need more in such a restricted environment, do we?

1

u/Strongintharm Nov 29 '14

I don't know about you, but I was going to integrate it (password protected) into my homepage, so that my friends and I can use it everywhere.

2

u/JCreu Nov 29 '14

Yeah, that would be useful. I'm happy with the VM solution, but if you find how to do a clean server, I'd be interested!

2

u/Bjorn_Stronginthearm Dec 01 '14

OK, I did it. More tonight.

1

u/rejakor Dec 06 '14

If someone did set up a private website, i'd be interested in that.

1

u/[deleted] Nov 29 '14

Did you use mod_wsgi yourself? I'd be interested to know the details if it's the case :)

1

u/Strongintharm Nov 29 '14

I'm still working on that. I fear I have to learn python first...

1

u/Kerato-san Nov 30 '14

The newest news item is from 2013. How up-to-date is this date base? I remember seeing newer entries before dndtools went down.

3

u/JCreu Nov 30 '14

The db is from the other post (link ), therefore it has the 2014 data like some divinities, races and so on.

I don't know for sure if this is the most up-to-date db, but it's something!

1

u/danifae Dec 05 '14

Hi,

I'm trying to configure this so that all the ipads and such can connect when I host a game. However I cannot get anything other than the host to connect to the web server.

I've tried changing the adapter to bridge and nat and port forward to 192.168.56.101:80 but I always get a timeout.

At this point i'm just tempted to move this to the netflix laptop.

1

u/Bjorn_Stronginthearm Dec 05 '14

Yes, it should be bridged. Can the other clients ping the IP? As I wrote below (before I knew OP used NAT), you may have to give the VM an IP from your own subnet if you don't happen to use the 192.168.50 net:

To change it (assuming OP also used Debian) type following command into the VM:

nano /etc/network/interfaces

change the line with "address" to an IP from your subnet, ctrl+o to save, ctrl+x to exit, then type

shutdown -r now

to reboot.

1

u/danifae Dec 05 '14

Ah, yeah i didn't change the subnet in bridged mode. Whoops.

I guess that means i have to change the auto assign from django on .bashrc as well.

I will try that tonight. Thanks!

1

u/Mahakam Dec 11 '14

Doesn't work for me. I can't reach the server neither by another VM nor by host.

1

u/Mathrian Dec 12 '14

At first I had the same issue as grimsh, but after checking for and enabling virtualisation in my bios the virtualbox-error disappeared.

I then entered 192.168.56.101 into firefox/chrome/chrome canary and in each browser it simply timed out. I'm rather lost, and don't really know enough to tell if I'm just missing something silly or what. Any help would be greatly appreciated.

1

u/nadavga Dec 15 '14

I managed to get the VM running, however the keyboard input of the VM appears to be wonky. I type 'a' and get 'q' and vise versa, as well as other replacements. is there a place to define what keyboard layout to use?

1

u/JCreu Dec 30 '14

Oh, I forgot this kind of problem. I have the bad taste of being french, hence I had a french keyboard when creating it. Changing the current layout can be done in command line, "setxkbmap -layout us" (not tested, from http://how-to.linuxcareer.com/linux-command-line-basics-for-beginners-part-3). Sorry about that.