Ungayifaka kanjani iGitlab kuseva yethu ene-Ubuntu

Ilogo yeGitlab

Emasontweni ambalwa edlule besazi ukuthengwa okungazelelwe kweGitHub ngabakwaMicrosoft. Ukuthengwa okuyimpikiswano abaningi abakuvikela sengathi bakwenzile noma bakugxeke kabuhlungu ngokungathi bekuwukuwa kweFree Software. Ngokwami, angikholwa noma ngivikele noma isiphi kulezi zikhundla ezimbili kepha kuliqiniso ukuthi izindaba ezinjalo zibangele abathuthukisi abaningi be-software ukuthi bashiye izinsizakalo ze-Github bafune ezinye izindlela mahhala njengeGithub ngaphambi kokuthengwa kwabo yiMicrosoft.

Kunezinsizakalo eziningi ezithandwayo, kepha iningi lonjiniyela bakhetha ukusebenzisa iGitLab, enye indlela yamahhala esingayifaka kukhompyutha yethu nge-Ubuntu noma kuseva yangasese esebenzisa Ubuntu njengohlelo lokusebenza.

Yini iGitLab?

Kepha okokuqala, ake sibone ukuthi kuyini ngempela. IGitlab isoftware version control esebenzisa ubuchwepheshe beGit. Kepha ngokungafani nezinye izinsizakalo, ifaka eminye imisebenzi ngaphandle kwe-Git efana nensizakalo ye-wikis kanye nohlelo lokulandela umkhondo lwe-bug. Konke kunelayisense ngaphansi kwelayisense ye-GPL, kepha kuyiqiniso ukuthi njengezinye izinhlobo zesoftware efana neWordPress noma iGithub uqobo, noma ngubani akakwazi ukusebenzisa iGitlab. IGitlab inesevisi yewebhu enikela ngezinhlobo ezimbili zama-akhawunti kumakhasimende ayo: i-akhawunti yamahhala ngezinqolobane zamahhala nezesidlangalaleni nenye i-akhawunti ekhokhelwayo noma ye-premium esivumela ukuthi sakhe amakhosombe azimele nawomphakathi.

Lokhu kusho ukuthi yonke idatha yethu isingathwa kumaseva angaphandle kwethu esingenakho ukulawula kwakhe, njengakuGithub. Kepha iGitlab inenguqulo ebizwa kakhulu I-Gitlab CE o Uhlelo Lomphakathi lokho isivumela ukuthi sifake futhi sibe nemvelo yeGitlab kuseva yethu noma kukhompyutha nge-Ubuntu, yize okuwusizo kakhulu ukuyisebenzisa kuseva ene-Ubuntu. Le software isinikeza izinzuzo zeGitlab Premium kepha ngaphandle kokuyikhokhela lutho, ngoba sifaka yonke isoftware kuseva yethu hhayi kwenye iseva.

IGitlab, njengensizakalo yeGithub, inikela ngezinsizakusebenza ezithokozisayo njenge ukwenza amakhosombe, ukwakha amakhasi e-web amile nesoftware yeJekyll noma isilawuli senguqulo nekhodi elizosivumela ukuthi saziswe uma isoftware noma ukubuyekeza kuqukethe amaphutha noma cha.

Amandla eGitlab aphezulu kuneGithub, okungenani ngokwensizakalo, uma siwasebenzisa njengesoftware yethu, amandla azoncika kwihadiwe leseva yethu. Okuthile okufanele kunakwe uma lokho esizokwenza ukushintsha isoftware yeGithub yesoftware yeGitlab kuseva yethu yangasese.

Yini esiyidingayo ukufaka iGitLab kuseva Ubuntu?

Ukuba ne-Gitlab noma i-Gitlab CE kuseva yethu, okokuqala kufanele sifake ukuncika noma isoftware edingekayo ukuze isoftware isebenze kahle. Ukwenza lokhu sivula ukuphela bese sibhala okulandelayo:

sudo apt-get install curl openssh-server ca-certificates postfix -y

Mhlawumbe iphakheji efana ne-curl izobe isivele ikhona kukhompyutha yethu kepha uma kungenjalo, leli ithuba elihle lokufaka.

Ukufakwa kweGitLab

Indawo yokugcina yangaphandle yeGitlab CE

Manje njengoba sesinakho konke ukuncika kweGitlab, Kufanele sifake isoftware yeGitlab CE, esesidlangalaleni futhi singayithola ngokugcina okungaphandle ku-Ubuntu. Ukwenza lokhu sivula ukuphela bese sibhala okulandelayo:

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash

Kunenye indlela ebandakanya ukusebenzisa okugcinwa ngaphandle kepha ngethuluzi le-Apt-get software. Ukwenza lokhu, esikhundleni sokubhala okungenhla esigungwini, kufanele sibhale okulandelayo:

sudo EXTERNAL_URL="http://gitlabce.example.com" apt-get install gitlab-ce

Futhi ngalokhu sizoba nesoftware yeGitlab CE kuseva yethu ye-Ubuntu. Manje yisikhathi sokwenza izilungiselelo ezithile eziyisisekelo ukuze usebenze kahle.

Ukucushwa kweGitlab CE

