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

What are the solutions to common problems in linux system

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

Share

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

Today, I will talk to you about the solutions to common problems in the linux system, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something according to this article.

For the beginners of the Linux system, they will encounter a lot of problems of one kind or another, and most of the time the novice will be at a loss when they encounter the corresponding problems and do not know how to deal with them. So the following summarizes some common linux system problems for your reference, hoping to help you.

1. How to build multiple users

The command to create multiple users in the linux system is "adduser newuser". Enter and enter will find that the screen does not respond to the command at all. Is that wrong? Of course not, in fact, the system has accepted the new user, at this time should continue to enter the command "passwd newuser", this time the screen will prompt for a password, re-confirm after the new user will be added.

Need to pay attention to do not always use root users, to know that the rights of root users in the system is unparalleled, if improper operation may destroy the system.

How to use non-linux partitions such as floppy disk, CD-ROM and DOS under 2.linux system

For beginners, this question should be asked with a high rate, because everyone is used to the access method of windows, so they will subconsciously use the access idea of windows to find floppy disks and CDs, but linux is an act that UNIX treats devices as files, so if you want to access them, you must first load them into the / mnt directory of the linux system.

The mount command is mount, and the format is: mount-t file system type device name mount directory, in which the file system type is the partition format. Linux supports many file system types: including msdos DOS partition file system type, vfat partition file with long file name (can be understood as Windows file) system type, iso9660 CD file system type, ext2 linux system type.

The device name refers to the name of the device you want to load. The floppy disk is generally / dev/fd0 fd1; CD-ROM, then it is decided according to the location of your CD-ROM drive. Usually the CD-ROM drive is installed at the location of the second hard disk / dev/hdc;. If you visit the partition of the four DOS, list its device name, for example, / dev/hda1 refers to the first partition of the first hard disk. The last load directory is the load point for the device you specify.

① load floppy disk

First use mkdir/mnt/floppy to resume an empty floppy directory in the / mnt directory, then type mount-t msdos/dev/fd0/mnt/floppy to load a floppy disk in the DOS file format, and then you can find all the contents of the floppy disk in the / mnt/floppy directory.

C disk where ② loads Windows

Mkdir / mnt/c create an empty c directory under the / mnt directory

Mount-t vfat / dev/hda1 / mnt/c loads the C disk of Windows into the / mnt/c directory in a long file name format, where you can later read and write the contents of the C disk root directory.

③ loading CD

Mkdir / mnt/cdrom create an empty cdrom directory under the / mnt directory

Mount-t iso9660 / dev/hdc / mnt/cdrom loads the CD into the file system and will find the contents of the CD in the / mnt/cdrom directory. Some Linux versions allow you to load the disc with the mount / dev/cdrom or mount / mnt/cdrom command.

It is important to note that the mount command is used to load floppy disks and CDs, not floppy drives and CD-ROMs. Some beginners are easy to make a mistake, thinking that after using the above command, the floppy drive becomes / mnt/floppy, and the CD-ROM drive becomes / mnt/cdrom. In fact, when you want to change a CD or floppy disk, you must uninstall it first, and then reload the new disk.

④ uninstall

The uninstall command format is: umonut directory name, for example, to uninstall a floppy disk, enter the command umonut / mnt/floppy. It is important to note that directly pressing the eject button on the CD drive panel will not work before uninstalling the CD.

How to install the application software in 3.linux system

For beginners who want to install or upgrade software, you can use Red Hat's package installation and management tool RPM. After using it, you can easily install, upgrade and uninstall the software and query the software information.

Of course, if you install Red Hat Linux, you can use PRM directly. If not, you need to download PRM first.

After downloading the corresponding RPM package, run it once in the Linux command line:

Cd/

Tar xzvf rmp-2.3.11.tar.gz

Cd rpm-2.3.11

. / configure

Make

Make install

Mkdir / var/local/ var/local/lib

/ var/local/lib/rpm / var/lib/rpm

This completes the installation, but how do you use PRM after installation? In fact, it is relatively simple:

① installs the package with RPM: rpm-ivh software filename

For example, the rpm-ivh fvwm95-2.0.43a.chinese-1.i386.rpm screen will print the name of the package and the installation progress bar: fvwm95 #

When the progress bar goes to the end, the Chinese fvwm95 (a X-Window interface) is installed, and then run X-Window, ah, all Chinese fvwm95 is right in front of me.

② reverse installation package with RPM: rpm-e software name

For example: rpm-e fvwm95

③ upgrade package with RPM: rpm-Uvh software upgrade file name

For example: rpm-Uvh fvwm95-2.1.0a.chinesemur1.i386.rpmMagee RPM automatically uninstalls the old version and installs the upgraded version of the software into the system. How is it? it's not difficult!

4. How to view Linux files in Windows system

Want to view in the Linux system and use Windows files can use the load command mount, it is very simple, but want to see Linux files in Windows production is a little more troublesome, because the Windows system is not equipped with Linux communication tools, you need to download a Linuxdos gadget, and then run under Windows, specifically for viewing Linux files.

How to turn 5.Linux system into Chinese?

Generally speaking, the language of the Linux system is different from that of the Windows system. There is a Chinese version of the Windows system, but there is only English for the Linux system. If English is good or can be used, it will undoubtedly make things worse for the students who are not very good at English. However, there is no need to worry that there are already "seniors" who have provided a comprehensive solution for the Sinicization of the Linux system, just download and see the tutorial installation.

We must pay more attention to these common Linux system problems, especially for beginners.

After reading the above, do you have any further understanding of the solutions to common problems in linux systems? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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