2008-08-12

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!

UPDATE:
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!

2008-08-08

My Next Smart Phone

So a lot of my recent posts have dealt with the iPhone...but that's probably because I've spent so much time with it this past month. As while I'm very glad I finally upgraded from my usual cheap/free basic phone (with no interwebs); things are still far from perfect...and I love redesigning/dreaming about all my gadgets and such.

So, it's late...and I should probably be in bed right now, so for both our sakes I'll try to not be as wordy as usual...well, at least from here on.

1. I want an open source OS, and I want to hack around on it without having to “jailbreak” it. I completely understand Apple's thinking and methodology with it's App Store...however, I should have the option of installing unapproved 3rd party apps (at my own risk of course). This also entails that I want access to a command line terminal and the ability to mount my phone's hard drive just like it were any other external usb drive. My next phone will quite definitely be running OpenMoko/Android/LiMo/OpenSymbian or something like that. To sum it up, I want to be able to do whatever the hell I want to with MY phone.

2. I want a true 16:9 screen....not 16:10, not 3:2... standard 16:9, with preferably 480p resolution and OLED rather than LCD.

3. This is obvious, but of course I want a more powerful CPU (dual-core would be awesome). I want a much more powerful GPU that can handle playing up to 720p video (Nvidia's new Tegra line claims it can already). More RAM, more hard drive space....you know, the usual ;)

4. A much much better camera. I've honestly never had a phone with a camera in it before. However, now that I have one....I want it to be at least as capable as my shitty 8+ year old digital camera (3.1MP). I'm talking at the bare minimum 5 megapixel, if not 10. I want all the settings, like apature and shutter speed. I need a manual focus option, white balance...the works. I need some sort of flash mechanism too. The iPhone's current camera has really shitty capability for taking low light shots. Furthermore, this camera needs to be capable of recording video, not just stills. My wife's 3 or 4 year old Razor can take video (albeit really shitty quality, but still video) why can't my frickin' iPhone? I'm hoping at least 480p resolution too. Zoom would be nice too, but I'll understand if it gets left out... Oh also, have some sort of lens cover built in for when I'm not taking photos (Nokia knows what's up).

5. A hand editable equalizer. Every set of headphones is different, I really need at least a 5 if not 7 level EQ that I can tweak to perfection rather than just a handful of presets. Side note: I haven't been able to figure out if the “iPod” app's EQ settings are system wide or are just for the iPod app. This is partially due to the fact that thru various setbacks I have still yet to getting around to jailbreaking my phone so I can transfer my music collection over (maybe it'll finally happen this weekend with Pwnage 2.0.2).

6. A more repairable design. Handling my iPhone is like handling a hand grenade everyday. I spent hundreds of dollars on this thing...and it could all be over with just one little accidental drop. I really wish I had the capability to replace my own battery or screen in the unfortunate case they were to break. Somehow I just know it that before my 2 year contract is up I'm gonna have to pay apple a hundred or two more to fix/replace mine when it breaks.

7. Here's a weird one... slightly bigger. Yes...I wish my iPhone was bigger. I've already discussed how and why I'd like it to be a little longer, but also a little bit thicker too I think. This would give room for a bigger battery most importantly, and as while I don't think it's current battery is nearly as bad as most make it out to be, it could always be bigger. I think because of it's size (and sheen) it just feels way to delicate for a klutz like me to be handling on a regular basis.

8. Stereo Bluetooth. I love my Smokin' Buds and all, but it'd be really cool to be totally wireless one day...too bad the current iPhones only support mono via Bluetooth :/

9. Front side web cam. Not only do I want the main camera on the back to be much better...I want a second one (like was rumored) on the front for video chat. I don't know about you, but I just think that would be awesome.

10. Use a standard USB port or something. It just irritates me that Apple has to have proprietary ports on their iPods and the iPhone. Why not just put a mini USB or Firewire port on there? Maybe it's just me, but I think it would awesome to be able to whip out a roll-up keyboard and start typing away (thus completely eliminating my need for a laptop altogether)...or even think about being able to plug your smart phone right up to a printer, ok perhaps that's just silly but maybe not, I should at least be able to print to a network printer that uses either Post Script or PCL. I don't know... perhaps Apple has good reason for using it's own port, maybe it can handle more bandwidth and or voltage that USB 2.0 or something. I mean, a simple converter dongle could get the job done right now...I'm just thinking what's the point.

11. Use more of a matte finish. Honestly, the shiny look of the iPhone is great for press pictures and whatnot, but it just ends up in smudge city at the end of the day. I really wish companies would go for some sort of rugged rubber or something rather than the shiny, brittle plastic. Obviously the glass on the front would have to be glossy...but why the rest of the phone? I've already noticed the cheap chrome plating around the edge chipping and getting rough in not even a month of usage so far.

That's about it. An hour later now, it looks like I failed on the whole keeping it simple concept. Honestly, number 1 and 4 are the only ones I really really need...but they'd all be nice ;)