묻고 답해요
156만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결생활코딩 - Linux
cloud9 사용하려는데
https://c9.io 로 접속하면 aws로 접속되고 다른분이 구름꺼사용하라는데 주소를 모르겟어요 ㅠㅠ
-
미해결시스템엔지니어가 알려주는 리눅스 실전편 Bash Shell Script
m1 지원
안녕하세요.얼마전 virtualBox Beta 이긴 하지만 드디어 m1을 지원하기 시작했는데요.혹시 여기에 맞춰져서 실습을 진행하는방법이 있을까요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
nginx 웹서버 설정 이해1 - apt-get install nginx=1.18.0-0ubuntu1 막힌다면
nginx 웹서버 설정 이해1 4분43초nginx 설치를 위하여 아래와 같은 명령어 실행 ->apt-get install nginx=1.18.0-0ubuntu1해당 명령어 실행 후, E: Version '1.18.0-0ubuntu1' for 'nginx' was not found식으로 찾을 수 없다라는게 뜬다면아래와 같이 코드를 변경 요망. apt-cache policy nginx명령어를 치시면 Installed: 1.18.0-0ubuntu1.4식으로 나오는데, 해당 위 버전으로 변경해 줘야합니다.apt-get install nginx=1.18.0-0ubuntu1.4으로..해당 버전은 계속 변경되고있는 부분이라.혹 안되는 분 있을까봐 공유드립니다. 이상입니다.ps.좋은강의입니다.듣고있는데 너무 친절하시네요, 완강까지 다들 화이팅 입니다.
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
docker run -d -p 9999:80 명령어에 대해
docker run -d -p 9999:80 -v /home/ubuntu/2021_DEV_HTML:/usr/local/apache2/htdocs --name my_apache httpd란 명령어에서1) httpd 의 컨테이너를 실행하는데, 아파치가 9999포트로 해당 경로에 있는 index.html 을 기본 경로로 연결한다 라는 뜻으로 이해를 했는데, 80 이란 포트는 어떤 건지 정확히 이해가 되지 않았습니다 ㅠHost OS 80번 포트 : Apache Container 9999 포트로 서로 연결된다..? 이런 뜻인가요? OS가 80번 포트에 있을리는 없는 것 같아서 문의를 올립니다. 2) /usr/local/apache2/htdocs 가 어떤 경로인지 잘 이해가 안되는데, 아파치에서 바라보는 경로? 가 정확이 어떤 뜻인지 조금만더 설명해주시면 감사할 것 같습니다. 3) 위 명렁어와 별개의 질문인데, Container 란 한 프로그램을 감싸고 프로그램을 띄우는? 공간이라고 설명해주신 것 같습니다. 한 프로그램만 돌아가는건가요? 아니면 별다른 서버 터미널과 동일하게 수많은 프로그램이 돌아갈 수는 있는 건데 목적에 맞는 프로그램들만 돌리는걸까요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
nginx 오늘 기준 nginx=1.18.0-0ubuntu1.3 입니다..
버전 호환에 문제가 없는진 모르겠지만요...
-
해결됨리눅스 시스템 프로그래밍 - 이론과 실습
파일 디스크립터와 FILE 구조체에 대한 질문
리눅스는 모든 것을 파일로 관리한다고 알고 있습니다. (장치나 소켓 등도 포함)파일 디스크립터는 파일의 추상화 개념으로 알고 있는데, 지금 이 강의를 보니까 파일 디스크립터를 주고 파일 포인터를 받아오는데, 그러면 리눅스에서 파일이나 장치는 전부 각자의 파일 구조체를 가지고 있다고 이해해도 될까요?
-
미해결리눅스 입문 - 개념으로 탄탄히!!
한글은 어떻게 쓰나요?
한글 입력이 안되는데 어떻게 하는건가요?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
flask 서버관련 문의 드립니다
강의 내용 3분 14초 입니다강의 내용을 듣다가, 제가 이해하고있는게 맞는지 궁금하여 문의 드립니다 현재 강의에서는nginx 프록시 서버가 존재하고 nginx 서버 (myweb) 용 서버가 존재고 있습니다. 선생님 설명중에서flask서버는 nginx 프록시 서버가 포워딩을 해줘서 , flask서버의 gunicorn과 직접 통신 한다고 말씀해 주셨습니다 그렇다면nginx서버(myweb) 가 필요없다면, nginx(myweb) 서버(컨테이너)는 안만들어도 되는것인지 궁금합니다. 선생님께 배워서 간단한 웹페이지를 제작중인데flask에서, index.html 파일도 리턴해주도록 되어있어서,굳이 nginx(myweb) 서버는 안만들어도 될거 같은데,제 생각이 맞는건지 틀린건지 모르겠습니다
-
해결됨시스템엔지니어가 알려주는 리눅스 기초편 Bash Shell Script
실습환경에 대한 문의 드립니다.
리눅스는 상용 버전에 따라 명령어가 달라질 수 있다고 알고있습니다.해당 강의에서 배울 명령어들은 리눅스 상용 버전에 다 사용이 가능한 명령어들인가요?그리고 실습환경을 웹이서 구동되는 Linux를 알려주셨는데 저는 직접 설치해서 사용하고자 합니다.어떤 리눅스를 설치하면 강의 듣는데 문제가 없을지 확인 부탁드립니다.감사합니다.
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
nginx.conf 수정관련
많은 개린이분들이 저처럼 시간낭비하지말라고 글을 남깁니다.. 거의 다잉메세지입니다...강사님이 nginx.conf파일을 수정하시는데요실제로 우리가 내려받는 파일의 09폴더에 있는 nginx.conf.http파일에는 고쳐야할 부분이 총 세가지 입니다. (영상과는 다르게 되어 있는 부분들도 있습니다. 그것들까지 포함해서 총 세개!)도메인(총 6개 였습니다.) : funcoding.xyz >> 각자 도메인으로 수정맨 아래 server블락(443포트 https관련) 위아래로 있는 주석(*/, /*)삭제역시 맨 아래 server블락에 servername아래에 있는 네줄의 코드 앞에 있는 #. 역시 주석관련된 건데, #를 모두 삭제다시 되돌아보면 부끄러울정도로 간단한 것들이였는데, nginx나 docker가 처음이다보니 허둥대다가 몇일을 날렸는지 모르겠네요
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
PS영역에서 BRAM 영역에 DPRAM 구현시 접근 방법 문의
안녕하십니까?저는 지금 Zynq7000 계열에 PS 영역에 PetaLinux를 올리려고 합니다.그리고 BRAM영역에 DPRAM을 구현하고, 이를 PetaLinux에서 접근하게 하고 싶은데요.어떻게 해야 하는지 궁금합니다.전체적인 감이 없다보니, 어떻게 시도해야 하는지 모르겠네요.대략적인 접근 방법 및 자료 소개를 부탁 드리고자 합니다.
-
해결됨시스템엔지니어가 알려주는 리눅스 실전편 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
강의를 초반을 듣는중에 궁금한점이 있어 문의드립니다.
강의에서 vagrant 를 이용하는데 따로 설치파일을 제공하거나 아님 설치에 대한 영상이 있을까요 ?
-
미해결풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
docker-compose up -d 명령 실행 후 커서 작동 안함
안녕하세요 강사님, docker-compose up -d 실행후 lock이 걸린듯 아무 key 먹지 않습니다. 그래서 강제로 터미널을 종료하고 다시 ssh -i ~ 명령으로 ubuntu로 들어가려고 하면 ubuntu로 못 넘어가네요.. docker도 restart 해보고 AWS 인스턴스도 재부팅을 해 보았는데 똑 같은 상태 입니다. AWS 인스턴스를 중지하고 다시 기존 보안코드로 시작을 하였더니, ubuntu로 다시 들어 갈 수 있었고 docker-compose up -d 를 실행 할 수 있었습니다. docker-compose up -d 실행 때 갑자기 이런 현상이 또 발생할 경우 순조롭게 하려면 어떻게 하면 좋은지 알려 주시면 감사하겠습니다.
-
해결됨리눅스 시스템 프로그래밍 - 이론과 실습
파일 이벤트 - 라이브 프로그래밍 에서 캐스팅 질문
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 강사님. 좋은 강의 잘 듣고 있습니다. 다름이 아니라 "파일 이벤트 - 라이브 프로그래밍" 에서 질문이 있습니다. 라이브 코딩을 해주시는 중에 파일 생성 삭제에 대한 이벤트 로그 출력 부분을 작성 해주셨는데요. inotify_event 포인터로 선언되어있는 event 변수를 (char *)로 캐스팅 하는 이유에 대해서 문의 드립니다. 해당 부분의 소스는 아래와 같습니다. 감사합니다. while(ret > 0){ if(event->mask & IN_CREATE) { printf("file %s is created\n",event->name); } if(event->mask & IN_DELETE){ printf("file %s is deleted\n",event->name); } ret -= (sizeof(struct inotify_event) + event->len); event = (struct inotify_event *)((char *)event + sizeof(struct inotify_event) + event->len); <-- (char *)? }
-
미해결리눅스 입문 - 개념으로 탄탄히!!
게스트확장CD이미지삽입 시도하면 에러가 납니다.
사진과 같이 게스트 확장 CD 이미지 삽입을 시도하면 에러가 납니다. 가상 컴퓨터를 한번 재설치해보았지만 그래도 같은 에러가 납니다. 어떻게 해야 할까요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] 번외편: AWS로 시작하는 서버 운영
서버, 클라이언트 코드베이스 활용 문의
안녕하세요, Rookies 님. 좋은 강의 잘 들었습니다. Rookies님 연락처를 찾지 못해 이렇게 글을 남기는 점 양해 부탁드리겠습니다. 전 구글 클라우드에서 커스터머 엔지니어로 일하고 있습니다. 저희 Google Cloud 프로덕트를 게임 회사 대상으로 데모할 때에, 본 강의에 나온 서버와 클라이언트 코드를 베이스로 사용할 수 있을지 여쭙고 싶습니다. 서버 코어부분은 저희가 코드 변경해서 사용할 예정입니다만, 클라이언트 부분은 큰 변경은 없이 기능 추가하여 데모에 사용할 수 있기를 희망하고 있습니다. 저희가 데모를 실시하는 한정된 고객에게 컨테이너 이미지로써 제공할 예정입니다만, Rookies 님께서 허락해주신다면 요청이 있을 때 소스 레포지토리를 제공할수도 있을 것 같습니다. 감사합니다!
-
해결됨시스템엔지니어가 알려주는 리눅스 기초편 Bash Shell Script
bash와 zsh은 어느 정도의 차이가 나나요?
bash와 zsh이 어느 정도의 차이가 나고, 학습해야 할 분량이 어느 정도 되는지 궁금합니다. ------------------ 강의에서는 zsh이 언급이 되어있지 않았지만 Mac OS나 다른 고급 사용자들은 zsh도 같이 사용한다는 자료를 보았습니다. ( 강의 화면 맨 위에도 zsh이라는 문구가 있네요. ) 제가 알아본 바로는 부모가 같은 '셸'이기에 둘이 매우 유사하다고는 하는데 학습자 입장에서는 얼마나 차이가 나고, 실무에서 얼만큼 사용되는지 가늠이 안되네요. bash 사용만 숙달 시킨다면 zsh은 유사도가 크기 때문에 따로 크게 시간을 투자해서 공부할 필요가 없다고 생각하면 되나요? ( 만약 잘못된 점이 있다면 피드백 부탁드립니다. 감사합니다. )
-
해결됨시스템엔지니어가 알려주는 리눅스 기초편 Bash Shell Script
웹 리눅스 환경으로만 진행해야 하나요?
웹 리눅스 환경(JSLinux, codeonweb)으로만 진행해야 하나요? 여차저차 유튜브 영상 보면서 WSL로 우분투 설치를 한 상태인데 둘이 크게 다른지 궁금하여 물어봅니다...( 일단, WSL으로 구동한 상태로 강의 수강 진행하다가 문제가 생기면 바꿔 보겠습니다. )
-
미해결리눅스 입문 - 개념으로 탄탄히!!
안녕하세요 강사님 질문이 있습니다!
안녕하세요 강사님 방금 입문 강의를 완강한 학생입니다. 강의 내용 질문이 아닌 개인적인 질문이라 여기에 올려도 될지는 모르겠지만 개인적으로 궁금한 부분이라 조언 주시면 감사드리겠습니다^^ 취업 준비를 목적으로 6월정도부터 국비지원 프로그램을 들어가는데 그 이전에 어느정도 선수 공부를 하고 있습니다. (비전공자입니다) 책보다는 우선 강의로 입문을 해보자 해서 인프런에서 무작정 보이는걸로 시작했고 강의를 들으면서 그냥 이것들이 이렇게 되는구나 하고 이해는하고 따로 정리는 하고 있긴한데 뭔가 책으로 기본기를 잡아야하는지... 다른 강의들을 더 연장해서 들어야할지 약간 고민이 생겼습니다. 그리고 현재 SAA준비하면서 리눅스마스터1급도 같이 준비를 해볼까 생각하는데 그냥 책이나 인강으로 공부한것들을 갈무리를 할지 자격증까지도 취득 연계를 해봐야할지 고민중이라 실제 현업의 시점에서 이런 상황이라면 어찌할지... 두서없지만 조언 주시면 감사드리겠습니다!