SlideShare a Scribd company logo
Page 1
Powerpoint Templates
ดร.อาณัติ รัตนถิรกุล
คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ
มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ
May 24, 2016
โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ
สาขาวิชาระบบสารสนเทศและคอมพิวเตอร ์ธุรกิจ
Page 50
โครงการพัฒนาศักยภาพอาจารย์
ด้านวิชาการและวิชาชีพ
LABS
Page 51
Docker - Build, Ship, and Run Any App, Anywhere
Page 52
Build and deployment problem
Page 53
Build and deployment solution – Application
Containers
Page 54
ข้อแตกต่างของ Virtual Machine กับ Docker
Source: http://www.teckstory.com/hadoop-infrastructure/docker-tutorial-for-beginners/
Page 55
รู ้จัก Docker
 Docker พัฒนาจากภาษา Go โดย Solomon Hykes ช่วงเดือน
มีนาคมปี 2013
 เป็นเครื่องมือโอเพ่นซอร์สใช้สาหรับสร้างและจัดการลีนุกซ์คอน
เทนเนอร์หรือ LXC (Linux Containers)
 Docker ถือเป็นเวอร์ชวลไลเซชั่นที่ทางานในระดับ OS-Level
 กินทรัพยากรน้อยมากเมื่อเทียบกับ Virtual Machine หรือ VM ที่
ใช้งานในปัจจุบัน(ต้องจอง cpu, ram, hdd)
Operating system-level virtualization
Source: http://www.sysadmin.in.th/node/357
Page 56
ตัวอย่าง Operating-system-level virtualization
ที่ทางานในลักษณะเดียวกับ Docker
 OpenVZ (Linux)
 Proxmox VE (Linux)
 Linux-VServer (Linux)
 lmctfy (Linux)
 Parallels Virtuozzo Containers (Linux, Windows)
 FreeBSD Jail (FreeBSD)
 Solaris Containers (Solaris, OpenSolaris)
 WPAR - AIX Workload partitions (AIX)
 HP-UX Containers (SRP) (HP-UX)
 sysjail (OpenBSD, NetBSD)
 iCore Virtual Accounts (Windows)
 Sandboxie (Windows)
