Yanzu akwai PowerShell don Linux

Menene PowerShell?

PowerShell Shell ne, ma'ana, keɓaɓɓe don aiki da tsarin aiki, wanda ke aiki ga duk abin da ya danganci daidaitawa ta layin umarni (sanannen wuri, na'ura mai kwakwalwa ko tashar mota), don aiwatar da ayyuka akan na'ura tare da tsarin aiki na Windows, har zuwa yanzu .

PowerShell akan Linux

Don wannan dama mun kawo muku labari mai dadi!PowerShell yanzu akwai don Linux! Mun riga mun san game da karfinsu na Bash akan Windows, wani abu wanda tabbas ya farantawa mutane rai. Saboda haka, ba abin mamaki bane cewa mutanen Linux yanzu suna maraba da tallafi na PowerShell a cikin sigar Buɗewar Source. Kodayake babban ra'ayin Microsoft shine ba ya jan masu amfani da Linux zuwa Windows ba, sassaucin da wannan gidan software ya nuna shine a kula da duniyar Open Source. Kuma a bayyane idan muka koma ga tallafi da aka bayar don masu haɓakawa waɗanda ke amfani da PowerShell ko aiki tare da .Net.

1

Nemi zurfin zurfin zurfin zurfafawa cikin tsarin girka PowerShell don injin Linux. Kodayake na farko yana da kyau ka san irin tsarin da ake da su ko masu dacewa a cikin amfani da PowerShell; Ubuntu Server 12.04 LTS, 14.04 LTS da 16.04 LTS, SUSE Linux Kamfanin Ciniki 10, 11 da 12, Debian GNU / Linux 6 da 7, Server na Red Hat 5, 6 da 7 da CentOS 5, 6, da 7.

Tsarin Shigarwa na PowerShell (DSC) akan Linux.

2

Da farko, ya zama dole a fara girka abubuwan bude Open Management, ko OMI, kafin girka PowerShell. Zaka iya zazzage OMI ta hanyar samun damar mai zuwa mahada.

Lokacin shigar da OMI ya zama dole a haɗa kunshin da ake buƙata bisa ga tsarin Linux wanda kuke son aiki da shi. A wannan yanayin .deb ko .rpm. Tsarin da aka fi dacewa tare da DEB sune Debian GNU / Linux da Ubuntu. Dangane da fakitin RPM mun sami Red Hat, CentOS, SUSE da Oracle.

  • Ta aiwatar da umarni mai zuwa zaka iya sanya OMI akan tsarin CentOS 64 x7:

# sudo rpm -Uvh omiserver-1.0.8.ssl_100.rpm

Hakanan ya zama dole don shigar da fakitin OpenSSL a cikin sifofin ssl_098 ko ssl_100 don aiwatarwa mafi kyau; na farko mai aiki ne tare da sigar da aka sanya akan kayan aikin OpenSSL 0.9.8, na biyu kuma tare da sigar OpenSSL 1.0. Allyari akan haka dole ne ku sami gine a kwamfutarka na x64 / x86. Idan kana so ka san sigar da aka shigar ta OpenSSL shigar da umarni mai zuwa zuwa tashar:

# openssl version .

  • Da zarar an gama duk abin da ke sama, zaku iya yin umarni mai zuwa don shigar da DSC (PowerShell) akan tsarin CentOS 7 na 64:

# sudo rpm -Uvh dsc-1.0.0-254.ssl_100.x64.rpm

Yana da kyau a lura cewa ƙungiyar ku tana da halaye masu zuwa don aiwatar da PowerShell wani abu mafi kyau duka kuma ba tare da matsaloli ba:

Kunshin da ake buƙata: glibc
Bayani: GNU Library
Mafi qarancin sigar: 31.30

Kunshin da ake buƙata: Python
Bayani: Python
Mafi qarancin sigar: 2.4 zuwa 3.4

Kunshin da ake buƙata: omiserver
Bayani: Buɗe Gaban Gida
Mafi qarancin sigar: 1.0.8.1

Kunshin da ake bukata: Openssl
Bayani: The OpenSSL dakunan karatu
Mafi qarancin sigar: 0.9.8 ko 1.0

Kunshin da ake buƙata: ctypes
Bayani: Python ctypes library
Mafi qarancin sigar: Dole ne ya dace da sigar Python

Kunshin da ake buƙata: libcurl
Bayani: cURL HTTP library abokin karatu
Mafi qarancin sigar: 7.15.1

Da zarar an gama duk abubuwan da ke sama, yana yiwuwa kuyi amfani da PowerShell ba tare da matsala ba a cikin tsarin tsarin Linux ɗinku. Ka tuna cewa kawai yana dacewa da tsarin da muka ambata a sama, kuma ƙari dole ne ka shigar da fakitin da suka dace don aiwatarwar ta.

3

Waɗannan sababbin abubuwan a cikin kayan aikin Windows suna bin buƙatun masu amfani da yawa, haɗawa ko dacewa da tsarin duka (Linux da Windows) don suyi aiki kaɗan kaɗan tare. Cikakken jirgin ruwa a kowane ɗayan yana da nisa, amma tare da matakai kamar waɗannan, waɗanda ke haifar da ci gaban ayyuka kamar yadda suke da mahimmanci kamar yadda ake sarrafa sanyi, akwai abin faɗi a ci gaba na gaba, wanda tabbas zai juya waɗannan kishiyoyin daga lissafi a cikin masu haɗin gwiwa don ɗawainiyar kowane ɗayan tsarin su.

Don ƙarin bayani game da shigarwa ko daidaitawar PowerShell zaka iya samun damar shafin aikin hukuma daga Microsoft don samun cikakkun bayanai.


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

5 comments, bar naka

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.

  1.   Mala'ikan ortiz m

    Kai! Abin birgewa, me albishir. Ina jiran shekaru da yawa! Windows shara ne, wani abu suke da shi a hannunsu. Suna so su zama kamar Sauron, su ɗaure mu duka cikin duhu.

  2.   Mario Guillermo Zavala Silva m

    Mecece manufar girka ikon windows akan Linux !!! ??? Idan tasharmu ta fi karfi sosai ... to tambaya? Zai kasance zan iya yin abubuwa mafi kyau ko menene IDEA !!!!

    MAKIRCIN !!!

  3.   Sergio m

    Tambayar ita ce me yasa lahira za ku so ku shigar PowerShell tare da bash ko zsh? Wannan ba shi da ma'ana. Kamar dai zaku yi amfani da kundin giya a maimakon amfani da gedit ko kate ………

  4.   HO2gi m

    Duk abin yana nuna sabobin .net da azure tare da duk kayan aikin, wataƙila har yanzu akwai mutanen da suke amfani da shi suna tuna cewa ba duka aka sabunta ba kuma yawancin ayyuka suna aiki tare da windows. Afip case da dai sauransu.
    Idan gaskiya ne cewa tashar vim da sauransu suna da ƙarfi, amma duk ya dogara da amfani.

  5.   Juan Carlos m

    Ina da tambaya iri ɗaya kamar sauran, shin yana da ma'anar samun wuta a kan Linux? Shin akwai dalilin amfani da shi? Waɗanne fa'idodi Bash ko zsh ke da shi ga Linux?

    Da kaina, ban taɓa tunanin shigar da shi ba, babu wani dalili bayyananne amma da alama manufar Microsoft ita ce ta saki lambar don sauran membobin Linux su ba da gudummawa 😉 Wato, aiki mai arha.