월 19,800원
5개월 할부 시다른 수강생들이 자주 물어보는 질문이 궁금하신가요?
- 해결됨시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
VSCode나 Putty로 서버에 원격접속하려면 어떻게 환경을 구성해야하나요?
안녕하세요? 먼저, 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 공개키로 검증이 되지 않는 것 같은데 그렇다면 어떤 개인 키를 사용해야될까요? 혼자서 해결이 되지 않아 도움 부탁드립니다.
- 해결됨시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
permission dany가 떠요
git clone https://github.com/bashbomb/VWS_vagrant_script.git 입력했는데 저렇게 뜨네요 어떻게 해야하나요
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
m1 지원
안녕하세요.얼마전 virtualBox Beta 이긴 하지만 드디어 m1을 지원하기 시작했는데요.혹시 여기에 맞춰져서 실습을 진행하는방법이 있을까요?
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
공지사항에 올리는대로 했는데도 가상환경 실행이 안됩니다.
VBOX 버전도 같고 [사용안함] -> [사용]으로 했는데도 가상 서버가 실행이 되지 않습니다.어떻게 해결해야할지 감이 잡히지가 않아 질문 등록드립니다. The VM session was closed before any attempt to power it on. 결과 코드:E_FAIL (0x80004005)구성 요소:SessionMachine인터페이스:ISession {c0447716-ff5a-4795-b57a-ecd5fffa18a4}
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
vBox로 실행 시 네트워크 관련 에러
vagrant up 에러로 인해 virtualbox에서 실습중입니다.8-1에 네트워크 에러가 발생하는데 사용안함 - 사용함 으로 변경하면 vm시작을 할 수 없습니다 ㅜㅜ,, VM Name: cent1Host-only adapters are no longer supported!For your convenience a host-only network named 'Legacy Network' has been created with network mask '255.255.255.0' and IP address range '192.168.56.1' - '192.168.56.254'.To fix this problem, switch to 'Host-only Network' attachment type in the VM settings.VERR_NOT_FOUND).Result Code:NS_ERROR_FAILURE (0X80004005)Component:ConsoleWrapInterface:IConsole {6ac83d89-6ee7-4e33-8ae6-b257b2e81be8}이런 에러메세지가 출력되구요네트워크를 사용하지 않으면 vm 시작은 정상적으로 되긴하는데요 지정된 아이피로 웹페이지에 접속할 수 없습니다....현재 macOS 사용중이고 vBox는 가장 최신 버전입니다.. 버전 에러로 구버전에선 아예 vm 실행이 안되네요 버전 다운그레이드는 현재로써 어려울 것 같습니다. 이런 경우 다른 해결방법이 있을까요?
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
vagrant up 에러 질문
Bringing machine 'cent1' up with 'virtualbox' provider...Bringing machine 'cent2' up with 'virtualbox' provider...Bringing machine 'cent3' up with 'virtualbox' provider...==> cent1: Checking if box 'rockylinux/8' version '5.0.0' is up to date...==> cent1: Clearing any previously set network interfaces...The IP address configured for the host-only network is not within theallowed ranges. Please update the address used to be within the allowedranges and run the command again.Address: 172.18.1.91Ranges: 192.168.56.0/21Valid ranges can be modified in the /etc/vbox/networks.conf file. Formore information including valid format see:https://www.virtualbox.org/manual/ch06.html#network_hostonly 라는 에러가 나서 다른 답변 보고 6.1.26버전으로 다운그레이드 후 재시도 하였습니다.Bringing machine 'cent1' up with 'virtualbox' provider...Bringing machine 'cent2' up with 'virtualbox' provider...Bringing machine 'cent3' up with 'virtualbox' provider...==> 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...There was an error while executing VBoxManage, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["hostonlyif", "create"]Stderr: 0%...Progress state: NS_ERROR_FAILUREVBoxManage: error: Failed to create the host-only adapterVBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directoryVBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterfaceVBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg *)" at line 95 of file VBoxManageHostonly.cpp이번엔 이런 에러가 나네요 상태 확인해보면Current machine states:cent1 poweroff (virtualbox)cent2 not created (virtualbox)cent3 not created (virtualbox)This environment represents multiple VMs. The VMs are all listedabove with their current state. For more information about a specificVM, run vagrant status NAME.이렇게 나옵니다 ㅜㅜ mac 환경이에요
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
vagrant up 실행 오류
리눅스 실전 2-1 서버구축 수강듣다가 vagrant up을 실행했는데 아래 같은 오류가 발생했습니다. 다른 질문들 참조해서 아래처럼 설치하고 스스로 고민도 조금 했는데 해답을 못 찾아서 질문드립니다.virtualbox 6.1.32vagrant 2.2.19(Encoding::UndefinedConversionError) 처럼 에러가 뜹니다. 인코딩 문제인 거 같은데신기하게 VWS_vagrant_script 폴더 삭제하고 다시 로컬에 복사할 때마다 같은 에러가 발생합니다.
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
varant up 오류
ㄴ시작하자마자 이러한 오류가 뜨네요..해결 방법을 알고싶습니다 .... 2.또 다른 문제점 입니다
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
오류 확인 부탁드릴게요
intel cpu 사용중이고 vt-d랑 virtualization쪽 가상화 옵션은 전부 on인 상태인데 virtual box에서 vt-d를 지원 안한다는 메세지가 뜨네요 ㅠㅠ ==> cent1: Booting VM...There was an error while executing VBoxManage, a CLI used by Vagrantfor controlling VirtualBox. The command and stderr is shown below.Command: ["startvm", "b8759987-e51e-488b-bb98-0bc272f83de4", "--type", "headless"]Stderr: VBoxManage: error: VT-x is not available (VERR_VMX_NO_VMX)VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ConsoleWrap, interface IConsole
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
아래 cent2 up시 에러 관련 재 문의 드립니다.
우선 주신 내용 삭제하고 다시 up 했는데 동일한 메시지 입니다. 제가 의문이 나는건 아래 Vagrantfile 부분에#MariaDB 10.4 CentOS repository list#http://downloads.mariadb.org/mariadb/repositories/[mariadb]name = MariaDBbaseurl = http://yum.mariadb.org/10.4/centos8-amd64gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDBgpgcheck=1EOF sudo dnf -y install dnf-utils sudo dnf -y install nano vim git net-tools tar binutils psmisc wget sysstat dialog sudo dnf -y install boost-program-options stress sudo dnf -y install mariadb-server --disablerepo=AppStream sudo dnf -y install mariadb-client --disablerepo=AppStream sudo dnf -y install mariadb-backup --disablerepo=AppStream SHELL cent2.vm.provision "shell", path: "SHELL/init.sh" end 위 처럼 mariadb repository 에는 baseurl = http://yum.mariadb.org/10.4/centos8-amd64로 설정되어 있는데 정작 받아오는 로그 찍힌거 보면은 cent2: Errors during downloading metadata for repository 'mariadb': cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30644 milliseconds]https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml 여기서 찾는거 같습니다 위의 Vagrantfile 에 선언한곳을 접속해보면 실제 접속도 되고 파일이 있는데 위의 ftp.harukasna.og 요쪽은 접속이 안되서 계속 에러가 나는거 같거든요..어떻게 하면 Vagrantfile에 선언한 곳에서 받아 갈 까요?
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
varant up cent2 시 mariadb 다운로드 time out
cent2: MariaDB 0.0 B/s | 0 B 02:04 cent2: Errors during downloading metadata for repository 'mariadb': cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30757 milliseconds] cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30727 milliseconds] cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30464 milliseconds] cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30723 milliseconds] cent2: Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried cent2: No repository match: AppStream위와 같이 마리아 디비를 다운로드 받지 못하네요..
- 해결됨시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
vagrant up 실행 중 에러
안녕하세요, 윈도우10 환경에서 2-1 서버 구축 강의를 보며 진행 중 오류가 발생해 문의 드립니다. 실행 로그는 아래와 같습니다. $ vagrant upBringing 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.isoMounting Virtualbox Guest Additions ISO to: /mntmount: /mnt: WARNING: device write-protected, mounted read-only.Installing Virtualbox Guest Additions 6.1.36 - guest version is unknownVerifying archive integrity... All good.Uncompressing VirtualBox 6.1.36 Guest Additions for Linux........VirtualBox Guest Additions installerCopying 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 directoryVirtualBox Guest Additions: Starting.VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernelmodules. This may take a while.VirtualBox Guest Additions: To build modules for other installed kernels, runVirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>VirtualBox Guest Additions: orVirtualBox Guest Additions: /sbin/rcvboxadd quicksetup allVirtualBox Guest Additions: Kernel headers not found for target kernel4.18.0-348.20.1.el8_5.x86_64. Please install them and execute /sbin/rcvboxadd setupmodprobe vboxguest failedThe 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.serviceJob 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.36Going on, assuming VBoxService is correct...Redirecting to /bin/systemctl start vboxadd-service.serviceJob 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: /mntGot different reports about installed GuestAdditions version:Virtualbox on your host claims:VBoxService inside the vm claims: 6.1.36Going on, assuming VBoxService is correct...Got different reports about installed GuestAdditions version:Virtualbox on your host claims:VBoxService inside the vm claims: 6.1.36Going on, assuming VBoxService is correct...Got different reports about installed GuestAdditions version:Virtualbox on your host claims:VBoxService inside the vm claims: 6.1.36Going 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_scriptVagrant was unable to mount VirtualBox shared folders. This is usuallybecause the filesystem "vboxsf" is not available. This filesystem ismade available via the VirtualBox Guest Additions and kernel module.Please verify that these guest additions are properly installed in theguest. This is not a bug in Vagrant and is usually caused by a faultyVagrant 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 Shell Script
가상 머신을 VirtualBox가 아닌 VMware를 사용해도 되나요?
실습에서 사용하는 가상머신이 VirtualBox인데요, M1 맥북이라 평소에 VMware를 사용했습니다.. 혹시 VirtualBox만 사용해야하는지 궁금합니다. vargrant는 처음 보는 툴인데, 이 툴 작업에서 혹시 문제가 발생할지 여쭤봅니다. 찾아보니 되는지 안 되는진 모르겠지만 ㅠㅠ M1 맥북은 일단 실습이 어려운 것 같네요.. M1 맥북일 때는 실습 진행이 불가능한가요?? 구매한지 좀 되서 환불도 안 되는 상황이라... 구매했는데 실습을 못 하는 상황이네요 ㅠㅠㅠㅠ
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
cent2, 3 timeout 발생
cent1은 설치가 되는거 같은데 2번부터 타임아웃이 발생합니다.... ㅠㅠ
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
Can't open backup-my.cnf for reading에러가 발생합니다.
안녕하세요 실습중에 에러가 발생해서 질문드립니다. mariabackup --prepare --target-dir=/vagrant/vagrant/SHELL/xtrabackup_backupfiles 를 실행시 아래와같은에러가발생합니다. 실제로 백업위치로가서 backup-my.cnf를 찾아봤는데 존재하지않더라구요. 이거 자동생성되는파일맞을까요? 구글에 검색해도 딱히 답이될만한것을 찾지못하여 질문드렸습니다,
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
혹시 강의중에 사용하시는 교안은 제공해 주시지않으신가요?
혼자연습할때 유용할듯한데 교안은 따로 제공예정이 없으신가요?
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
스크립트 부분 올려주실수 있으신가요~?
스크립트 부분 올려주실수 있으신가요~?
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
안녕하세요 강사님, 제안 하나 드려도 될까요?
안녕하세요 강사님 vagrant 세팅하면서 문의사항이 많은데, 능동적인 수강자가 아닐 경우엔, 세팅하다 안되는 과정에서 포기하시는 분도 있을듯 하여 제안 한가지 드립니다. 현재 서버세팅 과정에서 나타나는 문제점들이 대략 다 나온걸로 보이는데, 이를 강의중 한 파트로 추가 업로드를 해주시는게 어떠실까요~? 이렇게 된다면 문제해결에 쏟을 시간 대신 강의수강에 더 집중할수 있지 않을까하여 글 남겨봅니다. 감사합니다.
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
오류관련 문의드립니다.
아래와 같이 vagrant up 명령어 실행시 오류가 나는데, 버추얼박스를 여러버전으로 삭제하고 설치해봐도 오류가 계속 발생하네요... 조치방법이 있을까요? Stderr: VBoxManage.exe: error: The virtual machine 'cent1' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Administrator\VirtualBox VMs\cent1\Logs\VBoxHardening.log' VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
- 미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
github 에 bashbomb 조회가 안되네요.
github 에 bashbomb 조회가 안되네요. 확인 부탁드립니다.