steps to bootstrap vm from centos7 minimal iso imagesteemCreated with Sketch.

in #centos7 years ago

check sha256

becbfcea718898877ab5dc3d875b11ab53cd03c9ef97c83399d8ad5bf5ecdb36  CentOS-7-x86_64-Minimal-1707-01.iso

create a linux x86_64 vm (adjust memory, disk space, cpus etc)

add the iso file downloaded attached to the vm (as storage)

boot from iso and go through install

  • change Date & Time to be UTC
    use Region: Etc, City: Coordinated Universal Time

  • set root password and create an user as administrator

reboot using vm disk

  • setup network

setup NAT forward guest port 22 to a host port like 4444

as root, run ip a to figure out the network interface (lo and something like enp0s3)

run dhclient -v enp0s3, then you should be able to ping internet

something like and use password to login

ssh USER@localhost -p 4444
  • add your public key to ~/.ssh/authorized_keys

  • allow no password for sudoer

sudo visudo and enable the line

%wheel  ALL=(ALL)       NOPASSWD: ALL
Sort:  

Congratulations @yiwang! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @yiwang! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!