#1 2020-11-28 17:09:18

Miran
Member
Registered: 2020-11-17
Posts: 3

Beginer: Steps installation for Free Pascal Compiler and Linux?

I have experience with Lazarus and firebird on Debian.

But on the web and on the mormot, I’m a total beginner

I would like to test a mormot sample.
I tried unsuccessfully.

I would be very grateful for your help.
I want to follow instructions steps, to friendly experienced programmers on this forum.

My Wishes and Questions:

Free Pascal Compiler?
Is it possible to linux based on debian?
Which version of linux do you recommend?
Which version of the web server?
What settings does the web server need for mormot?

Help is very welcome.
Thanks.

Kind regards from Slovenia.

Offline

#2 2020-11-28 21:15:38

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,649
Website

Re: Beginer: Steps installation for Free Pascal Compiler and Linux?

Did you read the documentation about it?
https://synopse.info/files/html/Synopse … l#TITL_125

We mostly use Debian or Ubuntu, no difference.
My main PC has Ubuntu 20.04.01 LTS as main system, and I use it with Lazarus 2.1 daily.
The specific SVN revisions of FPC and Lazarus we currently use is in the doc.

Also read the FAQ
https://synopse.info/files/html/Synopse … l#TITL_123

Offline

#3 2020-11-29 18:20:46

Miran
Member
Registered: 2020-11-17
Posts: 3

Re: Beginer: Steps installation for Free Pascal Compiler and Linux?

Thanks for the quick reply.
1) I installed Oracle VM VirtualBox.
2) Install debian
    Static hostname: debian
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 0bfe880fa420421dac7e23a8167815eb
           Boot ID: fb2e4bbf1fb54355ab39afea53830899
      Virtualization: oracle
    Operating System: Debian GNU/Linux 10 (buster)
            Kernel: Linux 4.19.0-12-amd64
      Architecture: x86-64

39   I Download      fpcupdeluxe-x86_64-linux
4) I successfully install FPC 3.3.1  and Lazarus 2.1.0
5)  git clone https://github.com/synopse/mORMot.git
6)   I successfully    build  /mORMot/SQLite3/TestSQL3.dpr
     Verbose: Linking /home/usb/mORMot/SQLite3/fpc/bin/x86_64-linux/TestSQL3

What now?

which web server do I need to install?
Which version of the web server?
What settings does the web server need for mormot?
How to run TestSQL3 ?

This is where my knowledge ends. Im asking for help.

Offline

#4 2020-11-29 20:34:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,649
Website

Re: Beginer: Steps installation for Free Pascal Compiler and Linux?

Rather use FPC 3.2 than the trunk (3.3.1).

No web server is needed for testing and development. There are several web servers embedded.
We recomment nginx as reverse proxy if you want to publish your server to the internet, and easily add HTTPS support with Let's Encrypt.

How to run TestSQL3?
./TestSQL3
in shell, in the folder where TestSQL3 was built...

Offline

#5 2020-11-30 18:13:13

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,649
Website

Re: Beginer: Steps installation for Free Pascal Compiler and Linux?

Please follow the forum rules and don't pollute the posts with a lot of source code of stack traces.

I won't answer any question which don't follow the forum rules.

Just one hint: are you sure you used FPC 3.2 as documented? FPC 3.3.1/trunk can be pretty unstable.

Offline

#6 2020-11-30 20:00:34

Miran
Member
Registered: 2020-11-17
Posts: 3

Re: Beginer: Steps installation for Free Pascal Compiler and Linux?

Thanks.
Now work in Linux and Windows.
What needs to be typed into the browser to get any response?

Offline

Board footer

Powered by FluxBB