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
Vagrant
Search
Fedir RYKHTIK
November 21, 2013
Technology
96
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Vagrant
Talk from /dev/var/2
Fedir RYKHTIK
November 21, 2013
More Decks by Fedir RYKHTIK
See All by Fedir RYKHTIK
Methodology of Multi-Criteria Comparison and Typology of Open Source Projects
fedir
0
160
Building a Go microservice from 0 to Hero
fedir
0
550
TYPO3 Camp Nantes 2018 > I come from the future
fedir
0
71
Methodology and tools for Drupal sites GDPR compliance
fedir
0
470
Open source Web frameworks comparison and ratings
fedir
0
1.1k
Comparison of 10 Go web frameworks
fedir
2
2k
/dev/var/19 > Méthodologie de tests de charge et performance des sites Web
fedir
0
110
TYPO3Camp Nantes 2017 - Web applications penetration testing methodology
fedir
0
370
DDD17 - Web Applications Automated Security Testing in a Continuous Delivery Pipeline
fedir
0
610
Other Decks in Technology
See All in Technology
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
960
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
Gen3R: 3D Scene Generation Meets Feed-Forward Reconstruction
spatial_ai_network
0
130
最適な自走を最小限の支援で — M&Aで拡大する組織で少人数SREが挑んだ1年 / SRE NEXT 2026
genda
0
1.5k
Playwright × AI Agent でE2Eテストはどう変わるか AI駆動テストの可能性と実用検証の結果
taiga7543
1
350
穢れた技術選定について
watany
17
5.6k
プロダクト開発組織の現在地(Ver.2026/07) / product-organization
kaonavi
0
110
AI時代の闇と光
tatsuya1970
0
110
DatabricksにおけるMCPソリューション
taka_aki
1
280
AI時代のYAGNI:「爆速で無駄になった機能」からの学び / 20260720 Naoki Takahashi
shift_evolve
PRO
3
320
10年目を迎えた「ABEMA」がどのように AI 活用を推進して、AI 駆動開発にシフトしているのか / How ABEMA, entering its 10th year, is promoting the use of AI and shifting toward AI-driven development
miyukki
0
290
公式ドキュメントの歩き方etc
coco_se
1
120
Featured
See All Featured
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
280
Test your architecture with Archunit
thirion
1
2.3k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
750
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
360
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
150
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.4k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
420
Transcript
Vagrant /dev/var/2, Toulon, 21/11/2013 by @FedirFR
Oxford English Dictionary Vagrant • “a person without a settled
home or regular work who wanders from place to place and lives by begging” • archaic a wanderer
Un vagabond => Mobilité, minimalisme, poyvalence
Géré des environnements virtuels
Socle de Virtualbox
Mais à la manière /dev/ ++
Scripting Scénarios Boxes
L'ADN de votre projet
Vagrantfile
Vagrantfile = Un grain, qui devient une arbre
Vagrantfile = Un atome, qui devient l’Univers
Vagrant.configure("2") do |config| config.vm.box = "quantal" config.vm.box_url = "https://github.com/downloads/roderik/VagrantQuantal64Box/quantal64.box" config.ssh.forward_agent
= true config.vm.network :private_network, ip: "192.168.23.4" config.vm.provision :chef_solo do |chef| chef.cookbooks_path = [ "cookbooks", "site-cookbooks" ] chef.log_level = :debug chef.add_recipe "typo3-neos" end config.vm.provider "virtualbox" do |v| v.name = "TYPO3 Neos" v.customize ["modifyvm", :id, "--memory", "2048"] end end
salt puppet chef Gestionnaires de configuration
Quelques recettes du chef
Installation des paquets include_recipe 'apache2' ['rewrite', 'deflate', 'php5', 'headers', 'expires',
'status', 'negotiation', 'setenvif'].each do |mod| include_recipe "apache2::mod_#{mod}" end include_recipe "php::package" ['apc', 'curl', 'gd', 'mysql', 'sqlite3'].each do |mod| include_recipe "php::module_#{mod}" end include_recipe 'mysql::server' include_recipe 'git'
cookbook_file "/etc/apache2/sites-available/typo3.neos" do source "typo3.neos" mode 0755 end apache_site "000-default"
do enable false end apache_site "typo3.neos" do enable true end execute "reload apache" do command "/etc/init.d/apache2 reload" end Configuration de serveur
Installation de CMS execute "clone typo3.neos base" do command "git
clone git://git.typo3.org/Neos/Distributions/Base.git /var/www/typo3.neos" creates "/var/www/typo3.neos/" end execute "get composer" do command "curl -s https://getcomposer.org/installer | php" cwd "/var/www/typo3.neos" end execute "install TYPO3 Neos" do command "php composer.phar install --dev" cwd "/var/www/typo3.neos" end execute "fixing permissions" do command "Packages/Framework/TYPO3.Flow/Scripts/setfilepermissions.sh vagrant vagrant www-data" cwd "/var/www/typo3.neos/" end
Essentiel de runtime
init up suspend halt destroy Commandes de base ssh reload
Essayez du nouveau
Beaucoup de boîtes déjà prêtes TYPO3 Neos https://github.com/fedir/vagrant-typo3neos Django https://github.com/torchbox/vagrant-django-template
RoR https://github.com/rails/rails-dev-box Symfony https://github.com/seiffert/symfony-vagrant/tree/2.2 Erlang https://github.com/rpt/vagrant-erlang
Up and running gem install vagrant vagrant clone https://github.com/user/vagrant-project vagrant
up
Ressources • https://github.com/fedir/vagrant-typo3neos • http://www.vagrantbox.es/ • http://ajohnstone.com/achives/vagrant-automating-php-installation-with-bashslack-for- continuous-deployment/ • http://docs.vagrantup.com/v2/
• http://www.slideshare.net/khokhlova1991/vagrant-19053161 • http://habrahabr.ru/post/140714/ • https://github.com/WinRb/vagrant-windows
Let’s box & cook @FedirFr github.com/fedir