Difference between revisions of "Install Cloud Server on Linux"
Barrymavin (Talk | contribs) (→Installation) |
Barrymavin (Talk | contribs) (→Installation) |
||
Line 17: | Line 17: | ||
Open up a Terminal window. (e.g. on Ubuntu right click on the desktop and select 'Open Terminal'). | Open up a Terminal window. (e.g. on Ubuntu right click on the desktop and select 'Open Terminal'). | ||
− | 5.1 and above the distro is a compressed tar file. | + | For Lianja 5.1 and above the distro is a compressed tar file. |
<pre> | <pre> |
Revision as of 06:55, 11 December 2019
Contents
See Also
- Downloads for Linux
- Getting Started
- License Management
- Lianja Server Manager on Linux
- Apache Module for Linux
Before you start...
The Lianja Cloud Server installer includes the Lianja Cloud Server, the Lianja SQL Server and the Lianja ODBC Driver.
The Lianja Server (Cloud/SQL) listens for requests on port 8001, so make sure that your firewall is not blocking access to this port.
Installation
- Make sure root has execute permission on the downloaded file.
Open up a Terminal window. (e.g. on Ubuntu right click on the desktop and select 'Open Terminal').
For Lianja 5.1 and above the distro is a compressed tar file.
$ cd $ cd Downloads $ tar xvf LianjaCloudServer-X.X.X-linux-x64-installer.tar.gz $ chmod +x LianjaCloudServer-X.X.X-linux-x64-installer.bin
Prior to 5.1 the distro was not a compressed tar file.
$ cd $ cd Downloads $ chmod +x LianjaCloudServer-X.X.X-linux-x64-installer.bin
- As root or using sudo, run the installer.
$ sudo ./LianjaCloudServer-X.X.X-linux-x64-installer.bin
Alternatively, if you want to install without any GUI dialogs or prompts.
$ sudo ./LianjaCloudServer-X.X.X-linux-x64-installer.bin —mode unattended
Select the language for installation, then click OK:
The welcome page will be displayed.
Click Forward:
Read the License Agreement using the scrollbar to display the full text
Click a radio button to accept or reject the License Agreement, then click Forward
If you select I accept the agreement, the installation will continue.
If you select I do not accept the agreement, you will be prompted to abort the installation.
If you click Yes the installation will stop, if you click No you will be returned to the License Agreement.
After accepting the License Agreement, the installation will continue
Make sure 'Lianja Cloud Server' is checked, then click Forward.
Click Forward to begin the installation
If you do not want the installation to begin, click Cancel
Once the installer has finished, uncheck the box if you do not want to view the Readme File, then click Finish.
Click OK to exit the Readme.
Managing the Lianja Server
The lianja_admin command is used to manage the Lianja Server and must be run as root or using sudo.
To check that the Lianja Server is running:
$ sudo lianja-admin status
By default, the Lianja Cloud Server listens on port 8001.
The Lianja Web Client will start on the login page. The default username/password is admin/admin.
Once logged in, the Lianja Web Client App Center page will be displayed.
This shows deployed web Apps (no deployed Apps are included in the installation).
Further lianja-admin options are:
$ sudo lianja-admin start $ sudo lianja-admin stop $ sudo lianja-admin restart
For more information see Lianja Server Manager on Linux.
Lianja ODBC Driver
The Lianja ODBC Driver requires the unixODBC package. To install unixODBC:
Ubuntu
$ sudo apt-get install unixodbc
RHEL
# yum install unixODBC
Now init the ODBC definitions for Lianja. This will define the Lianja ODBC driver in /etc/odbcinst.ini and the lianja_southwind DSN in /etc/odbc.ini.
$ cd /opt/lianja/server/dist $ ./postinstall.sh /opt/lianja/server odbc
For information on setting up ODBC data sources, see unixODBC without the GUI.