Ho kenngoa ho fokolang ha CentOS/Fedora/RedHat

Ha ke na pelaelo ea hore li-dons tse ntle - batsamaisi ba Linux - ba leka ho fokotsa sete sa liphutheloana tse kentsoeng ho seva ka hohle kamoo ho ka khonehang. E na le chelete e ngata, e bolokehile ebile e fa mookameli maikutlo a ho laola ka ho feletseng le kutloisiso ea mekhoa e tsoelang pele.

Ka hona, boemo bo tloaelehileng ba ho kenya ts'ebetso ea pele ea tsamaiso e shebahala joaloka ho khetha khetho e fokolang, ebe o e tlatsa ka liphutheloana tse hlokahalang.

Ho kenngoa ho fokolang ha CentOS/Fedora/RedHat

Leha ho le joalo, khetho e fokolang e fanoang ke CentOS installer e fetoha e seng e nyenyane haholo. Ho na le mokhoa oa ho fokotsa boholo ba ho kenya tsamaiso ea pele ka mokhoa o tloaelehileng oa litokomane.

U sebelisa sistimi ea ts'ebetso ea CentOS mosebetsing, haufinyane u tla fumana boiketsetso ba ts'ebetso ea eona u sebelisa mochini oa Kickstart. Ha ke so kenye CentOS ka sehokelo se tloaelehileng ka nako e telele. Nakong ea mosebetsi, pokello e lekaneng ea li-file kickstart e 'nile ea bokelloa, e leng se u lumellang hore u sebelise mekhoa e ikemetseng, ho akarelletsa le LVM, li-partitions tsa crypto, tse nang le GUI e fokolang, joalo-joalo.

'Me kahoo, ho e' ngoe ea litokollo tsa mofuta oa 7th, RedHat e kentse khetho e tsotehang ho Kickstart, e leng se u lumellang hore u ntlafatse ho fokotsa setšoantšo sa tsamaiso e kentsoeng:

-- nocore

E thibela ho kenngoa ha konokono sehlopha sa sephutheloana seo ka tsela e 'ngoe se kentsoeng kamehla. Ho thibela konokono sehlopha sa liphutheloana se lokela ho sebelisoa ho theha lijana tse bobebe; ho kenya komporo kapa sistimi ea seva ka --nocore ho tla fella ka sistimi e ke keng ea sebelisoa.

RedHat e lemosa ka botšepehi ka liphello tse ka 'nang tsa e-ba teng tsa ho sebelisa khetho ena, empa lilemo tsa ka tsa tšebeliso sebakeng sa sebele li tiisa botsitso le ho sebetsa ha eona.

Ka tlase ke mohlala oa faele e nyane ea ho kenya kickstart. Ba sebete ba ka qhelela yum ho eona. Itokisetse lintho tse makatsang:

install
text

url --url="http://server/centos/7/os/x86_64/"

eula --agreed
firstboot --disable

keyboard --vckeymap=us --xlayouts='us'
lang en_US.UTF-8
timezone Africa/Abidjan

auth --enableshadow --passalgo=sha512
rootpw --plaintext ***

ignoredisk --only-use=sda

zerombr
bootloader --location=mbr
clearpart --all --initlabel

part /boot/efi --fstype="efi" --size=100 --fsoptions="umask=0077,shortname=winnt"
part / --fstype="ext4" --size=1 --grow

network --bootproto=dhcp --hostname=localhost --onboot=on --activate

#reboot
poweroff

%packages --nocore --nobase --excludedocs
yum

%end

%addon com_redhat_kdump --disable

%end

Ke batla ho hlokomela hore CentOS / RedHat e tšepahala haholoanyane ho Fedora tlhalosong ea khetho. Ea morao-rao e tla senya tsamaiso hoo e tla hloka ho tsosolosoa ka ho eketsoa ha lisebelisoa tsa bohlokoa.

Joaloka bonase, ke tla fana ka "spell" bakeng sa ho kenya tikoloho e fokolang ea litšoantšo ho CentOS / RedHat (mofuta oa 7):

yum -y groupinstall x11
yum -y install gnome-classic-session
systemctl set-default graphical.target

Ka bobeli setšoantšo se fokolang sa tsamaiso ea ts'ebetso le tikoloho e fokolang ea litšoantšo li 'nile tsa lekoa ke' na 'me li sebetsa ho litsamaiso tsa sebele.

Source: www.habr.com

Eketsa ka tlhaloso