D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Problem in use of VirtualBox to demonstrate a server based software locally on my machine

 



On 14/05/18 11:35, Eion MacDonald via list wrote:
To DC Lug members,
Dear folk,
20180514 Virtual Box and web browser operated software 'CaseBox' for a
charity.

Can anyone advise me on correct use of VirtualBox as a 'localhost' server?

Situation: I have offered to help a charity who act as advocates/legal
help to ex servicemen in disputes with UK Government departments.
They need a 'case management' software for use by their lawyer and
social workers.
Currently cases are only stored in lawyer's MS Outlook as 'files'/'local
folders' but with over 80 cases in action this is unwieldy and I was
asked what could be used to help.

Such 'case management software' is available as paid for monthly service
using a web browser input. (Costs roughly from Â100 upwards per month,
almost no limit once 'trapped' inside a specific service, it appears).
They would of course need to set up a domain and hosting for the 'case
management software'. Currently they run a 'static' website with their
information and a contact page.

  A free opensource solution is available, from searches I find some
legal charities in USA are using the free software, on CentOS based
servers. It was originally used to give this type of software to
Humanitarian Organisations, but is now available as 'opensource
software' for a Linux CentOS Server solution.
Link: https://www.casebox.org/
HURIDOCS (Humanitarian Organisation's CaseBox hosting and support).
Another company gives commercial support for CaseBox outside the
specialised "Humanitarian Field'
refer:  https://www.ketse.com/

Before going into detail with the charity, I would like to run a trial
on a server within my own Linux Box using VirtualBox; [OpenSUSE, i7,
16Gb RAM running from 128GB USB key as dual boot on original Windows 10
box].

There is a VirtualBox OVF file available. I have not been able to make
it work.
A big 'not'  after many tries both as imported OVF over the last 3 weeks
and trying to build a CentOS web server in VirtualBox.

Problem. I have no knowledge of servers or Virtual Box using servers to
set up a local demonstration.
Only experience of 'localhost' server was originally 12 years ago with
XAMPP on a Windows box before setting up two Joomla! sites on hosted server.
I have run many 'trial runs' of Linux distros in Virtual Box, but never
a server so have no experience  or use knowledge of servers. I need some
help to try this software.
"Frustrated" after many unsuccessful trials over three weeks and much
reading but obtained little knowledge or results.
Refer:
YouTube video on the software, illustrates the software:
https://www.youtube.com/watch?v=cSQK8PBou-Y

Welcome to CASEBOX â a case management system, where you can log and
track all your cases, work on them collaboratively from remote instances
and share information with colleagues, export results, record and list
tasks and assign people, establish users and set roles and permissions,
explore the chronology of cases through the case graph and establish
complex searches and analysis according to your need.

They also have a set up instructions for 'proper Linux users' on a web
page; refer
https://www.casebox.org/dev/install/

  I do not have enough knowledge to use this.

If I set up (import) the OVF file and its components  I get a VirtualBox
that asks on start in a terminal window.
Copy of text in terminal.
I have tried to adjust "/etc/hosts" in the root account of CentOS by adding
10.0.2.15  your domain.com
as an extra line above last line, but this appear to achieve nothing. I
do not know what I am doing to adjust '/etc/hosts' .
I need explanation of what I should do.

copy of Terminal text in VirtualBox

CentOS release 6 (final)
Kernel 2.6.32-431.20.3.e1.i686 on an i686
IP address
10.0.2.15

----------------------
Add yourdomain.com with the above IP address in your host file
Open URL  'https://yourdomain.com/demo'

see 'https://www.casebox.org/try' for demo login/pass
Root Account      root/casebox

SSH login pass  root/casebox

yourdomain login:

End of copy of text in terminal.

I have tried to adjust "/etc/hosts" in the root account of CentOS by adding
"10.0.2.15  your domain.com"
as an extra line before first line and above last line, but this appears
to achieve nothing. I do not know what I am doing to adjust '/etc/hosts'
  or to get the trial website 'CaseBox' working locally in VirtualBox.


Please, can this very ignorant of servers and VirtualBox person ask for
help.

Ultimately I need, if the charity likes the CaseBox idea to get them to
set up a domain and hosting for it for their lawyer and social workers
to use to input records and case stuff via a browser webpage access.

Please, any guidance would be most beneficial.

Regards,
Eion MacDonald

I think the Terminal window is telling you what IP the server is set up on. It really needs to be a free IP in your network's subnet.

Using the Virtualbox Manager, open the VM's settings and navigate to the Network Settings. What do you have there? I tend to set it to attach as a "Bridged" adaptor. I then log into the the server and edit the network settings to give it a static IP that matches my subnet - on Ubuntu it's /etc/network/interfaces (I don't know what it would be for CentOS)

You should then be able to access the web interface for your software using the IP address you set up. If you want to map this to a hostname, edit the hosts file on your parent OS (not the VM).


--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq