steps to bootstrap vm from centos7 minimal iso image
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 Timeset 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
make DHCP working on boot
https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-dhcp-configuring-client.htmlssh into vm from host machine
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
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
Congratulations @yiwang! You received a personal award!
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:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!