-->
Previous | Table of Contents | Next |
Using the installation script, you are prompted for the different packages that should be installed, as well as their directory. You should install all the packages included with the Adabas-D CD-ROM for a complete Adabas-D system, with the exception of any language you dont want (Adabas-D is usually distributed with both English and German documentation and command sets). There are usually four components to the Personal Edition system, which is the version most users will want:
Before Adabas-D can be started, two shell variables must be set for each user account that will have access to the database package. The shell variables are
The adabas-mydb package installed earlier is a complete tutorial and sample database that details the German railway system (which is interesting by itself if you like trains!). You can run this example through an X session to see what Adabas-D is capable of. To start the demo, start X (after you have set the required shell variables) and issue the command:
panel
The user name to enter is control, and the password is control. The database name is MYDB. Click the Connect button in the window and wait for the traffic light signal that appears to change to green. The database contains some pictures of the German railways. To see these pictures, start the fotos program in an X terminal, use the username demo, the password demo, and the same database name as before (MYDB). Adabas-D should be up and running now. If there are any problems, make sure the environment variables are set properly and that the installation didnt generate any error messages.
Documentation for the Adabas-D system is in the doc directory under the Adabas-D root directory (such as /opt/adabas-d/doc).
LINCKS is an object-oriented database management system. LINCKS is a good system if you intend to use it on a network and share data via RPC calls. You need to have some experience with networks, as well as an existing network to fully benefit from this package. This package is not for a single node system just because it would be an overkill for such a platform.
Note:
You can get LINCKS from sunsite.unc.edu in the /pub/linux/apps/database/ lincks directory.
LINCKS is based on an append-only object-oriented structure. Objects are derived from other objects. Links can be set between objects to define relationships. You define views to an object. A view is used to specify how the data in the object is presented to a user. Multiple views can exist for the same object. Views can be inherited.
The main interface is xlincks program. Using commands similar to emacs, you can interactively browse through databases. The interface resembles the hypertext functions of a Web page. You click on a highlighted item, and the program leads to a page with more information about the topic.
Help is available in two forms: context sensitive or as a browseable database. The help file is always a button awayto access help, simply press the Help button. The contents of the help file are well organized and are a good starting place to learn about LINCKS. The manual is also available in PostScript from the sunsite archives.
LINCKS comes with a few programs in its distribution package. You can create new databases using the dbroot command. To prune databases of unreferenced objects, use the cutoff command. The main server for the application is the netserv program, which fires off a dbs process for each connected client.
Of course, the xBase tools weve looked at are not the only databases available for Linux. There are a lot of nondBASE-compatible tools out there. We can take a quick overview of some other database management systems for Linux. Most of these are free and can be found on the Internet.
FlagShip and dbMan are excellent means of porting existing dBASE and dBASE-compatible programs to Linux where they run without modification in most cases and a lot faster in almost all cases. A version of FlagShip is being developed for X to run under FreeX86 or other Linux-based X versions, and that should be available in 1997. For now, though, the demo version of FlagShip lets xBase developers continue to work with their database system under Linux. The commercial product, with its hefty 1,500-page documentation, is $199 and well worth it for developers. dbMan is a logical alternative for those who dont need FlagShips compiler features and extended capabilities.
Previous | Table of Contents | Next |