SMALL

Study/Linux 45

[ubuntu] 우분투 업데이트 오류 : /var/lib/dpkg/lock-frontend 에러 해결

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 2813 (apt-get) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 혹은 Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend 오류를 해결해보겠습니다. 먼저, 실행중인 apt 관련 프로세스를 모두 kill하는 명..

Study/Linux 2022.04.13

Git 원격 브랜치 가져오기

git remote update 먼저 원격의 브랜치에 접근하기 위해 git remote를 갱신해줄 필요가 있다. $ git remote update 원격의 브랜치를 찾지 못해서 발생하는 fatal: Cannot update paths and switch to branch 'feature/rename' at the same time. 라는 오류 메세지를 해결해준다. 현재 원격 저장소에는 여러 개의 branch가 있다. 하지만 원격의 저장소의 모든 내용을 pull 받은 후에 $ git branch로 확인해보면 원격 저장소의 branch는 받아지지 않고 기존에 있던 master 브랜치 하나만 존재한다. 원격 저장소 branch 확인 원격 저장소의 branch 리스트를 확인하는 방법이 있다. $ git bran..

Study/Linux 2022.02.19

[Linux] 리눅스 터미널로 파일/디렉토리 복사하기 / CP 사용법

cp cp의 뜻은 copy의 줄임말로 파일이나 디렉토리를 복사할 때 사용하는 명령어입니다. cp [옵션][복사 할 디렉토리/파일][복사 될 디렉토리/파일] 현재 디렉토리에 있는 test.txt 파일을 new_test.txt라는 이름으로 현 위치에 복사 ex) cp test.txt new_test.txt /user/jtaewu 경로의 test.txt 파일을 new_test.txt라는 이름으로 현재 위치에 복사 ex) cp /user/jtaewu/test.txt new_test.txt /user/jtaewu 경로의 test.txt 파일을 new_test.txt라는 이름으로 /user/guest에 복사 ex) cp /user/jtaewu/test.txt /user/guest/new_test.txt cp 명령어..

Study/Linux 2022.01.29

리눅스 라이젠 벽돌(프리징) Linux Ryzen Freezing 현상

시도된 해결방법: -. Windows의 [전원] 옵션에서 빠른 부팅 사용안함, 절전 사용안함 -. Bios에서 Secure Boot을 Disablef로 설정 , Global C-State Control을 Disable로 설정, Power Supply Idle Control을 Typical current idle로 설정, IOMMU를 Enable로 설정 -. Ubuntu의 /etc/default/grub에서 다음 줄 수정 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash idle=nomwait processor.max_cstate=1 rcu_nocbs=0-11 acpi=force reboot=acpi nomodeset" 수정 후 sudo update-grub 참고: https://f..

Study/Linux 2022.01.21

LInux Ubuntu Sublime Text4 설치방법

Ubuntu에 Sublime Text 4 설치 방법을 소개합니다. GUI로 설치(Ubuntu Software) snap 명령어로 설치 apt 명령어로 설치 1. GUI로 설치(Ubuntu Software) Ubuntu Software에서 Sublime Text로 검색하면 프로그램을 설치할 수 있습니다. 프로그램에서 Sublime Text을 찾아 실행시킬 수 있습니다. 2. 명령어로 설치(snap) snap이 설치되지 않았다면 다음 명령어로 설치할 수 있습니다. $ sudo apt install snapd snapd-xdg-open 그리고 snap을 통해 Sublime Text를 설치할 수 있습니다. $ snap install sublime-text --classic 설치 후, 터미널에서 다음과 같이 명령..

Study/Linux 2021.12.04

리눅스 VSCode, NodeJS, NPM, Yarn, NVM 개발환경 설정

귀찮아서 한꺼번에 하려고 포스팅 한다. VSCode 설치 https://code.visualstudio.com/download Download Visual Studio Code - Mac, Linux, Windows Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications. code.visualstudio.com 위 링크에서 리눅스 버전을 다운로드 ..

Study/Linux 2021.10.31