전체 글(14)
-
Ansible-AWX docker 기반 구성 (Ansible-AWX Installation with docker)
# Ansible-AWX docker 기반 설치 yum -y install epel-release git gcc yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo yum -y install ansible python-pip yum -y install docker-ce systemctl enable docker systemctl start docker pip install -U pip docker-compose==1.23.2 git clone -b 14.1.0 https://github.com/Ansible/awx.git cd awx/installer ansible-playbook -i..
2023.11.06 -
Linux 상위 프로세서 확인 (Linux higher processors check)
# Linux 상위프로세서 확인 ps -eo pid,comm,%cpu,%mem --sort=-%cpu | head -n 6 ps -eo pid,comm,%cpu,%mem --sort=-%cpu | head -n 11 ps -eo pid,comm,%cpu,%mem --sort=-%mem | head -n 6 ps -eo pid,comm,%cpu,%mem --sort=-%mem | head -n 11 ps -Ao user,uid,comm,pid,pcpu,tty --sort=-pcpu | head -n 11 ps auxk-c | head -11
2023.11.06 -
Linux firewalld 설정 (Linux firewalld settings)
# firewalld settings systemctl disable firewalld systemctl stop firewalld systemctl status firewalld systemctl enable firewalld systemctl restart firewalld sudo firewall-cmd --get-zones firewall-cmd --list-all-zone firewall-cmd --get-default-zone firewall-cmd --zone=public --list-all firewall-cmd --reload firewall-cmd --add-icmp-block=echo-request firewall-cmd --zone=public --list-all firewall-c..
2023.11.06 -
Linux Disk 확장/증설 (Linux Disk Extension)
# LVM /home 용량을 줄이기 또는 / 용량을 늘리기 tar -zcvf /root/home.tar.gz -C /home . tar -tvf /root/home.tar.gz umount /dev/mapper/rhel-home lvremove /dev/mapper/rhel-home y lvcreate -L 10GB -n home rhel mkfs.xfs /dev/rhel/home mount /dev/mapper/rhel-home # root 경로 확장 lvextend -r -l +100%FREE /dev/mapper/rhel-root # GPT PMBR size mismatch (209715199 != 251658239) will be corrected by write. The backup GPT ta..
2023.11.06 -
Linux OS Golden Image ISO 생성 (Create Linux OS Golden Image ISO)
# OS Golden Image ISO 생성관련 sudo su mount -o loop rhel-8.4-x86_64-dvd.iso /mnt shopt -s dotglob mkdir /tmp/rhel8 cp -avRf /mnt/* /tmp/rhel8 cd /tmp/rhel8 ls -a cd /tmp/rhel8 cp /PATH/TO/CREATED/ks.cfg /tmp/rhel8/ blkid /PATH/TP/DOWNLOADED/rhel-server-8.4-x86_64-dvd.iso rhel-8.4-x86_64-dvd.iso: BLOCK_SIZE="2048" UUID="2021-05-03-15-21-56-00" LABEL="RHEL-8-4-0-BaseOS-x86_64" TYPE="iso9660" PTUUID="..
2023.11.06 -
Linux 절전모드해제 (Linux Disable sleep mode)
# Linux Disable sleep mode # Status sudo systemctl status sleep.target suspend.traget hibernate.target # 절전모드 비활성화 sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target # 상태확인 sudo systemctl status sleep.target suspend.target hibernate.target hybrid-sleep.target # 절전모드 활성화 sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
2023.11.06