1) Added minimum disk size (with screenshot) info for Method 1.
2) Added minimum memory size (with screenshot) info for Method 2. >>> 2017-11-17 Converted figure substitutions to inlines. >>> 2017-11-21 1) Added brief intro of what ESXi is. 2) Updated the "Download the latest Clear Linux image" section to tell which image to download based on the "Method" type. 3) Added a "Note" to the beginning of "Verify" and "Uncompress" sections to say that the command-line examples reference an "installer ISO" and to substitute as needed. 4) Added reference to the "Workstation" version of VMware in the intro. 5) tagged the "Download", "Verify", and "Uncompressed" sections so they can be re-used in the VMware Workstation doc. >>> 2017-12-05 1) Moved the "Download", "Verify", and "Uncompress" sections under "Method 1". 2) Re-using the "Types of images", "Verify", "Uncompress" modules from Guides/Maintaince/download-image.rst. >>> 2017-12-07 1) Made changes based on feedback. 2) Reused content from Guides/Maintenance/download-image.rst. 3) Created labels for each section and ref'ed them at the beginning of each "Method". 4) Updated Figure 26. Signed-off-by: Bun K Tan <bun.k.tan@intel.com>
|
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 195 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 141 KiB |
|
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 160 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 190 KiB |
|
After Width: | Height: | Size: 198 KiB |
|
After Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 138 KiB |
|
Before Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 188 KiB After Width: | Height: | Size: 219 KiB |
|
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 224 KiB |
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 188 KiB |
|
Before Width: | Height: | Size: 143 KiB After Width: | Height: | Size: 189 KiB |
|
After Width: | Height: | Size: 179 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 199 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 198 KiB |
|
Before Width: | Height: | Size: 181 KiB After Width: | Height: | Size: 239 KiB |
|
Before Width: | Height: | Size: 233 KiB After Width: | Height: | Size: 167 KiB |
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 181 KiB |
|
Before Width: | Height: | Size: 229 KiB After Width: | Height: | Size: 233 KiB |
|
After Width: | Height: | Size: 244 KiB |
|
After Width: | Height: | Size: 229 KiB |
|
Before Width: | Height: | Size: 159 KiB After Width: | Height: | Size: 159 KiB |
|
Before Width: | Height: | Size: 772 KiB |
|
Before Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 246 KiB After Width: | Height: | Size: 772 KiB |
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 251 KiB After Width: | Height: | Size: 246 KiB |
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 244 KiB |
|
After Width: | Height: | Size: 251 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 241 KiB After Width: | Height: | Size: 245 KiB |
|
Before Width: | Height: | Size: 167 KiB After Width: | Height: | Size: 245 KiB |
@@ -0,0 +1,186 @@
|
||||
.. _download-image:
|
||||
|
||||
Download, verify, and uncompress a Clear Linux image
|
||||
####################################################
|
||||
|
||||
.. _types-of-cl-images:
|
||||
|
||||
Types of Clear Linux images
|
||||
===========================
|
||||
|
||||
|CL| offers many types of `images`_ for different platforms and environments.
|
||||
|
||||
The naming convention of a |CL| image filename is:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
clear-<version number>-<image type>.<compression type>
|
||||
|
||||
The *<version number>* field specifies the version number.
|
||||
|
||||
The *<image type>* field specifies the type of image and its corresponding file format. The current list of images available are:
|
||||
|
||||
.. list-table:: Table 1: Types of Clear Linux images
|
||||
:widths: 20, 60
|
||||
:header-rows: 1
|
||||
|
||||
* - Image Type
|
||||
- Description
|
||||
* - azure.vhd
|
||||
- Image for Microsoft Azure
|
||||
* - azure-docker.vhd
|
||||
- Image with the Docker installed for Microsoft Azure
|
||||
* - azure-machine-learning.vhd
|
||||
- Image with the `machine-learning-basic` bundle installed for Microsoft Azure
|
||||
* - cloud.img
|
||||
- Image for cloud deployment such as OpenStack, etc.
|
||||
* - containers.img
|
||||
- An optimized image utilized by Clear Containers runtime
|
||||
* - hyperv.vhdx
|
||||
- Image for Microsoft HyperV
|
||||
* - hyperv-mini.vhdx
|
||||
- A minimal image with fewer bundles for Microsoft HyperV
|
||||
* - installer.img
|
||||
- An interactive installer image for installing Clear Linux
|
||||
* - installer.iso
|
||||
- An ISO of the interactive installer image for installing Clear Linux
|
||||
* - kvm.img
|
||||
- Image for booting in a simple VM with start_qemu.sh
|
||||
* - live.img
|
||||
- A live boot image of Clear Linux
|
||||
* - vmware.vmdk
|
||||
- Image for VMware
|
||||
|
||||
The *<compression type>* field specifies the compression type. Two types of
|
||||
compressions are used, namely GNU zip (*.gz*) and XZ (*.xz*).
|
||||
|
||||
.. _images: https://download.clearlinux.org/image
|
||||
|
||||
.. _verify-image-checksum:
|
||||
|
||||
Verify the integrity of the Clear Linux image
|
||||
=============================================
|
||||
|
||||
Before using a downloaded |CL| image, it is recommended to verify its integrity
|
||||
to eliminate the chance, albeit small, that it might be corrupted due to any
|
||||
download issues. To support this, each released |CL| image is accompanied by an
|
||||
official SHA512 checksum file, which is designated with the suffix `-SHA512SUMS`.
|
||||
|
||||
#. Download the corresponding checksum file so it can be used to verify the
|
||||
SHA512 checksum result of the downloaded image.
|
||||
#. Verify the integrity of the image using these steps:
|
||||
|
||||
.. _verify-image-checksum-on-linux:
|
||||
|
||||
*On Linux distros:*
|
||||
|
||||
#. Start a terminal emulator.
|
||||
#. Go to the directory with the downloaded image and checksum files.
|
||||
#. Verify the integrity of the image and compare it to its original checksum by entering:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ sha512sum ./clear-<version number>-<image type>.<compression type> | diff ./clear-<version number>-<image type>.<compression type>-SHA512SUMS -
|
||||
|
||||
If the checksum of the downloaded image is different than the original
|
||||
checksum, the differences will displayed. Otherwise, an empty output indicates a match.
|
||||
|
||||
.. _verify-image-checksum-on-macos:
|
||||
|
||||
*On macOS:*
|
||||
|
||||
#. Start Terminal app.
|
||||
#. Go to the directory with the downloaded image and checksum files.
|
||||
#. Verify the integrity of the image and compare it to its original checksum by entering:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ shasum -a512 ./clear-<version number>-<image type>.<compression type> | diff ./clear-<version number>-<image type>.<compression type>-SHA512SUMS -
|
||||
|
||||
If the checksum of the downloaded image is different than the original
|
||||
checksum, the differences will displayed. Otherwise, an empty output indicates a match.
|
||||
|
||||
.. _verify-image-checksum-on-windows:
|
||||
|
||||
*On Windows:*
|
||||
|
||||
#. Start Command-Prompt.
|
||||
#. Go to the directory with the downloaded image and checksum files.
|
||||
#. Get the SHA512 checksum of the image by entering:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
C:\> CertUtil -hashfile ./clear-<version number>-<image type>.<compression type> sha512
|
||||
|
||||
#. Manually compare the output with the original checksum value shown in
|
||||
the downloaded checksum file and make sure they match.
|
||||
|
||||
.. _uncompress-image:
|
||||
|
||||
Uncompress the Clear Linux image
|
||||
================================
|
||||
|
||||
All released |CL| images are compressed by default. Two types of
|
||||
compressions are used, namely GNU zip (`.gz`) and XZ (`.xz`).
|
||||
|
||||
Uncompress the image using these steps:
|
||||
|
||||
.. _uncompress-image-on-linux:
|
||||
|
||||
*On Linux distros:*
|
||||
|
||||
#. Start a terminal emulator.
|
||||
#. Go to the directory with the downloaded image.
|
||||
|
||||
.. _uncompress-xz-on-linux:
|
||||
|
||||
To uncompress an XZ image, enter:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ unxz clear-<version number>-<image type>.xz
|
||||
|
||||
.. _uncompress-gz-on-linux:
|
||||
|
||||
To uncompress a GZ image, enter:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ gunzip clear-<version number>-<image type>.gz
|
||||
|
||||
.. _uncompress-image-on-mac:
|
||||
|
||||
*On macOS:*
|
||||
|
||||
#. Start Terminal app.
|
||||
#. Go to the directory with the downloaded image.
|
||||
|
||||
.. _uncompress-xz-on-mac:
|
||||
|
||||
To uncompress an XZ image, enter:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ gunzip clear-<version number>-<image type>.xz
|
||||
|
||||
.. _uncompress-gz-on-mac:
|
||||
|
||||
To uncompress a GZ image, enter:
|
||||
|
||||
$ gunzip clear-<version number>-<image type>.gz
|
||||
|
||||
.. _uncompress-image-on-windows:
|
||||
|
||||
*On Windows:*
|
||||
|
||||
#. Download and install `7zip`_.
|
||||
#. Locate the |CL| image and right-click it.
|
||||
#. From the pop-up menu, select :guilabel:`7-Zip` and select :guilabel:`Extract here`.
|
||||
|
||||
.. figure:: figures/7zipwin.png
|
||||
:scale: 80 %
|
||||
:alt: 7-Zip extract file
|
||||
|
||||
Figure 1: Windows - 7-Zip extract file
|
||||
|
||||
.. _7zip: http://www.7-zip.org/
|
||||
|
After Width: | Height: | Size: 44 KiB |