Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to analyze Fedora Core 6 GCC system

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

How to analyze Fedora Core 6 GCC system, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

This paper introduces the solution to the problem of Fedora Core 6 GCC, and divides the Linux system management technology into three aspects. This paper systematically introduces the basic knowledge and application of Fedora 9. The basics of Linux, including the installation of Fedora, disk partitioning, and the basic operation of Linux, are designed to give readers a preliminary understanding of Linux. Various management knowledge and technologies involved in Linux system, such as system boot and shutdown, process control, file system management, system backup, software configuration, management and use of cron and system log, etc. There is a problem installing vmware tool in Fedora Core 6 GCC.

Install Fedora Core 6 GCC development tools

# Install software called by by VMware Tools

Yum install gcc

Fedora Core 6 GCC installation kernel files

# Install kernel header files

Yum install kernel-devel

Check whether the versions of the Fedora Core 6 GCC kernel files match, and upgrade if they do not

# Check it matches the running kernel

Uname-r # running kernel

Rpm-Q kernel-devel # installed kernel headers

If the third does not match, you need to upgrade the Fedora Core 6 GCC kernel file. After the upgrade, restart the system.

# It the two versions do not match, run

Yum-y upgrade kernel kernel-devel

# then reboot (but only if they did not match).

Find the location of the Fedora Core 6 GCC kernel file, which is required when installing VMware-tool tools

# Find out where the kernel headers are

Ls-d / usr/src/kernels/$ (uname-r) * / include

# You may need this later.

Download the virtual machine Fedora Core 6 GCC tools installation package

That is, VMware-tool installs the package and decompresses it (specifically, on the virtual machine toolbar, click "VM"-> "Install VMware Tools", the installation package will appear, select the file of * .gz, and unzip it to a directory)

The following is the specific implementation method in the Fedora Core 6 GCC command line, which I implemented under the graphical interface

# If you already have VMwareTools-5.5.2-29772.tar.gz

On disk, SKIP THIS STEP!

# Download VMware-workstation-5.5.2-29772.tar.gz from vmware.com

# Extract the VMware Tools iso from it

Tar-strip-components=3-zxvf VMware-workstation-5.5.2-29772.tar.gz\

Vmware-distrib/lib/isoimages/linux.iso

# Create a temporary mount point

Mkdir / mnt/vmtools-temp

# Mount the image

Mount-o loop linux.iso / mnt/vmtools-temp

# Copy VMware Tools from the mount

Cp / mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz / tmp/

# Unmount the image and tidy up

Umount / mnt/vmtools-temp

Rmdir / mnt/vmtools-temp

Rm linux.iso

# Unpack VMware Tools to a temporary directory

Cd / tmp/

Tar zxvf VMwareTools-5.5.2-29772.tar.gz

Enter the target directory of Fedora Core 6 GCC decompression

Execute the following code and press cd / tmp/vmware-tools-distrib/ all the way to enter.

. / vmware-install.pl

Until this step, copy and paste the path of step 5, and then press enter until you select the screen resolution.

What is the location of the directory of C header files that match your running

Kernel? [/ usr/src/kernels/2.6.18-1.2849.fc6-i686/include]

I followed the installation steps on the Internet, and after doing this, I installed and went down. The following error is prompted:

What is the location of the directory of C header files that match your running

Kernel? [/ usr/src/linux/include] / usr/src/kernels/2.6.20-1.2952.fc6-i686/include

The directory of kernel headers (version @ @ VMWARE@@ UTS_RELEASE) does not match

Your running kernel (version 2.6.20-1.2952.fc6). Even if the module were to

Compile successfully, it would not load into the running kernel.

This is the end of the answer to the question on how to analyze the Fedora Core 6 GCC system. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report