This is an old revision of the document!
For minimal GNOME desktop, do a minimal install. Then do:
yum groupinstall "X Window System" yum install gnome-classic-session
Try XFCE or Mate (epel repository). MATE is a continuation of GNOME2.
https://www.centos.org/forums/search.php?keywords=gnome
https://www.centos.org/forums/viewtopic.php?f=48&t=47271&p=202339&hilit=gnome#p202339
http://wiki.centos.org/FAQ/CentOS7
https://www.centos.org/forums/
10 Aug 2014 & 29 Sept 2014
Do minimal install from .iso file
- Set mount points
- Choose filesystem - xfs or ext4. xfs chosen.
- Boot into machine
- Note the IP address
When initially loading from Oracle VBox, an error about "failed to access perfctr msr" appears but then the program continues.
Machine boots into text mode. Easiest to ssh in by finding IP address first with ip addr
- SSH in, su - root
- yum -y update
- reboot
- yum -y install wget
Enable 64bit EPEL for CentOS 7:
# mkdir downloads # cd downloads # wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-2.noarch.rpm # rpm -ivh epel-release-7-0.2.noarch.rpm
Install MATE Desktop and set up graphical login defaults:
- yum -y install kernel-devel gcc xorg-x11-server-Xorg.x86_64
- rpm -qa |grep kernel | sort
- (remove any old kernels)
- yum -y groupinstall "MATE Desktop"
- reboot
- start graphical screen as root: systemctl isolate graphical.target
- start graphical screen by default:
systemctl set-default graphical.target
- reboot
- black screen after trying isolate graphical so yum remove group "MATE Desktop"
- reboot
- yum -y groupinstall "MATE Desktop"
- From VM window, choose Devices > Insert Guest Additions CD
mount -o ro /dev/disk/by-label/VBOXADDITIONS* /mnt cd /mnt ./VBoxLinuxAdditions.run --nox11 shutdown -r now
- Still black screen, changed selinx to permissive, still black after reboot
- removed all old kernels, rebuild VBox additions, still says couldn't find the X.Org or XFree86 Window System, skipping.
- Rebuild guest additions
- reboot, graphical login but couldn't use mouse or keypad - no input
Missing Desktop icons: https://www.centos.org/forums/viewtopic.php?f=48&t=47271
- Make sure caja is the default file manager in System -→ Control Center -→ Preferred Applications -→System tab.
- Add caja to automatically start in System-→ Control Center -→ Startup Applications.
- Reboot.
Applications > System Monitor does not seem to be available
Mouse icon is black (maybe try install full GNOME first?)
Google Chrome doesn't seem to install.
Check NX
Check percona
Install gimp.
Try /usr/bin/display with a .jpg or .png. This error results:
[juckins@centos7-test-64: /tmp/splash]$ display default.png display: color is not known to server `FOREGROUND': No such file or directory @ error/xwindow.c/XGetPixelPacket/3064.
Add grub splash screen:
Comment out the GRUB_TERMINAL_OUTPUT line in /etc/default/grub using a # at the start of the line, and grub should use a graphics mode again
Make default kernel boot the latest version by adding the following line to /etc/default/grub
GRUB_DEFAULT=0
Also remove the "rhgb quiet" flags. Then run:
grub2-mkconfig -o /boot/grub2/grub.cfg
Set fonts to size 8, 96 dpi, Smoothing Grayscale, Hinting Slight, Subpixel order RGB
Install httpd, MySQL (mariadb) packages.
Notes: http://www.cyberciti.biz/faq/howto-install-linux-apache-mariadb-php-lamp-stack-on-centos7-rhel7/
Restart 30 Sept 2014
Used http://mirror.centos.org/centos/7/os/x86_64/ for network install
New with KDE all options and that worked fine upon reboot.
New install with just a workstation environment and that worked upon reboot.
yum -y update, installed Guest Additions. OK
Did yum -y group install "MATE Desktop" and that was okay.
Set fonts to size 8, 96 dpi, Smoothing Grayscale, Hinting Slight, Subpixel order RGB
Screensaver disabled
Add icons to top panel, set terminal font and geometry launcher
