Hi,
First of all this howto is not my own work, it was published by Brian Walker and I have just changed a few items to make it work on Breezy Kubuntu. I still need to find out how my windows PC can use the Quasar server on the kubuntu pc. If anyone has this working please let me know and I will update the howto. Please let me have any feedback to update as well.
How to install Quasar Accounting on Kubuntu
Compliments to Brian Walker
Quasar is an accounting software for Linux and may even be one of the better types currently available for linux. Its GPL and free to use, modify or even sell! It's powerful and easy to use and a full range of support packages are available from the authors. It needs a Linux server, but clients are available for both Windows and Linux.
Unfortunately, Quasar's not straightforward to install on kubuntu, as no pre-built packages are available. The packages are thus built from source.
The compiling of the packages can take a while and allow yourself a couple of hours before sitting down with this. I suggest also printing out the Installation and Setup manual in case you would like to know exactly what you are doing! It may help if you stumble somewhere and is very clear. We are using Postgresql as a database as we could not get Firebird to work on earlier versions of ubuntu and Sybase is a commercial program.
Install and build Quasar
First, go to, ftp://ftp.software.ibm.com/software/....4/icu-3.4.tgz and download the file icu-3.4.tgz to your desktop.
Next, go to www.linuxcanada.com, and download the file quasar-1.4.7_GPL.tgz to your desktop or the latest version if they have updated. While you're there, also download the comprehensive and excellent product documentation provided by Linux Canada.
Ensure that your repositories are enabled and use Adept or Synaptic to install the following:
build-essential, libqt3-mt-dev ,autoconf, tcl8.4-dev, tk8.4-dev, postgresql-7.4, postgresql-dev and qt3-apps-dev
Stop all applications that are running to be on the safe side.
Right click on your desktop and create a new directory called quasar
Move or copy the downloaded files quasar-1.4.7_GPL.tgz and icu-3.4.tgz to the new directory quasar
Now go to the new folder and right click on icu-3.4.tgz and extract to here
Also right click on quasar-1.4.7_GPL.tgz and extract to here.
The next steps will take quite a while until finished while the compiling is done:
cd /home/<username>/Desktop/quasar/icu
./configure
make
sudo make install
sudo cp /usr/local/lib/icu* /usr/lib/
sudo cp /usr/local/lib/libicu* /usr/lib/
cd /home/<usename>/Desktop/quasar/quasar-1.4.7_GPL
./configure
make
sudo make install
Creating your menu icons
Open Kmenu Editor (right click on Menu button) and create entries for Quasar Server start, Quasar and Quasar Admin in the Office menu.
Quasar Server Startup: (or do with a script when PC starts)
Command: gksudo /opt/quasar/bin/quasard
Icon: /opt/quasar/setup/quasar_setup.xpm
Quasar Admin:
Command: gksudo /opt/quasar/bin/quasar_setup
Icon: /opt/quasar/setup/quasar_setp.xpm
Quasar
Command: /opt/quasar/bin/quasar
Icon: /opt/quasar/setup/quasar_client.xpm
Set up the PostgreSQL database
sudo -s -u postgres (make yourself the postgres user)
createuser -d -E -P quasar_dba (give a dba password i.e. Thebear)
createuser -E -P quasar (give a non dba password here i.e. Teddy)
exit
Edit the /var/lib/postgresql/7.4/main/pg_hba.conf file with konquerer, right click, actions, edit as root or use sudo kwrite or krusader in root mode to edit.
Add the second row, it allows all your lan pc's with ip 192.168.0.x to access quasar:
host all all 127.0.0.1 255.255.255.255 md5
host all all 192.168.0.0 255.255.255.0 md5
Also edit the /var/lib/postgresql/7.4/main/postgresql.conf and change the line with #tcpip_socket = false to tcpip_socket = true
Now restart postgresql:
sudo /etc/init.d/postgresql restart
Set up Quasar with the PostgreSQL server
Click Quasar Admin icon to setup.
Go to the Drivers Tab, and click Configure. Enter these settings.
Hostname: localhost
Port: 5,432
Library: /usr/lib/libpq.so.3.1
DBA username: quasar_dba
DBA password: whatever you entered earlier (i.e. Thebear)
Username: quasar
Username password: whatever you entered earlier (i.e. Teddy)
Character set: UNICODE
If all this works, set up a client in windows by downloading and installing the Windows exe file. The windows and Kubuntu PC’s should now be able to use the program and you can set up the printer via Samba if required.
Bookmarks