Otu esi etinye Cockpit na Debian 11 Bullseye

Cockpit bụ onye njikwa ihe nkesa dịpụrụ adịpụ n'efu nke dị fechaa ma dịkwa mfe iji maka sava GNU/Linux. Cockpit bụ a interface eserese dabere na webụ maka sava ezubere maka ndị ọhụrụ na Linux ndị ọkachamara dị ka sysadmins. Cockpit na-eme ka a chọpụta Linux, na-enye onye ọ bụla na-eji ngwanrọ ahụ aka ịrụ ọrụ dịka mmalite arịa, na-elekọta nchekwa, hazie netwọk, na nyochaa ndekọ.

N'ime nkuzi a, ị ga-amụta Otu esi etinye Cockpit na sistemụ arụmọrụ Debian 11 Bullseye gị.

Nhazi tupu wụnye maka kokpiiti

Site na ndabara, Cockpit dị na ebe nchekwa ndabara. Agbanyeghị, dị ka ọtụtụ ngwungwu dị na kwụsiri ike nke Debian, n'oge na-adịghị anya ọ ga-adị anya n'azụ na mmelite. Nkuzi a ga-etinye Cockpit site na ebe nchekwa Debian Bullseye Backports, nke a na-emelite karịa ka ọ kwụsiri ike na-abanyeghị na mpaghara nnwale / akwụghị ụgwọ.

Nkuzi a ga-ejikwa APT Pinning, yabụ echefula ịnweta mmelite site na iji ọkọlọtọ apt update iwu ma ghara igbochi ngwugwu Debian 11 kwụsiri ike na ndabara.

Mbụ, mepee faịlụ mmasị dị ka ndị a:

sudo nano /etc/apt/preferences

Na-esote, detuo na mado ndị na-esonụ.

Package: *
Pin: release a=bullseye
Pin-Priority: 500

Package: cockpit
Pin: release a=bullseye-backports
Pin-Priority: 1000

Package: *
Pin: release a=bullseye-backports
Pin-Priority: 100

Chekwaa faịlụ CTRL+O, wee pụọ CTRL + X.

Nchịkọta nke ihe ị gbakwunyere.

  • A na-eji ndabara eme ihe n'azụ azụ maka kokpiiti ngwugwu mgbe niile.
  • Ngwunye niile ga-eji Debian 11 Stable na ndabara.
  • Ndabere ga-abụ azụ azụ ma ọ bụrụ na ihe ọ bụla adịghị na kwụsiri ike.

Ugbu a, ị ga-achọ ịgbakwunye ma ọ bụ azụ azụ na nke gị /etc/apt/sources.list ọ bụrụ na ọ nọbeghị

Bubata Debian 11 “Bullseye” Backports:

echo "deb http://deb.debian.org/debian bullseye-backports main contrib non-free" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free" | sudo tee -a /etc/apt/sources.list

Melite ebe nchekwa gị iji gosipụta mgbakwunye ọhụrụ.

sudo apt update

N'oge ugbu a, Cockpit na Debian 11 ebe nchekwa kwụsiri ike dị 239 Version.

Backports nwere ugbu a 256 Version.


Advertisement


Wụnye kokpiiti

Ugbu a ị guzobela isi iyi ọhụrụ iji wụnye Cockpit na sistemụ Debian 11 gị, mebie iwu a na ọdụ gị.

sudo apt install cockpit

Ihe atụ mmepụta:

Otu esi etinye Cockpit na Debian 11 Bullseye

Ụdị Y wee pịa Tinye igodo ịga n'ihu na mezue nrụnye.

Kwado ụdị arụnyere site na iji iwu amụma apt-cache.

Otu esi etinye Cockpit na Debian 11 Bullseye

Dị ka n'elu, ị rụnyere ụdị 256 site na Bullseye Backports kama nke ndabara 239 sitere na ebe nchekwa Bullseye nke ndabara.

Ozugbo arụnyere, site na ndabara, ọrụ anaghị arụ ọrụ, yabụ ị ga-achọ ịme iwu systemctl ole na ole dị ka ndị a.

Iji malite Cockpit:

sudo systemctl start cockpit.socket

Iji mee ka Cockpit nwee mmalite na sistemụ:

sudo systemctl enable cockpit.socket

Na-esote, nyochaa ọkwa nke Cockpit iji jide n'aka na ọ na-arụ ọrụ nke ọma na sistemụ gị:

sudo systemctl status cockpit.socket

Ihe atụ mmepụta ma ọ bụrụ na ihe niile na-arụ ọrụ nke ọma:

Otu esi etinye Cockpit na Debian 11 Bullseye

Nhọrọ - Hazie UFW Firewall maka kokpiiti

Nzọụkwụ ọzọ bụ ikwe ka site na firewall Cockpit gị nwee ohere ige ntị. Site na ndabara, Cockpit na-ege ntị na ọdụ ụgbọ mmiri 9090.

Ọ bụrụ na etinyere UFW, jide n'aka na ị ga-ahapụ ọdụ ụgbọ mmiri 9090.

