batocera install
# Operation System/Linux2024. 3. 14. 08:54batocera install

1. 다운로드 https://batocera.org/downloadbatocera.linuxdownload Desktop PC, Laptop, NUC and Intel-based Apple Computersbatocera.org 2. 이미지 굽기 rufus https://rufus.ie/ko/ Rufus - 간편하게 부팅 가능한 USB 드라이브 만들기Rufus는 USB 메모리 및 플래시 드라이브를 포맷하고 부팅할 수 있도록 만드는 도구입니다. 이 페이지 아래에 나열된 ISO 이미지 이외에도 Rufus는 여러 종류의 ISO 이미지를 지원합니다. (1) Windows 8 이rufus.ie win disk imager https://sourceforge.net/projects/win32diskimager/ W..

grep(egrep) 특정시간지정 정규식 검색
# Operation System/Linux2023. 10. 11. 20:14grep(egrep) 특정시간지정 정규식 검색

# 0시부터 10시까지 검색 # 예시 # 2023-10-11 01:34:55 # 2023-10-11 11:00:00 egrep '2023-10-([0][0-9]:|1[0-9]:|2[0-3]:)[0-5][0-9]:[0-5][0-9]’ # 또는 grep -E '2023-10-([0][0-9]:|1[0-9]:|2[0-3]:)[0-5][0-9]:[0-5][0-9]’

centos8x update error
# Operation System/Linux2023. 1. 17. 15:41centos8x update error

오류확인 centos8초기버전에서 yum(또는 dnf) update할려고할시 업데이트 에러가 발생 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist 오류원인 저장소 경로가 잘못되었거나 할경우 발생할수 있던건데. 현재는(작성일 기준 : 2023-01-18) EOL로 인한 업데이트 에러. 해결방법 centos초기 버전이라 일단 아래와 같이 repo파일 수정. 기존 mirrorlist는 주석처리. https://vault.centos.org/8.5.2111/AppStream/x86_64/os/ https://vault.centos.org/8.5.2111/B..

리눅스 시스템 캐시 메모리 초기화
# Operation System/Linux2022. 12. 14. 07:40리눅스 시스템 캐시 메모리 초기화

캐시메모리 설정 확인 To free pagecache: (페이지케쉬 클리어) # echo 1 > /proc/sys/vm/drop_caches To free dentries and inodes: (트리와 아이노드 클리어) # echo 2 > /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: (1번과 2번 모두 클리어) # echo 3 > /proc/sys/vm/drop_caches Cached 메모리 사용정도를 지정하는 방법 vfs_cache_pressure 커널파라미터를 이용해서 디렉토리와 inode 오브젝트에 대한 캐시로 사용된 메모리를 반환하는 경향의 정도를 지정하는 항목으로 기본값은 100으로 되어있습니다. 해당값을 0으로 설정하게 ..

리눅스 시스템 스왑 메모리 확인
# Operation System/Linux2022. 12. 8. 08:03리눅스 시스템 스왑 메모리 확인

스왑메모리 체크 방법 3가지 [darksharavim]free -h total used free shared buff/cache available Mem: 15G 7.4G 4.3G 219M 3.8G 7.5G Swap: 5.0G 1.0G 4.0G 1. /proc/[pid]/smaps [darksharavim]cat /proc/29771/smaps | more 00400000-01028000 r-xp 00000000 fd:00 105860612 /apps/php7/sbin/php-fpm (deleted) Size: 12448 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Re..

image