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

Throughout this chapter, we're going to use the following Vagrantfile; note that we only use two machines: CentOS to highlight SELinux features and abilities, and an Ubuntu installation for AppArmor:

# -*- mode: ruby -*-# vi: set ft=ruby :$provisionScript = <<-SCRIPTsed -i 's/console=tty0 console=ttyS0,115200n8//g' /boot/grub2/grub.cfgsystemctl restart sshdSCRIPTVagrant.configure("2") do |config| config.vm.define "centos7" do |centos7| centos7.vm.box = "centos/7" centos7.vm.box_version = "1804.02" centos7.vm.provision "shell", inline: $provisionScript end config.vm.define "ubuntu1804" do |ubuntu1804| ubuntu1804.vm.box = "ubuntu/bionic64" ubuntu1804.vm.box_version = "20180927.0.0" endend
At the time of writing, the ...
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