Yadda ake Shigar Anaconda akan VPS

kimiyyar bayanai

Yawancin mutane da ke aiki tare da Python sun fara lura da Aikin Anaconda. Raba ce ta kyauta kuma buɗaɗɗiyar tushe na yarukan Python da R. Ana amfani dashi ko'ina cikin ilimin kimiyyar bayanai da kuma koyon na'ura. Saboda haka, ana iya sarrafa manyan kundin bayanai don nazari cikin sauri.

Yayi daidai mai sauƙin shigarwa, gudu da ɗaukakawa, ban da kasancewa masu jituwa tare da ayyuka masu mahimmanci kamar Tensorflow. Da kyau, a cikin wannan darasin, zan nuna muku yadda zaku iya ƙirƙirar gajimare VPS misali don girka Anaconda acan ...

Menene Rarraba Anaconda?

Anaconda

Anaconda ba komai bane face ɗakin buɗe ido, ƙarƙashin lasisin BSD, wanda ya ƙunshi jerin aikace-aikace da dakunan karatu don kimiyyar bayanai tare da yarukan shirye-shirye kamar Python. Wannan rarraba sanannen yaren shirye-shiryen yana aiki azaman manajan muhalli, manajan kunshin kuma yana da babban kundin tarihi na ɗaruruwan fakitoci.

A cikin Rarraba Anaconda zaka iya samun bulolin asali guda huɗu:

  • Anaconda Navigator (GUI don saukakke da fahimta).
  • Aikin Anaconda.
  • Dakunan karatu don kimiyyar bayanai.
  • Conda (umarni don gudanar da CLI)

Dukansu za a shigar ta atomatik tare da shigar da kunshin, kamar yadda zan nuna mataki-mataki daga baya.

Hanyoyin Rarraba Anaconda

sabar yanar gizo

Rarraba Anaconda yana da fasali mai ban sha'awa hakan yasa ya zama mai mahimmanci a duniyar nazarin bayanai. Mafi mashahuri sune:

  • Bai dogara ga kowane kamfani ba, tunda al'umma ce ke kula da shi kuma tushen buɗewa ne, haka kuma kyauta.
  • Tsarin dandamali ne, don haka yana iya aiki akan duka GNU / Linux, macOS da Windows.
  • Abu ne mai sauqi, kasancewar ana iya girkawa da gudanar da fakitoci da mahalli don kimiyyar bayanai cikin sauri da sauri.
  • Yawancin ayyukan kimiyya suna amfani da shi, don haka abin dogaro ne gaba ɗaya.
  • An cushe shi da kayan aiki masu amfani don sauƙaƙa aikinku, har ma da ilmantarwa na inji.
  • Ya dace da masu kallon bayanai kamar Matplotlib, Datashader, Bokeh, Holoviews, da sauransu.
  • Gudanarwa da iko mai ƙarfi sosai, tare da yiwuwar samun albarkatu don ilimin inji mai ci gaba.
  • Ba za ku sami matsala tare da dogaro da fakiti da sarrafa sigar ba.
  • Createirƙira da raba takardu tare da lambar tarawa kai tsaye, ƙididdiga, kwatancen, da sanarwa
  • Kuna iya tattara lambar asalin Python akan kowane inji don aiwatarwa cikin sauri. Bugu da kari, zai sauƙaƙa da rubuce-rubucen hadadden algorithms masu daidaito.
  • Na goyon bayan babban aikin sarrafa kwamfuta.
  • Ayyuka a cikin Anaconda na šaukuwa ne, don haka ana iya raba su ko sanya su a wasu dandamali.

Menene VPS?

yadda za a zabi sabar yanar gizo

Kodayake zaku iya girka Rarraba Anaconda akan PC na al'ada, ko sabarku, a wannan koyarwar zamu nuna muku yadda ake yinta a sabar VPS, tunda yana da jerin fa'idodi, kamar su cewa masu amfani da yawa zasu iya sarrafa shi ta nesa, mafi girman bandwidth, scalability, high kasancewa, da kuma mahimman tsaran kuɗi idan aka kwatanta da zaɓi na samun sabarku.

Don ƙaramin kuɗin biyan kuɗi, kuna iya samun sabis VPS (Virtual Private Server), ma'ana, sabar mai zaman kanta ta sirri. A wannan yanayin zan dogara da girgije don koyawa. Sabili da haka, ya dace a ce wannan VPS asalinta an keɓance “kunshi” ne takamaimai a gare ku na cibiyar bayanai na wannan mai ba da sabis. A ciki zaku iya yin duk abin da kuke so, kamar shigar da sabar Linux da yawan aikace-aikace. A wannan yanayin, zamu shigar da Anaconda.

Wannan VPS zai yi aiki azaman keɓaɓɓen inji, wato, tare da nasa RAM, tare da sararin ajiyarsa a kan rumbun kwamfutoci masu sauri na SSD, tare da jerin abubuwan da aka keɓe na CPU, da kuma tsarin aiki.

