본문 바로가기

728x90

Ubuntu 22.04

C276x260 우분투에서 IP 주소를 고정하는 방법 우분투에서 IP 주소를 고정하는 방법 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.2 LTS Ubuntu 22.04에서 IP 주소를 고정하는 방법은 다음과 같습니다. 1. 네트워크 인터페이스 확인 ip address 2. 네트워크 설정 파일 열기 sudo vim /etc/netplan/00-installer-config.yaml 3. 파일 내에서 네트워크 설정 구성 변경 예를 들어, Ethernet 인터페이스(enp0s8)의 IP 주소를 192.168.56.101로 고정하고자 한다면, 아래와 같이 수정합니다. network: ethernets: enp0s8: addresses: - 192.168.56.101/24 version: 2 주의: 위의 예시에서는 en.. 더보기
C276x260 [리눅스] ubuntu 22.04 Daemons using outdated libraries(needrestart) ubuntu 22.04 Daemons using outdated libraries 요구사항(requirements) $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy needrestart - 라이브러리 업데이트 후 데몬 다시 시작. 패키지 업그레이드/설치 후 needrestart를 호출하고 보류 중인 서비스 다시 시작을 확인합니다. 설치 중 오류가 없는 경우에만 트리거되어야 합니다. Which services should be restarted? cat /etc/needrestart/needrestart.conf $ c.. 더보기
C276x260 Ubuntu에서 OpenSSL을 최신 버전으로 업그레이드하는 방법 Ubuntu에서 OpenSSL을 최신 버전으로 업그레이드하는 방법 openssl - SSL(Secure Socket Layer) 암호화 라이브러리 및 도구 테스트 환경 $ cat /etc/os-release PRETTY_NAME="Ubuntu 22.04.1 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.1 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PR.. 더보기
C276x260 소스 컴파일 중 "reason: No space left on device" 오류 소스 컴파일 중 "reason: No space left on device" 오류 에러 메세지 /usr/bin/ar: unable to copy file 'libsql_dd.a'; reason: No space left on device make[2]: *** [sql/CMakeFiles/sql_dd.dir/build.make:2610: sql/libsql_dd.a] Error 1 make[2]: *** Deleting file 'sql/libsql_dd.a' make[1]: *** [CMakeFiles/Makefile2:29026: sql/CMakeFiles/sql_dd.dir/all] Error 2 make: *** [Makefile:166: all] Error 2 "No space left on d.. 더보기
C276x260 Ubuntu Server 22.04 LTS (Jammy Jellyfish) Ubuntu Server 22.04 LTS (Jammy Jellyfish) LTS Releases old releases - old-releases.ubuntu.com Ubuntu 22.04.1 LTS (Jammy Jellyfish) Ubuntu 20.04.4 LTS (Focal Fossa) Ubuntu 18.04.6 LTS (Bionic Beaver) Ubuntu Server 22.04 LTS (Jammy Jellyfish) Ubuntu Server 22.04 LTS (Jammy Jellyfish) Daily Build https://cdimage.ubuntu.com/ubuntu-server/daily-live/current/ Ubuntu 22.04 LTS (Jammy Jellyfish) Beta ht.. 더보기
C276x260 [리눅스] ubuntu 22.04 스왑 메모리(swap memory) ubuntu 22.04 스왑 메모리(swap memory) 스왑 공간 확인 swapon --show $ swapon --show NAME TYPE SIZE USED PRIO /swap.img file 8G 0B -2 /dev/sda3 partition 32G 0B -3 메모리 및 스왑 공간 확인 free -h $ free -h total used free shared buff/cache available Mem: 62Gi 2.5Gi 52Gi 8.0Mi 7.5Gi 59Gi Swap: 39Gi 0B 39Gi swap.img 용량 및 퍼미션 확인 $ ls -lh /swap.img -rw------- 1 root root 8.0G May 18 12:33 /swap.img fstab(/etc/fstab) 편집 $.. 더보기
C276x260 우분투 22.04 systemd-resolved 데몬(서비스) 비활성화 우분투 22.04 systemd-resolved 데몬(서비스) 비활성화 테스트 환경 $ lsb_release -d Description: Ubuntu 22.04.2 LTS systemd-resolved 서비스 상태 확인 systemctl status systemd-resolved $ systemctl status systemd-resolved ● systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2022-05-19 16:52:02 KS.. 더보기
C276x260 우분투를 설치할 때 디스크 파티션을 나누는 방법(파티셔닝) 우분투를 설치할 때 디스크 파티션을 나누는 방법(파티셔닝) 1. Ubuntu 설치 미디어 만들기 먼저 Ubuntu 설치 미디어(부팅 가능한 USB 드라이브 또는 DVD)를 만듭니다. 이 미디어를 사용하여 컴퓨터를 부팅합니다. 2. 시작 화면 컴퓨터를 부팅하고 Ubuntu 설치 미디어를 선택하면 설치 과정이 시작됩니다. 설치 언어와 키보드 레이아웃을 선택하십시오. 3. 설치 형식 선택 설치 유형을 선택할 때, "기본 설치" 또는 "사용자 지정 설치" 중 하나를 선택할 수 있습니다. "사용자 지정 설치"를 선택하면 파티션을 수동으로 구성할 수 있습니다. 4. 디스크 파티션 설정 "사용자 지정 설치"를 선택하면 디스크 파티션 설정 화면으로 이동합니다. 여기에서 디스크 공간을 나누고 파티션을 생성할 수 있습니다.. 더보기

728x90