Portage exclude hardware specific system setting

This is a linux distribution specific blog entry. The initial issue that needed to be solved, lead finally to a complete different solution.

During maintanance, a gentoo system pulled an updated nvidia-drivers ebuiild, which is not working with the installed video card. The installed video card has been set EOL/EOS by the manufacturer, but apart from that it still working fine.

read more

1st thing to do if running a fresh CentOS installation

Q; What should be the first step if running a fresh installed RHEL or CentOS system?

A: It depends. It depends on the running environment.

The corrected question should be then:

Q: What should be the first step if running a fresh installed RHEL or CentOS system in a network lab environment?

A: To disable AppArmor, SELinux, or look for other per default enabled system security applications.

To display SELinux status use sestatus command:

user % sestatus

SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 31

Verify the current system configuration in file /etc/selinux/config

root # grep enforc /etc/selinux/config SELINUX=enaforcing

read more

Manage VirtualBox machines from CLI

List all virtual machines on this system using the vboxmanage list vms command:

user % vboxmanage list vms

"OpenBSD" {f3a856cd-ff01-4cdb-8559-85a97e432e9b} "CORE"{17a10a47-df81-4c65-b1a1-b23a6e4486c4} "IMUNES"{f241611c-4e63-4ec8-a520-23118cd20ee7}

Display running virtual machines:

vboxmanage list runningvms

To list all virtual machines with all settings that are on current host, use following command:

vboxmanage list vms -l

The amount of output produces by this is comparable to the show tech-support command.

read more