Difference between revisions of "Installing"

From Gestinux Wiki
Jump to navigation Jump to search
 
(56 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#customtitle:Gestinux installation}}
+
{{DISPLAYTITLE:Gestinux installation}}
  
 
== Supported Systems ==
 
== Supported Systems ==
Line 10: Line 10:
  
 
On MAC OS/X, it is an experimental version, available only for a few processors.
 
On MAC OS/X, it is an experimental version, available only for a few processors.
 +
 +
== Supported databases ==
 +
 +
Gestinux works perfectly with MariaDb 10, which is the DBMS to use, when possible.
 +
 +
Gestinux works also well with MySql 5 but, up to version 1.5, not with MySql 8 due to a compatibility break.
 +
 +
It works with PostgreSQL 8 ou 9. However, there were less tests with this DBMS since Gestinux 1.5, due to a lack of resources.
 +
 +
Your feedbacks are welcome.
  
 
== Location of programs and data ==
 
== Location of programs and data ==
Line 15: Line 25:
 
Gestinux is a client-server database application.
 
Gestinux is a client-server database application.
  
You have to install a ''client'' program on each computer where Gestinux is used. Installing the (lightweight) client program can be done easily with just a few mouse clicks. After that, you just need to decide where to locate the supporting database.
+
You have to install a ''client'' program on each computer where Gestinux is used. Installing the client program can be done easily with just a few mouse clicks. After that, you just need to decide where to locate the database.
  
 
This database can be:
 
This database can be:
 
* accessed remotely via an internet server.
 
 
* stored locally on the same computer as the client program.
 
* stored locally on the same computer as the client program.
 
* located on any workstation or dedicated server in your local network.
 
* located on any workstation or dedicated server in your local network.
 +
* accessed remotely via an internet server.
  
The first solution can be used to access to your [http://mrit.com/cloud/index.php?Langue=en own test database], hosted by M.R.IT.
+
If you don't mind having your data stored outside your office, and if you have a good internet connection, you can adopt this last remote option, using any internet host. In this case, there is no need for a local server, and you can access your data from any location.  Performance will be better than with a full web application. However, some technical knowledge is required to ensure full data security.
 
 
If you don't mind having your data stored outside your office, and if you have a good internet connection, you can adopt this first remote option, using any internet host. In this case, there is no need for a local server, and you can access your data from any location.  Performance will be better than with a full web application. However, some technical knowledge is required to ensure full data security.
 
  
 
Otherwise, for a small company, the second solution is simple. It is easy to [[install server|install a free database server]] on a workstation.
 
Otherwise, for a small company, the second solution is simple. It is easy to [[install server|install a free database server]] on a workstation.
  
 
For more advanced users, or a larger company, the dedicated server is a better option, while still being easy to implement.
 
For more advanced users, or a larger company, the dedicated server is a better option, while still being easy to implement.
 +
 +
'''''You never need to create yourself a database. Gestinux will do it for you as shown further.'''''
  
 
== Installation of Client program ==
 
== Installation of Client program ==
Line 35: Line 44:
 
Version are [[Release naming|numbered and named according to precise rules]] indicating the reliability level you can expect.
 
Version are [[Release naming|numbered and named according to precise rules]] indicating the reliability level you can expect.
  
=== Installation of Gestinux 1.2 (stable) ===
+
=== Installation of Gestinux 1.5 (stable) ===
 +
 
 +
==== On Linux Debian (Ubuntu, Mint) ====
 +
 
 +
First you must choose the database you want to use.
  
* On '''Linux Debian (Ubuntu, Mint)''' :
+
You will have to check if you already have an installed database driver, or install it.
** Download the package depending on your processor [http://sourceforge.net/projects/gestinux/files/Stable%20release/gestinux_1.2-stable-2_Debian_i386_32bits.deb/download i386 32 bits] or [http://sourceforge.net/projects/gestinux/files/Stable%20release/gestinux_1.2-stable-2_Debian_x86_64bits.deb/download x86 64 bits]
 
** Open the file to install Gestinux. Before, you may have to install '''GDebi''' from Ubuntu, to be able to install a .deb file.
 
** Run from the '''Office''', '''Gestinux''' menu item if it was created, or else create it to run the command-line: '''/usr/bin/gestinux'''
 
** Gestinux can use MySql or MariaDb immediately up to Ubuntu 14.04. A further step is required to use [[Install Postgresql client driver|Postgresql]], or [[Install Mysql client driver|MySql]] or [[Install Mysql client driver| MariaDb]] on other Linux distributions (including Ubuntu 16.04).
 
  
''For information, adding Gestinux in Ubuntu software library [https://bugs.launchpad.net/ubuntu/+bug/1364605 was submitted]''
+
* [[Install_Mysql_client_driver_linux|MariaDb or MySql]]  (preferred).
  
* On '''Windows''' :
+
* [[Install_Postgresql_client_driver|PostgreSql]].
** Download the [http://sourceforge.net/projects/gestinux/files/Stable%20release/Install_gestinux_1.2-stable-2_Windows_i386_32bits.exe/download installer]
 
** Execute the installer, following the instructions given.
 
** Gestinux can use MySql or MariaDb immediately. A further step is required to use Postgresql. See [[Install Postgresql client driver]]  
 
** Run Gestinux from a desktop shortcut, or from the '''Start Menu''' | '''gestinux'''
 
  
* On '''Mac OS/X''' :
+
Then download the Gestinux package depending on your processor [https://sourceforge.net/projects/gestinux/files/Stable%20release/install_gestinux_1.5-stable-1_Debian_i386_32bits.deb/download i386 32 bits] or [https://sourceforge.net/projects/gestinux/files/Stable%20release/install_gestinux_1.5-stable-3_Debian_x86_64bits.deb/download 64 bits]
** Gestinux is not working on this system.
+
* Open the file to install Gestinux.
 +
* If it doesn't work, run this command line to install :
 +
  dpkg -i  <.deb filename downloaded>
  
=== Installation of Gestinux 1.4 (release candidate) ===
+
Run Gestinux from the '''Office''', '''Gestinux''' menu item. If it was not created, you can run the command-line: '''/usr/bin/gestinux'''
  
This version is still to be tested and validated.
+
''For information, adding Gestinux in Ubuntu software library [https://bugs.launchpad.net/ubuntu/+bug/1364605 was submitted]''
Note that it will not replace Gestinux stable version, if already installed.
 
  
* On '''Linux Debian (Ubuntu, Mint)''' :
+
==== On Windows ====
** Download and install the package depending on your processor [https://sourceforge.net/projects/gestinux/files/Release%20candidate/gestinux_1.4-release-candidate-1_Debian_i386_32bits.deb/download i386 32 bits] or [https://sourceforge.net/projects/gestinux/files/Release%20candidate/gestinux_1.4-release-candidate-2_Debian_x86_64bits.deb/download x86 64 bits]  
+
* Download the [https://sourceforge.net/projects/gestinux/files/Stable%20release/install_gestinux_1.5-stable-3_Windows_i386_32bits.exe/download installer]  
** Proceed as above. The menu item is '''Office''', '''Gestinux Test'''
+
* Execute the installer, following the instructions given.
 +
* Gestinux can use MySql or MariaDb immediately. A further step is required to use Postgresql. See [[Install Postgresql client driver]]  
 +
* Run Gestinux from a desktop shortcut, or from the '''Start Menu''' | '''gestinux'''
  
* On '''Windows''' :
+
==== On Mac OS/X ====
** Download the [https://sourceforge.net/projects/gestinux/files/Release%20candidate/gestinux_1.4-release-candidate-2_Windows_i386_32bits.exe/download installer]
+
* Download the [https://sourceforge.net/projects/gestinux/files/Stable%20release/install_gestinux_1.4-stable-3_OSX_i386_32bits.pkg/download installation package] and execute it.
** Proceed as above.
+
* Download and install a [https://dev.mysql.com/downloads/connector/c/ MySql or MariaDb] or PostGreSQL client for your version of OSX and the processor you have (dmg file is easier).
 +
* Using the Terminal, create a symbolic link : (e.g for MySql and Mac OSX Snow Leopard 32 bits Intel, otherwise change the first filename which was installed during previous step)
 +
  sudo ln -s  /usr/local/mysql-connector-c-6.1.5-osx10.6-x86/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.dylib
  
* On '''Mac OS/X''' :
+
* Search for '''gestinux.app''' and run it.
** '''WARNING''': On this system, Gestinux is only experimental and there is probably some bugs remaining.
 
** Download the [https://sourceforge.net/projects/gestinux/files/Beta%20release/gestinux_1.4-beta-4_osx_x86_32bits.pkg/download package] (currently available for intel 32 bits only)
 
** Download and install a [https://dev.mysql.com/downloads/connector/c/ MySql or MariaDb] or PostGreSQL client for your version of OSX and the processor you have (dmg file is easier).
 
** Using the Terminal, create a symbolic link : ''sudo ln -s  /usr/local/mysql-connector-c-6.1.5-osx10.6-x86/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.dylib'' (e.g for Mac OSX Snow Leopard 32 bits Intel, otherwise change first filename which was installed during previous step)
 
** Run '''gestinux.app'''
 
  
 
=== Development version ===
 
=== Development version ===
  
 
If you are a developer, you can download and [[Developing|compile the source yourself]].
 
If you are a developer, you can download and [[Developing|compile the source yourself]].
 +
 +
Gestinux could be made available for other operating systems or processors with which Lazarus is compatible. You are welcome to build and test executables on these systems, and possibly to make installation packages  :
 +
 +
* operating systems : other Linux, Unix BSD, OS/2, ReactOS ...
 +
* processors : x64, IA-64, PowerPC 32/64, SPARC, ARM, 68000, Alpha, MIPS...
  
 
== After installation ==
 
== After installation ==

Latest revision as of 11:59, 9 December 2023

 Français Español


Supported Systems

Gestinux runs on Linux, Windows and MAC OS/X

It can be installed easily on all supported Ubuntu versions, or any other Debian, in 32-bits or 64-bits versions for the AMD-64 processor family.

It is available on Windows (2000 to 10) in 32 bits only (64 bits could be built, but is useless).

On MAC OS/X, it is an experimental version, available only for a few processors.

Supported databases

Gestinux works perfectly with MariaDb 10, which is the DBMS to use, when possible.

Gestinux works also well with MySql 5 but, up to version 1.5, not with MySql 8 due to a compatibility break.

It works with PostgreSQL 8 ou 9. However, there were less tests with this DBMS since Gestinux 1.5, due to a lack of resources.

Your feedbacks are welcome.

Location of programs and data

Gestinux is a client-server database application.

You have to install a client program on each computer where Gestinux is used. Installing the client program can be done easily with just a few mouse clicks. After that, you just need to decide where to locate the database.

This database can be:

  • stored locally on the same computer as the client program.
  • located on any workstation or dedicated server in your local network.
  • accessed remotely via an internet server.

If you don't mind having your data stored outside your office, and if you have a good internet connection, you can adopt this last remote option, using any internet host. In this case, there is no need for a local server, and you can access your data from any location. Performance will be better than with a full web application. However, some technical knowledge is required to ensure full data security.

Otherwise, for a small company, the second solution is simple. It is easy to install a free database server on a workstation.

For more advanced users, or a larger company, the dedicated server is a better option, while still being easy to implement.

You never need to create yourself a database. Gestinux will do it for you as shown further.

Installation of Client program

Version are numbered and named according to precise rules indicating the reliability level you can expect.

Installation of Gestinux 1.5 (stable)

On Linux Debian (Ubuntu, Mint)

First you must choose the database you want to use.

You will have to check if you already have an installed database driver, or install it.

Then download the Gestinux package depending on your processor i386 32 bits or 64 bits

  • Open the file to install Gestinux.
  • If it doesn't work, run this command line to install :
 dpkg -i  <.deb filename downloaded>

Run Gestinux from the Office, Gestinux menu item. If it was not created, you can run the command-line: /usr/bin/gestinux

For information, adding Gestinux in Ubuntu software library was submitted

On Windows

  • Download the installer
  • Execute the installer, following the instructions given.
  • Gestinux can use MySql or MariaDb immediately. A further step is required to use Postgresql. See Install Postgresql client driver
  • Run Gestinux from a desktop shortcut, or from the Start Menu | gestinux

On Mac OS/X

  • Download the installation package and execute it.
  • Download and install a MySql or MariaDb or PostGreSQL client for your version of OSX and the processor you have (dmg file is easier).
  • Using the Terminal, create a symbolic link : (e.g for MySql and Mac OSX Snow Leopard 32 bits Intel, otherwise change the first filename which was installed during previous step)
 sudo ln -s  /usr/local/mysql-connector-c-6.1.5-osx10.6-x86/lib/libmysqlclient.18.dylib /usr/local/lib/libmysqlclient.dylib 
  • Search for gestinux.app and run it.

Development version

If you are a developer, you can download and compile the source yourself.

Gestinux could be made available for other operating systems or processors with which Lazarus is compatible. You are welcome to build and test executables on these systems, and possibly to make installation packages :

  • operating systems : other Linux, Unix BSD, OS/2, ReactOS ...
  • processors : x64, IA-64, PowerPC 32/64, SPARC, ARM, 68000, Alpha, MIPS...

After installation

Installation does not create a database and will not alter any data. After installation, you must run Gestinux and perform the initial setup to create (or upgrade) your database.