CentOS 8 사용시 AMD 라이젠 이전 cpu 사용할 경우 아래와 같은 메시지와 mcelog 서비스 실패가 표시 된다면 mcelog: AMD Processor family 21: CPU is unsupported systemctl disable mcelog yum -y erase mcelog 참고 링크 – https://bugzilla.redhat.com/show_bug.cgi?id=1166978
CentOS 8에서 htop 설치
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 설치 후 다음과 같이 설치 dnf -y update dnf -y install htop
WSL Ubuntu 20.04 설치 후 기본사용자 root 로 변경
우선 우분투20.04 실행 후 root 사용자의 비밀번호를 설정합니다. sudo passwd root 파워쉘(PowerShell)를 열고 다음과 같이 실행합니다. ubuntu2004.exe config –default-user root
Windows 10 빌드 2004 에서 WSL2 활성화
Windows 10 빌드 2004 업데이트를 하였다면, cmd 로 버전 확인을 해야합니다. Microsoft Windows [Version 10.0.19041.264] 파워쉘(PowerShell)에서 실행해야 하므로 파워쉘을 관리자 권한으로 실행합니다. WSL2는 Hyper-V를 통해 구동되므로, 가상 머신 플랫폼을 활성화 하여야합니다. Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform 그리고 다음 명령을 실행하여 WSL2 모드를 활성화 합니다. wsl –set-default-version 2 만약 위 명령 실행시 “wsl 2에 커널 구성 요소 …
Windows 10 빌드 2004 에서 WSL2 활성화 더보기
Centos NetworkManager 끄기
NetworkManager 끄기 systemctl stop NetworkManager 재부팅시 자동 실행 해제 systemctl disable NetworkManager /etc/sysconfig/network-scripts/ifcfg-ethX 파일 편집 NM_CONTROLLED=”no”
Centos SELINUX 끄기
vi /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of three …
Centos SELINUX 끄기 더보기
Centos 7 방화벽 끄기(firewalld)
실행중인 방화벽 중지 systemctl stop firewalld 재부팅시 자동시작 해제 systemctl disable firewalld