**This is an old revision of the document!**
Einrichtung
| Name | Phone | Age John Smith | john.smith@example.com | +1-123-456-7890 | 34 Jane Johnson | jane.johnson@test.com | +1-234-567-8901 | 28 Alex Williams | alex.williams@dummy.com | +1-345-678-9012 | 45 Emily Jones | emily.jones@example.com | +1-456-789-0123 | 22 Chris Brown | chris.brown@test.com | +1-567-890-1234 | 39 Katie Davis | katie.davis@dummy.com | +1-678-901-2345 | 31 Michael Miller | michael.miller@example.com | +1-789-012-3456 | 50 Sarah Wilson | sarah.wilson@test.com | +1-890-123-4567 | 27 David Moore | david.moore@dummy.com | +1-901-234-5678 | 41 Laura Taylor | laura.taylor@example.com | +1-012-345-6789 | 36 |
|---|
Netzwerk
Der kürzeste und schnellste Weg, Netzwerkeinstellungen vorzunehmen, ist wie immer über die Konsole.
Die Datei /etc/profile bzw. /etc/environment (Lubuntu) enthält systemweite Variablen (Systemvariablen), die beim booten initialisiert werden. Diese Datei wird modifiziert.
==== Proxy ==== Füge die folgenden Zeilen hinzu. Und ja: Die Variablen müssen doppelt geschrieben werden, da einige Programme nach den Variablennamen in Großbuchstaben, andere jedoch in Kleinbuchstaben suchen.
/etc/environment
http_proxy=http://myproxy.server.com:8080/ https_proxy=http://myproxy.server.com:8080/ ftp_proxy=http://myproxy.server.com:8080/ no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" HTTP_PROXY=http://myproxy.server.com:8080/ HTTPS_PROXY=http://myproxy.server.com:8080/ FTP_PROXY=http://myproxy.server.com:8080/ NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
/etc/profile
export http_proxy=http://myproxy.server.com:8080/ export https_proxy=http://myproxy.server.com:8080/ export ftp_proxy=http://myproxy.server.com:8080/ export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" export HTTP_PROXY=http://myproxy.server.com:8080/ export HTTPS_PROXY=http://myproxy.server.com:8080/ export FTP_PROXY=http://myproxy.server.com:8080/ export NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
==== apt ==== Leider lesen diese Programme die Umgebungsvariablen auch nicht aus, so dass wir diese auf eine andere Weise bekannt machen müssen.
In /etc/apt/apt.conf.d/ erstelle die Datei 95proxies oder proxy.conf (ausprobieren) und schreibe folgende Zeilen: Acquire::http::proxy “http://myproxy.server.com:8080/”; Acquire::ftp::proxy “ftp://myproxy.server.com:8080/”; Acquire::https::proxy “https://myproxy.server.com:8080/”;
Achte hierbei genau auf die doppelten Doppelpunkte und Semikolon am Ende jeder Zeile.
=== Script zum Ein- und Ausschalten der Proxies === !!! Nur für Fortgeschrittene !!! Codeschnipsel