Programming/Linux

    [Linux]아파치 80포트 서버 중지[With docker]

    계속 80포트를 할당하고 있어서, 다른 이미지를 올리지 못하고 있었습니다. 아래의 블로그들을 참고하여 문제를 해결 했습니다. https://kitty-geno.tistory.com/31 리눅스(Linux) | 명령어 Apache 상태/시작/중지/재시작 Apache 버전 확인 httpd -v Apache 상태 확인 systemctl status httpd service httpd status Apache 시작 systemctl start httpd service httpd start apachectl start Apache 중지 systemctl stop httpd servi.. kitty-geno.tistory.com https://kugancity.tistory.com/entry/%EB%A6%AC%EB..

    [Linux]리눅스에서 vim설치 및 환경 설정

    리눅스에서 vim에디터를 활용하기 위해서 설치 및 환경 설정을 해줍니다. 아래의 블로그를 참고했습니다. https://gabii.tistory.com/entry/Ubuntu-vim-%EC%84%A4%EC%B9%98-%EB%B0%8F-%EC%84%A4%EC%A0%95 [Ubuntu] vim 설치 및 설정 이번 포스팅은 우분투를 사용할 때 vi 대신 더욱 편하게 사용할 수 있는 vim 설치법 및 설정에 대해 다뤄보겠습니다. 리눅스나 유닉스를 처음 접했을 때, 가장 크게 직면하는 어려움은 아마 터미 gabii.tistory.com vim 설치 전 apt-get을 최신으로 update 합니다 sudo apt-get update sudo apt-get install vim 이제 설치가 완료되었으니 vim 설정을 ..

    [Linux]리눅스에서 컴파일 후 디버깅 하기

    리눅스에서 컴파일 후 디버깅 하는 방법을 다뤘습니다. https://linuxize.com/post/how-to-install-gcc-compiler-on-ubuntu-18-04/ https://u.osu.edu/cstutorials/2018/09/28/how-to-debug-c-program-using-gdb-in-6-simple-steps/ How to Debug C Program using gdb in 6 Simple Steps This Tutorial is taken from here In this article, let us discuss how to debug a c program using gdb debugger in 6 simple steps. Write a sample C program ..

    [Linux][1]Basic of Linux, directory and file1[리눅스 기초, 디렉토리와 파일1]

    목차 - 디렉토리와 파일 기본 명령어 기본 명령어 Ubuntu를 실행합니다. 리눅스의 특징으로 명령어를 타이핑하고 명령을 내리면 현재 있는 디렉토리에서 명령어를 수행하게 됩니다. 기본 명령어 ls 현재 디렉토리의 파일 목록을 출력(list) ls -l 현재 디렉토리를 자세히 보기 ls -al 현재 디렉토리에 있는 모든 파일 보기 pwd 현재 위치하고 있는 디렉토리를 알려주는 명령어 mkdir 새로 생성할 디렉토리명 기본적인 명령어에 뒤에 추가를 할 수 있는데 이것을 parameter, 매개변수라고 합니다. 기본적인 동작을 다르게 동작을 하려면 "-"와 약속된 기호를 뒤에 붙여줍니다. 현재 디렉토리에 새로운 하위 디렉토리를 만듭니다. mkdir hello_linux 현재 머물고 있는 디렉토리에서 확인하기 ..