Archive for the ‘Linux’ Category

Linux

Posted: 2017-01-18 in Linux

Q:
If I have a linux server, can I have a few session of my app running in multiple touch screen monitors by different users with each user running a different independent session from the other users?
I am looking at 3-5 touch screen monitors running different instance of the same app.
A:
this is no different from the user perspective than running an app over remote desktop or citrix, where multiple users run against the same EXE. The big difference in Linux is that you aren’t running <n> copies of the OS, as Linux carves out different memory areas for each user’s variables, and so is much more efficient.
Linux us a multi user / multi tasking operating system. Each user who logs in runs concurrently alongside other users. It is highly scaleable and we have sites serving 1500+ concurrent desktop users running Lianja database Apps.
There are various RDP solutions for linux that enable remote PCs to run GUI desktop Apps but I would recommend building Lianja Web / Browser bassed Apps that run against the Lianja Cloud Server hosted on linux.



 

Linux

Posted: 2017-01-18 in Linux

For64-bit Fedora 18 and Fedora 19 systems, please make sure you have the libpng12 package installed – this can be installed alongside the default libpng-1.5.x package.
If you experience any difficulties running the installers in the default graphical modes (gtk or Xwindow), please run in text mode as follows:

Code:
sudo ./xxx-installer.bin --mode text

This also applies to recent versions of OpenSUSE.


System tables like sysindexinfo operate on databases, not directories.
Ask your
Centos system administrators if they can create a symbolic link to your directory from the /opt/lianja/server/data/ directory, e.g.

ln -s /home/cory/test/testdata /opt/lianja/server/data/testdata

That way, you will be able to use sysindexinfo, but will not need to change your DSN.


Added a new command line switch to simplify the sharing of data across a LAN between windows and linux. Specify–networkshare as a runtime command line switch or SET NETWORKSHARE ON in your config file. When –networkshare is specified then the path inside the database catalog is ignored and the tables are always accessed inside the database directory.

Note: If you want to share databases between windows and Linux you should always use lowercase names for the tables as linux filenames are case sensitive.


Q:
We need to run our program automatically (absolutely no user intervention) at system startup on linux
A:
If you want to build a Linux self extracting installer that will work across all Linux platforms take a look here: http://megastep.org/makeself/.



Linux

Posted: 2017-01-18 in Linux

Added a new command line switch to simplify the sharing of data across a LAN between windows and linux. Specify –networkshare as a runtime command line switch or SET NETWORKSHARE ON in your config file. When –networkshare is specified then the path inside the database catalog is ignored and the tables are always accessed inside the database directory.
Note: If you want to share databases between windows and Linux you should always use lowercase names for the tables as linux filenames are case sensitive.


use the Lianja ODBC Manager, select Directory and specify the parent directory of your existing database. If this does not resolve the connection issue make sure that both machines can ping each other by name and IP.The Server field is just the IP or hostname of the server so no slashes needed.
The Centos machine needs to be able to ping the Windows machine by name as well. A quick workaround for this is to add an entry for the Windows machine to the /etc/hosts file on Centos. (If there are no entries in there yet it’s just IP hostname with each entry on a separate line: “192.168.1.1 cory”.)

The server always needs to be run as root.
Assuming that isn’t the issue, let’s enable logging and see what we can find there.
Stop the server: lianja-admin stop
Make sure the log directory is empty, by default it’ll be /opt/lianja/cloudserver/tenants/public/log/
Start the server with logging enabled: lianja-admin start logging
Attempt to make your connection – I’d suggest by using the test button from the Lianja ODBC Manager.
Feel free to take a look at the log(s) yourself and see if you find anything obvious.


Q:
JPG images not being displayed
A:
Check that you have the libjpeg62 runtime library installed and install it if not:


Q:
just attempted an install for evalutation on Debian v.7.4 w/XFCE desktop.
A:

It does pick up that it’s Python 2.7 and (for 64 bit) runs the lianja27_x86_64.exe.
It may be a difference in root’s umask. I installed with the defaults (Debian and Lianja) and had no problems creating and using the launchers.


The following only applies to Lianja on Linux 64 bit (Ubuntu 12.10 and above). If, on connecting to a MySQL database, character fields are listed as type ‘memo’ or numeric fields have a field width of -1, please carry out the following steps:
http://www.lianja.com/community/show…=8252#post8252