Iji tọọ nke a, mebie iwu a na ọdụ gị.

sudo ufw allow 9090

Mwepụta ihe atụ ma ọ bụrụ na ọ ga nke ọma:

Rules updated
Rules updated (v6)

Dabere na mkpa gị, ị nwere ike ịchọkwu ịgbanyụ ya site n'ikwe ka adreesị IP nke ọ bụla n'ọdụ ụgbọ mmiri ahụ.

Ihe Nlereanya:

sudo ufw allow from <IP ADDRESS> to any port 9090

Advertisement


Otu esi enweta Cockpit Web UI

Ugbu a ị kwadoro ma ọ bụ tinye Cockpit, oge eruola imepe ya site na iji ihe nchọgharị ịntanetị kachasị amasị gị.

Nke mbụ, chọpụta adreesị IP nke sava gị:

ip a

Na-esote, na ihe nchọgharị gị, pịnye adreesị ihe atụ na ọdụ ụgbọ mmiri 9090 na njedebe.

http://server-ip-address:9090

Mgbe mbụ ị na-agbalị ịnyagharịa na Cockpit Web UI, ị ga-ahụ njikere dị ka ndị a:

Otu esi etinye Cockpit na Debian 11 Bullseye

A ga-amara gị ọkwa na njikọ ndị a abụghị nke nzuzo, pịa na Bọtịnụ dị elu.

Otu esi etinye Cockpit na Debian 11 Bullseye

Nabata Egwu ahụ ma Gaa n'ihu na-enweghị SSL ịga n'ihu na nbanye Cockpit.

Ọzọ, ị ga-ahụ Cockpit nbanye, na nke a bụ gị otu sudo aha njirimara or mgbọrọgwụ aha njirimara na password- banye ka ịga n'ihu na dashboard.

Otu esi etinye Cockpit na Debian 11 Bullseye

Ozugbo ịbanye, ị ga-ahụ dashboard ozugbo. Nhọrọ ndị bụ isi nke Cockpit dị n'akụkụ aka ekpe, ebe ị nwere ike ịgbakwunye ndị ọbịa ọzọ ma ọ bụrụ na ha nwere SSH ka njikọ, lelee ndekọ, hazie netwọk na arịa, malitegharịa, gbuo ma nọgide na-arụ ọrụ na ọtụtụ ndị ọzọ.

Otu esi etinye Cockpit na Debian 11 Bullseye

Dịka ekwuru n'elu, n'etiti ihuenyo ahụ, ị ​​nwere ike nyochaa ebe nchekwa na ojiji CPU wee hụ akụkọ ihe mere eme. Otu uru dị na iji Cockpit bụ inwe ihuenyo ọnụ na UI Weebụ. N'okpuru ibe ahụ, pịa ọnụ.

Otu esi etinye Cockpit na Debian 11 Bullseye

Dịka n'elu, ị nwere ọnụ nwere ike iji GUI dabere na Weebụ iji nyere gị aka n'ịchịkọta ihe kacha mma nke ụwa abụọ ahụ ọnụ.

Otu esi emelite kokpiiti

Na-emekarị, ị ga-achọ iji iwu dị iche iche iji lelee mmelite sitere na ebe nchekwa backports. Nyere na ị na-eji APT pinning ugbu a, ị gaghị echefu n'ọdịnihu ịlele mmelite Cockpit.

Lelee maka mmelite maka Cockpit dịka ị ga-eme maka sistemụ gị niile.

sudo apt update

Ma hazie nkwalite ahụ dịka ị ga-eji ngwugwu ndị ọzọ niile.

sudo apt upgrade

Advertisement


Otu esi ewepu (wepụ) kokpiiti

Maka ndị ọrụ ma ọ bụ ndị nchịkwa na-achọghị Cockpit na sistemu ha, mee iwu a.

sudo apt autoremove cockpit --purge -y

Ihe atụ mmepụta:

Otu esi etinye Cockpit na Debian 11 Bullseye

Ụdị Y wee pịa Tinye igodo ịga n'ihu na mwepụ nke Cockpit.

Iwu a ga-ewepụ Cockpit na ndabere niile ejighi ya arụnyere na mbụ.

Okwu na mmechi

N'ime nkuzi a, ị mụtala otu esi etinye ma ọ bụ mee ka Cockpit na Debian 11 Bullseye jiri ebe nchekwa Bullseye-Backports.

N'ozuzu, Cockpit bụ nhọrọ magburu onwe ya maka ndị ọrụ iji kwado usoro ha ngwa ngwa. Emebere ya maka ndị ọrụ ọhụrụ nwere sysadmins n'uche yana ikike ijikwa ya n'ime ime. Ọ bụrụ na ị na-abanye na Linux, iji Cockpit ga-abụ nhọrọ siri ike n'ịghọta ka sistemu si arụ ọrụ na ịchọpụta okwu ngwa ngwa n'ime ọpịpị ole na ole.

Iji mụtakwuo maka uru na ndụmọdụ na aghụghọ ị nwere ike nweta na Cockpit, gaa na akwụkwọ gọọmentị.

Ahapụ a Comment