Source: http://www.sysadmin.in.th/node/357
Page 57
Docker Architecture
Source: http://www.teckstory.com/hadoop-infrastructure/docker-tutorial-for-beginners/
Page 58
Docker
Page 59
Docker
Page 60
Docker ip
Page 61
Docker on windows
Page 62
Docker
Download : http://huntra.bait.rmutsb.ac.th
Document LABS
Page 63
การสร ้าง Cloud Virtual LABS
Docker - Build, Ship, and Run Any App, Anywhere
Docker is an open platform for developers and sysadmins
to build, ship, and run distributed.
Page 64
Docker installation
Page 65
การติดตั้ง Docker บนระบบ Windows
https://docs.docker.com/installation/
Page 66
การติดตั้ง Docker บนระบบ Windows
Page 67
การติดตั้ง Docker บนระบบ Windows
Page 68
การเรียกใช ้งาน Docker
Page 69
การเรียกใช ้งาน Docker
• docker version
• docker ps
• docker ps -l
Page 70
ทดสอบ Run hello-world
• docker run hello-world
Page 71
Docker IP
• docker-machine ip
• boot2docker ip
Page 72
ตรวจสอบไฟล์images ปัจจุบัน
• docker images
Page 73
การค้นหา images
• docker search centos
• docker search centos6
• docker search centos6:6
• docker search ubuntu
• docker search httpd
• docker search mysql
• docker search oracle
• docker search php
• docker search php7
• docker search c
• docker search c++
• docker search java
• docker search pascal
• docker search python
• docker search asp.net
• docker search nodejs
docker search images_name
• docker search wordpress
• docker search joomla
• docker search drupal
• docker search moodle
รูปแบบ
ตัวอย่าง
Page 74
การค้นหา images
docker search java
Page 75
การดึงตัว images
docker pull centos
docker pull images_name
รูปแบบ
ตัวอย่าง
Page 76
ตรวจสอบ images ปัจจุบัน
• docker images centos
• docker images
Page 77
Run Container
• docker run –i -t centos หรือ
• docker run –i -t centos:latest
yum install lynx -y
yum install wget net-tools -y
yum install httpd -y
systemctl start httpd
Page 78
Run Container
• docker run –i -t ubuntu:latest
• docker run –i -t centos:latest
• docker run -i -t centos /bin/bash
• docker run centos:latest cat /etc/centos-release
ทาการสต๊าท Container พร้อมติดตั้ง Apache HTTP Server
• docker run centos /bin/bash -c "yum -y update;
yum -y install httpd"
Page 79
Run Container
ตรวจสอบโปรเซส ระบบแสดง Container ID
docker ps -a | head -2
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5b245e295b3ecentos:7"/bin/echo 'hello wo 7 minutesago Exited (0) 7 minutesago high_pike
เพิ่มชื่ออิมเมจที่ต้องการ เข้าไปในระบบด้วยคาสั่ง commit เพื่อให้อิมเมจนี้อยู่ถาวร
docker commit 5b245e295b3e custom/webserver1
655223d187eb6417ebdfcafac779ea6ed8ce7cd8189764fd2974941c1fc600d8
ตรวจสอบอิมเมจอีกครั้ง
docker images
Page 80
Run Container
กาหนดให้รันเว็บเซิร์ฟเวอร์ในคอนเทนเนอร์ ผ่านทางหมายเลขพอร์ต 8081
docker run -it -p 8081:80 custom/webserver1 /bin/bash
สั่งสต๊าท Apache ภายใต้Container
/usr/sbin/httpd &
ทดสอบ
รูปแบบ
http://IP_Address:8081/
ตัวอย่าง เช่น
http://192.168.99.101:8081
Page 81
Run Container
ทดสอบเขียนภาษา PHP
yum install php –y
vi /var/www/html/phpinfo.php
<?php phpinfo(); ?>
httpd -k stop
/usr/sbin/httpd &
ps aux|grep httpd
http://192.168.99.101:8081/phpinfo.php
Page 82
Add images
• docker commit 323ceff31212 custom/centos_httpd
• docker images
Page 83
Software Framework
Page 84
รู้จัก Software Framework
Page 85
Software framework
 CSS frameworks
 JavaScript framework
 Application framework
 Content management framework
 Web application framework
 Multimedia framework
Page 86
CSS frameworks
 Maxmertkit
 Cascade Framework
 Cascade Framework Light
 Concise
 Emastic
 floatz
 Ink
 Inuitcss
 Kube
Source: http://en.wikipedia.org/wiki/CSS_frameworks
 Kule CSS Lazy
 Malo
 Responsive Grid System
 Schema UI / Built with
LESS
 Semantic UI
 StackLayout
 uikit
 Unsemantic
Page 87
JavaScript Framework
 jQuery
 AngularJS
 Prototype
 MooTools
 Unified.js
 Ext JS
 Backbone.js
Source: https://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks
 Backbone.js
 MooTools
 Pyjamas
 qooxdoo
 SproutCore
 Syncfusion
 Webix
 Wakanda
Page 88
PHP Frameworks
 Laravel
 CodeIgniter
 Symfony
 Yii Framework
 Zend Framework
 Phalcon
 CakePHP
 Slim
 FuelPHP
 PHPixie
 Aura
 Akelos
 Flight
 Kohana
 Medoo
 Pop PHP
 Prado
 PHPDevShell
 QPHP
 ZooP
Page 89
Best PHP Frameworks for 2014
Source: http://www.sitepoint.com/best-php-frameworks-2014/
Page 90
Content management framework
• Ayoola Framework
• Joomla! Framework
• Ayoola
Framework
• Umbraco
• Microsoft
SharePoint
Server
• Sageframe
• DotNetNuke
• Plone
• Django
• Mezzanine
Page 91
Multimedia Framework
 Gstreamer
 Phonon
 DirectShow
 Media Foundation
