Bare Metal Installation CoreOS

Source: Internet
Author: User

This article takes 1235.9.0-stable as an example and installs in the WMware.

1. Get the installation resources

https://coreos.com/releases/Browse the list of resources via "Browse Images"

Download the following file

Coreos_production_iso_image.iso

coreos_production_image.bin.bz2

Coreos_production_image.bin.bz2.sig

2. Build an HTTP resource image locally (can be skipped)

Upload the. bz2 and. biz.sig files that you just downloaded to the local resource image

The access path needs to match the version number, for example: 1235.9.0 version http://files.example.com/1235.9.0/

3. Production Guide

To burn the. iso to a CD or USB drive, this article uses the WMware demonstration, directly in the optical drive loading

4. Initialize the SSH secret key

You can use Xshell to provide functionality to generate a key pair, because it is also used to remotely administer the CoreOS.

Write the Init.yaml file, write the public key

#cloud-configusers:    - name:core    ssh-authorized-keys:       -Ssh-rsa {change to own public key}  - groups:      - sudo      -Docker

Upload the Init.yaml to a local resource server, or try to reach the machine that will be installed.

5. Boot the bare metal

Wait for the [email protected] ~ $ instruction Input Prompt to complete the boot, after completing the boot, copy the Yaml file just prepared to the boot system

The boot system comes with a wget instruction that can be pulled from the local resource server via this directive

6. Install Core OS

The default boot is core user, via sudo su-root switch to Admin user

-d specifies installation to that hard drive, SDA,SDB,SDC ...

-c Specifies that the Yaml file is initialized

-b Specifies the installation bin file mirror server, not specified by default from the official website download

coreos-install-d/dev/sda-c./config.yaml-b http://172.17.2.1:8082

Wait a few minutes and see success! Represents installation Complete

7. Hooking Up partitions

CoreOS by default, the hard disk is divided into 9 zones, boot SD9 can be hooked up to use

mount/dev/sda9/mnt/

8. Restart the system via SSH connection management

Cores The core user of the default connection, not the root user

Select Certificate Connection

Installation is complete!

Bare Metal Installation CoreOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.