Skip to Content
Linux Administration Cookbook
book

Linux Administration Cookbook

by Adam K. Dean
December 2018
Beginner
826 pages
22h 54m
English
Packt Publishing
Content preview from Linux Administration Cookbook

Technical requirements

In this chapter, we're going to use two CentOS boxes and two Debian boxes but, again, the principles we discuss will be fairly universal in nature.

The following Vagrantfile should be enough to get you started:

# -*- mode: ruby -*-# vi: set ft=ruby :Vagrant.configure("2") do |config| config.vm.define "centos1" do |centos1| centos1.vm.box = "centos/7" centos1.vm.box_version = "1804.02" centos1.vm.network "private_network", ip: "192.168.33.10" centos1.vm.hostname = "centos1" centos1.vm.provider "virtualbox" do |centos1p| centos1p.memory = 2048 centos1p.cpus = 2 end end config.vm.define "centos2" do |centos2| centos2.vm.box = "centos/7" centos2.vm.box_version = "1804.02" centos2.vm.network "private_network", ip: "192.168.33.11" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Administration

Mastering Linux Administration

Alexandru Calcatinge, Julian Balog

Publisher Resources

ISBN: 9781789342529Supplemental Content