Page 92
ตัวอย่าง ทูลสาหรับพัฒนาระบบผ่านคลาวน์
คอมพิวติ้ง
• Xamarin
• PhoneGap
• Appcelerator
• OpenCV
• Android Studio
• App Inventor
• AngularJS
• MEAN.JS
• Ember.js
• Backbone.js
• Corona
• Recipes
• Android C++
Mobile Games
Page 93
Software Framework
Download : http://huntra.bait.rmutsb.ac.th
Document LABS
Page 94
Note.
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
Page 95
Git
Page 96
คุณเคยประสบปัญหาเหล่านี้ไหม ?
 คอมพิวเตอร ์พัง
 คอมแฮงค์
 ฮาร ์ดดิสก์เกิด Bad Sector
 ไฟล์เสียหาย
 ไฟล์ติดไวรัส
 เวอร ์ชั่นไฟล์ไม่ตรงกัน
 ไฟล์ถูกแก้ไข
 โค้ดโปรแกรมที่เขียนสูญหาย
 บันทึกไฟล์ทับซ้อน
 อยากใช ้ไฟล์เวอร ์ชั่นก่อนหน้า แต่เผลอบันทึกไฟล์ทับไป 
 รุ่นน้อง/พนักงานใหม่ เผลอลบไฟล์ไป จะกู้ไฟล์มาอย่างไร
 งานด่วน หัวหน้าต้องการไฟล์เวอร ์ชั่นที่ 1 ตอนนี้ผ่านไป 3 ปีแล้วไปหาไฟล์ที่ไหนดี
 การทางานเป็นทีม ต้องบันทึกไฟล์ลง Thumb Drive
 จะทดลองทด Feature ใหม่ๆจากโปรเจกต์เก่าจะทายังไง โดยไม่ต้องก็อปปี้ทั้งโปรเจกต์แล้ว
มาเปลี่ยนชื่อโฟลเดอร ์
 …
Page 97
Version Control System (VCS)
• Version Control System หรือ VCS เป็นระบบที่จัดเก็บ
การเปลี่ยนแปลงที่เกิดขึ้นกับไฟล์หนึ่งหรือหลายไฟล์เพื่อให้
ผู้ใช้สามารถย้อนคืนเวอร ์ชั่นกลับมาตรวจสอบได้ และช่วยใน
การเปรียบเทียบการแก้ไขที่เกิดขึ้นในอดีต (ตรวจสอบว่าใคร
เป็นคนแก้ไขคนสุดท้ายที่อาจทาให้เกิดปัญหา แก้ไขเมื่อไร)
รวมทั้งช่วยในการกู้คืนไฟล์ที่ถูกลบหรือทาให้เกิดการ
เสียหายโดยไม่ตั้งใจ
Page 98
Version Control Systems แบบ Local
Page 99
Version Control System แบบรวมศูนย์
Centralized Version Control Systems (CVCSs)
เช่น CVS, Subversion และ Perforce
มีเซิร ์ฟเวอร ์กลางที่เก็บไฟล์ทั้งหมดไว้ในที่เดียวผู้ใช ้หลาย ๆ คนสามารถ
ต่อเข้ามาเพื่อดึงไฟล์จากศูนย์กลางนี้ไปแก้ไขได้
Page 100
Version Control Systems แบบ กระจายศูนย์
Page 101
รู้จัก Git
 Git เป็นระบบที่จัดเก็บการเปลี่ยนแปลงที่เกิดขึ้นกับไฟล์หนึ่ง
หรือหลายไฟล์เพื่อให้ผู้ใช้สามารถย้อนคืนเวอร ์ชั่นกลับมา
ตรวจสอบได้หรือ Version Control System (VCS)
 พัฒนาขึ้นโดย Linus Torvalds (7 Apr 2005) ปัจจุบัน
ดูแลโครงการโดย Junio Hamano
 เป็นซอฟต์แวร ์ฟรีและแจกจ่ายในลักษณะของ GPL
Source : https://en.wikipedia.org/wiki/Git_(software)
Page 102
Version Control System
Page 103
Version Control System
Page 104
ใครควรใช ้Git บ้าง ?
 ผู้ที่ต้องการเก็บเวอร ์ชั่นหรือ reversion ของไฟล์/งานเขียน
 โปรแกรมเมอร ์, นักเขียน, นักวิจัย
 ใช้ตามการเปลี่ยนแปลง (track changes) ได้ทุกภาษา
