We've had lots of questions lately regarding running NexusDB on a Linux machine. It seems that more and more companies and organisations want to run their servers on Linux instead of a Windows OS. We got to a point where we thought it to be useful to create our own very simple mini distro of Linux called Nexux :)
Nexux is based on a Puppy Linux puplet called G_Pup 1.2 which is a barebones SMB enabled image. Nexux is Slackware compatible and adds SeaMonkey 1.1.8 for easy downloading and of course Wine 1.1.12 to the image. It also has the NexusDB V3 Server and a test database installed.
Nexux comes as an ISO download which is only 84 megabytes in size. You can then write it to CD/DVD or run the image directly from VMware or similar. Nexux can run as LiveCD (read-only!) or can be be very quickly and very easily installed to USB drives or hard drives.
The best thing about Nexux is that you can remaster the ISO to include your own settings and/or database for easy and quick installation. Nexux takes full advantage of the possibilities that Puppy Linux offers and by using the built in mechanism to remaster the ISO you can create CD/DVD of a full Nexux LiveCD/Installer including eg your own server and your own databases with preset aliases.
How to run Nexux in a VMWare VM
Running Nexux in VMWare 6.5 is really really simple. Here are the steps:
- Download Nexux ISO
- Create a new VM
- Select Typical (recommended)
- Install from "Installer Disc Image" and point it to the downloaded ISO
- Select Linux / Other Linux 2.6.x Kernel as Guest system
- Give it a name/location of your choice
- Add a disk, 1 gig is plenty
- Review your settings and Finish/Create the VM
- Make sure the settings of your network are "Bridged" or the NAT is setup correctly.
- Nexux should boot now
- Set the mouse, keyboard and X-Window settings
- Click the Connect icon, then Internet by network or wireless LAN, then ETH0 and set it according to your network (that should be set to 192.168.1.133 by default)
- Click the NX Server icon once started
- Fire up EM on your host machine and add a new server NexusDB@192.168.1.133 and connect. (or of course to the network address you setip in the step above).
- That's it.
- When you shut down Nexux you have the possibility to save the settings to a file.
How to boot Nexux from CD
Booting Nexux is even simpler. Here are the steps:
- Download Nexux ISO
- Burn the ISO to CD
- Reboot your machine, make sure that it is trying to boot from CD
- Nexux should boot now
- Set the mouse, keyboard and X-Window settings
- Click the Connect icon, then Internet by network or wireless LAN, then ETH0 and set it according to your network (that should be set to 192.168.1.133 by default)
- Click the NX Server icon once started
- Fire up EM on your host machine and add a new server NexusDB@192.168.1.133 and connect. (or of course to the network address you setip in the step above.
- That's it.
- When you shut down Nexux you have the possibility to save the settings to a file.
How to install Nexux to a hard drive or USB stick?
Once Nexux is running in e.g. your VM or from CD, it's very easy to install it to a hard drive or a USB stick.
- Boot into Nexux (follow steps above)
- Open Menu/Setup/Puppy Universal Installer
- Follow the on screen instructions
- That's all
How to update NexusDB server on Linux?
We've added a convenient "Wine Windows Root" folder on the desktop, which links to the wine internal "c:" drive. We've also installed the Seamonkey browser (Menu/Internet) to allow for easy downloading of new binaries. We've also already added zip support to the file manager so handling a download zip archive will be very easy. To update the nxserver.exe download a new binary and then copy it to drive_c\program files\nexusdb subfolder in "Wine Windows Root".
How to configure NexusDB server?
Just fire up a web browser (either in the linux system or from a reachable networkd machine) and point it to 192.168.1.133:10088 (or the IP you gave your ETH0 interface). This will bring up the NexusDB web administration which you can use to configure all the settings of the NexusDB Server.
How to create my own Nexux derivative?
In a nutshell the following steps are necessary (We will create an additional blog entry for step by step details in the near future):
- Install Nexux, best to hard drive with the settings of a USB IDE drive (sic!)
- Configure everything as you want it including server, databases etc
- Open the Menu/Setup/Remaster Puppy LiveCD
- Follow the instructions. Especially make sure that the step that creates the /tmp/root/ directory includes the /root/.wine folder
We hope that this will make the live easier for people who are trying to get NexusDB Server running on a Linux system.
Attachment | Size |
---|---|
nexux-1.00.zip | 83.11 MB |
Nexux & SMB
Nexux looks like a great idea. Tried it and, in, itself it works great with data files from an existing application transferred onto the machine via a USB stick.
Had problems with the Samba client though which you need to connect the server machine to somewhere else on the network as the easiest way of transferring data files for the Nexus server to use. The Nexux blurb says that it's SMB enabled. Working via the console calling smbclient or /usr/bin/smbclient gets you a file not found error implying that smb is not installed. If you do install it then the Nexus server disappears from the desktop when you reboot after doing the SMB install.
Am I doing this the wrong way or missing a trick somewhere ????