Ubuntu Proxy-Server Konfiguration

Proxy-Server in Ubuntu konfigurieren

Shou Arisaka
1 Min. Lesezeit
15. Nov. 2025

Wie man einen Proxy-Server in Ubuntu für Linux-PCs und -Server konfiguriert.

sudo vim  /etc/environment
export http_proxy="http://username:[email protected]:12345"
export https_proxy="http://username:[email protected]:12345"
export ftp_proxy="http://username:[email protected]:12345"
export HTTP_PROXY="http://username:[email protected]:12345"
export HTTPS_PROXY="http://username:[email protected]:12345"
export FTP_PROXY="http://username:[email protected]:12345"

Auf diese Weise können Sie den Proxy-Server konfigurieren.

Um die Proxy-Server-Konfiguration zu überprüfen, führen Sie den folgenden Befehl aus:

env | grep -i proxy

Um die Proxy-Server-Konfiguration zu entfernen, führen Sie auch den folgenden Befehl aus:

unset http_proxy
unset https_proxy
unset ftp_proxy
unset HTTP_PROXY
unset HTTPS_PROXY
unset FTP_PROXY

Führen Sie schließlich den folgenden Befehl aus, um die Proxy-Server-Konfiguration anzuwenden:

source /etc/environment

Das ist alles.

Diesen Artikel teilen

Shou Arisaka 15. Nov. 2025

🔗 Links kopieren