- Creating Development Environments with Vagrant(Second Edition)
- Michael Peacock
- 232字
- 2021-07-23 20:04:20
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "After installing Vagrant, we ran the vagrant
command to check whether it was installed correctly."
A block of code is set as follows:
VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "base" end
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
--- - hosts: default tasks: - name: update apt cache apt: update_cache=yes - name: ensure nginx is installed apt: pkg=nginx state=present - name: write the nginx config file template: src=nginx-default-site.conf dest=/etc/nginx/sites-available/default.conf notify: - restart nginx - name: ensure nginx is running service: name=nginx state=started handlers: - name: restart nginx service: name=nginx state=restarted
Any command-line input or output is written as follows:
ansible-playbook our-playbook.yml -i our-inventory-file
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "Again, on OS X, the first step is to double-click on the Vagrant.pkg icon."
- LabVIEW 2018 虛擬儀器程序設(shè)計(jì)
- Objective-C應(yīng)用開發(fā)全程實(shí)錄
- Mastering JavaScript Object-Oriented Programming
- 架構(gòu)不再難(全5冊(cè))
- React Native Cookbook
- HTML5+CSS3基礎(chǔ)開發(fā)教程(第2版)
- 數(shù)據(jù)結(jié)構(gòu)(C語(yǔ)言)
- 自制編程語(yǔ)言
- SQL Server從入門到精通(第3版)
- Mastering Android Game Development
- Android項(xiàng)目實(shí)戰(zhàn):手機(jī)安全衛(wèi)士開發(fā)案例解析
- 深入理解C指針
- SQL Server 2016 從入門到實(shí)戰(zhàn)(視頻教學(xué)版)
- Photoshop CC移動(dòng)UI設(shè)計(jì)案例教程(全彩慕課版·第2版)
- Joomla!Search Engine Optimization