SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
Linux

 @twombh Tom Buckley-Houston
Thanks | Evening | Future

●   @PMStudioUK
●   @iamdanw            Next Skillswap:
    @garybristow
                         Progressive
●


●   @spyou
●   @amias              Enhancement
●   @jmoverley



     Drinks in the Watershed afterwards
Linux for web developers




Dev environment:               Historical/Architectural:
●
  Everything apart from PS     ●
                                 60% websites, 25% mobile
●
  Wine, GIMP                   ●
                                 Google, Facebook, etc
●
  Java apps: Aptana/Netbeans   ●
                                 Linux descended from UNIX,
●
  Better LAMP                    computer science, ARPANET,
●
  General daily usage            etc. More of a direct lineage
●
  Philosophical reasons          than Windows.
Computing Eden


       ●
           1960s America, UNIX,
           C, ARPANET
       ●
           MIT, Bell Labs.
       ●
           Dennis Ritchie, Brian
           Kernighan, Ken
           Thompson.
The UNIX Way
“Write programs that do one thing and do it well.
Write programs to work together. Write programs
to handle text streams, because that is a universal
                    interface.”

●
    The human dimension.
●
    Command Line Interface - CLI.
●
    Analogy to modern web standards; REST, W3C,
    etc.
Richard Stallman
        ●   Early 1980s
        ●   GNU: GNU's Not Unix!
        ●   Almost made a kernel
        ●   The GPL
        ●   Free as in speech, not free
            as in beer.
        ●   Free to do whatever you
            want as long as that
            doesn't restrict someone
            else doing the same. (eg;
            Red Hat)
Compulsory XKCD
Linus Torvalds

       ●
           1991, doing a
           masters in Computer
           Science at Helsinki.
       ●
           MINIX but better
           license.
       ●
           The Linux Kernel.
LAMP Hello World

●
    You've got a server out there somewhere.
●
    SSH and SSH keys.
●   `ssh tom@myserver.com'
●
    `aptitude update' Compare with Windows
●   `aptitude install apache2 mysql5-server
    php5 apache2-mod-php php5-mysql'
●   `curl localhost' “It Works!”
Apache's Vhosts
Quick way in a local environment: Just   Proper way in production environment: Lots
shive loads of definitions in the same   of files that you can individually turn on and
                                         off.
file.
                                         `nano /etc/apache2/sites-available/website'
`nano /etc/apache2/conf.d/vhosts'
                                         NameVirtualHost *:80
                                         <VirtualHost *:80>
<VirtualHost *:80>
                                           ServerName myserver.com
  ServerName myserver.com
                                           DocumentRoot /var/www/website
  DocumentRoot /var/www/website          </VirtualHost>
