网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
### 启动一台虚拟机,自定义安装
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711152933229.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
### 二、无人值守安装(无需手动配置)
#### 1、图形界面选择,制作ks.cfg
[root@localhost ~]#cd /var/ftp/
[root@localhost ~]#system-config-kickstart
#### 2、关闭防火墙
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711153732615.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
#### 3、设置密码
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711153918492.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
#### 4、自定义选包
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711153808363.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
#### 5、磁盘划分
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711153953438.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711154005267.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
#### 6、定义bash路径,防止程序无法启动
![在这里插入图片描述](https://img-blog.csdnimg.cn/20210711154057903.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
**安装方式:**
![在这里插入图片描述](https://img-blog.csdnimg.cn/2021071115561318.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl8zNzc5MTMwMw==,size_16,color_FFFFFF,t_70)
#### 7、增加配置
[root@localhost ftp]# cd /var/lib/tftpboot/
[root@localhost tftpboot]# ll
total 33660
-r–r–r-- 1 root root 30442765 Jul 11 19:50 initrd.img
-rw-r–r-- 1 root root 26828 Jul 11 19:24 pxelinux.0
drwxr-xr-x 2 root root 4096 Jul 11 20:59 pxelinux.cfg
-r-xr-xr-x 1 root root 3986992 Jul 11 19:50 vmlinuz
[root@localhost tftpboot]# vim pxelinux.cfg/default
default auto
prompt 1
#menu title Auto Install redhat
label auto
kernel vmlinuz
append initrd=initrd.img method=ftp://192.168.79.105/rhel6 ks=ftp://192.168.79.105/ks.cfg
label linux text
kernel vmlinuz
append text initrd=initrd.img method=ftp://192.168.79.105/rhel6
label linux rescue
kernel vmlinuz
append initrd=initrd.img method=ftp://192.168.79.105/rhel6
#menu end
#tree /var/lib/tftpboot/
[root@localhost ftp]# cat ks.cfg
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
Firewall configuration
firewall --disabled
Install OS instead of upgrade
install
Use CDROM installation media
cdrom
Root password
rootpw --iscrypted 1 1 1qjXP7yte$dmoJrA3EyHBroNWwvERjv.
System authorization information
auth --useshadow --passalgo=sha512
Use network installation
url --url=“ftp://192.168.79.105/rhel6”
Use graphical install
graphical
firstboot --disable
System keyboard
keyboard us
System language
lang en_US
SELinux configuration
selinux --disabled
Installation logging level
logging --level=info
Reboot after installation
reboot
System timezone
timezone Asia/Shanghai
System bootloader configuration
bootloader --location=mbr
Partition clearing information
clearpart --all
Disk partitioning information
part /boot --fstype=“ext4” --size=1024
part / --fstype=“ext4” --grow --size=1
part swap --fstype=“swap” --size=32768
%packages
@additional-devel
@arabic-support
@armenian-support
@assamese-support
@backup-client
@backup-server
@base
@basic-desktop
@bengali-support
@bhutanese-support
@brazilian-support
@burmese-support
@chinese-support
@cifs-file-server
@client-mgmt-tools
@compat-libraries
@console-internet
@czech-support
@debugging
@desktop-debugging
@desktop-platform
@desktop-platform-devel
@development
@dial-up
@directory-client
@directory-server
@eclipse
@emacs
@ethiopic-support
@fonts
@french-support
@ftp-server
@general-desktop
@georgian-support
@german-support
@graphical-admin-tools
@graphics
@gujarati-support
@hardware-monitoring
@hebrew-support
@hindi-support
@identity-management-server
@infiniband
@input-methods
@internet-browser
@inuktitut-support
@italian-support
@japanese-support
@java-platform
@kannada-support
@kashmiri-support
@kde-desktop
@khmer-support
@konkani-support
@korean-support
@kurdish-support
@lao-support
@large-systems
@legacy-unix
@legacy-x
@mail-server
@mainframe-access
@maithili-support
@malayalam-support
@marathi-support
@nepali-support
@network-file-system-client
@network-server
@network-tools
@nfs-file-server
@oriya-support
@performance
@perl-runtime
@php
@print-client
@print-server
@punjabi-support
@remote-desktop-clients
@romanian-support
@ruby-runtime
@russian-support
@sanskrit-support
@scientific
@security-tools
@server-platform
@server-platform-devel
@sindhi-support
@sinhala-support
@smart-card
@spanish-support
@storage-client-fcoe
@storage-client-iscsi
@storage-client-multipath
@storage-server
@system-admin-tools
@system-management
@system-management-messaging-client
@system-management-messaging-server
@system-management-snmp
@system-management-wbem
@tajik-support
@tamil-support
@technical-writing
@telugu-support
@tex
@thai-support
@tibetan-support
@turbogears
@urdu-support
@venda-support
@web-server
@web-servlet
@x11
ElectricFence
ImageMagick
NetworkManager-openswan
OpenIPMI
PyPAM
PyQt4-devel
SDL-devel
abrt-gui
aide
alacarte
amtu
ant
arptables_jf
arpwatch
atlas
audispd-plugins
audit-viewer
authd
babel
bacula-client
bind
bind-chroot
bind-dyndb-ldap
bitmap-fixed-fonts
bitmap-lucida-typewriter-fonts
bltk
brltty
byzanz
bzr
cachefilesd
certmonger
certmonger
chrpath
cjkuni-fonts-ghostscript
cjkuni-fonts-ghostscript
cmake
compat-dapl
compat-gcc-34
compat-gcc-34-c++
compat-gcc-34-g77
compat-openmpi
compat-openmpi-psm
conman
cpufrequtils
crypto-utils
ctags-etags
cups-devel
cups-lpd
cyrus-imapd
dcraw
dejagnu
desktop-file-utils
device-mapper-persistent-data
dhcp
dnsmasq
docbook-utils-pdf
dos2unix
dovecot-mysql
dovecot-pgsql
dovecot-pigeonhole
dropwatch
dtach
dump
dumpet
dvgrab
e2fsprogs-devel
ebtables
eclipse-mylyn-cdt
eclipse-mylyn-pde
eclipse-mylyn-trac
eclipse-mylyn-webtasks
eclipse-mylyn-wikitext
eclipse-pde
eclipse-subclipse-graph
ecryptfs-utils
edac-utils
edac-utils
efax
emacs-auctex
emacs-gnuplot
emacs-nox
expat-devel
expect
expect
fence-agents
fetchmail
fftw
fftw-devel
fftw-static
finger
finger-server
firstaidkit-gui
flightrecorder
freeglut-devel
freeipmi
freeipmi-bmc-watchdog
freeipmi-ipmidetectd
freeradius
ftp
fuse-devel
gcc-gnat
gcc-java
gcc-objc
gcc-objc++
gconf-editor
gdb-gdbserver
gedit-plugins
genisoimage
glade3
glibc-utils
gmp-devel
gnome-common
gnome-devel-docs
gnome-games
gnome-pilot
gnome-pilot-conduits
gnutls-devel
gpm
gsl
gsl-devel
gsl-static
gstreamer-plugins-base-devel
gtk2-devel-docs
hardlink
hesinfo
hmaccalc
hplip
hplip-gui
httpd-devel
hunspell-devel
i2c-tools
icedtea-web
imake
infiniband-diags
inkscape
ipmitool
ipset
iptables-devel
iptraf
iptstate
irssi
isdn4k-utils
isns-utils
jpackage-utils
junit
jwhois
kabi-yum-plugins
kdebase-devel
kdebase-workspace-akonadi
kdebase-workspace-devel
kdebase-workspace-python-applet
kdegraphics-devel
kdelibs-apidocs
kdelibs-devel
kdemultimedia-devel
kdenetwork-devel
kdepim-devel
kdepimlibs-devel
kdesdk
kdesdk-devel
kdewebdev
kernel-doc
krb5-appl-clients
krb5-appl-servers
krb5-auth-dialog
krb5-pkinit-openssl
krb5-server
krb5-server-ldap
krb5-workstation
ksh
lapack
ldapjdk
lftp
libXau-devel
libXaw-devel
libXinerama-devel
libXmu
libXmu-devel
libXp
libXpm-devel
libXrandr-devel
libaio-devel
libblkid-devel
libbonobo-devel
libcap-devel
libdrm-devel
libgcrypt-devel
libglade2-devel
libgnomeui-devel
libgudev1-devel
libhugetlbfs-devel
libibcommon
libibverbs-devel
libmemcached
libnl-devel
libstdc+±docs
libtiff-devel
libtopology-devel
libudev-devel
libusb-devel
libuuid-devel
libxslt-devel
lksctp-tools
lm_sensors
logwatch
lslk
lsscsi
mailman
matahari
mc
memcached
memtest86+
mercurial
mgetty
migrationtools
mingw32-matahari
mipv6-daemon
mkbootdisk
mksh
mod_auth_kerb
mod_auth_mysql
mod_auth_pgsql
mod_authz_ldap
mod_dav_svn
mod_nss
mod_revocator
mpich2
mpitests-mvapich
mpitests-mvapich2
mpitests-openmpi
mrtg
mstflint
mt-st
mtools
mtx
mutt
mvapich
mvapich-psm-devel
mvapich-psm-static
mvapich2
mvapich2-psm-devel
nasm
ncompress
ncurses-term
net-snmp-devel
net-snmp-perl
net-snmp-python
netlabel_tools
netpbm-progs
nmap
nscd
nss-pam-ldapd
nss_db
numactl-devel
numpy
nuxwdog
oddjob
opencryptoki
openhpi
openhpi-subagent
openldap-clients
openldap-servers
openmotif
openmotif-devel
openmotif22
openmpi
openmpi-devel
openscap
openscap-utils
opensm
openwsman-server
oprofile-gui
oprofile-jit
pam_krb5
pam_ldap
papi
papi-devel
pax
pcre-devel
perftest
perl-CGI
perl-CGI-Session
perl-Cache-Memcached
perl-DBD-SQLite
perl-Date-Calc
perl-Date-Manip
perl-Frontier-RPC
perl-LDAP
perl-Mozilla-LDAP
perl-Test-Pod
perl-Test-Pod-Coverage
perl-suidperl
perltidy
pexpect
php-ldap
php-mysql
最全的Linux教程,Linux从入门到精通
======================
-
linux从入门到精通(第2版)
-
Linux系统移植
-
Linux驱动开发入门与实战
-
LINUX 系统移植 第2版
-
Linux开源网络全栈详解 从DPDK到OpenFlow
第一份《Linux从入门到精通》466页
====================
内容简介
====
本书是获得了很多读者好评的Linux经典畅销书**《Linux从入门到精通》的第2版**。本书第1版出版后曾经多次印刷,并被51CTO读书频道评为“最受读者喜爱的原创IT技术图书奖”。本书第﹖版以最新的Ubuntu 12.04为版本,循序渐进地向读者介绍了Linux 的基础应用、系统管理、网络应用、娱乐和办公、程序开发、服务器配置、系统安全等。本书附带1张光盘,内容为本书配套多媒体教学视频。另外,本书还为读者提供了大量的Linux学习资料和Ubuntu安装镜像文件,供读者免费下载。
本书适合广大Linux初中级用户、开源软件爱好者和大专院校的学生阅读,同时也非常适合准备从事Linux平台开发的各类人员。
需要《Linux入门到精通》、《linux系统移植》、《Linux驱动开发入门实战》、《Linux开源网络全栈》电子书籍及教程的工程师朋友们劳烦您转发+评论
网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!