본문 바로가기

컴퓨터 활용(한글, 오피스 등)/50_2.운영체제_리눅스232

리눅스_resolv.conf How to Update resolv.conf on Ubuntu Humans prefer to remember names attached with things, whilst computers do like numbers. On the internet, we address machines by a specific name and these machines reside in a specific “domain”. To make it clear, consider a local computer “host1” inside the domain “linuxhint.com”. For humans, the address of this host in an easy to remember way is “host1.linuxhi.. 2022. 11. 14.
리눅스_우분투_설치 후 기본설정 출처: 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.