Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Good Migrations
Search
Mark Sta Ana
February 25, 2016
Technology
0
46
Good Migrations
My experiences of migrating Santa Ana Ltd WordPress estate to Docker
Mark Sta Ana
February 25, 2016
Tweet
Share
More Decks by Mark Sta Ana
See All by Mark Sta Ana
Learn Rust in 12 months - Month 01
booyaa
0
86
Introduction to Rust LPW 2017
booyaa
0
84
Rust Language Server And You!
booyaa
0
95
Generator X - The State of Rust Static Site Generators
booyaa
0
320
London Rust User Group Meetup #9 - Baby's First Steps
booyaa
0
98
Rust London User Group Meetup #8 / RustBridge Briefing
booyaa
0
57
Rust London User Group Meetup #7
booyaa
0
62
Docker deep dive for WordPress admins
booyaa
0
120
Other Decks in Technology
See All in Technology
Classmethod Odyssey 登壇資料
yamahiro
0
390
Git 研修 Basic【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
310
スレットハンティングについて知っておきたいこと
hacket
0
130
エンジニア向け会社紹介資料
caddi_eng
14
220k
Git 研修 Advanced【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
200
Matterport を使ってクラスメソッド各拠点のバーチャルオフィスツアーを作成してみた
wakatsuki
0
160
年間一億円削減した時系列データベースのアーキテクチャ改善~不確実性の高いプロジェクトへの挑戦~
lycorptech_jp
PRO
3
2.9k
20240725 LLMによるDXのビジョンと、今何からやるべきか @Azure OpenAI Service Dev Day
nrryuya
3
1.1k
20240724_cm_odyssey_hibiyatech
hiashisan
0
110
AIエージェントを現場に導入する目線とは
masahiro_nishimi
1
1.5k
[NIKKEI Tech Talk]Bias for Action!! 実践から学ぶための仕組とコミュニティ / Community for Practice and Learning
kanamasa
0
260
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
150
Featured
See All Featured
A Philosophy of Restraint
colly
200
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
The Mythical Team-Month
searls
217
43k
The Cost Of JavaScript in 2023
addyosmani
31
4.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
16
1.6k
4 Signs Your Business is Dying
shpigford
178
21k
Web development in the modern age
philhawksworth
203
10k
The Pragmatic Product Professional
lauravandoore
29
6.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
652
58k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
2.9k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Speed Design
sergeychernyshev
9
270
Transcript
Moving a WordPress site to Docker Mark Santa Ana @booyaa
github.com/booyaa booyaa.org Good Migrations
Who am I? ‣ Polyglot dev with Ops background ‣
Sysadmin for Santa Ana Ltd
Our Setup PREVIOUS ‣ Virtual Private Server ‣ LAMP NEW
‣ Cloud Server ‣ Docker ‣ LEMP
Docker source: https://www.docker.com/what-docker
Why did we choose Docker? ‣ Secure
Why did we choose Docker? ‣ Secure ‣ Reproducible
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit ‣ Flexible
Why did we choose Docker? ‣ Secure ‣ Reproducible ‣
Explicit ‣ Flexible ‣ Economical
Why should you choose Docker? Democratises technology, just like WordPress
Migration ‣ Backup ‣ Install/Setup Docker ‣ Restore
TIL
Permissions ‣ chown -R www-data:www-data /var/www/html ‣ docker exec -it
name_of_wordpress_container
Mail ‣ Postman SMTP
Security ‣ Goodbye fail2ban ‣ Hello Wordfence ‣ Hello 2FA
Summary ‣ WordPress on Docker is easy ‣ It requires
some technical expertise ‣ Moving to Docker could be easier (but there’s an app for that)
santaana.co.uk
None
Resources What is Docker chown command WordPress permissions
Fail2ban Postman WordFence 2FA Kitematic hyperironclad https://www.docker.com/what-docker http://www.cyberciti.biz/faq/how-to-use-chmod- and-chown-command/ http://www.chrisabernethy.com/why-wordpress- asks-connection-info/ http://www.fail2ban.org/ https://wordpress.org/plugins/postman-smtp/ https://wordpress.org/plugins/wordfence/ https://wordpress.org/plugins/wp-google- authenticator/ https://www.docker.com/products/docker-kitematic http://github.com/booyaa/hyperironclad