Step-by-Step learning of LINUX software configuration

Source: Internet
Author: User

LINUX Configuration

Here, the configuration object is not the kernel, but the software. The network configuration is basically completed in the installation system. You can also select liloconf from the menu on the GUI.

Like WINDOWS, application software can be installed from a CD or floppy disk in LINUX. However, the difference is that it needs to use the command mount to log on to the optical drive or a soft drive. In addition, most of the software is compressed, so you still need to know how to decompress it. Finally, it must be configured and compiled to run. The following is an introduction in four aspects:

1. mount Logon

The LINUX drive device uses a special file/dev/fd0 and the file system is msdos. Therefore, use the following command to log on and read the content of the floppy disk:

# Mount-t msdos/dev/fd0/mnt/floppy
# Cd/mnt/floppy
Similarly, type the following command to read the disc:
# Mount-t iso9660/dev/hdb/mnt/cdrom
# Cd/mnt/cdrom
Then, run the cp command to copy the required software to the system.
Exit the software drive and use the umount command for the optical drive. Note: you cannot use this command in its directory, but should first cd to another directory before using: umount/mnt/cdrom.
  
Ii. Install software

For linuxsoftware generally ends with .gzor .tarw..tar.gz. The former is compressed by gzip, and the latter is archived by tar and compressed by gzip.

1. Use the command gzip-d filenameto decompress the compressed file ending with .gz. The obtained file is in the current directory, but it has no. GZ file.

2. Run the tar-xvf filenamecommand to create an archive file ending with .tar. The generated file is in the same directory as the source file, and only .tar is missing.

32.16.tar.gz is the most common file. You can run the following command to install it: gzip-cd filename | tar xfv.

Generally, the first item of this type of files is a directory. Therefore, this directory will be created and all files will be stored under this directory when the preceding command is used. In special cases, run tar-tvf filename | more to view the first object. If it is not a directory, create a directory first, store the file under this directory, and run the command tar-xvf filename to install the file.

After the preceding steps, files such as README and INSTALL are generated. Use vi to carefully read these files to create LINUX-related parts, more specifically for configuration. The general steps are: (1)./config, (2) make install, (3) make. The main change is in the first step. parameters are required later. You can see the command to select./config -- help.
  
3. For example, I have configured apache (apache server) and php3 software.

First download the software apache.tar.gz?php3.tar.gz for linuxfrom the internet.

1xx is because apache.tar.gz is greater than 1.44 M. Therefore, I use the telnet command on MSDOS of center_5 to log on to LINUX and upload it through put.

2. I will place the two software under the/usr/src directory and use the command gzip-cd apache.tar.gz(php3.tar.gz) | tar xfv-for installation. This will see two directories: apache_1.3.6 and php-3.0.7.

3. Under the first directory, you will see the most important files: README and INSTALL. If it is in the GUI, you can open two xterms, one for careful reading, and the other for configuration according to the prompts of the file.

4. In the second directory, you will soon find the files: INSTALL, INSTALL. DSO, and README. QNX. Steps are similar to 3. Because these two files are correlated, you must configure the former.

5. After configuration, enter/apache_1.3.6/conf/httpd. conf. In the file, understand its comments, delete or add some options before "#". After saving the file, run the command/usr/src/apache_1.3.6/bin/apachectl start to open http and then browse the Web page in Netscape Communication.

After learning for more than a month, I have been dealing with a brand new operating system. Most of the operations are implemented by typing the commands myself, in this way, you can gain a deep understanding of the operating system kernel.

1. understand some basic UNIX commands;
2. Familiar with vi text editing;
3. Know how to compile and compile C, C ++, and JAVA programs on LINUX and UNIX;
4. I have learned more about the network principle, configured the network application software, and understood the general steps of software installation.
5. After all, there are few applications for LINUX today, and RedHat LINUX does not support Chinese characters, so it cannot be completely isolated from WINDOWS. Therefore, the advantages of LINUX as a very good network server operating system should be used to foster strengths and circumvent weaknesses.

Because you do not have enough knowledge about the operating system, you cannot modify or develop the kernel on your own. Instead, you can stay on the basis of general understanding and basic operations. Because I learned LINUX to first understand UNIX on a PC, this is the main purpose. Of course, this period of learning is centered around this purpose.

Related Article

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.