Posted in Computers, Fedora, Linux

VMware Tools Cannot Find Kernel-Headers on Fedora 18 x64

I recently installed Fedora 18 x64 on VMware Workstation 9, and was unable to initially complete the VMware Tools installation using the same methods that I’d previously done many, many times with prior Fedora installations. The installer kept telling me that it couldn’t find the kernel-headers folder. I had installed the development tools with my Fedora install, and they were all up to date, so I was a bit puzzled.

Prior to installing the VMware Tools, you need to install the Fedora development tools if you don’t have them – or if you’re unsure, just check – otherwise the installer will complain that it cannot find something, and will ask you to provide a path.

The development tools needed are: gcc, make, binutils, kernel-devel, kernel-headers

I also recommend updating the existing kernel to match the versions from kernel-devel and kernel-headers.

  1. Update your kernel, restart the vm after the installation: # yum update kernel
  2. Install the development tools, restart the vm when finished: # yum install gcc make binutils kernel-devel kernel-headers
  3. Run the ./ script, accepting all the defaults (unless you know what you’re doing and want or need to change something)

If the script complains that it cannot find the location of the kernel-headers – and you verify that they are installed by typing # rpm  -qa, then you must copy the kernel-headers from one location to another. Find out which kernel you’re using with # uname -a. The current kernel on my system as of 01-19-2013 is 3.7.2-201.fc18.x86_64

Run the following command to copy the folder from one location to another location, which is where the installer is looking for those header files.

# cp /usr/src/kernels/3.7.2-201.fc18.x86_64/include/generated/uapi/linux/version.h /lib/modules/3.7.2-201.fc18.x86_64/build/include/linux/

If you’re running the script, you can type that path into the installer where it asks for the header-files location. If you’re not running the installer script, run it again, and it should find the path automatically.

Thanks to user jgkirk from the VMware forums for this tip. The original post that helped me can be found here.

Posted in Fedora, Linux

Automatically Start the httpd Service Fedora 16

Here’s how to automatically start the httpd web server (Apache) service on machine startup:

# systemctl enable httpd.service

Source: the Fedora website.

Posted in Computers, Fedora, Linux, Software, Ubuntu

Setup and Configure NFS Server/Client in Linux

Up until now, I had been accessing my Ubuntu server via Samba, from my Fedora 12 box. Until I discovered what NFS really is and how it works.

The actual guide which I followed can be found on the Ubuntu forums here.

I was able to successfully install the server portion of it on my Ubuntu 9.10 server, and access it from Fedora 12.

BUT! In order to get it to mount automatically when booting, instead of editing /etc/fstab, I had to edit /etc/mtab. The rest was fine. Keep this in mind if you get an error when adding it to your “fstab.”

Now that I better understanding of what NFS is, it’s time to do some good reading and research on it for future reference.

Posted in Computers, Fedora, Linux, Software

Installing an RDP client on Fedora12

There is no Remote Desktop Protocol (RDP) client installed on Fedora 12 by default – at least not one that I could find.

An RDP client is needed to connect to Windows Terminal Servers and other Windows machines using the RDP protocol.

Installing a gnome-RDP program is fairly easy, and can be done from the command line in a few minutes.

To install the gnome-RDP client on Fedora 12, launch Terminal by going to Applications > System Tools > Terminal, and type in the following commands (commands are in bold, explanation in parenthesis)

  • su – (needed to become root, type password when prompted)
  • yum install gnome-rdp (this downloads and installs the RDP program. Accept dependencies if prompted)

After that’s all done – should take about 2-3 minutes – you can find the gnome-RDP program by going to Applications > Internet > Gnome-RDP

Posted in Computers, Fedora, Linux

Fedora 12 – Extremely Slow Yum Updates

I’ve been playing with Fedora for a few weeks now, and, one of the things I’ve noticed is that using the software updates installer (GUI) is nearly useless. It is slow, and crashes nearly every time!

After doing a bit of ‘Googling’, I found that there are a few recommendations for yum mirrors. Here are two that I found, and that work.

To add these to your yum list of mirrors, edit the yum.conf file, located in /etc/yum.conf (Fedora 12)

Add these two lines to the bottom of the yum.conf file:


Save the file and exit. From the command line, (logged in as root or with sudo privileges) do this:

$ yum check-update
$ yum update

The list of updates should populate, and the updates should start downloading a bit faster. It worked for me.

Good luck.