Backup Solution & IT Study/OS23 [Linux]SELinux Disable 방법 Disabling SELinux permanently Edit the /etc/selinux/config file, run: sudo vi /etc/selinux/config Set SELINUX to disabled: SELINUX=disabled Save and close the file in vi/vim. Reboot the Linux system: sudo reboot After reboot, make sure following commands gives Disabled output indicating that SELinux removed and disabled on your Linux server: getenforce sestatus 2021. 3. 5. [Linux]Centos,Redhat MPIO 설정 # yum -y install device-mapper-multipath # systemctl start multipathd # systemctl enable multipathd # multipathd.conf 설정 확인 ====================================================== [root@testdb01 /]# cat /etc/multipath.conf # This is a basic configuration file with some examples, for device mapper # multipath. # # For a complete list of the default configuration values, run either # multipath -t #.. 2021. 3. 5. [Windows]cmd 를 이용한 Version 확인방법 1. Windows Key + R & cmd 또는 시작→실행→cmd 2. cmd 창에서 msinfo32 실행 3. 각 리스트별 OS Version , Bit , Server 등 확인 가능 2021. 3. 5. [Linux]find 명령어 - / 경로에서 하위 까지 test.log 찾기 find / -name test.log - / 경로에서 test.log 검색하여 "abc" 문자열 찾기 find / -name test.log -exec grep "abc" {} - /var/log 경로에서 "*.log" 로 끝나는 파일 삭제 find /var/log -name "*.log" -delete 2021. 3. 2. 이전 1 2 3 4 5 6 다음