Suse majú interaktívny nástroj yast. (podobne ako Debiany majú aptitude)
Ako rozchodiť proxy:
proxy defautlne komunikuje pomocou portu 3128
1) príkaz yast:
linux-d9xb:~ # yast
2) vôjdem do nástroja yast a prejdem k Network Services a potom vpravo mám proxy adresu plus port (dám ENTER) a nastavím http a https proxy adresu + port:
3) Enable proxy musí byť zaškrtnuté a píšem adresu proxy + port:
napr: http://9.9.9.9.:3128 (samozrejme, použijete vlastnú proxy adresu, tu je len príklad)
napr: https://9.9.9.9.:3128
4) vyskúšam, či mi ide internet:
linux-d9xb:~ # wget google.com
--2020-01-02 13:40:58-- http://google.com/
Connecting to proxyIP... connected.
Proxy request sent, awaiting response... 301 Moved Permanently
Location: http://www.google.com/ [following]
--2020-01-02 13:40:59-- http://www.google.com/
Reusing existing connection to proxyIP.
Proxy request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 12.25K --.-KB/s in 0s
2020-01-02 13:40:59 (158 MB/s) - ‘index.html’ saved [12539]
5) skúsim cez zypper nainštalovať niečo: (skrátený výstup)
linux-d9xb:~ # zypper install mc
Retrieving repository 'Non-OSS Repository' metadata ...................................................................................................................................................................................[done]
Building repository 'Non-OSS Repository' cache ........................................................................................................................................................................................[done]
Retrieving repository 'Main Repository' metadata ......................................................................................................................................................................................[done]
Building repository 'Main Repository' cache ...........................................................................................................................................................................................[done]
Retrieving repository 'Main Update Repository' metadata ...............................................................................................................................................................................[done]
Building repository 'Main Update Repository' cache ....................................................................................................................................................................................[done]
Retrieving repository 'Update Repository (Non-Oss)' metadata ..........................................................................................................................................................................[done]
Building repository 'Update Repository (Non-Oss)' cache ...............................................................................................................................................................................[done]
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 13 NEW packages are going to be installed:
libXss1 libburn4 libisoburn1 libisofs6 libjte1 libpython2_7-1_0 libssh2-1 mc mc-lang python-base tk xhost xorriso
The following 2 recommended packages were automatically selected:
mc-lang xorriso
13 new packages to install.
Overall download size: 11.0 MiB. Already cached: 0 B. After the operation, additional 38.9 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
Retrieving package libXss1-1.2.2-lp151.4.2.x86_64
linux-d9xb:~ #
6) Spustíme update
(dlhý výpis:)
linux-d9xb:~ # zypper update
Loading repository data...
Reading installed packages...
300 packages to upgrade, 6 new, 1 to remove.
Overall download size: 305.8 MiB. Already cached: 0 B. After the operation, additional 340.1 MiB will be used.
Note: System reboot required.
Continue? [y/n/v/...? shows all options] (y):
Žiadne komentáre:
Zverejnenie komentára