SlideShare a Scribd company logo
CodeIgniter For ProjectWorkshop 001 : Install Docker and CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Docker Web Developer Style
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
PHP 5.6Apache
Link www location
from my computer
to docker container
(CodeIgniter)
MySQL 5.6
Docker Installation for Ubuntu 14.04
sudo su -l
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
wget https://gist.githubusercontent.com/Kusumoto/c2b256b02ec62621c2e1/raw/
8b9437c8f8ea75a3225461ea67b36fd8e4fdc5bf/install_docker_ubuntu_14.04.sh
sh install_docker_ubuntu_14.04.sh
Setting up Docker Container
mkdir /home/[your user]/www
sudo su -l
docker run --name mysql -e MYSQL_ROOT_PASSWORD=[my sql root password] -d mysql/mysql-server:5.5 

//Create Container MySQL Version 5.6
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
docker run --name php5.6 --link mysql:mysql -d -p 80:80 -v /home/[your user]/www/:/var/www/
html/ kusumoto/docker-php5.6-dev-env:latest
//Create Container PHP 5.6 and Apache Web Server
docker ps
Setting up Docker Container
Apache and MySQL Container Now Running
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Testing MySQL Connection
• Create “test.php” in www folder and write coding to 










file.
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Install phpMyAdmin
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
cd /home/[your user]/www
wget https://files.phpmyadmin.net/phpMyAdmin/4.5.3.1/phpMyAdmin-4.5.3.1-all-
languages.tar.gz
tar -zxvf phpMyAdmin-4.5.3.1-all-languages.tar.gz
mv phpMyAdmin-4.5.3.1-all-languages phpmyadmin
cd phpmyadmin
Install phpMyAdmin
mv config.sample.inc.php config.inc.php
nano config.inc.php
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
• Edit this section in file config.inc.php and save
Install phpMyAdmin
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Install CodeIgniter
• Go to https://codeigniter.com/download and download CodeIgniter later
version
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
• Copy CodeIgniter zip file to /home/[your user]/www
• Unzip CodeIgniter zip file
Install CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Install CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
• Rename CodeIgniter default folder name to your project
name (this example use “ci_ex1”)
Install CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
• Open Mozilla Firefox and go to url 

http://localhost/ci_ex1/
Install CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
• If you see this page. You’re complete install CondeIgniter!!
Install CodeIgniter
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com
Forward to Lesson 103
Weerayut Hongsa : Network Engineer / Software Developer
Major Kantana Broadcasting Co., Ltd
https://kusumotolab.com

More Related Content

What's hot (20)

PDF
MySQLレプリケーションあれやこれや
yoku0825
 
PDF
WebブラウザでC#実行 WebAssemblyの技術
Sho Okada
 
PPTX
Blazor WebAssembly と Windows Forms でのロジック共有例
Koichi Ota
 
PDF
インフラCICDの勘所
Toru Makabe
 
PDF
アーキテクチャから理解するPostgreSQLのレプリケーション
Masahiko Sawada
 
PPTX
Redisの特徴と活用方法について
Yuji Otani
 
PDF
Cloud Foundry V2を、もうちょっと深掘りしよう
Kazuto Kusama
 
PDF
Swagger / Quick Start Guide
Andrii Gakhov
 
PDF
MySQLと組み合わせて始める全文検索プロダクト"elasticsearch"
Kentaro Yoshida
 
PDF
Kuberneteの運用を支えるGitOps
shunki fujiwara
 
PDF
MySQLトラブル解析入門
Mikiya Okuno
 
PDF
Azure load testingを利用したパフォーマンステスト
Kuniteru Asami
 
ODP
SPAのルーティングの話
ushiboy
 
PPTX
MicrometerとPrometheusによる LINEファミリーアプリのモニタリング
LINE Corporation
 
PDF
Progressive Web Apps Presentation
Steffen Wagner
 
