분류 전체보기 썸네일형 리스트형 [draft] 우분투 기본 설정 우분투 기본 설정테스트 환경$ cat /etc/os-releaseNAME="Ubuntu"VERSION="20.04 LTS (Focal Fossa)"ID=ubuntuID_LIKE=debianPRETTY_NAME="Ubuntu 20.04 LTS"VERSION_ID="20.04"HOME_URL="https://www.ubuntu.com/"SUPPORT_URL="https://help.ubuntu.com/"BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"VERSION_CODENAME=focalUBUNTU_CODENAME=f.. 더보기 [Mac] UTM Virtual Machines UTM Virtual Machines - 가상 머신 - https://getutm.app/install/ - https://mac.getutm.app/ - https://apps.apple.com/us/app/utm-virtual-machines/id1538878817 * Free developer accounts must re-sign every 7 days * Paid developer accounts must re-sign every 1 year UTM 설치 더보기 [draft] gitlab runner 설치 및 실행하기 gitlab runner 설치 및 실행하기gitlab runner 설치$ mkdir gitlab-runner$ cd gitlab-runnerdocker-compose.yml 편집cat docker-compose.ymlversion: '3.8'services: gitlab-runner: image: gitlab/gitlab-runner:latest restart: unless-stopped container_name: gitlab-runner hostname: gitlab-runner volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock - ./c.. 더보기 [draft] CentOS 7에서 Google OTP를 설치하고 설정하는 방법 CentOS 7에서 Google OTP(Google Authenticator)를 설치하고 설정하는 방법Google Authenticator는 이중 인증(2FA)을 위한 OTP(일회용 비밀번호) 솔루션입니다.1. Google Authenticator 패키지 설치sudo yum install -y google-authenticator2. Google Authenticator 설정Google Authenticator 인증 파일 생성(QR Code 생성)google-authenticator -s ~/.ssh/google_authenticatorDo you want me to update your "/home/ec2-user/.ssh/google_authenticator" file? (y/n) yDo you wa.. 더보기 [draft] 서비스(데몬) 등록 방법 리눅스 서비스(데몬) 등록 방법chkconfig --add [서비스 명]chkconfig --level [서비스 명]chkconfig --del [서비스 명]chkconfig --list [서비스 명]CentOS 6 chkconfig 명령으로 서비스 관리zabbix-agent 서비스 등록chkconfig --add zabbix-agentzabbix-agent 서비스 확인$ chkconfig --list | egrep zabbixzabbix-agent 0:off 1:off 2:off 3:off 4:off 5:off 6:offlevel 3, 5 일 경우 zabbix-agent 서비스 부팅chkconfig --level 35 zabbix-agent onzabbix-agent 서비스 확인$ chkconfi.. 더보기 로컬 IP 및 공개 IP 찾는 방법(myip) 로컬 IP 및 공개 IP 찾는 방법(myip) vim ~/.bashrc myip() { externalip=`curl -SsfL ifconfig.co` localip=`ip route get 1.2.3.4 2>/dev/null | grep -Eo 'src [0-9.]+' | grep -Eo '[0-9.]+'` echo "Local IPADDR : $localip" echo "External IPADDR : $externalip" } source ~/.bashrc $ myip Local IPADDR : 10.100.3.188 External IPADDR : 3.14.11.88 더보기 [draft] 우분투에서 sudo를 비밀번호 없이 사용하는 방법 우분투에서 sudo를 비밀번호 없이 사용하는 방법우분투에서 특정 사용자 또는 사용자 그룹이 sudo 명령어를 사용할 때 비밀번호 입력을 생략하도록 설정할 수 있습니다. 이 설정은 보안에 영향을 미칠 수 있으므로 특정 상황에서 임시로 사용하는 것이 좋습니다.1. sudoers 파일 수정sudo 설정 파일(/etc/sudoers)을 수정합니다.sudo visudo$ sudo visudo## This file MUST be edited with the 'visudo' command as root.## Please consider adding local content in /etc/sudoers.d/ instead of# directly modifying this file.## See the man page f.. 더보기 우분투 CLI(Command Line Interface) 환경에서 네트워크 설정(고정 IP 할당) 우분투 CLI(Command Line Interface) 환경에서 네트워크 설정(고정 IP 할당) 테스트 환경 $ lsb_release -d Description: Ubuntu 20.04 LTS $ getconf LONG_BIT 64 고정 IP 설정 ip addr 명령으로 네트워크 인터페이스 이름 확인 일반적으로 eth0, eth1, wlan0 등과 같은 인터페이스 이름이 사용됩니다. ip addr $ ip addr 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 ... 2: ens33: mtu 1500 qdisc fq_codel state UP group default qlen 1000 ... 00-installer-config.. 더보기 이전 1 ··· 143 144 145 146 147 148 149 ··· 175 다음