Preview only show first 10 pages with watermark. For full document please download

Installation Guide Lemon Pos

   EMBED


Share

Transcript

Installation Guide

From lemonpos
Jump to: navigation, search These are generic instructions to install lemonPOS. Some packages are available for (k)Ubuntu, OpenSuse, and Mandriva; and are maintained by the community. This packages provide binaries, so you will not need to compile.

For ubuntu 10.04, there is a package for 0.9.3 release candidate. Go to see the release note on the blog. and Download the package for 64 bits or 32 bits here. For ubuntu, activate the community repository and search for lemonpos. Other downloads here and here For OpenSuse, download here For Mandriva, download here for i586

  

For Archlinux, there is a PKGBUILD at AUR If you installed from packages (assumming provides the binaries) you can go directly to #Database Creation

Contents
[hide]

     

1 Getting the source code o 1.1 From Sourceforge Download o 1.2 From Gitorious 2 Preparing to install 3 Compiling 4 Installing files 5 Database Creation 6 The default user and password 7 Congratulations

Getting the source code
You can get source code from sourceforge downloads.

From Sourceforge Download
You can download a tarball from here. This is the latest released version.

After downloading, untar it:

you can update it with: git pull Preparing to install Once you have the source code for lemonPOS.  The first time. read A kubuntu specific installation guide to install needed packages before compiling lemonPOS.org/lemonpos/lemonpos.tar -jxvf lemonpos-0. For (K)Ubuntu. This may take some time. these are developer tools. To change to the persa branch : git checkout persa  Later. They are Qt4 and Kde4. The package names between distributions may be different. To download you need to have the git utilities installed. you have to do an initial clone: git clone git://gitorious. Once you have kde4 installed. make Installing files .2. This path depends on your distribution. but you are on the master. also the qt mysql driver is needed -some distros have a separate package for this-. you must have CMAKE and GCC installed.bz2 From Gitorious The persa branch in GIT repository contains the latest version which contains new features and bug fixes.. The master branch is in which development is going on and may be broken or buggy. you can continue from here.tar. you need to be sure you have all requiered libraries. In this guide we assume you have mysql ready to be used. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`  Run make to compile lemonpos.. cmake . When done. For use -not compile-. make a build directory inside the root directory: cd lemonpos mkdir build cd build  Run CMake with your path to KDE4. Also for compile the translations you need gettext package. try to compile it and watch for any error. Dont forget the two dots at the end .9. but not so much.git cd lemonpos/ git fetch origin persa:persa  Now you have both branches. Compiling  First. you need mysql server installed and configured properly. Also.

run: sudo make install  o If you do not have sudo installed. When a fix is provided the file looks like "fixme_VERSION.sql".9. Congratulations Now you have installed lemonPOS. for example for 0.  To create database. squeeze which is the administration backend.3rc2. you must have permissions to write to system folders.2. try with su: su make install Database Creation For the first time. you may look in the release README and/or in the lemonpos/database_resources/README for instructions to update the database if needed. . The default user and password username: "admin" password: "linux" without quotes. Database is used to store all things related to the operation of the POS.3rc2. Remember that mysql should be running and cofigured before creating the database.9. There are two applications you can use:   lemon which is the POS. and before running lemonPOS.sql | mysql -u root -p Note:If you are updating lemonPOS.To install files. You can go to the Users Guide to view how to use lemonPOS. meaning that you must have 0.sql" where VERSION is the version you may have installed and will update. you can start using it. like sales and products. run script included inside lemonpos/database_resources/ or on recent releases this file is located at /usr/share/kde4/apps/lemon/ cd lemonpos/database_resources/ cat lemon_mysql. you have to create a database.2 version installed and upgrading to 0. Use the root user to do it with su or sudo.  o If you have sudo installed -like ubuntu distros does.9.9. the file is "fixme_0.