사용자:하늘/메모장/리눅스

< 사용자:하늘‎ | 메모장
하늘 (토론 | 기여)님의 2024년 2월 8일 (목) 19:48 판

Fail2Ban

https://blog.lael.be/post/1209

일정 횟수 실패하면 차단하는 프로그램. 쉘 보안 강화

유용한 GUI 도구 cpupower-gui yay -S cpupower-gui 아치 우분투

yay

기존 pacman의 archlinux 공식 패키지를 포함하여 커뮤니티 패키지(AUR)까지 관리할 수 있는 패키지 매니저 yay

그놈 문서에 작성 확장기능

Blur my Shell 그놈 쉘에 투명, 블러 효과를 준다.

cpufreq cpu 가버너 주파수 설정

Desktop Icons NG 바탕화면 아이콘 추가 우분투 기본 아이콘 확장기능

system-monitor 시스템 모니터를 트레이에 추가

systemctl

$ systemctl start [service]

$ systemctl stop [service]

$ systemctl enable [service]

$ systemctl disable [service]

UFR II/UFRII LT Printer Driver

Fedora/Ubuntu/CentOS/Debian/UOS/Kylin OS/NeoKylin OS

아치 미지원 ㅋㅋ https://asia.canon/en/consumer/search?q=UFR+II%2FUFRII+LT+Printer+Driver&type=support

remove swap

Sometimes it can be prudent to reduce swap space after installation. For example, say you downgraded the amount of RAM in your system from 1 GB to 512 MB, but there is 2 GB of swap space still assigned. It might be advantageous to reduce the amount of swap space to 1 GB, since the larger 2 GB could be wasting disk space.

You have three options: remove an entire LVM2 logical volume used for swap, remove a swap file, or reduce swap space on an existing LVM2 logical volume. 5.3.1. Reducing Swap on an LVM2 Logical Volume

To reduce an LVM2 swap logical volume (assuming /dev/VolGroup00/LogVol01 is the volume you want to extend):

   Disable swapping for the associated logical volume:
   # swapoff -v /dev/VolGroup00/LogVol01
   Reduce the LVM2 logical volume by 512 MB:
   # lvm lvreduce /dev/VolGroup00/LogVol01 -L -512M
   Format the new swap space:
   # mkswap /dev/VolGroup00/LogVol01
   Enable the extended logical volume:
   # swapon -va
   Test that the logical volume has been reduced properly:
   # cat /proc/swaps # free

5.3.2. Removing an LVM2 Logical Volume for Swap

The swap logical volume cannot be in use (no system locks or processes on the volume). The easiest way to achieve this it to boot your system in rescue mode. Refer to for instructions on booting into rescue mode. When prompted to mount the file system, select Skip.

To remove a swap volume group (assuming /dev/VolGroup00/LogVol02 is the swap volume you want to remove):

   Disable swapping for the associated logical volume:
   # swapoff -v /dev/VolGroup00/LogVol02
   Remove the LVM2 logical volume of size 512 MB:
   # lvm lvremove /dev/VolGroup00/LogVol02
   Remove the following entry from the /etc/fstab file:
   /dev/VolGroup00/LogVol02   swap     swap    defaults     0 0
   Test that the logical volume has been extended properly:
   # cat /proc/swaps # free

5.3.3. Removing a Swap File

To remove a swap file:

   At a shell prompt as root, execute the following command to disable the swap file (where /swapfile is the swap file):
   # swapoff -v /swapfile
   Remove its entry from the /etc/fstab file.
   Remove the actual file:
   # rm /swapfile