Question |
Answer |
|||
|---|---|---|---|---|
|
How to run kickstart?
|
system-config-kickstart
|
|||
|
What should Admin install to enable virtualization?
|
yum install virt-manager qemu-kvm qemu-img /// yum install libvirt libvirt-python python-virtinst libvirt-client
|
|||
|
What service needs to be started and enabled to lanuch VM Manager?
|
systemctl enable libvirtd // systemctl start libvirtd
|
|||
|
How to launch console for VMs administration?
|
virsh
|
|||
|
Configure autostart for VMs
|
1) virsh 2) list --all 3) autostart vm-name
|
|||
|
How to display time and date with timedatectl?
|
timedatectl
|
|||
|
How to set time-zone with timedatectl?
|
timedatectl set-timezone
|
|||
|
How to set time with timedatectl?
|
timedatectl set-time
|
|||
|
look for packages in system which needs or have packages available for use
|
yum check-update
|
|||
|
Command to update entire system automatically ---- DANGEROUS!!!
|
yum update -y
|
|||
|
search for package and expression
|
yum search appache
|
|||
|
Info about httpd package
|
yum info httpd
|
|||
|
Display all installed packages
|
yum list installed
|
|||
|
Shows content of /var/www
|
yum whatprovides /var/www
|
|||
|
Updating httpd package
|
yum update httpd
|
|||
|
List all packages availabe in our repo
|
yum list all
|
|||
|
cleanout caching temp files associated with yum
|
yum clean all
|
|||
|
How to download the. rpm?
|
yumdownloader <package>
|
|||
|
List all files for the package
|
rpm -ql <package>
|
|||
|
Query for all docs of a package?
|
rpm -qd <package>
|
|||
|
Unistall package
|
rpm -e nano
|
|||