The less-than-random ramblings of Scott Jackson, software architect.

No Such Comfort

CentOS Minimal, Revisited

Posted by scottj on March 24, 2016 in Custom Development with 2 Comments


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!

  1. scottjMay 13, 2016 - 3:11 pm #1

    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.

  2. scottjJuly 18, 2016 - 2:21 pm #2

    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/

Leave a Reply

No trackbacks yet.

No post with similar tags yet.

Posts in similar categories

About Me Sample Title

This is a sample text about you. You may login and go to the Dojuniko settings page and edit this text. Here you can display a summary of your website or anything that is interesting to your visitors. You also can disable this section completely. You have full control thru the settings page.