Kuma ba lallai ne ku damu da gudanar da masarrafar cibiyar bayanan ku ba, ko biyan kuzari ko kuma hanyoyin sadarwar intanet don samun sabar, balle su farashin kayayyakin more rayuwa...

Sanya Anaconda mataki zuwa mataki

Sabis ɗin da aka zaɓa, kamar yadda nayi tsokaci, shine Girgije.io, wanda zan ƙirƙiri misali ko VPS tare da GNU / Linux tsarin aiki daga wacce shigar Anaconda a hanya mai sauƙi. Ta waccan hanyar, zaku iya farawa da kimiyyar bayanai tare da garantin da wannan mai bayarwa ya bayar, tunda tana da tallafi 24/7 a cikin Sifaniyanci idan wani abu ya faru, kuma cibiyar bayanan ta tana cikin Barcelona, ​​saboda haka, ƙarƙashin dokokin kariya na bayanan Turai. Don haka guje wa GAFAM / BATX, wani abu mai mahimmanci a waɗannan lokutan ...

Createirƙiri asusun Clouding kuma shirya dandalin VPS

Kafin mu fara, abu na farko shine samun damar sabis ɗin Cloud. Kuna iya samun damar ta daga gidan yanar gizon hukuma kuma zaɓi ƙimar da ta dace da bukatunku. Waɗannan ƙididdigar sun bambanta a cikin adadin RAM, ajiyar SSD, da CPU vCores waɗanda zaku sami su don VPS ɗinku. Ko da kuna buƙatar fiye da abin da waɗannan ƙimar ke bayarwa, kuna da zaɓi na daidaita sabar saba.

Kasancewa aikin binciken bayanan kimiyya, zai zama abin ban sha'awa idan kuna da mafi girma lissafta yi zai yiwu, kazalika da kyawawan adadin RAM. Kodayake idan zakuyi amfani dashi don ƙarin ayyukan ƙanƙan da kai, bazai zama da yawa sosai ba ...

Yawan girgije

Da zarar kayi rijista kuma ka bi matakan mayen, tare da tabbatar da adireshin imel ɗinka, za ka sami damar shiga kwamitinku. Don wannan, dole ne ku shiga a cikin girgije:

Ciki har da rajistar VPS

Kun riga kun kasance cikin sabis, kuma za ku gani intungiyar kula da ilham. Idan kana son fara kirkirar misali ko uwar garken VPS, dole ka latsa Danna nan don ƙirƙirar sabarku ta farko:

Fara VPS

Wannan ya kawo ku zuwa ga allon sanyi na sabar VPS ɗinka. Abu na farko da zaka gani shine zaɓi don sanya sunan da kake so zuwa VPS ɗinka. Sannan nau'in tsarin aiki da kake son girkawa. Zaka iya zaɓar tsakanin Windows ko Linux, kuma a cikin ɓangaren Linux akwai wadatar wadatar da yawa. A wannan yanayin na zaɓi Ubuntu Server 20.04, amma za ku iya zaɓar wanda kuka fi so:

Rarraba Anaconda VPS

Da zarar an gama, sauka akan wannan shafin kuma zaku ga wasu zaɓuɓɓuka don zaɓar kayan aikin kayan aiki: Capacityarfin RAM, storagearfin ajiya na SSD, ko yawan ƙwayoyin CPU da zaku sanya wa VPS ɗinku. Ka tuna cewa zaka iya sarrafa su yadda kake so, koda kuwa kana son ƙirƙirar VPS da yawa kuma ka rarraba su tsakanin su ... Kuma, ka tuna, koyaushe zaka iya yin sikeli tare da tsari mafi girma, idan kana buƙatarsa.

Kayan komputa

Hakanan kuna da zaɓuɓɓuka don saita Firewall ko don madadin. A ka'ida, ba lallai ba ne ku taɓa hakan, kodayake idan kuna da wani zaɓi don inganta tsaro, ci gaba. Abinda yake da mahimmanci shine ƙirƙiri da sanya maɓallin SSH. Godiya gare shi, zaku iya samun damar nesa don sarrafa VPS ɗinku ba tare da neman kalmar sirrinku kowane lokaci ba.

Duba cewa komai yayi daidai kuma pulsa Aika. Wannan zai kai ku zuwa wani allo inda VPS ɗinku ya riga ya bayyana. A cikin hali zaka ga cewa har yanzu yana girkawa da daidaitawa. Amma kar ku damu, ana yin shi da sauri:

Halin saba

A cikin momentsan wasu lokuta zaku ga cewa ya gama kuma filin matsayi zai bayyana kamar Aiki. A wancan lokacin, zaku iya amfani da tsarin aikin ku don girka abin da kuke buƙata (a wannan yanayin Anaconda).

VPS mai aiki don Anaconda

Danna sunan cewa kun sanya VPS ɗinku kuma yana tura ku zuwa wani shafin tare da taƙaitaccen bayanin sabar inda zaku girka Anaconda:

Anaconda VPS

