Guide: How to install Quickbooks Enterprise 8.0 on Ubuntu 8.04.1

I recently had the "fun" of forcing Quickbooks Enterprise Server 8 onto an Ubuntu 8.04 server. Intuit only officially supports Fedora and OpenSUSE with thier RPM installer, so I had to work a little Alien magic and do quite a bit of hand editting, below you will find a guide of how to do this yourself. Do note, that a large portion of this guide is derived from an older one located at http://brousch.orthicomp.com/howto/qbent7-linux-server-ubuntu-dapper.html ...the rest comes from reading through the non-functional post install script inside the RPM.

1. Login as root (or you can use sudo on each command if you just really want to)
2. apt-get install alien rpm lsb lsb-rpm gamin
3. mkdir /var/lock/subsys
4. ls to directory containing RPM
5. alien qbdbm-VERSION.rpm (do not use the "--script" option, Will Fail)
6. dpkg -i qbdm-VERSION.deb (for some reason Alien will bump the last number)
7. add "daemon.* -/var/log/qbdbfilemon.log" to /etc/syslog.conf
8. touch /var/log/qbdbfilemon.log
9. /usr/lib/lsb/install_initd /etc/init.d/qbdbfilemon
10. /usr/lib/lsb/install_initd /etc/init.d/qbdbmgrn_18
11. addgroup quickbooks
12. Add users who will be accessing the samba share to the quickbooks group
- usermod -G quickbooks USERNAME
13. Create a directory that your quickbooks data will go in (referred to as PATH from here out)
14. chown :quickbooks PATH
15. chmod -R 770 PATH
16. If the path you just created is not already within a Samba shared directory, set it up as one.
17. Use your favorite text editor to edit /opt/qb/util/qbmonitord.conf
- Remove the default path and type in the new one you just created
- qbEnterprise does not scan for subdirectories, so if you have more than one directory each one will need to be added on seperate lines in qbmonitord.conf
18. /etc/init.d/qbmonitord start
19. /etc/init.d/sysklogd restart

Now the original guide I went by had a list of commands to create links for putting it into the startup of your system, but I believe the last two commands (taken from the install script) should take care of that for you. However, when I was setting this up, the first time I attempted using the script which failed out, but may have done this for me before failed. So, if it's still not working right after you finish my guide, try going back and doing this too.

- ln -s /etc/init.d/qbmonitord /etc/rc2.d/S85qbmonitord
- ln -s /etc/init.d/qbmonitord /etc/rc3.d/S85qbmonitord
- ln -s /etc/init.d/qbmonitord /etc/rc4.d/S85qbmonitord
- ln -s /etc/init.d/qbmonitord /etc/rc1.d/K15qbmonitord
- ln -s /etc/init.d/qbmonitord /etc/rc6.d/K15qbmonitord

For more info see the Linux Install Guide PDF that was included on the CD

If converting an old company file to Enterprise'08, you'll need to make the user you login to the samba share with during the upgrade, the owner of the .QBW, .QBW.ND and QBW.TLG files.

Hope this helps...and good luck!

Make sure to also create "/var/lock/subsys/" and touch /var/lock/subsys/qbdbfilemon and /var/lock/subsys/qbdbmgrn_18 or you will get some weird errors with the file saying it's in use when it's really not!


brousch said...

Thanks for writing this up. I added your information to The Ubuntu Wiki.

QuickBooks Support Number USA said...

That's really wonderful info. Can you also guide me how to install Quickbooks in windows 7.
Here was the procedure I followed. Quickbooks Help Support Guide