본문 바로가기

전체 글1528

리눅스_우분투_설치 후 기본설정 출처: https://yuttong.tistory.com/100 Ubutnu 22.04 설치 후 기본설정에 대해서 포스팅 진행하겠습니다. root 권한 로그인 및 패스워드 변경 sudo su - root [sudo] password for passwd root Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully 패키지 리스트 갱신 apt-get update Hit:1 http://kr.archive.ubuntu.com/ubuntu focal InRelease Get:2 http://kr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:.. 2022. 11. 14.
리눅스_특수기호 리눅스: 주요 특수 기호 bash shell에서 테스트 특수 문자 : >, > >, < (꺾쇠) : 꺾쇠는 표준 출력 파일을 바꿔주는 특수문자 이고, 이중 꺾쉬는 파일에 내용을 추가하는 역할을 합니다. 특수 문자 ? 와 [ ] [root@localhost ~]#ls a??le 출력 : apple [root@localhost ~]#ls a[1] 출력 : a1 [root@localhost ~]#ls a[1-5] 출력 : a1 a2 a3 a4 a5 [root@localhost ~]#ls [A-Za-z]*[0-9] 출력 : a1 a2 a3 a4 a5 a6 a7 a8 a9 [root@localhost ~]#ls [abc]* a1 a2 a3 a4 a5 a6 a7 ajax alone apple book apple b.. 2022. 11. 14.
리눅스_리소스 제한 설정(limits.conf)의 최대 프로세스 생성 개수(nproc)와 최대 오픈 파일 개수(nofile) 관리 출처: https://wasking.tistory.com/92 ■ 현상 was의 어플리케이션에서 아래와 같은 로그 발생 OutOfMemoryError : unable to create new native thread ■ 원인 /etc/security/limit.conf 에서 nproc의 값(4096)으로 인해 프로세스 생성 제한이 되어버림. 조치 후 was계정에서 생성한 프로세스의 개수(4961) ■ 조치사항 /etc/security/limit.conf 에서 was계정에 대해 아래와 같이 설정 testuser soft nofile 65535 testuser hard nofile 65535 testuser soft nproc 65535 testuser hard nproc 65535 □ ulimit과 /et.. 2022. 11. 14.
리눅스 -"'kr.archive.ubuntu.com'의 주소를 알아낼 수 없습니다" 에러 해결 방법.(linux ubuntu v18.04) -"$sudo apt-get update"를 수행할 때, 하단과 같은 에러 발생. $sudo apt-get update 오류:1 http://kr.archive.ubuntu.com/ubuntu bionic InRelease 'kr.archive.ubuntu.com'의 주소를 알아낼 수 없습니다 오류:2 http://security.ubuntu.com/ubuntu bionic-security InRelease 'security.ubuntu.com'의 주소를 알아낼 수 없습니다 오류:3 http://dl.google.com/linux/chrome/deb stable InRelease 'dl.google.com'의 주소를 알아낼 수 없습니다 오류:4 http://kr.archive.ubuntu.com/ubun.. 2022. 11. 14.
리눅스_우분투 미러 사이트 변경 출처: https://nevaterms.tistory.com/3 01. 사전정보 01-A) Ubuntu apt repository 경로 : /etc/apt/sources.list 01-B) 잡담 - 기본값(기존-미설정시) archive.ubuntu.com 영문판에서 보통 기본으로 설정되어 있었다. 그 외 이미지나 컨테이너로 설정하는 경우나, 이번경우처럼 WSL(windows subsystem for linux)에서도 기본으로 설정되어 있더라. kr.archive.ubuntu.com 카이스트에서 운영하는 서버로 알려져 있다. (이참에 확실히 하려고 방문해보니.. 사실이었다.) http://ftp.kaist.ac.kr/ 01-C) 잡담 - 국내서버(변경하려는주소) 언제서부턴가 카카오에서 제공하던 미러서버만 .. 2022. 11. 14.