- Introducing Quasar
- Building and Installing Quasar
- Getting Started with Quasar Accounting
- Wrapping Up
Building and Installing Quasar
Installing Quasar Accounting is really very simple. Assuming that you are using the GPL packages, download the server and client binary packages and install them for your system—just two simple RPMs.
Building Quasar is quite simple; it is essentially nothing more than a classic extract and build five-step.
tar -xzvf quasar-1.4.7_GPL.tgz cd quasar-1.4.7_GPL ./configure make su -c "make install"
The entire package is installed in /opt/quasa, regardless of whether you use the RPM packages or the source. The commands themselves are in a directory called bin directly under that. After the installation, you need to set up Quasar, and that's done by running the setup program as root.
su -c /opt/quasar/bin/quasar_setup
A four-tabbed window will appear. The tabs are labeled Companies, Drivers, Server, and Client. At this point, there are no companies set up—something we'll take care of shortly. Take a look under the Drivers tab (see Figure 2) and you'll see the supported databases (for which drivers are already provided). Because I tend to be a big fan of PostgreSQL and it comes with most Linux distributions, I selected PostgreSQL and then clicked Configure.
Figure 2 Support for Firebird and PostgreSQL is built in.
The important thing here is that you need to specify a DBA username and password (see Figure 3). You create them ahead of time with the appropriate tools for your database (see the following note for a PostgreSQL example). You may have noticed an interesting little button labeled Test on that configuration window. After you set up your database users, you can use this button to test your connection to the database. That way, you can make sure everything is ready before you move forward.
Figure 3 The database configuration screen also provides an easy test option.
Returning to the Companies tab, click the New Company button. A small window will appear, asking you to enter the company name. Enter a name and click Create. You can create multiple companies at the same time if you want and even create them for multiple databases. That's it. Now that we've created a company and that everything is set up, it's time to start the actual program and get your company data up and running.