yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install screen mlocate nano wget gcc ncurses-devel zip unzip smartmontools lm_sensors deltarpm htop ncftp p7zip
apt install htop p7zip-full ncftp screen mlocate lm-sensors secure-delete zip unzip
yum update
updatedb
.bashrc
eval `dircolors`
alias untar='tar -xzvf'
alias treesize='du --max-depth=1 --si'
alias archive='tar cvzf'
alias dir='ls -CFlh --color=tty'
nano /etc/ssh/sshd_config
PermitRootLogin yes
GSSAPIAuthentication no
UseDNS no
install prime
/etc/crontab @reboot root /root/mprime -d >>/root/mprime.log 2>/dev/null &
@reboot root /root/mprime &
laptop:
yum install upower
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
See HandleLidSwitch in /etc/systemd/logind.conf
echo 1|sudo tee /sys/devices/system/cpu/intel_pstate/no_turbo
Wipe free space with BCwipe:
bcwipe -m 2 -v -F /