Uyifunda njani i-Shell Scripting ngokufaka i-Tor Browser

La iklasi yesixhenxe (7) zekhosi ezenziwayo zethiyori "Funda Iskripthi SikaShell" Siza kufunda ngendlela ngokusebenzisa umbhalo-ngqangi singafezekisa ngokulula ukufakwa kunye nokuseta zalungiswa ezidumileyo neziluncedo Isikhangeli se-Intanethi iTrowser, ngelixa, njengesiqhelo, sityala ixesha elibalulekileyo Ukuqonda ukuba umgca ngamnye, umyalelo ngamnye, uguquko ngalunye lusebenza njani, ukuqonda nokufunda iShell script

Ukushicilela kweShell

Kodwa kwabo bambalwa baqondayo, siya kucacisa ukuba kunjalo Isikhangeli seTor. Sisicelo seplatform ezininzi (Windows / Linux) esivumela ukuba fihla okanye ufihle ubuni bethu kwinethiwekhi. Inika indlela engaziwayo ngeseva ezimele kunxibelelwano lwethu lwe-intanethi kwaye kuthintela ngokufanelekileyo uhlalutyo lwezithuthi lwangaphandle. Ke ukusebenzisa iTor kunokwenzeka yenza unxibelelwano kumamkeli, phantse ngokungacacanga, oko kukuthi, ngaphandle kwayo okanye enye into enokuba nakho ukwazi IP yethu.

Ukuphumeza unompilo Browser kwi Inkqubo yokusebenza ye-GNU / Linux, ihlala isebenza ngokwahlukeneyo nomphathi wegraphical obiziweyo UVidalia nakwibhrawuza ye-Intanethi ehambelana ne iqhosha, iplagi Mozilla Firefox esivumela ukuba siyisebenzise kwisikhangeli ngokwaso. Nangona kunjalo, kwi unompilo Browser, Abenzi bayo bakwazile ukwenza lula yonke into, ukuyila isicelo esomeleleyo nesomeleleyo (ipakeji) ngendlela edibeneyo, oko kukuthi, nayo yonke into eyimfuneko ukusebenza ngokukhawuleza kulo naluphi na ulwabiwo.

unompilo Browser Kulula kakhulu ukuyisebenzisa, xa sele ifakiwe kwaye isebenza kuncinci okanye akukho nto inokuqwalaselwa, ngaphandle kokuba ungumsebenzisi ophambili kakhulu okanye unomdla malunga nokhuseleko kunye nemfihlo.

Nasi iskripthi seBash Shell:

==================================================================================== ====================
#!/bin/bash
#####################################################################
# EN ESTA SECCIÓN INCLUYA LOS DATOS DEL CREADOR Y EL PROGRAMA
#
#####################################################################


#####################################################################
# EN ESTA SECCIÓN INCLUYA LOS DERECHOS DE AUTOR Y LICENCIAMIENTO 
# DEL SOFTWARE
# 
#####################################################################

#####################################################################
# INICIO DEL MODULO DE TOR BROWSER                                     
#####################################################################

USER_NAME=`cat /etc/passwd | grep 1000 | cut -d: -f1`

HOME_USER_NAME=/home/$USER_NAME

cd $HOME_USER_NAME

rm -rf /opt/tor-browser*

rm -f /usr/bin/tor-browser*

rm -rf /usr/bin/tor-browser*

rm -f $HOME_USER_NAME/Escritorio/tor-browser.desktop

rm -f $HOME_USER_NAME/Desktop/tor-browser.desktop

rm -f $HOME_USER_NAME/.local/share/applications/tor-browser.desktop

rm -f /usr/share/applications/tor-browser.desktop

update-menus

#####################################################################

# wget -c https://dist.torproject.org/torbrowser/5.0.7/tor-browser-linux32-5.0.7_es-ES.tar.xz

# wget -c https://dist.torproject.org/torbrowser/5.0.7/tor-browser-linux64-5.0.7_es-ES.tar.xz

# Nota: Puede descargarlos manualmente desde esta URL: https://dist.torproject.org/torbrowser/

#####################################################################

unxz *tor-browser*.tar.xz

tar xvf *tor-browser*.tar

mv -f tor-browser_es-ES /opt/tor-browser

ln -f -s /opt/tor-browser/Browser/start-tor-browser /usr/bin/tor-browser

#####################################################################

chown $USER_NAME:$USER_NAME -R /opt/tor-browser/


echo '
[Desktop Entry]
Name=TOR Browser
GenericName=TOR Browser
GenericName[es]=Navegador web TOR
Comment=Navegador de Internet seguro
Exec=/usr/bin/tor-browser
Icon=/opt/tor-browser/Browser/browser/icons/mozicon128.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
MimeType=x-scheme-handler/mozilla;
X-KDE-Protocols=mozilla
' > /opt/tor-browser/tor-browser.desktop


