Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Vagrant
Search
Fedir RYKHTIK
November 21, 2013
Technology
100
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
Do more with less : AI Engineering & AIOps on-premise grâce aux SLM
fedir
0
3
Methodology of Multi-Criteria Comparison and Typology of Open Source Projects
fedir
0
170
Building a Go microservice from 0 to Hero
fedir
0
570
TYPO3 Camp Nantes 2018 > I come from the future
fedir
0
78
Methodology and tools for Drupal sites GDPR compliance
fedir
0
480
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
120
TYPO3Camp Nantes 2017 - Web applications penetration testing methodology
fedir
0
380
Other Decks in Technology
See All in Technology
ライフワーク「猫でもわかるDirectConnect」
kentapapa
0
300
Kiro 入門 (1 つのエージェントを、どの画面からでも) | 目指せ Kiro マスター 01
inariku
PRO
6
1.4k
FinOpsを導入してマルチプロダクトのコスト最適化を実現する
kworkdev
PRO
0
140
セキュリティ専任チームなしで攻撃を先回りするSREが実践したSIEM on Amazon OpenSearch Service
cscengineer
PRO
1
730
AI時代における医療情報システムのセキュリティ / Security of Healthcare IT Systems in the AI Era
henryofficial
0
130
AI時代に求められる優秀なTechLeadの振る舞い
pospome
11
15k
[JAWS Festa 2026]一番いい仕事は、請求書に現れない / jawsfesta2026
sh_fk2
2
420
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
110
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
330
Kiro Crew の Bot (続く役目を任せる窓口) | 目指せ Kiro マスター 12
inariku
PRO
2
350
TSKaigi Sendai 2026 - tsgo時代のTypeScript Playgroundはどう動くか
teamlab
PRO
0
110
令和の今、あらためて IAM を考える。アクセスキーを「無くせない現実」との向き合い方
kazzpapa3
0
560
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
880
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
The untapped power of vector embeddings
frankvandijk
2
2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
The agentic SEO stack - context over prompts
schlessera
0
1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
460
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
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