If you would like to learn how to install Magento, you might find the below resources useful. They show you how to create a Ubuntu Web Server from scratch and then install a clean copy of Magento 2.
I have two questions
1- why the performance is too slow
Note : I installed it on VMware ESXI 6.7
2- How to publish the magento via fortigate firewall
Note : I tried to publish it as any web app or web server but for example if the local ip is
192.168.2.83 and I assigned Real IP via fortigate but when I try to open the real ip I got the url like this http://192.168.2.83/?SID=7op86jp6unelah82vsim467unh
I don’t understand the question. Don’t forget, you can’t just reassign an IP or domain name without updating the Base URLs in the Magento configuration. So, if the Public IP is 123.123.123.123 then the Base URL needs to say that too.
@Petar, the “source code” is everything contained within the Magento root directory. Typically, that is /var/www/html/ but not everyone has their server setup the same.