อาทิ txt, html, css, php, c, c++, java, python, perl,
asp.net ฯลฯ
Page 105
Work flow การทางานของ git
Source: http://tupleblog.github.io/git-intro/
Page 106
เว็บสาหรับทดสอบ Git แบบออนไลน์
https://try.github.io
Page 107
Git
Download: http://huntra.bait.rmutsb.ac.th
Document LABS
Page 108
Note.
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
Page 109
Note.
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
• ……………………………………………….
Page 110
แหล่งข้อมูลต้นน้าสาหรับนักพัฒนา
 SourceForge (web-based source code repository)
 http://sourceforge.net
 GitHub (Build software better, together)
 https://github.com
Powerpoint Templates
Page 1
เอกสารประกอบการบรรยาย
Resource Person: Dr.Arnut Ruttanatirakul
Topic: โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ
Company: สาขาวิชาระบบสารสนเทศและคอมพิวเตอร์ธุรกิจ
คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ
Place: Public
Date: May 24, 2016
Mobile: 081-9106310
หมายเหตุ. รูปภาพที่ใช้ในสไลด์ ใช้เพื่อการประกอบการบรรยายเท่านั้น ลิขสิทธิ์เป็นของผู้สร้าง
ติดต่อบรรยายได้ที่ fb.me/DrArnut
Page 111
Powerpoint Templates
โครงการพัฒนาเสริมสร้างความเข้มแข็งทางวิชาการให้กับนักศึกษา
กิจกรรมที่ ๑ กิจกรรมอบรมความรู้ด้านคอมพิวเตอร์ให้กับนักศึกษา
ดร.อาณัติ รัตนถิรกุล
คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ ศูนย์หันตรา
มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ
โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ
สาขาวิชาระบบสารสนเทศและคอมพิวเตอร ์ธุรกิจ
May 24, 2016

More Related Content

PDF
Technology-based Learning
PDF
IT Skills for Teacher path 1
PDF
Apps for Teacher in the Digital Age
PDF
Web application with PHP
PDF
Infographic for Communication
PDF
Docker and Software Framework_24 may16_rus_DR.ARNUT
PDF
Python Programming for Lecturer_RUS_Nonthaburi 17may2019
PDF
กศน.ลาดกระบัง Instructional technology 24-25_aug2016_DR.ARNUT
Technology-based Learning
IT Skills for Teacher path 1
Apps for Teacher in the Digital Age
Web application with PHP
Infographic for Communication
Docker and Software Framework_24 may16_rus_DR.ARNUT
Python Programming for Lecturer_RUS_Nonthaburi 17may2019
กศน.ลาดกระบัง Instructional technology 24-25_aug2016_DR.ARNUT

Similar to IT Skills for Teacher path 2 (20)

PDF
Joomla NetDesign2
DOCX
PDF
IT Trends eMagazine Vol 4. No.12
PDF
Slide 9 april_2011_pdf
PDF
Joomla present at Bangkok University
PDF
Php nuke
PDF
Security CMS - Opensoure2Day event
PDF
Php dreamwaver
PDF
Joomla 3.7 Workshop 1 Day
PDF
Joomla Talk ครั้งที่ 6 Back to basic Joomla and Template
PDF
Hand-on Exercise Java Web Programming
PDF
คู่มือการใช้งานโปรแกรมพัฒนา Application สำหรับระบบปฏิบัติการ i os
PDF
Ruby on Rails Lazy developer
PDF
ศักยภาพของนักพัฒนาซอฟต์แวร์ไทย กับ การบริหารจัดการสิทธิเหนือลิขสิทธิ์
PDF
To uninstall CrowdStrike Endpoint from multiple devices in a centralized mann...
PDF
1. ความรู้เกี่ยวกับการ web programming
PDF
ว่าด้วยเรื่อง Linux Container
PPT
Java Programming [1/12] : Introduction
PDF
Oss freeware-publish
Joomla NetDesign2
IT Trends eMagazine Vol 4. No.12
Slide 9 april_2011_pdf
Joomla present at Bangkok University
Php nuke
Security CMS - Opensoure2Day event
Php dreamwaver
Joomla 3.7 Workshop 1 Day
Joomla Talk ครั้งที่ 6 Back to basic Joomla and Template
Hand-on Exercise Java Web Programming
คู่มือการใช้งานโปรแกรมพัฒนา Application สำหรับระบบปฏิบัติการ i os
Ruby on Rails Lazy developer
ศักยภาพของนักพัฒนาซอฟต์แวร์ไทย กับ การบริหารจัดการสิทธิเหนือลิขสิทธิ์
To uninstall CrowdStrike Endpoint from multiple devices in a centralized mann...
1. ความรู้เกี่ยวกับการ web programming
ว่าด้วยเรื่อง Linux Container
Java Programming [1/12] : Introduction
Oss freeware-publish
Ad

