Run format of the installation video card in Linux

Source: Internet
Author: User

Install the video card in Linux today. The operating system is centos6, 64-digit. Download the corresponding video card file from the Official Website Based on the video card type.

You can use lspci | grep VGA to view the video card information.

The downloaded file ends with "run". In fact, it is easy to install software on Linux, but it is also very difficult. Why do you say this, from the perspective of my contact, there are several types:

Directly decompress the configuration, such as the files ending with .tar.gz).tar, tomcat, Java, and eclipse.

For this type of files, chmod U + X and./bin

Some files such as. Sh are actually an installation script. You only need to use./sh.

Of course, for source code files, there is usually a configure file, then make compilation, and then make install installation.

I have never touched anything else.

However, to make the software run normally, one common task in Linux is to check the dependency package. This is annoying, especially when Yum and other tools are not available, dependent packages often depend on other packages, so this is what I said is more difficult.

 

The installation method is the same as that at the end of bin.

During installation, switch the system to the 3 mode, that is, the character interface, because the installation of the video card cannot be in the graphical interface, but encountered an error during installation. In fact, an error is prompted during installation, this is also a solution, but I hope there are not too many errors. Haha, the prompt is that there is a video card in the system, it cannot be installed, and Google is inertial, I found that the original centos 6 or later comes with the Nouveau video card, and need to disable it. At the same time, find the following steps and I will paste it by the way.

 

1. Download the corresponding model files from the official website.

2. Because the driver and the kernel source code are compiled, you need to install the following kernel-related packages and some source code compilation kits:
Yum install kernel-devel kernel-Doc kernel-headers GCC \ * glibc -\*

3, sometimes glx-utils.x86_64 will and driveProgramYou are advised to delete the conflict first:
Yum remove Glx-utils

NOTE: If Nouveau is installed by default in centos 6, a third-party open-source NVIDIA driver must be disabled:

I)
Add the driver to the blacklist:/etc/modprobe. d/blacklist. conf is added later:
blacklist nouveau
II) view the file name of your kernel in/boot, my is centos6.2 kernel named initramfs-2.6.32-220.el6.x86_64.img
using dracut backup initramfs image file:
sudo mV/boot/initramfs-2.6.32-220.el6.x86_64.img/boot/initramfs-2.6.32-220.el6.x86_64.img.bak
recreate the initramfs file:
sudo dracut-V/boot/initramfs-2.6.32-220.el6.x86_64.img
III)
repair Change the start mode of/etc/inittab to 3, and the text mode to
ID: 3: initdefault:
after restarting, enter the text mode and you will find that the font in the terminal has increased, that is to say, the driver is not loaded, Nouveau is disabled, and nouveau driver is loaded again:
lsmod | grep nouveau
If no result is returned, note that nouveau has been disabled.

4. Add execution permissions and install them:
Chmod + x NVIDIA-Linux-x86_64-295.53.run &./NVIDIA-Linux-x86_64-270.41.19.run
After installation, change the startup mode to 5:
ID: 5: initdefault:
Restart the system and log on to the desktop. The "System"-"Preferences"-"More Preferences"-"nvidia x Server Settings" menu appears.

Http://hi.baidu.com/yanjunhui/item/76cdf8a88d268b9e141073f7

Http://nkevin.blog.163.com/blog/static/4481948120097975538672/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.