Saboda haka, abin da yake da muhimmanci shi ne yankin da ake kira Yadda ake samun dama ga sabar. Anan ne bayanin da kuke buƙatar samun damar shine, IP na VPS, kamar kalmar sirri, mai amfani (tushen) ko maɓallin SSH don zazzagewa.

SSH haɗin VPS

Daga duk waɗannan bayanan, tare da Adireshin IP, tushen da kalmar wucewa yanzu zaku iya samun damar nesa don ci gaba da shigarwa na Anaconda ...

Shigar da Anaconda

Yanzu komai a shirye yake don Shigar Anaconda akan VPS. Don haka, zaku iya ziyarta gidan yanar gizon su don karanta ƙarin bayani game da aikin ko bincika sabon sigar da aka samo.

Don farawa, dole ne ku samun damar sabar VPS ɗinka ta hanyar SSH. Wannan hanyar, daga ɓoyayyenku na gida, zaku iya shigar da duk abin da kuke buƙata akan sabar. Zai zama mai sauƙi kamar buɗe tashar ka da buga wannan umarni (ka tuna maye gurbin youripdelserver da IP na VPS ɗin da ka gani a baya a cikin Clouding):

ssh root@tuipdelservidor

Haɗin SSH

Shin zai tambaye ku kalmar sirri, yanke wanda Clouding ya nuna maka ka manna shi. Wannan zai ba ku dama. Za ku ga cewa madogarar tashar ku ta canza, yanzu ba yanki ne na masu amfani da ku ba, amma yanzu na na'urar nesa ne. Saboda haka, duk umarnin da kuka rubuta daga can za'a zartar dasu akan sabar VPS.

haɗin SSH VPS Anaconda

Yanzu kana da dama, abu na gaba da zaka yi shine farawa zazzage kuma shigar Anaconda tare da umarni masu zuwa don kawo shi zuwa kundin adireshin wucin gadi da kuma samun sigar da aka samo daga wuraren adana hukuma:

cd /tmp

curl -O https://repo.anaconda.com/archive/Anaconda3-2020.11-Linux86_64.sh

Anaconda, zazzage

Bayan haka, zaku sami Anaconda, mai zuwa shine tabbatar da mutunci na bayanan da aka zazzage ta amfani da jimlar SHA-256. Don haka, kawai gudanar da umarni mai zuwa:

sha256sum Anaconda3-2020.11-Linux-x86_64.sh

Y zai dawo da zanta a duba

Yanzu dole ne fara Anaconda tare da umarnin mai zuwa:

bash Anaconda3-2020-11-Linux-x86_64.sh

Lasisin Anaconda

Wannan zai kai ku ga sakon da ke neman ku latsa ENTER sannan kuma hakan zai kai ku ga yarjejeniyar lasisin Ananconda. Zaka iya zuwa ƙarshen ta latsa gabatarwa kuma zai tambayeka idan kanaso ka amsa da eh ko a'a. Wato idan kun yarda da sharadin ko a'a. Buga "eh" ba tare da ambato ba saika latsa ENTER. Abu na gaba da zaka gani shine:

shigarwa da wuri

Mataki na gaba shine don zaɓar wurin shigarwa. Latsa ENTER don hanyar da aka nuna ta tsohuwa ko shigar da wata hanyar daban idan kun fi so ... Yanzu shigar Anaconda kamar haka zai fara. Zai dauki yan wasu lokuta.

Lokacin an kammala aikin, zaka sami sako kamar mai zuwa, mai nuna cewa ya gama cikin nasara:

ci gaba da kafuwa Anaconda

Rubuta a don fara conda Yanzu zai dawo da ku zuwa saurin VPS ɗinku. Kuna da wani abu da ya rage kafin ku iya amfani da conda, kuma wannan shine kunna shigarwa tare da:

source ~/.bashrc

Kuma yanzu zaka iya amfani da conda kuma fara bawa Anaconda amfani ... Misali, zaku iya ganin taimako game da zaɓuɓɓukan kuma jera wadatattun fakitocin bi da bi tare da:

conda

conda list

commando conda

Ko sanya yanayin don Anaconda zuwa amfani da Python3, misali:

conda create --name mi_env python=3

Amsa y ga tambayar da kayi to ci gaba kuma za'a girka abinda ya dace.

conda yanayi mai aiki

Kuna iya rigaya kunna sabon yanayi fara aiki da more rayuwa ...

conda activate mi_env

Yanzu muna da duk abin da muka girka kuma muke aiki, kun sami ikon tabbatar da iko da fa'idar da tallan VPS ke bayarwa kamar wanda muka nuna muku a cikin Clouding. Anaconda ɗayan ɗayan nau'ikan aikace-aikace ne da kayan aikin da zaku iya girka da amfani dasu. Ba duk abin da ya zo don ƙirƙirar rukunin yanar gizo ba. Akwai ƙarin zaɓuɓɓuka da yawa waɗanda zaku iya amfani da VPS don su. Idan kuna da wasu tambayoyi, za mu bar bayani.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

Kasance na farko don yin sharhi

Bar tsokaci

Your email address ba za a buga.

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

bool (gaskiya)