목록작고 소소한 왕만두의 사생활/개발일기 (5)
Mandoo’s WLAN story
FTP 접속 리눅스) sudo apt-get install vsftpd //vsftpd 패키지 다운로드 vi /etc/vsftpd.conf 수정 anonymous_enable=NO //익명 사용자는 접근 X write관련 설정 주석 해제 후 YES로 변경 윈도우) C:\Users\ss01>ftp ftp> open 172.100.31.123 21 윈도우 파일질라 > Host에 리눅스 IP, 계정ID, PW 입력 로그인한 계정에 대한 홈 디렉토리만 접근 가능 TFTP 접속 C:\WINDOWS>tftp -i 192.168.0.15 put ./[로컬파일명] /[서버저장파일명] SSH 방식 cmd에서 파일 전송 scp 보낼파일 받을ip:디렉토리 위치 ex) scp /home/ubuntu/IP_test.sh jiy..
가상머신(VM) 프로그램 : VirtualBox/VMware 1. VirtualBox/VMware 설치 2. VirtualBox/VMware에서 이미지파일을 열어서 가상서버 설치 (이미지파일을 가상머신에 넣어서 서버 설치) 단점 : 하나의 프로그램 안에서 PC가 가진 자원을 나눠쓰기 때문에 무거운 프로그램 (게임, 편집 프로그램 등)을 사용하기에는 무리가 있음 멀티부팅 USB를 이용해 설치해야함 (4GB 이상, USB 내에 데이터 모두 사라질 수 있음) 1. 리눅스 홈페이지에서 이미지파일 다운로드 EX) Ubuntu Desktop 14.04.3 LTS(64-bit) 2. Universal USB Installer 다운로드 (USB에 설치 환경 구성) 3. PC에 USB 장착 후 Universal USB ..
GIT 계정 설정 repository 복제할 폴더에서 git bash 실행 사용자 이름과 이메일이 정상적으로 뜨지 않으면 설정해주어야함 git config user.name // 현재 git 사용자 이름 확인 git config user.email //이메일확인 사용자 계정 설정 git config --global user.name 이름 //사용자 이름 설정 git config --global user.email 이메일 //사용자 이메일 설정 ↓아래처럼 나와야 정상 $ git config user.name KimJiyoon $ git config user.email wldbsdl789@naver.com ------------------------------------------------------- 회..
그동안 c/c++ MFC를 이용해 응용프로그램 개발만 건드려 봤다가, 이직하면서 임베디드/시스템 개발자로 틀어버렸다. 무선랜 프로토콜, 암호화 알고리즘, openwrt와 기본적인 리눅스 시스템 구조 등 알아야 내용들이 너무 많은데, 여지껏 윈도우 개발만 했던 나로써는 1년동안 너어무 힘들었다. c와 c++을 동시에 하다보니 너무 벅찼고, 진짜 실력보다는 업무적인 개발능력만 늘어갔다. 이 글에는 1년 동안 해왔던 시행착오와 가장 많이 했던 실수에 대해 회고록을 써보려고 한다:) 1. Segmentation fault 에러 - null 값을 가리키는 포인터에 접근할 경우 - 할당 받은 메모리 공간을 초과한 넘은 곳을 참조한 경우 - 이미 해제되어 존재하지 않는 메모리 영역을 참조한 경우 C의 꽃이라고 부르는..