ln -s /opt/tor-browser/tor-browser.desktop $HOME_USER_NAME/Escritorio/tor-browser.desktop

chown $USER_NAME:$USER_NAME $HOME_USER_NAME/Escritorio/tor-browser.desktop

chmod 755 $HOME_USER_NAME/Escritorio/tor-browser.desktop

chmod +x $HOME_USER_NAME/Escritorio/tor-browser.desktop


ln -s /opt/tor-browser/tor-browser.desktop $HOME_USER_NAME/Desktop/tor-browser.desktop

chown $USER_NAME:$USER_NAME $HOME_USER_NAME/Desktop/tor-browser.desktop

chmod 755 $HOME_USER_NAME/Desktop/tor-browser.desktop

chmod +x $HOME_USER_NAME/Desktop/tor-browser.desktop


ln -s /opt/tor-browser/tor-browser.desktop $HOME_USER_NAME/.local/share/applications/tor-browser.desktop

chown $USER_NAME:$USER_NAME $HOME_USER_NAME/.local/share/applications/tor-browser.desktop

chmod 755 $HOME_USER_NAME/.local/share/applications/tor-browser.desktop

chmod +x $HOME_USER_NAME/.local/share/applications/tor-browser.desktop


ln -s /opt/tor-browser/tor-browser.desktop /usr/share/applications/tor-browser.desktop

chown $USER_NAME:$USER_NAME /usr/share/applications/tor-browser.desktop

chmod 755 /usr/share/applications/tor-browser.desktop

chmod +x /usr/share/applications/tor-browser.desktop


su - $USER_NAME -c "tor-browser https://addons.mozilla.org/firefox/downloads/latest/11356/addon-11356-latest.xpi?src=dp-btn-primary" &

#####################################################################

rm -f $HOME_USER_NAME/tor-browser*.*

