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 install hardware under Linux

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces "how to install hardware under Linux". In daily operation, I believe many people have doubts about how to install hardware under Linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to install hardware under Linux". Next, please follow the editor to study!

1. How much hard disk space does it take to install Linux?

It depends on what distribution's Linux is installed, how many applications need to be loaded, whether or not to install the original code, and so on.

For example, the most basic Slackware Linux needs about 10MB space, including X Windows is 80m, if you want to install the basic > system tools, common applications and TCP/IP network software (that is, A, B, N series numbered software), almost 40-50MB, if you want to install all, about 200MB.

As for RedHat Linux, the minimum installation (only the most basic system) requires about 60m, the default installation is about 250m, and all installation requires about 340m, including the original code, X-windows, some commonly used tools, applications and leaving some spool space, about 450m 500m.

500Mb--1GB is required to install Debian GNU/Linux.

2. How to install the hardware driver of Linux?

Linux supports a wide variety of computer hardware, which is done through the software Driver. These Drivers are included in Kernel Source code. If you want to learn how to write Driver, you can go to the / usr/src/linux/drivers directory to find the source code of the corresponding driver, or refer to Kernel Hack FAQ.

The method of "hanging" a Driver in Linux environment is completely different from that of DOS. Under DOS, it is hung up by adding the corresponding driver to CONFIG.SYS, and the method of Linux is hung through the compilation of the system core (Recompile Kernel). In the process of compilation, necessary functions and hardware categories are selected, and then all corresponding Drivers will be automatically compiled into the kernel and become a part of Kernel image. After the Linux2.0 version, a more powerful Module module is added, which allows users to load or remove drivers at any time, making the installation of Linux hardware drivers easier and safer.

3. How to install the display card?

For i740 graphics cards, use AX4.1+4100.000.tar.gz I740/NeoMagic display card downloads a rpm package. For the following versions of RedHat6.0 (including 6.0), since the video card database does not have i740, download the new graphics card database, 1.i386.taz, download the two files xf86config-glibc-1.1.0.i386.tgz XFCom-i740-glibc-1.10-1.i386.taz, then extract them to the / tmp/usr/X11R6/bin/ directory, and then copy them to the corresponding directory in the root directory. Finally, configure xf86config. Commercial i740 graphics card driver, you can visit: http;//www.metrolink.com. I740 graphics card Xserver has AccelerateX 4.1, but it is not free, the price is still very high.

For S3 V2/G2 (such as Winfast S680), use AX4.1+ 016 update; as for Riva TNT, there is XF86's Patch on Nvidia's home page, and the new XF86 3.3.3 is also supported.

For Savage 3D graphics cards of S3, the Linux distribution package can only use VGA16's X server, and can only achieve 320X200 resolution in X windows. You can use the following methods to make Linux support Savage 3D graphics cards:

(1) download the Savage 3D graphics card X server and copy it to the temporary directory / temp

(2) configure the XF86Config file by SVGA, log in to ROOT, enter the directory / usr/bin/X11R6, enter XF86Config to start configuration, configure mouse, keyboard, monitor, display card, configuration program asks whether to choose from its graphics card database, because it only supports VGA16 on Savage 3D cards, so choose NO, and then select 3 to use XF86-SVGA server to establish a symbolic link to select YES.

(3) install the X server of the Savage 3D graphics card, enter the temporary directory / temp, install it with rpm-I Xfree86-S3D-0.1-3.i386.rpm, enter / usr/bin/X11R6,cpXF86-SVGA XSVGA,cp XF86-S3D XF86-SVGA, and finally enter startx-bpp32 to start X windows with true color.

18. How to install a graphics card without driver in X windows? How do I view the display card configuration in X window?

Just load the driver of the main chip of the video card (for example, the main chip of the WINFAST S680 display card is S3VIRGE GX/2).

Use SuperProbe under console to view the configuration of the display card.

4. How to configure PS/2 mouse under X-WINDOW? What should I pay attention to when installing the mouse on RedHat Linux? The solution that mouse doesn't listen to me under X windows?

An easier way is to use XF86Setup to configure. Alternatively, you can directly modify the [MOUSE] section of the XF86Config file to make sure that the mouse device in the file points to / dev/psaux and is generally OK.

Attention should be paid to the mouse installation on RedHat Linux:

First, check whether there is a / etc/sysconfig/mouse file, which is as follows:

MOUSE TYPE= "Microsoft"

XEMU3=yes

In addition, there must be a / etc/rc.d/init.d/gpm file with settings that match the mouse type. Note: in popular computers, MOUSE TYPE is "PS/2".

The solution to mouse's failure: there are several lines in the / etc/X11/XF86Config file (Redhat) or / etc/XF86Config (slackware) file:

Section "Pointer"

Protocol "MouseSystems"

Device "/ dev/mouse"

Explain what protocol the mouse is and what interface it uses. Check it.

5. How to set up the keyboard under RedHat Linux?

If you omit to set up a keyboard during installation, or switch to another keyboard, you need to:

(1) Select the appropriate keyboard table from / usr/lib/kbd/keytables/; for example, it.map represents the Italian keyboard

(2) Edit / etc/sysconfig/keyboard to use: KEYTABLE= "/ usr/lib/kbd/keytables/it.map"

(3) set the repetition rate and delay time of the keyboard and attach the following to one of the documents in / etc/profile or rc:

/ sbin/kbdrate-s-r 16-d 500 # or whatever-- or other values

(4) finally, run the following instructions to allow keyboard setting: ~ # chmod 666 / dev/port

The next time you turn it on, the keyboard will work properly.

6. How much memory is required to run the Linux system?

At least 4MB, if it is 4m, it is more troublesome to install. If it is used in character terminal mode, it must have at least 4MB; if you want to use X-windows, you must have at least 8MB. If you use Linux as server, you must have at least 16MB memory, while running software like Netscape requires 64MB of memory.

7. What if the amount of memory identified by the system is less than the actual amount (for example, 128m)?

Add the parameter mem=128M to boot

1) if you use loadlin, in the linux.bat file

At this point, the study on "how to install hardware under Linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

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