#linux_server
Explore tagged Tumblr posts
hkhoshbayan-blog · 5 years ago
Photo
Tumblr media
Linux vs. Windows – a comparison Cost: 1)Win Server:License costs per user 2)Linux Server:Free license: distribution costs dependent on support Standard operation: 1)Graphic user interface 2)Command line Remote access: 1)Terminal server/client needs to be installed and configured 2)Integrated solution (terminal and shell) Software and features: 1)Supports popular programs; use of Microsoft applications possible 2)Porting doesn’t exist for all programs; big arsenal of applications included Hardware support: 1)New hardware generally included on Windows systems 2)Hardware drivers for Linux distributions are usually only available later Security: 1)Very prone to user errors; integrated interface seen as a potential point of attack 2)Regular users have no access to basic system settings; known security gaps or breaches are handled quickly Support: 1)Long-term support for all versions 2)Support-Angebot variiert je nach Distribution und Version Documentation: 1)System and system applications very well documented. Less so the case with API components and file formats 2)Complete source code of the system, API, libraries, and applications available: MAN and Info pages #linux #windows_server #win_server #linux_server #windows_server_2016 #asdco #hosseinkhoshbayan #programming #programmer #developer #webdesign #web #server https://www.instagram.com/p/B-xMbhQFTkx/?igshid=138lccmir006y
0 notes
knowlinuxservers-blog · 7 years ago
Link
Tumblr media
0 notes
delphilittlethings-blog · 8 years ago
Text
Delphi Tokyo 10.2 has an awesome feature: Linux support! From now we are able to deploy our applications into a linux server. A very nice set-up guide for the linux environment can he found here; instead if you want to be able to use firemonkey and target a linux dekstop client (Ubuntu 16.04 LTS for example) check the FmxLinux project. With Delphi 10.2 we can create a REST Server (or simply a WebServer based on Indy) and export it as stand-alone console app or as apache module. For example, let's create a basic webserver:
Go on File > New > Other > WebBroker > WebBroker Application. Select Linux and then Apache module. In the last page we are asked to input the module name, which is very important.
Tumblr media
We want to keep things very easy, so I won't focus on the WebModule (with Actions) and other things, you can find a lot of information on the doc. First of all start your linux server (hosted on Ubunutu, Virtualbox or whatever) and run the PAServer. Select Linux as target platform, give a build and then Deploy the project to the server.
Tumblr media
Now move on linux (I assume that you already have Apache installed). Using cd go to the PAServer folder and reach the library; in my case I am going to /home/albertodev/PAServer/scratch-dir/{yourname}/projname/myDelphiApacheLib.so . Of course replace {yourname} with what you have on your machine :)
Now use cd /etc/apache2/mods-available and create 2 new files that will load our module into apache. The command touch creates new files on Linux so type touch myfirstmodule.load and touch myfirstmodule.conf. Now if you type ls you will see that those 2 file have been added in the folder!
Now type sudo nano myfirstmodule.load and you'll open a text editor. I really like this but you can use whatever you want. Now let's type this:
LoadModule moduleName /home/albertodev/PAServer/scratch-dir/albertodev-linux_server/projname/myDelphiApacheLib.so
Instead moduleName you have to type the name of your module. How to do it? Simple!
Tumblr media
Double click the .so file in the project manager, right click, click on "View source" and copy the string value next to GModuleData name 'webbroker_module';. In my case the full path is:
LoadModule webbroker_module /home/albertodev/PAServer/scratch-dir/albdev-linux_server/projname/myDelphiApacheLib.so
Save all and close.
Now type sudo nano myfirstmodule.conf
and save the file with the following content:
&ltLocation /delphi/great/test/&gt SetHandler myDelphiApacheLib-handler &lt/Location&gt
The /delphi/great/test/ means that we will be able to reach our project at www.ip_address.com/delphi/great/test/. Then after the SetHandler type the library name and append the -handler. Save all and close.
We have almost finished! You just have to type on linux sudo a2enmod myfirstmodule (same name as myfirstmodule.conf), then sudo apache2ctl stop and finally sudo apache2ctl stop. My linux server is running on http://192.168.0.15/ so when I type http://192.168.0.15/delphi/great/test/ I can see this:
Tumblr media
Really awesome!
0 notes
enz0net · 8 years ago
Link
by えんぞーどっとねっと
0 notes
knowlinuxservers-blog · 7 years ago
Link
Tumblr media
0 notes