More from Asst.Prof.Dr.Arnut Ruttanatirakul (20)

PDF
ยุคโควิด 19 ทำอะไรถึงรุ่ง-dr.arnut
PDF
10 online learning technique
PDF
Live Streaming tool dr.arnut
PDF
Live Streaming Tool dr.arnut
PDF
10 Online Learning Technique by DrArnut
PDF
IT4Life-RUS-rwasukri-24may2019_dr.arnut
PDF
Internet of things_bc46021_n_21mar2019_by_dr.arnut
PDF
IoT for business huntra-seminar_26mar2019_dr.arnut
PDF
Digital transformation -Management-nonthaburi_28_feb2019_dr.arnut
PDF
Ayutthaya gov project_internet_marketing_by_dr_arnut_10july2018_dr.arnut - share
PDF
Digital transformation isbc huntra 7_nov2018_dr.arnut_sh
PDF
Digital Transformation in Business_RMUTSB_28_feb2019_dr.arnut
PDF
Computer crimes act in digital era rmutp 18_sep2018_dr.arnut
PDF
Flipped classroom with_edmodo_dr.arnut
PDF
Innovation in the workplace 1 feb2018_dr.arnut
PDF
Modern management techniques in digital economy
PDF
์Network firewall with IPFire
PDF
Development stack with WTserver
PDF
Study program in computer and it in thailand
PDF
Web Server Stack with WPИ-XM
ยุคโควิด 19 ทำอะไรถึงรุ่ง-dr.arnut
10 online learning technique
Live Streaming tool dr.arnut
Live Streaming Tool dr.arnut
10 Online Learning Technique by DrArnut
IT4Life-RUS-rwasukri-24may2019_dr.arnut
Internet of things_bc46021_n_21mar2019_by_dr.arnut
IoT for business huntra-seminar_26mar2019_dr.arnut
Digital transformation -Management-nonthaburi_28_feb2019_dr.arnut
Ayutthaya gov project_internet_marketing_by_dr_arnut_10july2018_dr.arnut - share
Digital transformation isbc huntra 7_nov2018_dr.arnut_sh
Digital Transformation in Business_RMUTSB_28_feb2019_dr.arnut
Computer crimes act in digital era rmutp 18_sep2018_dr.arnut
Flipped classroom with_edmodo_dr.arnut
Innovation in the workplace 1 feb2018_dr.arnut
Modern management techniques in digital economy
์Network firewall with IPFire
Development stack with WTserver
Study program in computer and it in thailand
Web Server Stack with WPИ-XM
Ad