rm -f $HOME_USER_NAME/*.xpi

clear

su - $USER_NAME -c "xdg-open 'https://dist.torproject.org/torbrowser/'" &

clear

echo ''
echo ''
echo '#--------------------------------------------------------------#'
echo '#  GRACIAS POR USAR ESTE SCRIPT DE INSTALACIÓN DE TOR BROWSER  #'
echo '#--------------------------------------------------------------#'
echo ''
echo ''

sleep 3

#####################################################################
# FINAL DEL MODULO DE TOR BROWSER                                      
#####################################################################
==================================================================================== ====================

Qaphela: Mna ngokobuqu AKUSETYENZISWA unompilo Browser kuba andizukuhamba IWebhu eNzulu okanye ndiyoyika a ukuphanga o ukukhwaza yolwazi lwam okanye ukwaphula imfihlo yam, kodwa ndiyazi ukuba baninzi abakwenzayo kunye nabo oku kufakwa kweskripthi, okuya kwenza ubomi babo bube lula.

Uncedo lwezi zikripthi kukuba zivumela zombini Mozilla Firefox njenge Khangela uMkhangelir zenziwe ngohlobo lokuba vumela ukuhlaziywa okufanayo, njengoko kusenziwa kwiifestile. Oko kukuthi, Ukuvula ifayile ye- Iqhosha leMenyu yeCharms Bar, Ukuvula iMenyu yoNcedo (Umbuzo weIcon) nakwifestile ephumayo ephuma (Malunga ...) Uskena uhlaziyo olulindelekileyo kwaye uhlaziyo lwenziwa ngokungafihlisiyo njengakwiWindows.

Khumbula ukuba kwimeko yokwenza ifayile umbhalo-ngqangi (Umzekelo: mi-Iskripthi-isikhangeli.shNgale khowudi, ndincoma ukuba ukhuphele ifayile ngokwakho unompilo Browser ihlaziywa ngesandla, ke kuya kufuneka ugcine uphawula wget imigca yokukhuphela, kwaye uyibeke kwifayile ye- indlela / ikhaya / my_user kunye nefayile tar.gz de unompilo Browser Khuphela kwaye usebenze ngomyalelo wokuyalela $ ukutshatyalaliswa mi-Iskripthi-isikhangeli.sh . Ngaphantsi kwemizuzwana engama-30 uyakuba nayo yonke into esebenzayo. Emva koku ungahamba nayiphi na website ngohlobo lwesikhangeli sakho esikhethwe nguwe unompilo Browser.

Kude kube ngumyalezo olandelayo, oza kuba malunga neLibreOffice. Njengoko ndinishiya nolu papasho lutsha kunye nomsebenzi onomdla wohlalutyo kunye nophando.

ISIFUNDO SOMGANGATHO WENKQUBO

Ifolda_001

Ifolda_002

ingcambu @ hostmovil-sysadmin: -ekhaya-sysadmin_003

Indawo yomsebenzi 1_004

Uqwalaselo lwenethiwekhi Tor_005

Isimo seTor_006

Isikhangeli seTor_007

Isalathiso se -torbrowser -Tor_008 Isikhangeli

Malunga neTor_009 Isikhangeli

Malunga neTor-Tor_010 Isikhangeli


Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa. ezidingekayo ziphawulwe *

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UDayane Qu sitsho

    Nangona isikhangeli seFirefox silungelelaniswe yiProjekthi ye-TOR ukuqhuba iisayithi nge .onion, ikwasetyenziselwa ukukhangela indawo eziqhelekileyo, ayisiyiyo yonke into "yewebhu enzulu", engamaphepha angacacanga kwaye afihliweyo ukusebenzisa i-TOR kunye Kwangelo xesha, musa ukubonelela ngolwazi oluyekisayo, kukho iingcebiso:
    1. Ungaze utyelele iisayithi ezifanayo kwakwikhompyuter enye ngaxeshanye, utshintshe inethiwekhi eqhelekileyo kunye nothungelwano lwetswele.
    2. Ungaze ungene kwi-TOR, umz.
    3.Sebenzisa i-injini yokukhangela ekhuselekileyo engakulandeliyo, umzekelo, ikhonkco leDuckDuckGo: https://duckduckgo.com
    kunye nesipili sayo kwion
    Khubaza iJavaScript, kuba inokuqhuba iinxalenye zekhowudi yobunini kwaye yonakalise imfihlo yakho kunye nokuthembeka kwikhompyuter yakho.
    5. Sebenzisa i-TAILS okanye enye i-distro ejolise kubucala, usetyenziso kunye nonxibelelwano lwakho lunyanzeliswa ukuba lubhalwe ngokufihliweyo kwinethiwekhi ye-TOR.
    6.Faka i-HTTPS naphina kwaye ubethele ukugcwala kwakho.

    Kukho iingcebiso ezininzi ezivela kwabanye abasebenzisi, ndiyakumema ukuba wabelane ngamava kunye neengcebiso zale projekthi. Nikela, phuhlisa, sebenzisa, negalelo!
    Nibuliso!

  2.   Ing. UJoseph Albert sitsho

    Amagqabantshintshi kunye negalelo lakho lihle kakhulu!

    Ndiyakuvuyela ngobuchule bakho.

  3.   URaul P. sitsho

    Injineli yokubulisa, ndiyazithanda izifundo zakho.

    IGazapo: «esivumela ukuba sifihle»

  4.   Ing. UJoseph Albert sitsho

    Ewe, into ihlala ihamba, yonke into ayifezekanga ngokugqibeleleyo!

  5.   UJoseph Linares sitsho

    Indlela oyisebenzisayo ukufumana umsebenzisi wangoku ayilunganga, ibuyisela umsebenzisi nge-UID 1000. Kulungile, ukuba mnye kuphela umsebenzisi, kuhlala kunjalo, kodwa oku akufuneki kube njalo. Ngaba ngekhe kubengcono ukusebenzisa umsebenzisi = $ (whoami)?
    Kananjalo ikhaya akufuneki libizwe ngokufanayo nomsebenzisi. Ngethamsanqa, umahluko ~ uhlala unendlela yasekhaya.

  6.   Ing. UJoseph Albert sitsho

    Khumbula ukuba ngeShell Scripting unokwenza izinto ezininzi ezintsonkothileyo ezinqamlezayo (iiDistros ezahlukeneyo) usebenzisa iifayile ezincinci kakhulu. Ndizokushiya le screencast incinci yento endizokufundisa yona kungekudala, kwabo baqhubeka nokubukela ikhosi, kwaye nge-50Kb kuphela ithembisa okuninzi! Kwaye sisiqingatha kuphela sento enokwenziwa ngeShell Scripting.

    I-LPI-SB8 yoVavanyo lweScreenCast (I-LINUX POST INSTALL-ISIKRIPTHI BICENTENARIO 8.0.0)
    (lpi_sb8_adaptation-audiovisual_2016.sh / 43Kb)

    Jonga iScreencast: https://www.youtube.com/watch?v=cWpVQcbgCyY

  7.   Ing. UJoseph Albert sitsho

    Ndibulisa kubo bonke abo balandela ikhosi ekwi-Intanethi ye "Funda iShell Scripting" kungekudala siza kuqhubeka nezinye iincwadi ezisisiseko ukuze siqhubeke nokwabelana ngolwazi kwaye siqhubeke nokuncokola nalo sonke.

    Ndiyathemba ukuba uza kuhlala ubukele kuba kungekudala ndiza kuqala ngeekhowudi ezihambele phambili kodwa zivezwe ngendlela eqondakalayo ngokubonakalayo ngaphandle kokuntsonkotha kwayo.

    I-LPI-SB8 yoVavanyo lweScreenCast (I-LINUX POST INSTALL-ISIKRIPTHI BICENTENARIO 8.0.0)
    (lpi_sb8_adaptation-audiovisual_2016.sh / 43Kb)

    Jonga iScreencast: https://www.youtube.com/watch?v=cWpVQcbgCyY