AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Delphi-PRAXiS - Lounge Delphi-News aus aller Welt Running a Delphi Linux Application on Google Cloud Shell
Thema durchsuchen
Ansicht
Themen-Optionen

Running a Delphi Linux Application on Google Cloud Shell

Ein Thema von DP News-Robot · begonnen am 2. Mär 2018
Antwort Antwort
Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.392 Beiträge
 
#1

Running a Delphi Linux Application on Google Cloud Shell

  Alt 2. Mär 2018, 11:10
Google has made available to all its Gmail users a Linux Shell to interact with their Cloud Services, called Google Cloud Shell. This shell*is a free Debian 7 shell*with 5Gb of storage. It is not a VM that keeps running while you are disconnected, but it is a shell allowing you to perform task on a Linux box. Every time the session expires and you reconnect, a new machine is created for you. The 5GB of storage is persistent, though.

You access to this shell via browser at:

https://console.cloud.google.com/hom...loudshell=true

It is an online Linux machine you can use... also for running Delphi Linux applications. So, as an experiment, I've written a console app that downloads some RSS feeds data (via TIdHTTP) and dumps it in a local file. The file name is a timestamp:

SaveToFile (FormatDateTime ('yymmdd_hhnnss', Now) + '.txt'); I've pushed it to a web site, opened the shell, used wget (plus the URL) to download it, chmod u+x to mark it as an executable for the user, and could simply invoke it in the local folder, as in the image below:



Now the power of this shell comes from integrating with other Google Cloud services, but it certainly nice to have a Linux shell at hand, for free, for running any application including those you build with Delphi Tokyo for Linux.



Weiterlesen...
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:38 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz