Use LINUX to set up LAN-Linux Enterprise Application-Linux server application information. The following is a detailed description. First of all, I am not a linux master (not a low-handed master of course). I wrote this article to share some of my experiences with you, thanks to so many resources on the Internet, my network and computer technology have advanced in a short time.
Disclaimer: This file can be copied for free on the Internet, but it cannot be used for commercial purposes. The linux release version I use is slackware 3.4. The files mentioned in this Article, if not specifically the files included in slackware 3.4.
Step 1:
1. software. I use slackware 3.4. This article also applies to redhat, debian, and other linux releases.
2. Hardware. You 'd better find a linux hardware howto with a list of linux-applicable hardware. You can go to sunsite to find the latest version of this file, there is a list of the latest linux hardware.
Step 2:
Hardware installation,
Step 3:
1. First, you can find a few basic unix entry documents. linux is compatible with most unix systems and know some basic unix and linux commands, such as ls, cp, and mv.
2. install linux. Because this article is not dedicated to linux installation, I suppose you have installed linux. If you have no idea about this, you can: http://www.clinux.ml.org/linux/index.htm to find the entry-level information you want, General if you are not very special requirements, the general questions can be satisfied with the above answer, I believe you will be satisfied with some of the Chinese linux howto.
Step 3:
For core compilation, you must first determine that your Nic is supported by the core of linux. Only in this way can you compile the NIC support into the core, you can go to the 3.4 CD to include the 2.0.30 and 2.1.57 core components. I have compiled the core program for about 50 or 60 times (I am crazy ). Install the software package in the/usr/src/liunx subdirectory. You can use gzip-d * to open the core package, such as linux2.0.30.tar.gz, and then use tar-xvmf file .tar to unmount the file, you can also use tar-xvmzf file name .tar.gz to unbind the file and then use make config to configure the core, but it is best to use make menuconfig to configure the core, if you have X window, you can also use make xconfig to configure and save the core configuration so that you can compile the core, before compiling the core, you can use make dep to determine whether the core driver files match each other. If no error is reported, You can compile the core.
You can also use make zImage (case-sensitive) to compile the core. In this way, you can generate a file called zImage for core startup, note that zImage cannot exceed kb and cannot be mounted to the boot zone by lilo for system startup. After compilation, you can use the cp command to copy zImage to the/(root directory) to back up the original core file and rename it to the original core file name using zImage, for example, linuz and so on, and then execute lilo. Be sure to execute lilo so that your core will be officially loaded into the system, and then start with reboot. Then you can use the new core. If it crashes, you can enter ramdisk root =/dev/hda in the boot drive of linux? That is, linux/and mount hard disk partitions, and then delete the new core and change it back to the original core file and then execute lilo. Confirm your core's support for your network card. Generally, you can view the network card port and hardware address information at the core startup. If you do not see any other problems, you can view ethernet-howto, this document provides a detailed description of the Ethernet Card.
Step 4
Network settings, I think this is the most important thing. I suffered a lot of losses on this, because I did not take a closer look at the TCP/IP information, I hope you will have a preliminary understanding of TCP/IP before networking. First, you are sure to complete the basic network file configuration during installation, such as the TCP/IP package and sendmail package, then, use netconfig to set your network settings. First, enter your host name, your host domain name, your host IP address, and the gateway address, then fill in the subnet mask. Note: if you use a class C address, your subnet mask must be 255.255.255.0. If it is a Class address, it must be 255.255.255.0.0. Otherwise, there will be no other problems, the subnet mask is incorrect. No matter how you ping another machine, you will not be able to ping it. If you do not have a Domain Name Server, do not configure the IP address of the Domain Name Server to be accessed by the Domain Name Server. Then ping the IP address of a host over Ethernet. If the response is 0% loss, you will be able to enjoy the fun of linux. For example, before you officially telnet a host on the internet, you can telnet over the LAN, you can also enjoy ftp host. Only in this way can you better understand the entire internet world. Of course, you can use linux as an NFS server on the unit, it's really nice to use win95. If you have any questions, you can use email address: du-min@usa.net to communicate with me continuously du liangmin, cavalier
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