In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Xiaobian to share with you how to install SUSE Linux Enterprise 10 application PXE, I hope you have something to gain after reading this article, let's discuss it together!
I. Prerequisites.
A computer with SUSE Linux Enterprise 10 installed to provide DHCP,TFTP,FTP services.
SUSE Linux Enterprise 10 installation image file sles-10-x86-cd1.iso_cd4.iso
3. The client has a network card that supports PXE boot.
2. Server settings. (IP Address 192.168.5.1)
1. Set up dhcp service.
Edit the file/etc/dhcpd.conf. Here is an example of a dhcpd.conf file.
default-lease-time 6000;
max-lease-time 72000;
ddns-update-style none; ddns-updates off;
subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.2 192.168.5.4;
option routers 192.168.5.1;
}
host lin {
hardware ethernet 00:11:25:68:a5:c6; #Client's NIC hardware address
fixed-address 192.168.5.2; #IP address assigned to client
server-name "192.168.5.1"; #Specify the IP address of TFTP
next-server 192.168.5.1;
filename "/tftpboot/pxelinux.0"; #Specifies the file containing the PXE boot program
}
Start dhcp service: # rcdhcpd start
2. Set up tftp service.
First check if tftp server software is installed on the system: Enter rpm -qa| grep atftp.
If prompted not to install, please install with Yast. (Note: SUSE Linux 10 does not have atftp installed by default)
Edit the/etc/sysconfig/atftpd file, which reads as follows
ATFTPD_OPTIONS="--daemon --user tftp -v"
ATFTPD_USE_INETD="no"
ATFTPD_DIRECTORY="/srv/tftp"(Note: /srv/tftp directory needs to be manually created)
Then add a tftp user: useradd -m tftp
Start tftp service: # rcatftpd start
3. Set up PXE boot environment
First make sure that syslinux packages are installed on your system. (Note: SUSE Liunx 10 has enterprisesyslinux installed by default)
run the following command
# cd /srv/tftp
# mkdir tftpboot
# cd tftpboot
# mkdir pxelinux.cfg
# cp /usr/share/syslinux/pxelinux.0 /srv/tftp/tftpboot
# vi /srv/tftp/tftpboot/pxelinux.cfg/default
The requested URL/srv/tftp/tftpboot/pxelinux.cfg/default was not found on this server.
default linux
prompt 1
timeout 30
label linux
kernel linux
append initrd=initrd splash=silent showopts
4. Load the installation image file
# mkdir /sles10
# mkdir /sles10/cd{1,2,3,4} (Note: Create directories cd1,cd2,cd3,cd4 under/sles10/)
# mount -o loop /mnt/wind/sles-10-x86-cd1.iso /sles10/cd1
# mount -o loop /mnt/wind/sles-10-x86-cd2.iso /sles10/cd2
# mount -o loop /mnt/wind/sles-10-x86-cd3.iso /sles10/cd3
# mount -o loop /mnt/wind/sles-10-x86-cd4.iso /sles10/cd4
Copy linux and initrd files from cd1 directory to/srv/tftp/tftpboot
# cd /sles10/cd1/boot/i386/loader
# cp linux /srv/tftp/tftpboot/
# cp initrd /srv/tftp/tftpboot/
5. Set up FTP service. Allow anonymous logins and set their login home directory to/sles10/.
The home directory for anonymous logins can be set by modifying the/etc/passwd file. as follows
ftp:x:40:49:FTP account:/sles10:/bin/bash
Start the FTP server.
(For detailed ftp server settings, please refer to the related information.)
III. Client installation
1. Set it to network boot in BIOS
2) Restart the computer. If the settings are correct, the system will automatically obtain IP.
3. Run until boot: Yes appears, enter the command
boot:linux install=ftp://192.168.5.1/cd1
(Note: install specifies the location of the ftp server and the location of the installation files; input is faster.)
4. Enter the SUSE Linux installation interface. For steps, please refer to the document Installing SUSE Linux on Hard Disk.
Enterprise 10》
/dev/sda8 /windows/M vfat users,gid=users,umask=0002,utf8=true,codepage=936 0 A line like this is equivalent to
Code:mount -t vfat -o users,gid=users,umask=0002,utf8=true,codepage=936 /dev/sda8 /windows/M
After reading this article, I believe you have a certain understanding of "How to install SUSE Linux Enterprise 10 application PXE". If you want to know more about this knowledge, please pay attention to the industry information channel. Thank you for reading!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.