Basic setup on linux host

#set hostname
echo "Enter hostname:"
read host_name
hostnamectl set-hostname $host_name

#set ist timezone
rm -rf /etc/localtime | exit 0
ln -s /usr/share/zoneinfo/Asia/Kolkata /etc/localtime

#increase history size
echo 'export HISTSIZE=10000
export HISEFILESIZE=10000' >> /root/.bashrc

Published by

Leave a Reply

Your email address will not be published. Required fields are marked *