kimjinyam7458
@kimjinyam7458
Reviews Written
-
Average Rating
-
Posts
Q&A
macOS Monterey 12.1 ์์ Vagrant ์ค์น ์ค๋ฅ ํด๊ฒฐํ ๋ฐฉ๋ฒ ์ ์ต๋๋ค.
์ง์ง ์ฝ๊ฒ ๋๋๊ฒ ์๋ค์. 2-2 ๊ฐ์๋ฅผ ๋ฃ๋๋ฐ 172.18.1.91 ์ ์ ์์ด ์๋๋ค์ ๊ทธ๋์ vagrant์์ ํด๋น ip๊ฐ ์ค์ ๋๊ฑด์ง ๊ตฌ๊ธ๋ง ํด์ ์ข ์ฐพ์๋ดค๋๋ฐ ํ์ธ ๊ฒฐ๊ณผ ๊ฐ virtual machine์ Hostname์ ์ฃผ์๊ฐ VagrantFile์ ์ค์ ํด ๋์ผ์ 172.18.1.91~93 ์ผ๋ก ์ค์ ์ด ์๋์ด ์๊ณ 127.0.0.1 ๋ก ์ค์ ๋์ด ์๋ค์. port๋ฒํธ๋ง ๋ค ๋ค๋ฅด๊ณ ๊ทธ๋์ http://127.0.0.1:2222/www/index.html ๋ก ์ ์ํด ๋ดค๋๋ webpage๋ ์ ๊ทผ๋ถ๊ฐ.... ์... ํด๊ฒฐ ๋ฐฉ๋ฒ ์์๊น์? https://ostechnix.com/how-to-find-vagrant-machine-ip-address-from-host/ user@AL01447243 VWS_vagrant_script % vagrant global-status id name provider state directory ----------------------------------------------------------------------- 57a5cfb cent1 virtualbox running /Users/user/VWS_vagrant_script 7f41593 cent2 virtualbox running /Users/user/VWS_vagrant_script 010ee1c cent3 virtualbox running /Users/user/VWS_vagrant_script The above shows information about all known Vagrant environments on this machine. This data is cached and may not be completely up-to-date (use "vagrant global-status --prune" to prune invalid entries). To interact with any of the machines, you can go to that directory and run Vagrant, or you can use the ID directly with Vagrant commands from any directory. For example: "vagrant destroy 1a2b3c4d" user@AL01447243 VWS_vagrant_script % vagrant ssh-config 57a5cfb Host cent1 HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /Users/user/VWS_vagrant_script/.vagrant/machines/cent1/virtualbox/private_key IdentitiesOnly yes LogLevel FATAL user@AL01447243 VWS_vagrant_script % vagrant ssh-config 7f41593 Host cent2 HostName 127.0.0.1 User vagrant Port 2200 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /Users/user/VWS_vagrant_script/.vagrant/machines/cent2/virtualbox/private_key IdentitiesOnly yes LogLevel FATAL user@AL01447243 VWS_vagrant_script % vagrant ssh-config 010ee1c Host cent3 HostName 127.0.0.1 User vagrant Port 2201 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /Users/user/VWS_vagrant_script/.vagrant/machines/cent3/virtualbox/private_key IdentitiesOnly yes LogLevel FATAL
- 0
- 5
- 872
Q&A
macOS Monterey 12.1 ์์ Vagrant ์ค์น ์ค๋ฅ ํด๊ฒฐํ ๋ฐฉ๋ฒ ์ ์ต๋๋ค.
??? VirtualBox์์ cent1, cent2, cent3 ์ ๋ถ ์ง์ฐ๊ณ , VWS ํด๋์์ .vagrant ์ญ์ ์์ ํด๋์์ .d.vagrant ์ญ์ ํ ํ ๋ค์ vargrant up ์ผ๋ก ์ฌ์์ฑํ๋ ์ด์ ์ ์์ ์ผ๋ก ์์ฑ๋์ต๋๋ค. (์ฌ์ง) ์๋๋๋ฏ๋ก ๋ค์ ๊ฐ์๋ค์ผ๋ฌ ๊ฐ๋๋ค.....
- 0
- 5
- 872
Q&A
macOS Monterey 12.1 ์์ Vagrant ์ค์น ์ค๋ฅ ํด๊ฒฐํ ๋ฐฉ๋ฒ ์ ์ต๋๋ค.
๋ค ๋์ค ์์๋๋ฐ.... vagrant ssh cent1 ๋ก ์ ์ํด ๋ณด๋ฉด ๊ฐ์์์ ๋ณด์ฌ์ง๋ "์ด ์๋ฒ๋ ํ์ต์ฉ ๊ฐ์ํ์ฌ์ธ Virtual Web Service Company์ ์๋ฒ์ ๋๋ค." "์ค์ต์ ์ฉ์ด์ฑ์ ์ํด selinux์ iptables๋ฅผ off ํ์ต๋๋ค." "์ ์ ํ sudo su - ์ปค๋งจ๋๋ฅผ ์คํํ์ฌ root ์ ์ ๋ก ์ค์ต์ ์งํํด ์ฃผ์ธ์." Text๋ ์๋์ค๋ค์. ๊ทธ๋ฆฌ๊ณ sudo su ์ ์ฉํ๊ณ netstat -nlptu ์ ๋ ฅํด์ ํ๋ก์ธ์ค ์ํ ํ์ธํด๋ณด๋ฉด nginx ๋ ์คํ์ด ์๋์ด์๋ค์ ํ..
- 0
- 5
- 872
Q&A
์๋ ํ์ธ์ vagrant ์ค์น์ค ์ด์๊ฐ ์์ต๋๋ค.
Mac ์ฌ์ฉ์ค์ธ๋ฐ vagrant up ํ๋ฉด ๋น์ทํ ์๋ฌ๊ฐ ๋ฐ์ํ๋ค์ ์ค์น ๋ฒ์ ์ oracle virtual box 6.1.22 1. vagrant 2.2.19 2. vagrant 2.2.14 ๋ ๋ฒ์ ผ์ผ๋ก ์คํ ํด๋ดค์ผ๋ ๋์ผ Mac version์ Monterey 12.1 ์ ๋๋ค. ํน์ ํด๊ฒฐํ์ ๋ถ ๊ณ์ ์ง์? ==> cent1: Running 'pre-boot' VM customizations... ==> cent1: Booting VM... There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["startvm", "56158e27-17dd-4fb3-ba58-bce1867b714d", "--type", "headless"] Stderr: VBoxManage: error: The virtual machine 'cent1' has terminated unexpectedly during startup because of signal 10 VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
- 0
- 6
- 1.8K




