Portál AbcLinuxu, 10. května 2025 05:32
Jak nastavit update antiviru. V návodu je uvedeno:
/usr/local/f-prot/tools/check-updates.pl
Provedl jsem:
user@autocont:~> su Heslo: autocont:/home/user # /usr/local/f-prot/tools/check-updates.pl Unable to connect to server and retrieve update info! Can't connect to updates.f-prot.com:80 (Bad hostname 'updates.f-prot.com ') Exiting... autocont:/home/user #
Problém asi bude, že jsem za proxy.
Jak příkaz modifikovat pro zadání proxy, jména a hesla?
Když napíši podle návodu:
Configuration options --proxy <http://proxy.name:portnumber> This option will cause the perl script to use <proxy.name> as an HTTP proxy server and the supplied portnumber for all HTTP communications. --proxy-username USERNAME This option will cause the updater to use USERNAME as a username when authenticating to a proxy server (this option is only needed if the HTTP proxy server requires authentication). --proxy-password PASSWORD This option is used with the --proxy-username and will cause PASSWORD to be used when the updater authenticates with the HTTP proxy.
příkaz:
/usr/local/f-prot/tools/check-updates.pl -proxy-server=proxy.dormant.cz:8080 -proxy-username=karva -proxy-password=Peta01
vrací chybu:
Unable to connect to server and retrieve update info! Protocol scheme 'proxy.dormant.cz' is not supported Exiting...
Protocol scheme 'proxy.dormant.cz' is not supportedAsi musíte zadat adresu i s protokolem --
http://proxy.dormant.cz:8080
.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.