본문 바로가기

반응형

리눅스

우분투 데스크톱 환경에 root로 로그인하는 방법 우분투 데스크톱 환경에 root로 로그인하는 방법 우분투 데스크톱 환경에 직접 root로 로그인하는 것은 기본적으로 비활성화되어 있습니다. 이는 시스템 보안을 강화하기 위한 것입니다. 그러나 필요에 따라 root로 로그인할 수 있는 방법이 있습니다. 1. Root 계정 활성화 root 계정을 활성화해야 합니다. sudo passwd root 2. GDM 설정 (GNOME 데스크톱 환경 사용자의 경우) GNOME 데스크톱 환경에서는 기본적으로 root 계정으로의 직접 로그인이 비활성화되어 있습니다. GDM(GNOME Display Manager)을 수정하여 root로 직접 로그인할 수 있도록 설정할 수 있습니다. sudo vim /etc/gdm3/custom.conf 더보기 --- $ cat /etc/gd.. 더보기
우분투에 데스크톱 환경을 구성하기(ubuntu-desktop 패키지) 우분투에 데스크톱 환경을 구성하기(ubuntu-desktop 패키지) ubuntu-desktop 패키지를 사용하여 기본적인 Ubuntu 데스크톱 환경을 설치할 수 있습니다. 이 패키지에는 GNOME 데스크톱 환경 및 Ubuntu의 기본 애플리케이션들이 포함되어 있습니다. 1. 시스템 업데이트 시스템을 최신 상태로 업데이트합니다. sudo apt-get update sudo apt-get upgrade 2. ubuntu-desktop 패키지 설치 ubuntu-desktop 패키지를 설치합니다. 최소 설정 sudo apt-get install --no-install-recommends ubuntu-desktop 전체 설치 sudo apt-get install ubuntu-desktop sudo apt-get.. 더보기
우분투에 dnsmasq를 설치하고 구성하는 방법 우분투에 dnsmasq를 설치하고 구성하는 방법 dnsmasq는 작고 가벼운 DNS 서버 및 DHCP 서버입니다. 이를 사용하여 로컬 네트워크에서 DNS 쿼리 및 DHCP 클라이언트를 관리할 수 있습니다. dnsmasq 삭제 sudo systemctl disable stop dnsmasq sudo apt-get autoremove --purge -y dnsmasq sudo apt-get autoremove -y 1. dnsmasq 설치 sudo apt-get update sudo apt-get install -y dnsmasq dnsmasq 버전 정보 확인 dnsmasq --version $ dnsmasq --version Dnsmasq version 2.90 Copyright (c) 2000-2024 .. 더보기
ISO 이미지 파일을 마운트하는 방법 ISO 이미지 파일을 마운트하는 방법 1. ISO 이미지 파일 $ ls -l /usr/local/src/jammy-live-server-amd64.iso -rw-r--r-- 1 root root 2104367104 Mar 3 19:34 /usr/local/src/jammy-live-server-amd64.iso 2. 마운트할 디렉토리 생성 마운트할 디렉토리를 생성합니다. 이 디렉토리는 ISO 이미지 파일 시스템이 마운트될 위치가 됩니다. sudo mkdir /mnt/iso 3. ISO 이미지 파일 마운트 mount 명령어를 사용하여 ISO 이미지 파일을 마운트합니다. cd /usr/local/src sudo mount -o loop ./jammy-live-server-amd64.iso /mnt/iso $.. 더보기
우분투에서 cowsay를 설치하고 설정하는 방법 우분투에서 cowsay를 설치하고 설정하는 방법 cowsay는 터미널에서 ASCII 그림을 생성하는 유틸리티입니다. 1. cowsay 설치하기 sudo apt-get update sudo apt-get install -y cowsay 2. cowsay 사용하기 cowsay를 설치한 후에는 간단한 명령으로 그림을 생성할 수 있습니다. 예를 들어, 다음 명령은 소가 생일 축하 메시지를 출력합니다. cowsay "Happy Birthday!" 달러 눈(Dollar eyes) cowsay -g "Hello, World!" 특수 문자를 눈으로 사용 cowsay -e hh "Hello, World!" 기본적으로 cowsay는 소 그림을 사용합니다. 그러나 cowsay에는 다양한 그림(소)들이 포함되어 있습니다. 특.. 더보기
우분투에서 motd를 설정하는 방법 우분투에서 motd를 설정하는 방법 motd(Message of the Day)는 사용자가 시스템에 로그인할 때 표시되는 메시지입니다. 터미널에 로그인할 때 기본적으로 표시되는 메시지 update-motd.d 비활성화 update-motd.d는 시스템이 부팅될 때 실행되는 스크립트들을 포함하는 디렉토리입니다. cd /etc/update-motd.d $ ls -l total 56 -rwxr-xr-x 1 root root 1220 Oct 15 2021 00-header -rwxr-xr-x 1 root root 1157 Oct 15 2021 10-help-text lrwxrwxrwx 1 root root 46 Feb 18 2023 50-landscape-sysinfo -> /usr/share/landscape.. 더보기
Kibana를 설치하는 방법 Kibana를 설치하는 방법 1. Elasticsearch 패키지 설치 확인 2. Kibana 설치 Kibana 패키지 설치 sudo apt-get install -y kibana Kibana 암호화 키 생성 /usr/share/kibana/bin/kibana-encryption-keys generate $ /usr/share/kibana/bin/kibana-encryption-keys generate ## Kibana Encryption Key Generation Utility The 'generate' command guides you through the process of setting encryption keys for: xpack.encryptedSavedObjects.encryptionKey.. 더보기
Elasticsearch에 Nori 분석기를 설치하는 방법 Elasticsearch에 Nori 분석기를 설치하는 방법 Plugin 설치하기 Elasticsearch의 플러그인 매니저를 사용하여 Nori 분석기 플러그인을 설치합니다. cd /usr/share/elasticsearch analysis-nori 플러그인 설치 bin/elasticsearch-plugin install analysis-nori $ bin/elasticsearch-plugin install analysis-nori -> Installing analysis-nori -> Downloading analysis-nori from elastic [=================================================] 100% -> Installed analysis-nori -.. 더보기

728x90
반응형