IT Skills for Teacher path 2

  • 1. Page 1 Powerpoint Templates ดร.อาณัติ รัตนถิรกุล คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ May 24, 2016 โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ สาขาวิชาระบบสารสนเทศและคอมพิวเตอร ์ธุรกิจ
  • 3. Page 51 Docker - Build, Ship, and Run Any App, Anywhere
  • 4. Page 52 Build and deployment problem
  • 5. Page 53 Build and deployment solution – Application Containers
  • 6. Page 54 ข้อแตกต่างของ Virtual Machine กับ Docker Source: http://www.teckstory.com/hadoop-infrastructure/docker-tutorial-for-beginners/
  • 7. Page 55 รู ้จัก Docker  Docker พัฒนาจากภาษา Go โดย Solomon Hykes ช่วงเดือน มีนาคมปี 2013  เป็นเครื่องมือโอเพ่นซอร์สใช้สาหรับสร้างและจัดการลีนุกซ์คอน เทนเนอร์หรือ LXC (Linux Containers)  Docker ถือเป็นเวอร์ชวลไลเซชั่นที่ทางานในระดับ OS-Level  กินทรัพยากรน้อยมากเมื่อเทียบกับ Virtual Machine หรือ VM ที่ ใช้งานในปัจจุบัน(ต้องจอง cpu, ram, hdd) Operating system-level virtualization Source: http://www.sysadmin.in.th/node/357
  • 8. Page 56 ตัวอย่าง Operating-system-level virtualization ที่ทางานในลักษณะเดียวกับ Docker  OpenVZ (Linux)  Proxmox VE (Linux)  Linux-VServer (Linux)  lmctfy (Linux)  Parallels Virtuozzo Containers (Linux, Windows)  FreeBSD Jail (FreeBSD)  Solaris Containers (Solaris, OpenSolaris)  WPAR - AIX Workload partitions (AIX)  HP-UX Containers (SRP) (HP-UX)  sysjail (OpenBSD, NetBSD)  iCore Virtual Accounts (Windows)  Sandboxie (Windows) Source: http://www.sysadmin.in.th/node/357
  • 9. Page 57 Docker Architecture Source: http://www.teckstory.com/hadoop-infrastructure/docker-tutorial-for-beginners/
  • 13. Page 61 Docker on windows
  • 14. Page 62 Docker Download : http://huntra.bait.rmutsb.ac.th Document LABS
  • 15. Page 63 การสร ้าง Cloud Virtual LABS Docker - Build, Ship, and Run Any App, Anywhere Docker is an open platform for developers and sysadmins to build, ship, and run distributed.
  • 17. Page 65 การติดตั้ง Docker บนระบบ Windows https://docs.docker.com/installation/
  • 18. Page 66 การติดตั้ง Docker บนระบบ Windows
  • 19. Page 67 การติดตั้ง Docker บนระบบ Windows
  • 21. Page 69 การเรียกใช ้งาน Docker • docker version • docker ps • docker ps -l
  • 22. Page 70 ทดสอบ Run hello-world • docker run hello-world
  • 23. Page 71 Docker IP • docker-machine ip • boot2docker ip
  • 25. Page 73 การค้นหา images • docker search centos • docker search centos6 • docker search centos6:6 • docker search ubuntu • docker search httpd • docker search mysql • docker search oracle • docker search php • docker search php7 • docker search c • docker search c++ • docker search java • docker search pascal • docker search python • docker search asp.net • docker search nodejs docker search images_name • docker search wordpress • docker search joomla • docker search drupal • docker search moodle รูปแบบ ตัวอย่าง
  • 27. Page 75 การดึงตัว images docker pull centos docker pull images_name รูปแบบ ตัวอย่าง
  • 28. Page 76 ตรวจสอบ images ปัจจุบัน • docker images centos • docker images
  • 29. Page 77 Run Container • docker run –i -t centos หรือ • docker run –i -t centos:latest yum install lynx -y yum install wget net-tools -y yum install httpd -y systemctl start httpd
  • 30. Page 78 Run Container • docker run –i -t ubuntu:latest • docker run –i -t centos:latest • docker run -i -t centos /bin/bash • docker run centos:latest cat /etc/centos-release ทาการสต๊าท Container พร้อมติดตั้ง Apache HTTP Server • docker run centos /bin/bash -c "yum -y update; yum -y install httpd"
  • 31. Page 79 Run Container ตรวจสอบโปรเซส ระบบแสดง Container ID docker ps -a | head -2 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5b245e295b3ecentos:7"/bin/echo 'hello wo 7 minutesago Exited (0) 7 minutesago high_pike เพิ่มชื่ออิมเมจที่ต้องการ เข้าไปในระบบด้วยคาสั่ง commit เพื่อให้อิมเมจนี้อยู่ถาวร docker commit 5b245e295b3e custom/webserver1 655223d187eb6417ebdfcafac779ea6ed8ce7cd8189764fd2974941c1fc600d8 ตรวจสอบอิมเมจอีกครั้ง docker images
  • 32. Page 80 Run Container กาหนดให้รันเว็บเซิร์ฟเวอร์ในคอนเทนเนอร์ ผ่านทางหมายเลขพอร์ต 8081 docker run -it -p 8081:80 custom/webserver1 /bin/bash สั่งสต๊าท Apache ภายใต้Container /usr/sbin/httpd & ทดสอบ รูปแบบ http://IP_Address:8081/ ตัวอย่าง เช่น http://192.168.99.101:8081
  • 33. Page 81 Run Container ทดสอบเขียนภาษา PHP yum install php –y vi /var/www/html/phpinfo.php <?php phpinfo(); ?> httpd -k stop /usr/sbin/httpd & ps aux|grep httpd http://192.168.99.101:8081/phpinfo.php
  • 34. Page 82 Add images • docker commit 323ceff31212 custom/centos_httpd • docker images
  • 37. Page 85 Software framework  CSS frameworks  JavaScript framework  Application framework  Content management framework  Web application framework  Multimedia framework
  • 38. Page 86 CSS frameworks  Maxmertkit  Cascade Framework  Cascade Framework Light  Concise  Emastic  floatz  Ink  Inuitcss  Kube Source: http://en.wikipedia.org/wiki/CSS_frameworks  Kule CSS Lazy  Malo  Responsive Grid System  Schema UI / Built with LESS  Semantic UI  StackLayout  uikit  Unsemantic
  • 39. Page 87 JavaScript Framework  jQuery  AngularJS  Prototype  MooTools  Unified.js  Ext JS  Backbone.js Source: https://en.wikipedia.org/wiki/Comparison_of_JavaScript_frameworks  Backbone.js  MooTools  Pyjamas  qooxdoo  SproutCore  Syncfusion  Webix  Wakanda
  • 40. Page 88 PHP Frameworks  Laravel  CodeIgniter  Symfony  Yii Framework  Zend Framework  Phalcon  CakePHP  Slim  FuelPHP  PHPixie  Aura  Akelos  Flight  Kohana  Medoo  Pop PHP  Prado  PHPDevShell  QPHP  ZooP
  • 41. Page 89 Best PHP Frameworks for 2014 Source: http://www.sitepoint.com/best-php-frameworks-2014/
  • 42. Page 90 Content management framework • Ayoola Framework • Joomla! Framework • Ayoola Framework • Umbraco • Microsoft SharePoint Server • Sageframe • DotNetNuke • Plone • Django • Mezzanine
  • 43. Page 91 Multimedia Framework  Gstreamer  Phonon  DirectShow  Media Foundation
  • 44. Page 92 ตัวอย่าง ทูลสาหรับพัฒนาระบบผ่านคลาวน์ คอมพิวติ้ง • Xamarin • PhoneGap • Appcelerator • OpenCV • Android Studio • App Inventor • AngularJS • MEAN.JS • Ember.js • Backbone.js • Corona • Recipes • Android C++ Mobile Games
  • 45. Page 93 Software Framework Download : http://huntra.bait.rmutsb.ac.th Document LABS
  • 46. Page 94 Note. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ……………………………………………….
  • 48. Page 96 คุณเคยประสบปัญหาเหล่านี้ไหม ?  คอมพิวเตอร ์พัง  คอมแฮงค์  ฮาร ์ดดิสก์เกิด Bad Sector  ไฟล์เสียหาย  ไฟล์ติดไวรัส  เวอร ์ชั่นไฟล์ไม่ตรงกัน  ไฟล์ถูกแก้ไข  โค้ดโปรแกรมที่เขียนสูญหาย  บันทึกไฟล์ทับซ้อน  อยากใช ้ไฟล์เวอร ์ชั่นก่อนหน้า แต่เผลอบันทึกไฟล์ทับไป   รุ่นน้อง/พนักงานใหม่ เผลอลบไฟล์ไป จะกู้ไฟล์มาอย่างไร  งานด่วน หัวหน้าต้องการไฟล์เวอร ์ชั่นที่ 1 ตอนนี้ผ่านไป 3 ปีแล้วไปหาไฟล์ที่ไหนดี  การทางานเป็นทีม ต้องบันทึกไฟล์ลง Thumb Drive  จะทดลองทด Feature ใหม่ๆจากโปรเจกต์เก่าจะทายังไง โดยไม่ต้องก็อปปี้ทั้งโปรเจกต์แล้ว มาเปลี่ยนชื่อโฟลเดอร ์  …
  • 49. Page 97 Version Control System (VCS) • Version Control System หรือ VCS เป็นระบบที่จัดเก็บ การเปลี่ยนแปลงที่เกิดขึ้นกับไฟล์หนึ่งหรือหลายไฟล์เพื่อให้ ผู้ใช้สามารถย้อนคืนเวอร ์ชั่นกลับมาตรวจสอบได้ และช่วยใน การเปรียบเทียบการแก้ไขที่เกิดขึ้นในอดีต (ตรวจสอบว่าใคร เป็นคนแก้ไขคนสุดท้ายที่อาจทาให้เกิดปัญหา แก้ไขเมื่อไร) รวมทั้งช่วยในการกู้คืนไฟล์ที่ถูกลบหรือทาให้เกิดการ เสียหายโดยไม่ตั้งใจ
  • 50. Page 98 Version Control Systems แบบ Local
  • 51. Page 99 Version Control System แบบรวมศูนย์ Centralized Version Control Systems (CVCSs) เช่น CVS, Subversion และ Perforce มีเซิร ์ฟเวอร ์กลางที่เก็บไฟล์ทั้งหมดไว้ในที่เดียวผู้ใช ้หลาย ๆ คนสามารถ ต่อเข้ามาเพื่อดึงไฟล์จากศูนย์กลางนี้ไปแก้ไขได้
  • 52. Page 100 Version Control Systems แบบ กระจายศูนย์
  • 53. Page 101 รู้จัก Git  Git เป็นระบบที่จัดเก็บการเปลี่ยนแปลงที่เกิดขึ้นกับไฟล์หนึ่ง หรือหลายไฟล์เพื่อให้ผู้ใช้สามารถย้อนคืนเวอร ์ชั่นกลับมา ตรวจสอบได้หรือ Version Control System (VCS)  พัฒนาขึ้นโดย Linus Torvalds (7 Apr 2005) ปัจจุบัน ดูแลโครงการโดย Junio Hamano  เป็นซอฟต์แวร ์ฟรีและแจกจ่ายในลักษณะของ GPL Source : https://en.wikipedia.org/wiki/Git_(software)
  • 56. Page 104 ใครควรใช ้Git บ้าง ?  ผู้ที่ต้องการเก็บเวอร ์ชั่นหรือ reversion ของไฟล์/งานเขียน  โปรแกรมเมอร ์, นักเขียน, นักวิจัย  ใช้ตามการเปลี่ยนแปลง (track changes) ได้ทุกภาษา อาทิ txt, html, css, php, c, c++, java, python, perl, asp.net ฯลฯ
  • 57. Page 105 Work flow การทางานของ git Source: http://tupleblog.github.io/git-intro/
  • 58. Page 106 เว็บสาหรับทดสอบ Git แบบออนไลน์ https://try.github.io
  • 60. Page 108 Note. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ……………………………………………….
  • 61. Page 109 Note. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ………………………………………………. • ……………………………………………….
  • 62. Page 110 แหล่งข้อมูลต้นน้าสาหรับนักพัฒนา  SourceForge (web-based source code repository)  http://sourceforge.net  GitHub (Build software better, together)  https://github.com
  • 63. Powerpoint Templates Page 1 เอกสารประกอบการบรรยาย Resource Person: Dr.Arnut Ruttanatirakul Topic: โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ Company: สาขาวิชาระบบสารสนเทศและคอมพิวเตอร์ธุรกิจ คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ Place: Public Date: May 24, 2016 Mobile: 081-9106310 หมายเหตุ. รูปภาพที่ใช้ในสไลด์ ใช้เพื่อการประกอบการบรรยายเท่านั้น ลิขสิทธิ์เป็นของผู้สร้าง ติดต่อบรรยายได้ที่ fb.me/DrArnut
  • 64. Page 111 Powerpoint Templates โครงการพัฒนาเสริมสร้างความเข้มแข็งทางวิชาการให้กับนักศึกษา กิจกรรมที่ ๑ กิจกรรมอบรมความรู้ด้านคอมพิวเตอร์ให้กับนักศึกษา ดร.อาณัติ รัตนถิรกุล คณะบริหารธุรกิจและเทคโนโลยีสารสนเทศ ศูนย์หันตรา มหาวิทยาลัยเทคโนโลยีราชมงคลสุวรรณภูมิ โครงการพัฒนาศักยภาพอาจารย์ด้านวิชาการและวิชาชีพ สาขาวิชาระบบสารสนเทศและคอมพิวเตอร ์ธุรกิจ May 24, 2016