Lesson 6 - Booting, Initializing, and Virtualizing Linux - Part 2
Lesson 6 - Booting, Initializing, and Virtualizing Linux - Part 2
/etc/init.d
/etc/rc.d
# ls /etc/rc.d/
init.d rc0.d rc2.d rc4.d rc6.d rc.sysinit
rc rc1.d rc3.d rc5.d rc.local
Current # runlevel
runlevel N5
# init 3
# runlevel
Change N3
runlevel # telinit 3
# runlevel
N3
/etc/systemd/system/
/run/systemd/system/
/usr/lib/systemd/system/
Command Descriptions
list-units list of the units currently loaded in the Linux system
list-unit-files List of the available unit files and their enablement state
cat Display the unit file content
get-default Show the default target of the Linux system
is-active Displays active for running services and failed for any
service that has reached a failed state.
is-enabled Displays enabled for any service that is configured to
start at system boot and disabled for any service that is
not configured to start at system boot.
is-failed Displays failed for any service that has reached a failed
state and active for running services.
Method Descriptions
/etc/issue Contains text to be displayed on the tty
terminal login screens
/etc/issue.net Contains logon screen messages for remote
logins
/etc/motd Message of the Day file, contains text that is
displayed after a user has logged into a tty
terminal
notify-send command Sends messages to a user employing the GUI
wall ends messages (called wall messages) to users
logged into a tty terminal or who have a GUI
terminal emulator open and have their
message status set to “yes.”
Notes:
- Enable virtualization feature on your CPU
- Some hypervisor require x64 CPU
Cloning
VM from Import
from OVF P2V
scratch
Deploy
Template