Main Menu
Home
News
Information
Installation
LiveCD
Screenshots
Contact
nTPV 2.0
nTPV Migration BLog


nTPV Installation

Technology

nTPV is the first ever GPL management and POS system for the hospitality enviroment developed and running on Linux.
Because it is based on distributed computing, it avoids single points of failure through a communications system using DCOP, XMLRPC and XML.
nTPV's modular design makes adding new program enhancements and features an easy task. The simplified application core guarantees robust and reliable performance.
Everything in nTPV is top-notch: From system communications secured by ipsec, to user fingerprint recognition, expert engineers have made great technology for the hospitality industry a reality.

 

nTPV dependencies

To install nTPV and its basic modules, some programs and libraries must already be installed on the system. Most of them come installed with GNU/Linux distributions. Others are programs or libraries developed for nTPV and available for downloading from this website.

External libraries

  • libqt3c102-mt
  • libqt3c102-mt-psql
  • kdelibs4
  • gdchart

External programs

  • sudo
  • nmap

Installation

Please, make sure the following packages are already installed before atempting to install nTPV:

Many libraries are part of the KDE project, so, if you install the KDE desktop enviroment, along with the libqt3c102-mt-psql package, you will have fulfilled nearly all the prerequisites for installing nTPV.

Ejemplo de Pantalla principalInstallation from the source

All libraries and their headers above are necessary for nTPV to compile, that is the headers for QT , KDE and gdchart .

The compilation procedure has been tested on Debian, Ubuntu and Suse distributions. To install everything in one step, you must be the root user. Or you can go step by step, compiling as a user and installing as root.

  • Installing the nTPV source package as root.
    • Download the sources package from nTPV_bundle-1.2rc1.tar.gz
    • Uncompress the package
    • #tar xzvf ntpv_bundle-1.2rc1.tar.gz
    • Compile
    • #qmake     
      #make

    At the end of the installation process a new users group called "ntpv" will be created. Add any user that will launch the nTPV application to this new group. The next step is to uncompress, install and configure a basic database placed in docs/caja_basica.sql.bz2 inside the sources directory. The instructions to install the database are described in the next section.

    If any of the compilation steps returns an error it could be due to one of these reasons:
    • Some compilation headers are missing. Make sure they are installed.
    • Linking state fails finding libraries. Make sure all needed libraries are installed.
    • Enviroment variables like QTDIR are needed to locate programs like "uic" and "moc".
    • If you compiled using the -j gcc option, try again without it.

    Pantalla de inicio de nTPVDatabase installation

    nTPV uses PostgreSQL as database server. Be sure the database server is installed before proceeding to the configuration instructions.
    1. Install PostgreSQL 8.2
    2. Modify the access permisions.
    3. If you do not know what permissions configuration is right for you, follow this example. Edit the file /etc/postgresql/8.2/main/pg_hba.conf, and add this line:


      host caja ntpv 127.0.0.1 255.255.255.255 trust
    4. Edit /etc/postgresql/postgres.conf and make sure the date format is European. Make sure that the locale database format Unicode(UTF-8)
    5. The file must have a line that reads:
       datestyle = 'ISO,European'
    6. Start (or restart) the database server and create the user nTPV will use to access the database:
    7. Execute the next commands as root:
      #su postgresql
      $createuser ntpv

      and answer "yes" to the questions about making ntpv a database admin user (allow it to create databases and more users).

    8. Download the basic database and install it
      • Download the database
      • Uncompress it executing:
      • #gunzip caja_basica.sql.gz
      • Install the database executing the following commands as a database admin user:
      • #su postgresql
        $createdb caja
        $psql -f caja_basica.sql caja
    9. Configure nTPV to access the database
    10. Edit the file /etc/ntpv/bar_database.xml and configure the database server hostname, database name, database user and database user password nTPV will use to access the database. This file is in xml format, please fill it with this information if it is not already filled
    localhost between hostname labels
    caja between database labels
    ntpv between user labels

    The basic database is really basic, without combinations of products. The nTPV package contains more than 700 product logos to help anyone to extend the basic database through nTPV Backoffice with more single and combined products. Napsis also creates on demand databases to customize nTPV for any hospitality business.

     

    Changelog

    version 1.2rc1

  • New graphics on cash closes section.
  • Creation of invoices on expended tickets.
  • Pay buttons can be configured through xml files.
  • Shorcuts bar can be configured with nTPV Backoffice.
  • New graphics on historical section in nTPV Backoffice.
  • Better behavior on products section and screen reading.
  • Graphical aspect changed.

  • nTPV 1.2 Rc1 Bundle.tar.gz
  • nTPVLibs Debian Package
  • nTPV Debian Package
  • DcopPrinter Debian Package
  • Libbslxml Debian Package
  • Xmlmanage Debian Package
  • Libqutexr Debian Package
  • version 1.1: New product logos have been included and a bug in users creation has been fixed. Bug in ordering selector fixed.

  • nTPVLibs Debian Package
  • nTPV
  • nTPV BackOffice
  • DcopPrinter
  • nTPVLibs Debian Package
  • nTPV Debian Package
  • DcopPrinter Debian Package
  • version 1.0: Initial release. Production release with half a year testing in real enviroments (Bars, Restaurants and Pub/Discos).

  • nTPVLibs
  • nTPV
  • nTPV BackOffice
  • DcopPrinter
  • nTPVLibs Debian Package
  • nTPV Debian Package
  • DcopPrinter Debian Package
  • Call For Translators

    To translate nTPV into any language, please follow the next procedure. Download the translation files. Translate as explained depending on the file type:

  • PO files, please use KBabel.
  • XML files, use any text editor utf-8 capable.
  • Manuals files, you will need Lyx or QTLyx

  • Please, send translated material to our email This e-mail address is being protected from spam bots, you need JavaScript enabled to view it including the author or authors for that translation. The translations will be included into the packages and sources along with the code enhances and suggestions received.

  • nTPV pot (KBabel)
  • nTPVLibs pot (KBabel)
  • Xml Files (UTF-8 Editor or Xml editor)
  • nTPV manual (Lyx or QTLyx)
  • nTPV Backoffice manual (Lyx or QTLyx)
  • Mailing List and Support

    nTPV has a mailing list for users and developers.

  • Mailing List
  •  
    Downloads
    nTPV 1.2rc2 nTPV 1.2rc2
    nTPV Manual (Spanish) nTPV Manual (Spanish)
    Backoffice Manual (Spanish) Backoffice Manual (Spanish)
    nTPV LiveCD (Spanish) nTPV LiveCD (Spanish)
       Home arrow Installation