PPTX
Postgres Playground で pgbench を走らせよう!(第35回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
PDF
Ingress on Azure Kubernetes Service
Toru Makabe
 
PDF
[Postgre sql9.4新機能]レプリケーション・スロットの活用
Kosuke Kida
 
PDF
Azure Blob Storageへの様々なアクセス方法を比べてみた JAZUG12周年イベント
Shingo Kawahara
 
PDF
これからのJDK/JVM 何を選ぶ?どう選ぶ?
Takahiro YAMADA
 
MySQLレプリケーションあれやこれや
yoku0825
 
WebブラウザでC#実行 WebAssemblyの技術
Sho Okada
 
Blazor WebAssembly と Windows Forms でのロジック共有例
Koichi Ota
 
インフラCICDの勘所
Toru Makabe
 
アーキテクチャから理解するPostgreSQLのレプリケーション
Masahiko Sawada
 
Redisの特徴と活用方法について
Yuji Otani
 
Cloud Foundry V2を、もうちょっと深掘りしよう
Kazuto Kusama
 
Swagger / Quick Start Guide
Andrii Gakhov
 
MySQLと組み合わせて始める全文検索プロダクト"elasticsearch"
Kentaro Yoshida
 
Kuberneteの運用を支えるGitOps
shunki fujiwara
 
MySQLトラブル解析入門
Mikiya Okuno
 
Azure load testingを利用したパフォーマンステスト
Kuniteru Asami
 
SPAのルーティングの話
ushiboy
 
MicrometerとPrometheusによる LINEファミリーアプリのモニタリング
LINE Corporation
 
Progressive Web Apps Presentation
Steffen Wagner
 
Postgres Playground で pgbench を走らせよう!(第35回PostgreSQLアンカンファレンス@オンライン 発表資料)
NTT DATA Technology & Innovation
 
Ingress on Azure Kubernetes Service
Toru Makabe
 
[Postgre sql9.4新機能]レプリケーション・スロットの活用
Kosuke Kida
 
Azure Blob Storageへの様々なアクセス方法を比べてみた JAZUG12周年イベント
Shingo Kawahara
 
これからのJDK/JVM 何を選ぶ?どう選ぶ?
Takahiro YAMADA
 

Similar to CodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniter (20)

PDF
OpenStack Murano introduction
Victor Zhang
 
PPTX
Phonegap android angualr material design
Srinadh Kanugala
 
PDF
Learned lessons in a real world project
Codium
 
PDF
Improve your Java Environment with Docker
HanoiJUG
 
PPTX
EMC World 2016 - code.09 Introduction to the Docker Platform
{code}
 
PDF
Docker in Production: Reality, Not Hype - DevOps Chicago
bridgetkromhout
 
PDF
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
Horacio Gonzalez
 
PDF
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 
PDF
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 
PDF
Enabling Hybrid Workflows with Docker/Mesos @Orbitz
Steve Hoffman
 
PDF
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
Horacio Gonzalez
 
PDF
Rally_Docker_deployment_JumpVM
J. Kristian Gonzalez
 
PPTX
Dockerizing Ruby Applications - The Best Practices
Kontena, Inc.
 
PPTX
Os dev tool box
bpowell29a
 
PDF
Alexey Kupriyanenko "Release Early, Often, Stable"
Fwdays
 
PDF
Video Gateway Installation and configuration
sreeharsha43
 
PDF
Magento Docker Setup.pdf
Abid Malik
 
PDF
DevOps Bootcamp course resource (1)-1-99.pdf
AminulKarim2
 
PDF
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
Lakmal Warusawithana
 
PDF
Deploying WSO2 Middleware on Containers
Imesh Gunaratne
 
OpenStack Murano introduction
Victor Zhang
 
Phonegap android angualr material design
Srinadh Kanugala
 
Learned lessons in a real world project
Codium
 
Improve your Java Environment with Docker
HanoiJUG
 
EMC World 2016 - code.09 Introduction to the Docker Platform
{code}
 
Docker in Production: Reality, Not Hype - DevOps Chicago
bridgetkromhout
 
ENIB 2015 2016 - CAI Web S02E03- Forge JS 1/4 - La forge JavaScript
Horacio Gonzalez
 
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 
Integrating Apache Web Server with Tomcat Application Server
webhostingguy
 
Enabling Hybrid Workflows with Docker/Mesos @Orbitz
Steve Hoffman
 
ENIB 2015-2016 - CAI Web - S01E01- La forge JavaScript
Horacio Gonzalez
 
Rally_Docker_deployment_JumpVM
J. Kristian Gonzalez
 
Dockerizing Ruby Applications - The Best Practices
Kontena, Inc.
 
Os dev tool box
bpowell29a
 
Alexey Kupriyanenko "Release Early, Often, Stable"
Fwdays
 
Video Gateway Installation and configuration
sreeharsha43
 
Magento Docker Setup.pdf
Abid Malik
 
DevOps Bootcamp course resource (1)-1-99.pdf
AminulKarim2
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
Lakmal Warusawithana
 
Deploying WSO2 Middleware on Containers
Imesh Gunaratne
 
Ad

More from Weerayut Hongsa (7)

PDF
Basic docker for developer
Weerayut Hongsa
 
PDF
CodeIgniter For Project : Lesson 106 - Model
Weerayut Hongsa
 
PDF
CodeIgniter For Project : Lesson 105 - Helper and Library
Weerayut Hongsa
 
PDF
CodeIgniter For Project : Lesson 104 - Controller & View
Weerayut Hongsa
 
PDF
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
Weerayut Hongsa
 
PDF
Codeigniter Training Part3
Weerayut Hongsa
 
PDF
Codeigniter Training Part2
Weerayut Hongsa
 
Basic docker for developer
Weerayut Hongsa
 
CodeIgniter For Project : Lesson 106 - Model
Weerayut Hongsa
 
CodeIgniter For Project : Lesson 105 - Helper and Library
Weerayut Hongsa
 
CodeIgniter For Project : Lesson 104 - Controller & View
Weerayut Hongsa
 
CodeIgniter For Project : Lesson 103 - Introduction to Codeigniter
Weerayut Hongsa
 
Codeigniter Training Part3
Weerayut Hongsa
 
Codeigniter Training Part2
Weerayut Hongsa
 
Ad

Recently uploaded (20)

PDF
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
PDF
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
PPTX
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
PDF
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
PPTX
Top Managed Service Providers in Los Angeles
Captain IT
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
PDF
Français Patch Tuesday - Juillet
Ivanti
 
PPTX
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
PPTX
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Productivity Management Software | Workstatus
Lovely Baghel
 
PDF
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
PDF
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
PDF
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 
HR agent at Mediq: Lessons learned on Agent Builder & Maestro by Tacstone Tec...
UiPathCommunity
 
Shuen Mei Parth Sharma Boost Productivity, Innovation and Efficiency wit...
AWS Chicago
 
Extensions Framework (XaaS) - Enabling Orchestrate Anything
ShapeBlue
 
Arcee AI - building and working with small language models (06/25)
Julien SIMON
 
Top Managed Service Providers in Los Angeles
Captain IT
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
✨Unleashing Collaboration: Salesforce Channels & Community Power in Patna!✨
SanjeetMishra29
 
Français Patch Tuesday - Juillet
Ivanti
 
Building a Production-Ready Barts Health Secure Data Environment Tooling, Acc...
Barts Health
 
Building and Operating a Private Cloud with CloudStack and LINBIT CloudStack ...
ShapeBlue
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Productivity Management Software | Workstatus
Lovely Baghel
 
Sustainable and comertially viable mining process.pdf
Avijit Kumar Roy
 
Meetup Kickoff & Welcome - Rohit Yadav, CSIUG Chairman
ShapeBlue
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Wojciech Ciemski for Top Cyber News MAGAZINE. June 2025
Dr. Ludmila Morozova-Buss
 
Windsurf Meetup Ottawa 2025-07-12 - Planning Mode at Reliza.pdf
Pavel Shukhman
 

CodeIgniter For Project : Workshop 001 - Install Docker and CodeIgniter

  • 1. CodeIgniter For ProjectWorkshop 001 : Install Docker and CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 2. Docker Web Developer Style Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com PHP 5.6Apache Link www location from my computer to docker container (CodeIgniter) MySQL 5.6
  • 3. Docker Installation for Ubuntu 14.04 sudo su -l Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com wget https://gist.githubusercontent.com/Kusumoto/c2b256b02ec62621c2e1/raw/ 8b9437c8f8ea75a3225461ea67b36fd8e4fdc5bf/install_docker_ubuntu_14.04.sh sh install_docker_ubuntu_14.04.sh
  • 4. Setting up Docker Container mkdir /home/[your user]/www sudo su -l docker run --name mysql -e MYSQL_ROOT_PASSWORD=[my sql root password] -d mysql/mysql-server:5.5 
 //Create Container MySQL Version 5.6 Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com docker run --name php5.6 --link mysql:mysql -d -p 80:80 -v /home/[your user]/www/:/var/www/ html/ kusumoto/docker-php5.6-dev-env:latest //Create Container PHP 5.6 and Apache Web Server docker ps
  • 5. Setting up Docker Container Apache and MySQL Container Now Running Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 6. Testing MySQL Connection • Create “test.php” in www folder and write coding to 










file. Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 7. Install phpMyAdmin Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com cd /home/[your user]/www wget https://files.phpmyadmin.net/phpMyAdmin/4.5.3.1/phpMyAdmin-4.5.3.1-all- languages.tar.gz tar -zxvf phpMyAdmin-4.5.3.1-all-languages.tar.gz mv phpMyAdmin-4.5.3.1-all-languages phpmyadmin cd phpmyadmin
  • 8. Install phpMyAdmin mv config.sample.inc.php config.inc.php nano config.inc.php Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 9. • Edit this section in file config.inc.php and save Install phpMyAdmin Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 10. Install CodeIgniter • Go to https://codeigniter.com/download and download CodeIgniter later version Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 11. • Copy CodeIgniter zip file to /home/[your user]/www • Unzip CodeIgniter zip file Install CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 12. Install CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 13. • Rename CodeIgniter default folder name to your project name (this example use “ci_ex1”) Install CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 14. • Open Mozilla Firefox and go to url 
 http://localhost/ci_ex1/ Install CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 15. • If you see this page. You’re complete install CondeIgniter!! Install CodeIgniter Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com
  • 16. Forward to Lesson 103 Weerayut Hongsa : Network Engineer / Software Developer Major Kantana Broadcasting Co., Ltd https://kusumotolab.com