Embarcadero Akademija 2017: RAD Studio in Linux

Slides:



Advertisements
Similar presentations
MMI nameProject nameAndroidPage No# Flow Description Android (OS )
Advertisements

Lesson 18 – INSTALLING AND SETTING UP WINDOWS 2000 SERVER.
Lesson 5-Accessing Networks. Overview Introduction to Windows XP Professional. Introduction to Novell Client. Introduction to Red Hat Linux workstation.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 2 Installing Windows Server 2008.
Virtualization 101.
Virtualization 101.
© 2012 The McGraw-Hill Companies, Inc. All rights reserved. 1 Third Edition Chapter 3 Desktop Virtualization McGraw-Hill.
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
John Curl Joe Hetherington Bradley Lewis Michael Wu.
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
Microsoft vs Linux Microsoft Applications compared to free opensource software.
1 Objectives Windows Firewalls with Advanced Security Bit-Lock Update and maintain your clients using Windows Server Update Service Microsoft Baseline.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
WINDOWS XP PROFESSIONAL Bilal Munir Mughal Chapter-1 1.
© 2005,2006 NeoAccel Inc. Partners Presentation SSL VPN-Plus 2.0 Quick Start Guide.
Chapter 7 Microsoft Windows XP. Windows XP Versions XP Home XP Home XP Professional XP Professional XP Professional 64-Bit XP Professional 64-Bit XP Media.
Hands-On Virtual Computing
Cap 333 Network Administration. Solution Rules  Your solution must be typed by computer. Otherwise, it will not be accepted.  If the question is a project.
Setting Up a Local WordPress Development Environment By Gregory Young Alternative Hosting
LING 408/508: Programming for Linguists Lecture 3 August 31 st.
ITServices Virtualization Terry Black January 2013.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
The Future of Windows ComNET 2002 DC David Strom
Cisco Confidential © 2010 Cisco and/or its affiliates. All rights reserved. 1 MSE Virtual Appliance Presenter Name: Patrick Nicholson.
Chapter 14 Supporting Windows 2000 Professional. 14 You Will Learn… n About the different operating systems within the Windows 2000 suite n About the.
What is the best laptop configuration? Video Ability.
LINUX MINT 13 Introduction Linux Mint is a modern, elegant and comfortable operating system which is both powerful and easy to use. The minimum requirements.
CHAPTER 2: BASIC OF OPEN SOURCE OPERATING SYSTEM Part 2 (Linux installation)
Windows 7. Upgrade to Windows 7 Upgrades to Windows 7 from the following operating systems are not supported: – Windows 95, Windows 98, Windows Millennium.
© 2015 by McGraw-Hill Education. This proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Building Your Own Android Systems from Source Adam C. Champion CSE 5236: Mobile App Development 1.
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
CLUG TALK Virtualbox Tuesday, 29 September 2009 One of the Jonathans.
TIZEN STUDIO INSTALLATION & ENVIRONMENT SETUP FOR DEVLAB
Virtualization With:. Virtualization With: What Kind of Virtualization? Full virtualization Platform Resource.
Using Virtualization in the Classroom
CompTIA Server+ Certification (Exam SK0-004)
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016.
Guide to Operating Systems, 5th Edition
VMware ESX and ESXi Module 3.
Outline Installing Gem5 SPEC2006 for Gem5 Configuring Gem5.
RASPBERRY PI WORKSHOP.
Dostaň zo svojho Windows 10 maximum
Implementation of Embedded OS
Deep Serucity 7.0 Training
Computer System Laboratory
OS Homework 1 February 22, 2017.
Installation 1. Installation Sources
Installing Windows Server 2008
Installation and Configuration
GeoPortal Training Workshop 1st Mar 2017
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 19, 2017.
Create A Virtual Machine
Cisco Dumps With Real Exam Question Answers - Free Study Material
More Scripting & Chapter 11
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise
Hands-On Virtualization in the Classroom
Chapter 2 Objectives Identify Windows 7 Hardware Requirements.
Urnik – varno programiranje – odmor – napredno razhroščevanje Cilj: v prvem delu vsakomur dati vsaj eno dobro.
Transforming Your Brain with SQL 2017 on Linux
Virtualization 101.
Guide to Operating Systems, 5th Edition
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 21, 2018.
Computer System Laboratory
Lab 1: Getting Started.
Managing and monitoring SQL Server on Linux from the command line
Building Your Own Android Systems from Source
Presentation transcript:

Embarcadero Akademija 2017: RAD Studio in Linux

