์๋
ํ์ธ์ ์ค์น๋ฅผ ๋์์ฃผ๋ ๋ฒ ์ด๊ทธ๋ฐํธ(Vagrant) ์์
์ ๋ฃ๊ณ ๋ค๋ฅธ๋ถ๋ถ์ด ์์ด ์ง๋ฌธ ๋๋ฆฝ๋๋ค
์๋
ํ์ญ๋๊น ์กฐํ๋. ๊ฐ์๋ฅผ ๋ค์ผ๋ฉด์ centos8๋ก ์ค์ต์ ์งํํ์ง๋ผ ์ค๋ฅ๊ฐ ์์ด์ ๋ฌธ์ ๋๋ฆฝ๋๋ค! ์๋์ฐ10 ์ฌ์ฉ์ค์ด๋ฉฐ centos8๋ก ์งํํ์์ต๋๋ค. ์ ์ด๋ฐ ์ค๋ฅ๋ค์ด ๋จ๋๊ฑธ๊น์...,.? c:\HashiCorp>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'centos/8'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: HashiCorp_default_1630292514085_76022 ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! [default] No Virtualbox Guest Additions installation found. Last metadata expiration check: 0:00:02 ago on Mon 30 Aug 2021 03:03:05 AM UTC. Package centos-release-8.1-1.1911.0.8.el8.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: centos-linux-release noarch 8.4-1.2105.el8 BaseOS 22 k replacing centos-release.x86_64 8.1-1.1911.0.8.el8 replacing centos-repos.x86_64 8.1-1.1911.0.8.el8 Upgrading: centos-gpg-keys noarch 1:8-2.el8 BaseOS 12 k Installing dependencies: centos-linux-repos noarch 8-2.el8 BaseOS 20 k Transaction Summary ================================================================================ Install 2 Packages Upgrade 1 Package Total download size: 53 k Downloading Packages: (1/3): centos-gpg-keys-8-2.el8.noarch.rpm 201 kB/s | 12 kB 00:00 (2/3): centos-linux-repos-8-2.el8.noarch.rpm 310 kB/s | 20 kB 00:00 (3/3): centos-linux-release-8.4-1.2105.el8.noar 333 kB/s | 22 kB 00:00 -------------------------------------------------------------------------------- Total 84 kB/s | 53 kB 00:00 CentOS-8 - Base 1.6 MB/s | 1.6 kB 00:00 warning: /var/cache/dnf/BaseOS-31c79d9833c65cf7/packages/centos-linux-release-8.4-1.2105.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY Importing GPG key 0x8483C65D: Userid : "CentOS (CentOS Official Signing Key) " Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D From : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: centos-gpg-keys-1:8-2.el8.noarch 1/1 Upgrading : centos-gpg-keys-1:8-2.el8.noarch 1/6 Installing : centos-linux-repos-8-2.el8.noarch 2/6 Installing : centos-linux-release-8.4-1.2105.el8.noarch 3/6 Obsoleting : centos-release-8.1-1.1911.0.8.el8.x86_64 4/6 Obsoleting : centos-repos-8.1-1.1911.0.8.el8.x86_64 5/6 Cleanup : centos-gpg-keys-8.1-1.1911.0.8.el8.noarch 6/6 Running scriptlet: centos-gpg-keys-8.1-1.1911.0.8.el8.noarch 6/6 Verifying : centos-linux-release-8.4-1.2105.el8.noarch 1/6 Verifying : centos-release-8.1-1.1911.0.8.el8.x86_64 2/6 Verifying : centos-repos-8.1-1.1911.0.8.el8.x86_64 3/6 Verifying : centos-linux-repos-8-2.el8.noarch 4/6 Verifying : centos-gpg-keys-1:8-2.el8.noarch 5/6 Verifying : centos-gpg-keys-8.1-1.1911.0.8.el8.noarch 6/6 Upgraded: centos-gpg-keys-1:8-2.el8.noarch Installed: centos-linux-release-8.4-1.2105.el8.noarch centos-linux-repos-8-2.el8.noarch Complete! Error: Unknown repo: 'C*-base' ==> default: Checking for guest additions in VM... default: No guest additions were detected on the base box for this VM! Guest default: additions are required for forwarded ports, shared folders, host only default: networking, and more. If SSH fails on this machine, please install default: the guest additions and repackage the box to continue. default: default: This is not an error message; everything may continue to work properly, default: in which case you may ignore this message. The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! yum install -y kernel-devel-`uname -r` --enablerepo=C*-base --enablerepo=C*-updates Stdout from the command: Stderr from the command: Error: Unknown repo: 'C*-base'