Linux init after installation

2016-12-19. Category & Tags: Linux, Must-Have

PROBLEMS # sudo takes a long time (when network having issues) # Reason: distros should have added new host name to /etc/hosts, if the name is changed/added during installation ref. echo -n ' ' >> /etc/hosts && cat /proc/sys/kernel/hostname >> /etc/hosts or: localhost localhost.localdomain localhost4 localhost4.localdomain4 <ADD_YOUR_HOST_NAME> ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 <ADD_YOURS_HERE> annoying “software updater” # sudo sed -i 's/1/0/' /etc/apt/apt.conf.d/20auto-upgrades ; cat /etc/apt/apt.conf.d/20auto-upgrades sudo apt-get remove --auto-remove gnome-software empty/black screen # If screen blacked out after 1st reboot, the problem is gfxmode $linux_gfx_mode in grub. ...