</VirtualHost>
                                         `sudo a2ensite website'
                                         Creates a symbolic link from;
`sudo service apache2 restart'
                                         /etc/apache2/sites-enabled/website
                                         `sudo service apache2 restart'
Uploading your project
            without FTP!


●   `scp -r myproject/* tom@myserver.com:/var/www/website'
●   `rsync -rv myproject/* tom@myserver.com:/var/www/website'
●   `git push'

Contenu connexe

Tendances

Tendances (20)

Minicurso de Vagrant
Minicurso de VagrantMinicurso de Vagrant
Minicurso de Vagrant
 
Building a REST API with Node.js and MongoDB
Building a REST API with Node.js and MongoDBBuilding a REST API with Node.js and MongoDB
Building a REST API with Node.js and MongoDB
 
D-DAY 2015 Conteneurisé une startup
D-DAY 2015 Conteneurisé une startup  D-DAY 2015 Conteneurisé une startup
D-DAY 2015 Conteneurisé une startup
 
Vagrant
VagrantVagrant
Vagrant
 
NetBSDworkshop
NetBSDworkshopNetBSDworkshop
NetBSDworkshop
 
Vagrant presentation
Vagrant presentationVagrant presentation
Vagrant presentation
 
MongoDB and Node.js
MongoDB and Node.jsMongoDB and Node.js
MongoDB and Node.js
 
Vagrant hands on workshop for beginners
Vagrant hands on workshop for beginnersVagrant hands on workshop for beginners
Vagrant hands on workshop for beginners
 
Vagrant workshop 2015
Vagrant workshop 2015Vagrant workshop 2015
Vagrant workshop 2015
 
FreeBSD hosting
FreeBSD hostingFreeBSD hosting
FreeBSD hosting
 
Docker. General overview
Docker. General overviewDocker. General overview
Docker. General overview
 
NetBSD workshop
NetBSD workshopNetBSD workshop
NetBSD workshop
 
My journey from PHP to Node.js
My journey from PHP to Node.jsMy journey from PHP to Node.js
My journey from PHP to Node.js
 
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015FreeBSD preseed installation (PXE) AsiaBSDCon 2015
FreeBSD preseed installation (PXE) AsiaBSDCon 2015
 
AHA-best-msf-interface-ever
AHA-best-msf-interface-everAHA-best-msf-interface-ever
AHA-best-msf-interface-ever
 
Node.js and Ruby
Node.js and RubyNode.js and Ruby
Node.js and Ruby
 
Gestión de la configuración - Jenkins ci
Gestión de la configuración - Jenkins ciGestión de la configuración - Jenkins ci
Gestión de la configuración - Jenkins ci
 
Demystifying docker networking black magic - Lorenzo Fontana, Kiratech
Demystifying docker networking black magic - Lorenzo Fontana, KiratechDemystifying docker networking black magic - Lorenzo Fontana, Kiratech
Demystifying docker networking black magic - Lorenzo Fontana, Kiratech
 
Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ...
 Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ... Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ...
Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ...
 
Node.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full StackNode.js rulz! JavaScript takes over the full Stack
Node.js rulz! JavaScript takes over the full Stack
 

En vedette

The future of technology for teachers in education
The future of technology for teachers in educationThe future of technology for teachers in education
The future of technology for teachers in education
Amy Blamires
 

En vedette (9)

Learning opportunities in FLOSS
Learning opportunities in FLOSSLearning opportunities in FLOSS
Learning opportunities in FLOSS
 
Open Education Revolution: From Open Access to Open Participation
Open Education Revolution: From Open Access to Open ParticipationOpen Education Revolution: From Open Access to Open Participation
Open Education Revolution: From Open Access to Open Participation
 
Open Source In Education - Tech&Learning Conference Presentation '09
Open Source In Education - Tech&Learning Conference Presentation '09Open Source In Education - Tech&Learning Conference Presentation '09
Open Source In Education - Tech&Learning Conference Presentation '09
 
The future of technology for teachers in education
The future of technology for teachers in educationThe future of technology for teachers in education
The future of technology for teachers in education
 
FLOSS for Education
FLOSS for EducationFLOSS for Education
FLOSS for Education
 
Free and Open Source for Education
Free and Open Source for EducationFree and Open Source for Education
Free and Open Source for Education
 
Open Source In Education
Open Source In EducationOpen Source In Education
Open Source In Education
 
Floss Com: Floss / Open Source Like Learning Models
Floss Com: Floss / Open Source Like Learning ModelsFloss Com: Floss / Open Source Like Learning Models
Floss Com: Floss / Open Source Like Learning Models
 
EDEN in 2014
EDEN in 2014EDEN in 2014
EDEN in 2014
 

Similaire à Intro to Linux - Skillswap

Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Docker, Inc.
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software Delivery
Docker, Inc.
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9
Jérôme Petazzoni
 
Introduction to Docker and Containers
Introduction to Docker and ContainersIntroduction to Docker and Containers
Introduction to Docker and Containers
Docker, Inc.
 

Similaire à Intro to Linux - Skillswap (20)

Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013Lightweight Virtualization with Linux Containers and Docker | YaC 2013
Lightweight Virtualization with Linux Containers and Docker | YaC 2013
 
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013Lightweight Virtualization with Linux Containers and Docker I YaC 2013
Lightweight Virtualization with Linux Containers and Docker I YaC 2013
 
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo..."Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
"Lightweight Virtualization with Linux Containers and Docker". Jerome Petazzo...
 
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special EditionIntroduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
Introduction to Docker, December 2014 "Tour de France" Bordeaux Special Edition
 
Docker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12xDocker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12x
 
Linux advanced concepts - Part 2
Linux advanced concepts - Part 2Linux advanced concepts - Part 2
Linux advanced concepts - Part 2
 
LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013LXC, Docker, and the future of software delivery | LinuxCon 2013
LXC, Docker, and the future of software delivery | LinuxCon 2013
 
LXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software DeliveryLXC Docker and the Future of Software Delivery
LXC Docker and the Future of Software Delivery
 
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQDocker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
Docker Introduction, and what's new in 0.9 — Docker Palo Alto at RelateIQ
 
Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9 Docker Introduction + what is new in 0.9
Docker Introduction + what is new in 0.9
 
Malware analysis
Malware analysisMalware analysis
Malware analysis
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!
 
Introduction to Docker and Containers
Introduction to Docker and ContainersIntroduction to Docker and Containers
Introduction to Docker and Containers
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
 
Docker for developers
Docker for developersDocker for developers
Docker for developers
 
Docker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los AngelesDocker 0.11 at MaxCDN meetup in Los Angeles
Docker 0.11 at MaxCDN meetup in Los Angeles
 
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme PetazzoniWorkshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
Workshop : 45 minutes pour comprendre Docker avec Jérôme Petazzoni
 
Introduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" EditionIntroduction to Docker, December 2014 "Tour de France" Edition
Introduction to Docker, December 2014 "Tour de France" Edition
 
Super powered Drupal development with docker
Super powered Drupal development with dockerSuper powered Drupal development with docker
Super powered Drupal development with docker
 
The internet of $h1t
The internet of $h1tThe internet of $h1t
The internet of $h1t
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Intro to Linux - Skillswap

  • 1. Linux @twombh Tom Buckley-Houston
  • 2. Thanks | Evening | Future ● @PMStudioUK ● @iamdanw Next Skillswap: @garybristow Progressive ● ● @spyou ● @amias Enhancement ● @jmoverley Drinks in the Watershed afterwards
  • 3. Linux for web developers Dev environment: Historical/Architectural: ● Everything apart from PS ● 60% websites, 25% mobile ● Wine, GIMP ● Google, Facebook, etc ● Java apps: Aptana/Netbeans ● Linux descended from UNIX, ● Better LAMP computer science, ARPANET, ● General daily usage etc. More of a direct lineage ● Philosophical reasons than Windows.
  • 4. Computing Eden ● 1960s America, UNIX, C, ARPANET ● MIT, Bell Labs. ● Dennis Ritchie, Brian Kernighan, Ken Thompson.
  • 5. The UNIX Way “Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.” ● The human dimension. ● Command Line Interface - CLI. ● Analogy to modern web standards; REST, W3C, etc.
  • 6. Richard Stallman ● Early 1980s ● GNU: GNU's Not Unix! ● Almost made a kernel ● The GPL ● Free as in speech, not free as in beer. ● Free to do whatever you want as long as that doesn't restrict someone else doing the same. (eg; Red Hat)
  • 8. Linus Torvalds ● 1991, doing a masters in Computer Science at Helsinki. ● MINIX but better license. ● The Linux Kernel.
  • 9. LAMP Hello World ● You've got a server out there somewhere. ● SSH and SSH keys. ● `ssh tom@myserver.com' ● `aptitude update' Compare with Windows ● `aptitude install apache2 mysql5-server php5 apache2-mod-php php5-mysql' ● `curl localhost' “It Works!”
  • 10. Apache's Vhosts Quick way in a local environment: Just Proper way in production environment: Lots shive loads of definitions in the same of files that you can individually turn on and off. file. `nano /etc/apache2/sites-available/website' `nano /etc/apache2/conf.d/vhosts' NameVirtualHost *:80 <VirtualHost *:80> <VirtualHost *:80> ServerName myserver.com ServerName myserver.com DocumentRoot /var/www/website DocumentRoot /var/www/website </VirtualHost> </VirtualHost> `sudo a2ensite website' Creates a symbolic link from; `sudo service apache2 restart' /etc/apache2/sites-enabled/website `sudo service apache2 restart'
  • 11. Uploading your project without FTP! ● `scp -r myproject/* tom@myserver.com:/var/www/website' ● `rsync -rv myproject/* tom@myserver.com:/var/www/website' ● `git push'