Into yokuqala okufanele siyenze khipha amachweba athile iGitlab isebenzisa nokuthi izovalwa futhi sisebenzisa i-firewall. Izimbobo okufanele sizivule noma ezisetshenziswa yiGitlab itheku 80 no-443.

Manje, kufanele sivule isikrini sewebhu seGitlab CE okokuqala ngqa, ngoba lokhu sivula ikhasi lewebhu http://gitlabce.example.com kusiphequluli sethu. Leli khasi lizoba lelo leseva yethu kepha, njengoba kungokokuqala, kufanele shintsha iphasiwedi isistimu enayo ngokuzenzakalela. Lapho sesishintshe iphasiwedi, kufanele sibhalise noma ngena ngemvume nge-password entsha kanye nomsebenzisi "wezimpande". Ngalokhu sizoba nendawo yokumisa yangasese yohlelo lweGitlab kuseva yethu ye-Ubuntu.

Uma iseva yethu ingeyokusetshenziswa ngumphakathi, ngokuqinisekile sizodinga ukusebenzisa umthetho olandelwayo we-https, umthetho olandelwayo wewebhu osebenzisa izitifiketi ukwenza ukuphequlula iwebhu kuphephe kakhudlwana. Singasebenzisa noma yisiphi isitifiketi kepha iGitlab CE ayishintshi ngokuzenzakalela i-url yenqolobane, ukuze sibe nalokhu kufanele sikwenze ngesandla, ngakho-ke sihlela ifayela /etc/gitlab/gitlab.rb kuthi ku-external_URL kufanele sishintshe ikheli lakudala elishaKulokhu, kuzoba ukufaka igama "s", kepha futhi singenza i-url yehluke futhi sikhuphule ukuphepha kweseva yethu yewebhu. Lapho sesigcinile futhi savala ifayili, kufanele sibhale okulandelayo esigungwini ukuze ushintsho olwenziwe lwamukeleke:

sudo gitlab-ctl reconfigure

Lokhu kuzokwenza zonke izinguquko esizenzayo kwisoftware yeGitlab zisebenze futhi zizolungela abasebenzisi balolu hlelo lokulawula inguqulo. Manje sesingasebenzisa le software ngaphandle kwenkinga futhi ngaphandle kokukhokha noma yini ukuze sibe nezinqolobane eziyimfihlo.

IGitlab noma iGitHub okungcono?

Ukuwa kwekhodi njengoba kwenzeka eGitlab

Kuleli qophelo, impela iningi lenu lizozibuza ukuthi iyiphi isoftware engcono ukuyisebenzisa noma ukudala izinqolobane zesoftware yethu. Ukuthi ungaqhubeka yini noGithub noma ushintshele ku-Gitlab. Zombili zisebenzisa iGit futhi zingashintshwa noma hambisa kalula isoftware eyenziwe kusuka kokunye kuya kwenye. Kepha mathupha Ngincoma ukuqhubeka neGithub uma sinayo kuseva yethu futhi uma singenakho okufakiwe, yebo-ke faka iGitlab. Isizathu salokhu yingoba ngicabanga ukuthi ukukhiqiza kungaphezu kwakho konke, futhi ukushintsha isoftware eyodwa kungenye yezinzuzo zayo cishe azikunxephezeli.

Into enhle ngayo ukuthi womabili amathuluzi yiSoftware yamahhala futhi uma sazi dala umshini obonakalayo, singazihlola zombili lezi zinhlelo bese sibona ukuthi iziphi ezisifanele ngaphandle kokushintsha noma ukulimaza iseva yethu ye-Ubuntu.


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-5, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe.

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   U-Edgar Albalate Ibañez kusho

    Ngisebenzisa enye indlela ebizwa nge-gitea. https://github.com/go-gitea/. Ungazama ngaphakathi https://gitea.io

  2.   UWilburnmosum kusho
  3.   UJustindam kusho

    Imidlalo yethu ye-dinosaur https://dinosaurgames.org.uk/ unikele ngokuzijabulisa nezilwane ezivela ezigidini zeminyaka edlule! Ungaphatha ama-neanderthal nalo lonke uhlobo lwama-dinos; I-Tyrannosaurus Rex, i-Velociraptors, kanye neBrachiosaurus konke kuqukethe! Amazinga wethu ama-dinosaurs aqukethe izinhlobo ezahlukahlukene ze-gameplay, kusukela ekulweni kuya ekuhlangenwe nakho kuya ku-poker eku-inthanethi. Ungadlala noma yiluphi uhlobo lohlobo lwesithiyo olifunayo, ekunikeza ukuzijabulisa kwangaphambi komlando kwamahora ekugcineni! Fight njengoba cavemen Ukuqhathanisa izidalwa, ukuzulazula Earth, futhi udle nezitha zakho!

  4.   KusHazHu kusho

    Isilawuli sokuqala somhlaba esisuselwa kusiphequluli sokuqala somhlaba! Thola ukwephuka! Khetha ikilasi lakho futhi uqede izitha zakho ngokuchema kwe-eggstreme kule 3D multplayer shooter. Thuthukisa amathuluzi abulalayo njenge-Scramble Shotgun kanye ne-EggK47 njengoba ukhomba indlela yakho eya empumelelweni. Kwazise AbakwaShellshockers Bavinjelwe https://shellshockersunblocked.space/

  5.   UWilburnmosum kusho