Urnik 09.00 – 10.30 VirtualBox in Ubuntu: teorija in praksa 10.30 – 11.00 Odmor 11.00 – 12.30 DataSnap Windows/Linux: Od konzole do demona Cilj: v prvem delu vsakomur dati vsaj eno dobro idejo, v drugem delu vsakemu pokazati vsaj nekaj novega.

Embarcadero in Linux

Razvoj RAD Studio/Delphi Tokyo Enterprise Windows Ne: Professional Ne: C++Builder Windows Celotno prevajanje/povezovanje

Poganjanje / OS Red Hat Enterprise 7 Ubuntu Server 16.04 LTS 17.04 Server & Desktop ✓ Z nekaj sreče tudi drugje

Poganjanje / HW Poljuben računalnik Poljubno virtualno okolje VMWare VirtualBox … 64-bit!

Razhroščevanje Windows: RAD Studio / Delphi + Linux: PAServer Stabilnost in zmogljivost Bolj ne kot ja

VirtualBox

VirtualBox Prost odprtokodni virtualizator VirtualBox Extension Pack Oracle Corporation Windows, macOS … VirtualBox Extension Pack Prost za domačo in izobraževalno rabo Ni prost za poslovno rabo USB 2.0/3.0, RDP, NVMe/PXE, disk encryption https://www.virtualbox.org/wiki/Downloads

Ubuntu

Ubuntu Osnova: Debian Canonical Ltd Long Term Support [LTS] Desktop / Server

Namestitev Server Desktop Test/install CD Windows dual-boot 512 MB RAM 2,5 GB disk https://www.ubuntu.com/download/server Desktop 2 GB RAM 25 GB disk https://www.ubuntu.com/download/desktop Test/install CD Windows dual-boot

Ubuntu / VirtualBox Boot iz ISO Network Bridged Paravirtualized

Namestitev OpenSSH server DNS problem sudo apt install openssh-server Ugasniti DNSSEC /etc/nsswitch.conf hosts: files dns

Po-namestitveni koraki sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get install joe wget p7zip-full curl build-essential zlib1g-dev libcurl4-gnutls-dev sudo apt-get autoremove sudo apt-get autoclean

Priprava na razvoj

PAServer WinSCP tar xzvf LinuxPAServer19.0.tar.gz cd PAServer-19.0 <Tab> cd PAServer-19.0 ./paserver

RAD Studio Tools, Manage Platforms Target Platforms Delphi Linux 64-bit Enterprise Target Platforms 64-bit Linux Tools, Options, SDK Manager Tools, Options, Connection Profile Manager

Windows Subsystem for Linux Ubuntu console Settings / Update & security / Developer mode Control panel / Programs and Features / Turn Windows features on or off / Windows Subsystem for Linux (Beta) Bash sudo apt update etc /mnt/c

Strežnik

Strežnik Console Application Windows & Linux DataSnap Server / DataSnap REST Application Stand-alone console application Server Module TDataModule Preimenujemo data modul v ServerMethodsUnit1

Server Functions WebModuleUnit1 AllowServerFunctionInvoker

Baza ServerContainerUnit1 TFDMemTable TFDStanStorageBinLink TFDStanStorageJSONLink FireDACJSONReflect

Test Brskalnik http://localhost:8080/datasnap/rest/TMileageAPI/ AddDataPoint/2017-09-17/234/345

"Unit not found" uses {$IFDEF Linux} Data.FireDACJSONConsts in 'c:\Program Files (x86)\Embarcadero\Studio\ 19.0\source\data\datasnap\Data.FireDACJSONConsts.pas', Data.FireDACJSONReflect in 'c:\Program Files (x86)\Embarcadero\Studio\ 19.0\source\data\datasnap\Data.FireDACJSONReflect.pas', {$ENDIF Linux}

Odjemalec

Odjemalec VCL ali FireMonkey DataSnap Server / DataSnap REST Client Module Pognan strežnik! Generate DataSnap client classes

Lokalna „baza“ TFDMemTable TFDStanStorageBinLink TFDStanStorageJSONLink FireDACJSONReflect

Linux demon

Linux procesi Interactive Batch Daemon Parent pid = 1 (init)

Kako postati demon? fork, pustimo da starš umre setsid, da preselimo proces v novo sejo ujamemo signale (HUP, INIT) fork, da nismo glavni proces v seji zapremo & preusmerimo stdin, stdout, stderr chdir, da ne blokiramo ‚mounta‘ umask, da bodo imele datoteke pravilne pravice

Primer Paolo Rossi „Building a (real) Linux daemon with Delphi“ http://blog.paolorossi.net/2017/09/04/building-a-real-linux-daemon-with-delphi-part-2/ https://github.com/paolo-rossi/linux-daemon

Vprašanja?