Installation

Controlling Starman

Member for

1 year 1 month
Submitted by pbolger on Sun, 12/27/2015 - 15:02

Useful Starman commands.
Using the perl based Starman webserver is the easiest way to run LedgerSMB locally (and quite possibly for production use as well).

## At the terminal, and from your LedgerSMB directory:
### Start Starman

starman  tools/starman.psgi

Default port is 5000.

starman -l :8080 tools/starman.psgi

Start with 8080 specified as the port.

Note: some documentation specifies the switch

--preload-app

It has been sugggested that this may give performance advantages in a production environment but isn't recommended while developing.
The manpage has more to say on this.

I want to upgrade PostgreSQL from 8.3 to 8.4+. How does that work?

Member for

4 years 5 months
Submitted by ehu on Sat, 11/24/2012 - 07:11

First of all, you need to backup all your company databases followed by an upgrade of your PostgreSQL installation. There are plenty of places on the web to explain how to do that. The high-level process is to install the two versions in parallel and run the pg_upgradecluster command.

When the technical upgrade has succeeded, however, you're not ready to see the performance improvements promised by the 8.4+ versions of PostgreSQL with respect to the menu-generation. This is because the database doesn't automatically use the new 8.4+ code definitions.

I just installed LedgerSMB, but http://localhost/ledgersmb/login.pl says "Forbidden"

Member for

4 years 5 months
Submitted by ehu on Fri, 11/09/2012 - 15:04

The default configuration limits access to the /ledgersmb/login.pl page to connections from localhost (127.0.0.1) only for maximum security.

If you want to allow connections from other locations, it's highly advisable to use encrypted (VPN) connections to access your ledger in order to maintain good security.

How to set up POS so it works with barcode scanner, receipt printer, etc.?

Member for

4 years 5 months
Submitted by hasorli on Sat, 08/18/2012 - 07:03

Q: This particular merchant runs Windows. I don't think they have a pole display, though I can check. Ideally, it would be great to accommodate, with or without pole display. If it runs better on Linux, going forward I would propose Linux workstations for new merchants.

Ok. Let's first explain what the problems we have to solve are, then discuss the solutions that are bundled.

Performance Issues w/Ledgersmb 1.3.x

Member for

4 years 5 months
Submitted by Chris Travers on Thu, 03/22/2012 - 02:27

By Steven Marshall

I found something very interesting. I created a test HTML page containing solely text called testpage.html. I dropped this file in two locations. One in the Apache root directory (/srv/www/htdocs/) and the other in the ledgersmb directory (/user/local/ledgersmb/). I changed ownership of the file to wwwrun:www. I then ran the following tests:

Test 1:
URL: http://192.168.1.10/testpage.html
Results: Page loaded almost instantaneously.

How can I login to several companies with one user?

Member for

1 month 1 week
Submitted by Anonymous (not verified) on Mon, 11/21/2011 - 20:32

I manage several companies on LedgerSMB, can I login to any of these companies with one user?
Applies to LedgerSMB 1.3.x -->
V. 0.1 - 22. Nov 2011

I have 100 companies though on my system and decide to change my password, wouldn't I have to change it a 100 times (one for each company)? What would be the best approach to setting up a user that could be used on several companies (databases)?