레거시 시스템에서는 호스트 네임을 바꾸려면, /etc/hostname의 HOSTNAME을 바꾸고, 재부팅하거나, 네트워크를 재시작을 해줘야 했습니다. 재부팅이나 네트워크 재시작 없이 호스트네임을 변경하는 방법을 소개합니다. CentOS7 이상에서는 hostnamectl이라는 툴을 제공하여, 간단하게 호스트네임을 변경할 수 있습니다. hostnamectl set-hostname server-001.warpmemory.com hostnamectl이 없는, 레거시 시스템에서는 아래와 같이 실행하면 됩니다. echo -e 'NETWORKING=yes\nHOSTNAME=server-001.warpmemory.com' > /etc/sysconfig/network echo 'server-001.warpmemory.c..
12345678910111213import-module webadministration$rows = ls IIS:\Sites |select Nameforeach ($row in $rows){ $site_name = $row.Name if (($site_name -ne "Default FTP Site") -and ($site_name -ne "Default Web Site") -and !($site_name -match "_ftp") ){ $webknight_path = Get-WebConfigurationProperty -filter //isapiFilters -PSPath "iis:\sites\$site_name" -name Collection[name="WebKnight"] |select path e..
- Total
- Today
- Yesterday
- 외부링크
- code
- check
- deview
- Python
- Module
- Web
- 명령어
- engineering
- MariaDB
- Linux
- limits
- File
- mysql
- Ansible
- 예제
- error
- Windows
- apache
- configuration
- 이슈처리
- PowerShell
- 번역
- monitoring
- example
- client
- RESTful
- command
- httpd
- 코드
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |