본문 바로가기

728x90

Ubuntu 22.04

[리눅스] 우분투에서 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.. 더보기
[리눅스] 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.. 더보기
[리눅스] supervisor 설치하기(ubuntu) supervisor 설치하기 Supervisor: A Process Control System 테스트 환경 $ lsb_release -a No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 22.04 LTS Release:22.04 Codename:jammy apt 데이터베이스 업데이트 sudo apt-get update supervisor 설치 supervisor 패키지 설치 sudo apt-get install -y supervisor supervisor 버전 확인 supervisord --version $ supervisord --version 4.2.1 supervisor 서비스를 시작하고 부팅 시 자동으로 시작하도록 활성.. 더보기
[리눅스] OpenSSL 최신 버전으로 업그레이드 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/" PRIVACY_POLICY_UR.. 더보기
[리눅스] 소스 컴파일 중 "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 /(/dev/mapper/ubunt.. 더보기
[리눅스] Ubuntu Server 22.04 LTS (Jammy Jellyfish) ubuntu releases 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 https://releases.ubuntu.com/.. 더보기
[리눅스] 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) 편집 $.. 더보기
[리눅스] 우분투 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.. 더보기

728x90