Remote Gnu Database Manager 2.1.41
Sponsored Links
Remote Gnu Database Manager 2.1.41 Ranking & Summary
File size:
0.076 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
858
Date added:
2007-06-26
Publisher:
Peter T. Breuer
Remote Gnu Database Manager 2.1.41 description
Remote Gnu Database Manager is a network server daemon and client library for the standard GNU GDBM(3) database management interface, which itself incorporates Berkeley DBM.
To setup after installation (these notes are for 2.1.33 or later), let make install do what it can, and then:
1. create a user, gdbm, on the server machine with home in /var/lib/gdbm. Make install tries to do that for you using adduser so you likely just have to check /etc/passwd and /etc/group.
2. Create /var/lib/gdbm and change owner to gdbm. Again, make install has a stab at this for you and likely you will need to do nothing yourself.
3. Also create /var/lib/gdbm/data, /var/lib/gdbm/ctrl and change owner to gdbm. Make install should also have made those.
4. Copy those parts of /etc/passwd belonging to users who should be able to access the daemon to /var/lib/gdbm/ctrl/passwd. This is entirely in your hands.
5. Likewise for /etc/group to /var/lib/gdbm/ctrl/group.
6. Start the daemon as gdbm with some command like "sudo -u gdbm /usr/sbin/gdbmd", or "su -c /usr/sbin/gdbmd gdbm". The install will not start it for you, nor does it presently install a system startup script for it in /etc/init.d or elsewhere.
7. Write an application on the client that uses the standard gdbm_* calls in the GNU GDBM(3) manpage, but replace the gdbm_ calls with rgdbm_ calls. The install routine does do that ... or perhaps I lie.
Thats about it! Apart from setting up for SSL if you want to use that and Ill give some further indications as to how to do that below.
One has to add two extra calls in the application over and above what was there already for gdbm(3) usage; one to rgdbm_connect() and another to rgdbm_disconnect(), respectively to begin and end the session, as detailed in the rgdbm(3) man page.
Example:
Sample code ... start by making the connection:
rgdbm_connect(host, dir, user, 0);
Then open the desired database in that directory:
GDBM_FILE dbf = rgdbm_open(dbname, 1024, GDBM_WRCREAT, 0640, NULL);
Now the rgdbm(3) ops are available.
fprintf(stdout, "Database contains ...n");
datum key = rgdbm_firstkey(dbf);
if (key.dptr) {
datum content = rgdbm_fetch(dbf, key);
fprintf(stdout, "key %s content %sn", key.dptr, content.dptr);
while (key = rgdbm_nextkey(dbf, key), key.dptr) {
fprintf(stdout, "key %s content %sn", key.dptr, content.dptr);
}
}
Terminate by closing:
rgdbm_close(dbf);
and disconnect from the session:
rgdbm_disconnect();
Enhancements:
- Added (generated) debian directory to package.
To setup after installation (these notes are for 2.1.33 or later), let make install do what it can, and then:
1. create a user, gdbm, on the server machine with home in /var/lib/gdbm. Make install tries to do that for you using adduser so you likely just have to check /etc/passwd and /etc/group.
2. Create /var/lib/gdbm and change owner to gdbm. Again, make install has a stab at this for you and likely you will need to do nothing yourself.
3. Also create /var/lib/gdbm/data, /var/lib/gdbm/ctrl and change owner to gdbm. Make install should also have made those.
4. Copy those parts of /etc/passwd belonging to users who should be able to access the daemon to /var/lib/gdbm/ctrl/passwd. This is entirely in your hands.
5. Likewise for /etc/group to /var/lib/gdbm/ctrl/group.
6. Start the daemon as gdbm with some command like "sudo -u gdbm /usr/sbin/gdbmd", or "su -c /usr/sbin/gdbmd gdbm". The install will not start it for you, nor does it presently install a system startup script for it in /etc/init.d or elsewhere.
7. Write an application on the client that uses the standard gdbm_* calls in the GNU GDBM(3) manpage, but replace the gdbm_ calls with rgdbm_ calls. The install routine does do that ... or perhaps I lie.
Thats about it! Apart from setting up for SSL if you want to use that and Ill give some further indications as to how to do that below.
One has to add two extra calls in the application over and above what was there already for gdbm(3) usage; one to rgdbm_connect() and another to rgdbm_disconnect(), respectively to begin and end the session, as detailed in the rgdbm(3) man page.
Example:
Sample code ... start by making the connection:
rgdbm_connect(host, dir, user, 0);
Then open the desired database in that directory:
GDBM_FILE dbf = rgdbm_open(dbname, 1024, GDBM_WRCREAT, 0640, NULL);
Now the rgdbm(3) ops are available.
fprintf(stdout, "Database contains ...n");
datum key = rgdbm_firstkey(dbf);
if (key.dptr) {
datum content = rgdbm_fetch(dbf, key);
fprintf(stdout, "key %s content %sn", key.dptr, content.dptr);
while (key = rgdbm_nextkey(dbf, key), key.dptr) {
fprintf(stdout, "key %s content %sn", key.dptr, content.dptr);
}
}
Terminate by closing:
rgdbm_close(dbf);
and disconnect from the session:
rgdbm_disconnect();
Enhancements:
- Added (generated) debian directory to package.
Remote Gnu Database Manager 2.1.41 Screenshot
Advertisements
Remote Gnu Database Manager 2.1.41 Keywords
GDBM
GNU
Remote Gnu Database Manager
Remote Gnu Database Manager 2.1.41
database manager
gnu gdbm
server daemon
Network Server
make install
Client Library
database
manager
remote
3
install
key
Bookmark Remote Gnu Database Manager 2.1.41
Remote Gnu Database Manager 2.1.41 Copyright
WareSeeker periodically updates pricing and software information of Remote Gnu Database Manager 2.1.41 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Remote Gnu Database Manager 2.1.41 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
database management system
database management
component database manager
database manager job description
mysql database manager
sql database manager
database manager salary
mp3 database manager
database managers
what is database management
sesame database manager
database manager jobs
express database manager
database manager responsibilities
database management systems
database manager resume
database manager software
different database management systems
Related Software
QDBM is a library of routines for managing a database. Free Download
MeDs Movie Manager is an easy-to-use and customizable movie manager. Free Download
Gnome Remote Connection Manager is a gnome application that stores information about remote connections. Free Download
BitTorrent Queue Manager is a console-based BitTorrent client that provides built-in queue management functions. Free Download
Web Reference Database is a bibliographic manager that can import and export references in various formats. Free Download
XULTech Firelinksfor Mozilla Firefox is a remote file manager/control panel that lets you manage your web server. Free Download
GNU tar program provides the ability to create tar archives, as well as various other kinds of manipulation. Free Download
Shell Directory Manager is a small tool for managing often-visited directories using a shell like bash. Free Download
Latest Software
Popular Software
Favourite Software