On 13/10/2012 04:51, Rolf Stöckli wrote:
A very minimalistic installation on Ubuntu 12.04 would be the following:

- Packages
   apt-get install nginx fcgiwrap

- Install SQL-Ledger as usual, but into /usr/share/nginx/www/sql-ledger
instead of /usr/local/sql-ledger

- Edit /etc/nginx/sites-available/default.

server {
         root /usr/share/nginx/www;
         index index.html index.htm;

         server_name localhost;

         location / {
                 try_files $uri $uri/ /index.html;
         }

         location ~ \.pl$ {
                 gzip off;
                 include /etc/nginx/fastcgi_params;
                 fastcgi_pass unix:/var/run/fcgiwrap.socket;
         }
}

(The file is already there and linked to ../sites-enabled/default, check
in case of an error).

- Start the services (take care you have no Apache running on port 80).

   service fcgiwrap start
   service nginx start

Very useful.

Thank you very much for sharing this.

P.V.Anthony

_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to