일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Docker
- Azure
- mongodb 설치
- AWS S3
- vSphere
- MSSQL 2012
- ELK
- ELK 설치
- ADFS SSO
- AWS
- Exchange Server
- ansible
- awx
- Active Directory
- ADFS 이중화
- ADFS proxy
- AWS EBS
- ADFS 구성 방법 및 이중화
- AD Migration
- AWS EFS
- vCenter
- 하이퍼바이저
- ADFS Traffic Manager
- Exchange 2003
- Kubernetes
- Application Gateway
- 도커
- Active Directory Migration
- vCenter Syslog collector
- vmware vsphere
Archives
- Today
- Total
practice makes perfect
Oracle Linux 호스트 네임 본문
- OCI를 처음 사용해봄
- Oracle Linux를 사용할 때 호스트네임 변경 시 재부팅하면 다시 원복 된다
- 원복되지 않고 사용할 수 있는 방법 가이드
$ vi /etc/oci-hostname.conf
# This configuration file controls the hostname persistence behavior for Oracle Linux
# compute instance on Oracle Cloud Infrastructure (formerly Baremetal Cloud Services)
# Set PRESERVE_HOSTINFO to one of the following values
# 0 -- default behavior to update hostname, /etc/hosts and /etc/resolv.conf to
# reflect the hostname set during instance creation from the metadata service
# 1 -- preserve user configured hostname across reboots; update /etc/hosts and
# /etc/resolv.conf from the metadata service
# 2 -- preserve user configured hostname across instance reboots; no custom
# changes to /etc/hosts and /etc/resolv.conf from the metadata service,
# but dhclient will still overwrite /etc/resolv.conf
# 3 -- preserve hostname and /etc/hosts entries across instance reboots;
# update /etc/resolv.conf from instance metadata service
PRESERVE_HOSTINFO=0 ### 2로 변경해야함 ###
'Linux' 카테고리의 다른 글
redis client 설치 (0) | 2024.05.13 |
---|---|
/etc/crontab vs crontab -e (0) | 2024.05.06 |
ELK Configure (with Docker) (0) | 2020.12.13 |
MongoDB 설치 및 계정 생성 (0) | 2020.10.04 |
Apache Method 예외처리 (0) | 2020.01.01 |
Comments