root server

Root Server initial setup

Terminal line ~/.bashrc

cp ~/.bashrc ~/.bashrc.orig.$(date +%F)

nano ~/.bashrc

export PS1="{\w}\n[\[\e[31m\]\u\[\e[m\]@\[\e[34;40m\]\H\[\e[m\] \W\[$(tput sgr0)\]]\\$ "
export HISTTIMEFORMAT="%h %d %H:%M:%S "
export HISTSIZE=100000
export HISTFILESIZE=100000
export HISTCONTROL=ignoredups
export HISTIGNORE="ls:ps:history"

export HISTFILE=~/.terminal_history

 

nano /etc/sysctl.conf

 - swappiness

 

Quota