abernal's blog

Virtualization

0. Check if the CPU supports virtualization

$ egrep 'vmx|smu' /proc/cpuinfo

1. Installing Virtualization Packages

$ sudo yum install qemu-kvm libvirt
  • qemu-kvm : Provides the user-level KVM emulator and facilitates communication between hosts and gest virtual machines
  • libvirt : Provides the server and host side libraries for interacting with hypervisors and hosts systems, and the libvirtd daemon that handles the library calls, manages virtual machines and controls the hypervisor

2. Install utilities

Archive, backup, compress, unpack, and uncompress files

Compress and entire directory or a single file

This command will compress the file or directory on /path/to/directory-or-file into a file called name-of-new-archive.tar.gz

$ tar -czvf name-of-new-archive.tar.gz /path/to/directory-or-file

Options are

  • c : means create
  • z : define a gz file type
  • v : means verbose
  • f : allows to specify the file name of the archive

Compress many directories or files

Sample

Pages

Subscribe to RSS - abernal's blog