CentOS 7 on a Lenovo T480 in an enterprise environment

Tags: #<Tag:0x00007f89f0429920> #<Tag:0x00007f89f04297e0> #<Tag:0x00007f89f04296a0>

CentOS Enterprise Linux - Buh YA

With CentOS you can have a standardized Linux env, and get things like AD user auth (via Active Directory LDAP services), Full Disk Encryption (via LVM) and last but not least a stable system for engineering workflows.

In the following I just list a couple of handy customization steps.

Install TLP

Save power, save the environment… The old TP-SMAPI[1] isn’t for the newer Lenovos. Usually TLP comes with a fitting default config.

➜  yum search tlp
Loaded plugins: fastestmirror, langpacks, nvidia
tlp.noarch : Advanced power management tool for Linux

Install VMware Workstation host kernel modules for 5.X

As usual VMware is behind the Linux kernel release lines, and for the T480 you want a new kernel in order to get the best device support.

Check the branches and compile the fitting module.

➜  ~ uname -a        
Linux foobar 5.2.0-1.el7.elrepo.x86_64 #1 SMP Mon Jul 8 09:37:45 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
➜  ~ lsmod | grep vmm
vmmon                 110592  2 

I usually run 2-3 virtual machines.

Don't use Gnome3

Gnome3 is buggy. I switched to Mate Desktop (using EPEL).

➜  ~ yum groupinstall "MATE Desktop"

Otherwise I’d use the awesome window manager.

  1. https://wiki.archlinux.org/index.php/Tp_smapi ↩︎