CentOS Minimal, Revisited
It’s been a long time since CentOS 6 came out. We’re well into the healthy lifespan of CentOS 7 now, and the process of getting a minimal desktop has changed a little.
First, the install GUI, even for a minimal install, will guide you through setting up an admin user, so we can skip that. It’s just a matter of installing the X Window System and the smallest slice of Gnome we can manage.
yum groupinstall -y "X Window System" "Fonts" yum install -y gnome-classic-session control-center gnome-terminal unlink /etc/systemd/system/default.target ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
And that should do it. You’ll have nothing but Gnome Desktop, admin tools and Gnome Terminal.
Now I didn’t include this last time, but if you’re setting up in a VirtualBox VM, before you reboot, you’ll also want to install the VirtualBox Tools…
yum install -y epel-release yum install -y dkms bzip2 kernel-devel-$(uname -r) mount /dev/cdrom /media /media/VBoxLinuxAdditions.run
Happy clean and minimal developing!
Leave a Reply
No trackbacks yet.
No post with similar tags yet.
Posts in similar categories
Capricious Whim
“Einstein argued that there must be simplified explanations of nature, because God is not capricious or arbitrary. No such faith comforts the software engineer.” —Fred Brooks
Let’s try to make this simpler for VirtualBox
yum groupinstall -y "X Window System" "Fonts"
yum install -y gnome-classic-session control-center gnome-terminal epel-release bzip2 kernel-devel-$(uname -r)
yum install -y dkms
unlink /etc/systemd/system/default.target
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
mount /dev/cdrom /media
/media/VBoxLinuxAdditions.run
Now if I can just find a way to script this into a new VirtualBox install.
Other useful initial setups…
Let’s install Google Chrome:
http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
Let’s use Private Internet Access:
http://blog.jordan-english.com/configure-openvpn-pia-cli-on-centos-7/