In the rinotevera rinoshanda, yakanangana nevashandisi zvimwe zvitsva kune ino Linux-based operating system, ini ndiri kuzokuratidza maitiro ekuita a nyore script izvo zvichatibatsira kugadzirisa zvinyorwa, kugadzirisa zvese software kana kunyangwe gadza edu epamoyo zvirongwa nekudzvanya kamwe chete uye otomatiki.
Uchishandisa izvi chinyorwa, iyo yatinozozviitira pachedu, inodzivirira kuve nekunyora mu terminal mirairo yekuisa akasiyana mapurogiramu, mapurogiramu kana mirairo yatinowanzo shandisa nguva dzose.
Tsika script zvinoshandiswa
Chimwe chezvinhu zvikuru zvekushandisa zvandinoona chinyorwa kuti isu tichaita kunotevera, kana tangoita yakachena kumisikidza Ubuntu, ine chete mhanyisa script tinogona kugadzirisa uye nekuisa ese edu epamoyo mapurogiramu pasina kupinda chero chinhu mune inouraya.
Tinogona zvakare kuita iyo chinyorwa Nechero rairo yatinowanzoshandisa kuti tirege kuvhura iyo terminal uye kuitisa nemawoko, ini ndinosiya zvese kune kwako kufunga.
Maitiro ekugadzira yakapusa script
Kugadzira a nyore script Kuita rairo yakadai sekumisikidza zvinyorwa, kana kuisa edu epamoyo zvirongwa, isu tichafanirwa kugadzira gwaro nyowani nyowani ne gedit uye tinyore mitsara inotevera yandichazotsanangura.
#! / bin / bash
echo Gimp
akakanda panze ..mukati me1 sec script inotanga, kana kuvhara iyo terminal
hope 1s
cd / imba / mushandisi
sudo apt-get update
sudo apt-tora kusimudzira
sudo apt-tora kuisa gimp compizconfig-zvigadziriso-maneja chromium-browser cairo-dock amarok vlc kolourpaint4 qbittorrent ubuntu-inorambidzwa-yekuwedzera
Mutsara wekutanga wezvese ndiwo iwo watinofanira kuremekedza sezvo iri iyo inopa iyo odha inoitisa zvinyorwa zvinyorwa Bash uye hatifanirwe kuchichinja.
Zvimwe zvikamu zvandakamaka nezvitsvuku ndizvo zvatinogona shandura paunoda kuziva zvinotevera:
echo Tichazvipa zita ratiri kuda, sarudzo yeumwe neumwe uye unotsanangura muchidimbu iyo chinyorwa.
kukanda kunze. pano tinogona kukuudza kuti yakareba sei iyo chinyorwa kumhanya kana terminal yavhurika, kuti itipe nguva yekuvhara iyo terminal kana tisingade kuiisa.
hope iyo nguva yekupedzisira yeiyo script yekumhanyisa mune iyo terminal
cd uye nzira iyo yatinoda kuisa mapurogiramu nekukanganisa, zvinokurudzirwa kuisiya sezvazviri kubva nenzira iyi ichavaisa mune yedu mushandisi dhairekita mukati medu Home.
Este script yekutanga isu taizo gadziridza runyorwa rwezvakachengetedzwa, isu taizo gadziridza ese akaisirwa software uyezve yaizoisa zvese zvirongwa zvakabatanidzwa mushure memurairo sudo apt-tora kuisa, kugara uchisiya nzvimbo pakati pechirongwa chimwe nechimwe.
Kuti tiite izvi isu tinongofanirwa kuvhura nautilus uye kubva pane sarudzo faira / zvido / maitiro uye tarisa bhokisi bvunza nguva dzese iri mukati yesarudzo ye Anogoneka mavara mafaera.
Nenzira iyi, nekungodzvanya kaviri pane inoitisa zvinyorwa faira, inotibvunza kana tichida zviratidze nemunyori wedhizaina kana mhanyisa zvakananga.
Mamwe mashoko - Ubuntu 13.04, Kugadzira bootable USB neYumi (muvhidhiyo)
Izvi zvakare zvinoshanda pane iyo cinnarch Gnome distro kana chero imwe distro kana chete pane ubuntu?
Izvi zvaizoshandira chero Ubuntu kana Debian based distro.
Pa 16/04/2013 01:22 PM, «Disqus» akanyora kuti:
Inonakidza zvikuru.
Ndekupi kwatinogona kuwedzera zvakafanira zvinyorwa kune iyo script, senge medibuntu kana jdownloader?
Muchas gracias
Pane tambo nyowani pamusoro chete Sudo apt-tora kugadzirisa
2013/4/16
Mhoroi, ndakafarira iyo posvo. Ndinoda kuziva kana chinyorwa chingaitwe kuti chibatanidze kune Webdav server (chaizvo hard drive yakabatana yakananga kunetiweki) uchishandisa nautilus.
Pane chero munhu anoziva kana zvichibvira?
Nerudzi urwu rwekutanga script iwe unogona kuteedzera chero rairo kubva kune iyo terminal, iwe unongo fanirwa kuiisa kumagumo eiyo faira faira. Handina kuzviedza asi ndinofunga zvinoshanda.
Thanks.
2013/4/16
Ini ndinogona kumhanya sh faira saka ini handifanire kumhanya kubva kune terminal
nekuti ini ndinozviita kubva ku terminal seizvi
cd mitambo / pk
chmod + x Pk.sh
sh Pk.sh
uye iko kunyorera kunoitwa, zvinobatsira, unogona here kukurudzira chimwe chinhu kuti chikwanise kuzviita kubva kune yekutanga icon kuvonga
Ndinokutendai Francisco, kwave kuri kubatsira kukuru; Kune avo vedu vanobva kuMsDos, Win95-98-98_2ª, Xp, Win7, zvinotibatsira kunyudza muLinux (ndinoifarira zvakanyanya uye nekuwedzera).
Mamwe mapoinzi:
Ndine Linux Mint 17.1 Rebecca Cinamon, kuitisa iyo faira, inofanirwa kunge iri munzira (nzira, nzira kana inoitisa dhairekitori kuzivikanwa), kuve nayo mumba medu kwakwana ~ (alt gr + ñ), uye unofanirwa kuchinja hunhu kune iyo faira, ini ndinoseta zvese zvakasununguka kuverenga nekunyora uye sarudza "bvumira iyo faira kuti ifambe sepurogiramu", iyo yekuwedzera yandinoisa i "sh"; chip shanduko, kubva kubheti kuenda ku sh 🙂