현재 "2-2. 웹 서버 트러블 슈팅을 위한 쉘 스크립트" 부분 수강하고 있습니다. 강의에서 index.html 접속하실 때 172.81.1.91로 접속하셨는데요. 제 환경에서는 192.168.56.1로만 접근이 됩니다. nginx 돌아가는 것도 확인했습니다. cent1 ifconfig는 172.18.1.91로 나오고(eth1), 윈도우 ipconfig에서는 192.168.56.1로 나오는 상황인데요(VirtualBox Host-Only Network). 그냥 이대로 수강해도 문제가 없는지, 문제가 있다면 어떻게 해결해야 하는지 궁금합니다.
... Failed! Error: SET PASSWORD has no significance for user 'root'@' localhost ' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters. 구글링도하고 mysql다시깔아서 local password도 다시 설정했는데 자꾸 이 오류가 나오네요.. 혹시 해결 방법이 있을까요?
커뮤니티 질문글에 동일한 에러인 https://www.inflearn.com/questions/544792/cent2-3-timeout-%EB%B0%9C%EC%83%9D 이걸 보고 troubleshooting 해봤는데 계속 같은 에러가 발생하네요 환경 windows 11 virtualbox 7.0 vagrant 2.3.4 시도한 방법은 cmos 에서 가상환경은 enable 윈도우 기능에서 가상 기능 체크해제 dism.exe /online /Enable-Feature /FeatureName:VirtualMachinePlatform /all /NoRestart 실행 virtualbox cable connection vagrantfile에 추가 및 cpu memory 증설 v.customize ['modifyvm', :id, '--cableconnected1', 'on'] v.customize ["modifyvm", :id, "--uart1", "0x3F8", "4"] v.customize ["modifyvm", :id, "--uartmode1", "file", File::NULL] 윈도우 내부 로컬 환경 방화벽 vagrant로 올려보고 싶은데 왜 안되는지 궁금하네요
안녕하세요. 강의 잘 보고 있습니다. 강의 시청 중 궁금한 점이 몇가지 있습니다. 하드 링크는 파일 복사라고 생각하면 되나요..? 그렇다면 cp 명령어가 있는데 하드링크를 사용하는 이유는 무엇인가요? 심볼릭 링크 생성시 권한이 rwx가 모두 생기는데.. 바로가기 폴더라고하면 원본 폴더의 권한을 따라가야하는거 아닐까요..? 만약 10바이트를 가진 A라는 파일을 하드링크하여 B라는 파일을 생성하면 총 20바이트의 사이즈를 차지할 것이라고 생각했는데 맞을까요? 3의 예시에서 B를 하드링크가 아닌 심볼릭링크로 생성하게 되면 노출되는 사이즈는 A,B 모두 10바이트로 표현은 되지만 실제 사이즈는 10바이트만 차지하는게 맞을까요?? (링크만 걸어놓은거기때문에) 답변 부탁드립니다. 감사합니다!
안녕하세요? 먼저, vagrant를 사용할 수 없어 N. vagrant를 사용하지 않고 구축할 수 있는 실습환경 을 참고하여 실습환경을 구축했습니다. 하지만 제가 리눅스 서버로 원격 접속하여 과제를 한 경험이 많아서 이번에도 그렇게 하고 싶은데 configuration에서 애를 먹는 중이에요. VSCode에서 ssh 원격접속을 위해서는 ~/. ssh/config 파일에 host를 새로 추가해야하는데 HostName을 cent1의 경우 192.168.56.1로 하는게 맞는지 확실하지가 않습니다. 주석 친 172.18.1.91로는 connection timed out이 뜹니다. 그리고 개인 비밀키인 IdentityFile은 https://github.com/bashbomb/VWS_vagrant_script/blob/master/CONF/ssh/id_rsa 에서 받았는데 깃허브의 authorized_keys와 cent1 vm의 authorized_keys가 서로 달라서 깃허브의 ssh 설정이 제 로컬 환경에서 그대로 사용가능한 것인지 모르겠습니다. VSCode terminal로 원격접속을 시도하면 아래와 같은 메시지가 나옵니다. 아마 IdentityFile로 지정한 개인 키가 vm 서버의 authorized_keys 공개키로 검증이 되지 않는 것 같은데 그렇다면 어떤 개인 키를 사용해야될까요? 혼자서 해결이 되지 않아 도움 부탁드립니다.
제로초쌤 제가 우분투에서 Nodebird를 진행하고 있는데 더북에 써져있는 거처럼 리눅스(우분투)에서 설치하는 방법 그대로 설치하다가 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13) 소켓 에러가 계속 나서 해결하려고 인터넷에 찾아보면서 따라하고 있는데 해결이 안되서 혹시 윈도우로 mysql설치해서 진행해도 크게 차이가 없을까요?
리눅스는 상용 버전에 따라 명령어가 달라질 수 있다고 알고있습니다. 해당 강의에서 배울 명령어들은 리눅스 상용 버전에 다 사용이 가능한 명령어들인가요? 그리고 실습환경을 웹이서 구동되는 Linux를 알려주셨는데 저는 직접 설치해서 사용하고자 합니다. 어떤 리눅스를 설치하면 강의 듣는데 문제가 없을지 확인 부탁드립니다. 감사합니다.
안녕하세요, 윈도우10 환경에서 2-1 서버 구축 강의를 보며 진행 중 오류가 발생해 문의 드립니다. 실행 로그는 아래와 같습니다. $ vagrant up Bringing machine 'cent1' up with 'virtualbox' provider... Bringing machine 'cent2' up with 'virtualbox' provider... Bringing machine 'cent3' up with 'virtualbox' provider... ==> cent1: Preparing master VM for linked clones... cent1: This is a one time operation. Once the master VM is prepared, cent1: it will be used as a base for linked clones, making the creation cent1: of new VMs take milliseconds on a modern system. ==> cent1: Importing base box 'rockylinux/8'... ==> cent1: Cloning VM... ==> cent1: Matching MAC address for NAT networking... ==> cent1: Checking if box 'rockylinux/8' version '5.0.0' is up to date... ==> cent1: Setting the name of the VM: cent1 ==> cent1: Clearing any previously set network interfaces... ==> cent1: Preparing network interfaces based on configuration... cent1: Adapter 1: nat cent1: Adapter 2: hostonly cent1: Adapter 3: hostonly ==> cent1: Forwarding ports... cent1: 22 (guest) => 2222 (host) (adapter 1) ==> cent1: Running 'pre-boot' VM customizations... ==> cent1: Booting VM... ==> cent1: Waiting for machine to boot. This may take a few minutes... cent1: SSH address: 127.0.0.1:2222 cent1: SSH username: vagrant cent1: SSH auth method: private key cent1: cent1: Vagrant insecure key detected. Vagrant will automatically replace cent1: this with a newly generated keypair for better security. cent1: cent1: Inserting generated public key within guest... cent1: Removing insecure key from the guest if it's present... cent1: Key inserted! Disconnecting and reconnecting using new SSH key... ==> cent1: Machine booted and ready! [cent1] No Virtualbox Guest Additions installation found. The guest's platform ("rocky") is currently not supported, will try generic Linux method... Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso Mounting Virtualbox Guest Additions ISO to: /mnt mount: /mnt: WARNING: device write-protected, mounted read-only. Installing Virtualbox Guest Additions 6.1.36 - guest version is unknown Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.36 Guest Additions for Linux........ VirtualBox Guest Additions installer Copying additional installer modules ... Installing additional modules ... /opt/VBoxGuestAdditions-6.1.36/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory /opt/VBoxGuestAdditions-6.1.36/bin/VBoxClient: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory VirtualBox Guest Additions: Starting. VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while. VirtualBox Guest Additions: To build modules for other installed kernels, run VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version> VirtualBox Guest Additions: or VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup all VirtualBox Guest Additions: Kernel headers not found for target kernel 4.18.0-348.20.1.el8_5.x86_64. Please install them and execute /sbin/rcvboxadd setup modprobe vboxguest failed The log file /var/log/vboxadd-setup.log may contain further information. An error occurred during installation of VirtualBox Guest Additions 6.1.36. Some functionality may not work as intended. In most cases it is OK that the "Window System drivers" installation failed. Redirecting to /bin/systemctl start vboxadd.service Job for vboxadd.service failed because the control process exited with error code. See "systemctl status vboxadd.service" and "journalctl -xe" for details. Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Redirecting to /bin/systemctl start vboxadd-service.service Job for vboxadd-service.service failed because the control process exited with error code. See "systemctl status vboxadd-service.service" and "journalctl -xe" for details. Unmounting Virtualbox Guest Additions ISO from: /mnt Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Got different reports about installed GuestAdditions version: Virtualbox on your host claims: VBoxService inside the vm claims: 6.1.36 Going on, assuming VBoxService is correct... Restarting VM to apply changes... ==> cent1: Attempting graceful shutdown of VM... ==> cent1: Booting VM... ==> cent1: Waiting for machine to boot. This may take a few minutes... ==> cent1: Machine booted and ready! ==> cent1: Checking for guest additions in VM... cent1: No guest additions were detected on the base box for this VM! Guest cent1: additions are required for forwarded ports, shared folders, host only cent1: networking, and more. If SSH fails on this machine, please install cent1: the guest additions and repackage the box to continue. cent1: cent1: This is not an error message; everything may continue to work properly, cent1: in which case you may ignore this message. ==> cent1: Setting hostname... ==> cent1: Configuring and enabling network interfaces... ==> cent1: Mounting shared folders... cent1: /vagrant => C:/playground/VWS_vagrant_script Vagrant was unable to mount VirtualBox shared folders. This is usually because the filesystem "vboxsf" is not available. This filesystem is made available via the VirtualBox Guest Additions and kernel module. Please verify that these guest additions are properly installed in the guest. This is not a bug in Vagrant and is usually caused by a faulty Vagrant box. For context, the command attempted was: mount -t vboxsf -o uid=1000,gid=1000,_netdev vagrant /vagrant The error output from the command was: /sbin/mount.vboxsf: mounting failed with the error: No such device 어떻게 하면 수정하여 환경 구축할 수 있을지 알고 싶습니다. 감사합니다.
bash와 zsh이 어느 정도의 차이가 나고, 학습해야 할 분량이 어느 정도 되는지 궁금합니다. ------------------ 강의에서는 zsh이 언급이 되어있지 않았지만 Mac OS나 다른 고급 사용자들은 zsh도 같이 사용한다는 자료를 보았습니다. ( 강의 화면 맨 위에도 zsh이라는 문구가 있네요. ) 제가 알아본 바로는 부모가 같은 '셸'이기에 둘이 매우 유사하다고는 하는데 학습자 입장에서는 얼마나 차이가 나고, 실무에서 얼만큼 사용되는지 가늠이 안되네요. bash 사용만 숙달 시킨다면 zsh은 유사도가 크기 때문에 따로 크게 시간을 투자해서 공부할 필요가 없다고 생각하면 되나요? ( 만약 잘못된 점이 있다면 피드백 부탁드립니다. 감사합니다. )