CatgirlIntelligenceAgency/run/test-data/url-1311055461

13 lines
60 KiB
Text
Raw Normal View History

<html>
<head></head>
<body>
% CentOS Download, Installation, and Configuration % Ian! D. Allen - <idallen@idallen.ca>
- [www.idallen.com] % Winter 2014 - January to April 2014 - Updated Mon Apr 14 16:32:25 EDT 2014 Overview for CentOS Installation ================================ - You will create a VMware Workstation Virtual Machine running a minimal server-style installation of Linux CentOS version 6.5 (\~324MB minimal installation, no GUI) using the instructions below. This is *not* a Desktop system. - For full information on this minimal installation, read the [CentOS MinimalCD 6.5 Release Notes]. - [CentOS] creates versions of Red Hat Enterprise Linux, with Red Hat trademarks and images removed to allow free distribution. They recently became partners with Red Hat “to provide a common platform for open source community project needs”. - Installing and configuring a server (not Desktop) CentOS operating system requires significant Linux expertise. You may not initially know the meaning of all the instructions you must follow, below. By the end of the course, you will know what everything means. - Failure to follow these instructions exactly may lead to future penalties, as we need the exact configuration listed here. - Do not install extra packages or software in this CentOS virtual machine. If you want to experiment, create a separate non-course clone to use. &gt; If you want to play with an easy-install desktop version of Linux, dont do &gt; it using the system you will install in this document. This document &gt; installs a *server* system, not a *Desktop* system. A Desktop system should &gt; be something graphical and desktop-friendly such as [Ubuntu] or [Mint]. &gt; You cant use the CentOS system in this document as a Desktop system. This &gt; document is configuring a minimal, non-GUI, **server** version of Linux. Using Other Virtualization Software ----------------------------------- You can use any virtualization software you like to create and run this server-style CentOS virtual machine, e.g.&nbsp;VirtualBox, Parallels, etc., but faculty only fully support questions about **VMware** (and maybe **VirtualBox**). Its what we know. It isnt the virtualization software thats important; its the running CentOS virtual machine. I dont recommend running CentOS directly on your hardware; you lose all the snapshot and backup features available in a Virtual Machine. Dont do it. Download `CentOS-6.5-i386-minimal.iso` ====================================== &gt; You can start this ISO download process and wait for it to finish while you &gt; move on to the next step to [Create an Empty Virtual Machine] In this section, you will download the `CentOS-6.5-i386-minimal.iso` to your machine. It **must** be the `CentOS-6.5-i386-minimal.iso`, no other version is acceptable for this server. You can get the `CentOS-6.5-i386-minimal.iso` image from one of the following places. We recommend that you choose the first one if you are on campus; its the fastest one. Download Method 1 (best): From the CSTECH Downloads Folder ---------------------------------------------------------- This method only works on the Algonquin campus. **Use a wired connection to download big files such as ISO images; dont use wireless!** 1. On your laptop use a browser to go to the Web site
<http: cstech>
on campus. (This only works **ON CAMPUS**!) 2. Choose any room from the left side-bar (e.g.&nbsp;T108). Go to **Drivers and Downloads**, **Linux**, **CentOS**, [**CentOS-6.5-i386-minimal.iso**] 3. Choose exactly this `339738624`-byte ISO file: [`CentOS-6.5-i386-minimal.iso`] 4. Also download the [`CentOS-6.5-i386-minimal.iso-md5.txt`] file containing the *md5sum* file checksum hash. Download Method 2 (worst): From the Internet (slow) --------------------------------------------------- This is much slower than the above CSTECH method. Use it only if you have to: 1. Dont use this method its slower than the CSTECH method, above. 2. On your laptop use a browser to go to the Web site
<http: www.centos.org />. 3. Select the **Get CentOS Linux Now** button. 4. Near the bottom of the **Download CentOS** page, find the **Minimal Install Images** section and choose the **More Information** link. 5. In the **Introduction** section, choose the **32-bit** **i386** link
<http: isoredirect.centos.org centos 6 isos i386 /> 6. Pick a nearby HTTP mirror from the list of `/i386/` mirrors. 7. In the **Index of `/centos/6.5/isos/i386`** find the ISO named `CentOS-6.5-i386-minimal.iso` to download: 8. Choose exactly this `339738624`-byte (324MB) ISO file: `CentOS-6.5-i386-minimal.iso` 9. Also download the `md5sum.txt` file containing the *md5sum* file checksum hashes. Verify the Downloaded ISO ------------------------- To verify the downloaded ISO, you must get a copy of the checksum file from the same CentOS folder where you found the i386 (32-bit) ISO image. 1. Verify that you have the exact ISO file named `CentOS-6.5-i386-minimal.iso` that is 339,738,624 bytes (324MB). 2. To verify the download, you will need some form of checksum program that runs on your local computer that can calculate **md5** or **sha** hashes. Unix/Linux/OSX machines already have the `md5sum` command available (sometimes called just `md5` on OSX); you dont need to download anything; read the `man` page or just run `md5sum` (or `md5`) followed by the ISO image name and compare the number with the number saved in the checksum hash file. For Windows users, one suggestion to use (thanks Richard!) is [**HashTab**]: a. Windows only: Download and install [**HashTab**] for Windows. (Unix/Linux/OSX users dont need this program.) b. Copy the desired checksum hash to the clipboard (e.g.&nbsp;from the `md5sum.txt` file). c. Right click in the file you wish to verify, i.e.&nbsp;select your ISO image `CentOS-6.5-i386-minimal.iso` d. Click **Properties** and then **file hashes**. - It will compare the hashes to the one(s) in your clipboard. - MD5 and SHA-1 are the defaults, but it can be customized to include others. 3. Verify the checksum hash of the ISO file against the checksum hash recorded in any of the checksum files located in the same folder. (For example, open `md5sum.txt` and locate the checksum for your ISO file and compare it with the checksum of the ISO file you downloaded.) &gt; Sysadmin Tip for Windows users: You can install the free [**Cygwin**] &gt; package on your own Windows laptop to get BASH and all the Unix tools for &gt; Windows, including `md5sum`, `find`, etc. MacOSX users already have most of &gt; the tools installed and available in any **Terminal** window. Create an Empty Virtual Machine in VMware ========================================= These detailed instructions are for **VMware** Workstation Version 10. You may use any other virtualization software you like (e.g. **VirtualBox**), but youre on your own if things go wrong. In this section, you will first create an empty Linux **32bit** CentOS-compatible Virtual Machine with no operating system installed. You can do this while you are waiting for your CentOS minimal `CentOS-6.5-i386-minimal.iso` to download. VMware Workstation will try to guide you into an “Easy” or automatic install; you must *not* do an Easy/automatic install. **Do *not* let VMware use “Easy Install”!** 1. Start VMware on your machine. Any version of VMware since Version 8 should work. These instructions were prepared with Version 10. 2. Choose **Create a New Virtual Machine** or **File | New Virtual Machine**. 3. **Welcome to the New Virtual Machine Wizard:** Choose **Typical (recommended)**. - **Typical** asks fewer questions than the full **Custom** install 4. **Guest Operating System Installation:** Select: **I will install the operating system later** - “The virtual machine will be created with a blank hard disk.” - Do *not* let VMware use “Easy Install”! - *Do **not** let VMware use “Easy Install”!* - **Do *not* let VMware use “Easy Install”!** 5. **Select a Guest Operating System:** Select: **Linux**, Version **CentOS** - **Do *not* choose 64 bit!** - If the installation is asking you to create a userid for this step, then you need to start over: **Do *not* let VMware use “Easy Install”!** 6. **Name the Virtual Machine:** If your course and term is **CST8207** and **14W**, then use the name `CST8207-14W-CentOS-6.5` (no spaces). - You may
</http:>
</idallen@idallen.ca>
</body>
</html>