====== Network ====== ===== Ports ===== ^Port^Protocol^ | 20 + 21 | FTP | | 22 | SSH | | 25 | SMTP | | 80 | HTTP | | 137 + 139 | TCP/UDP - SMB/Samba | | 443 | HTTPS | | 8080 | Proxy | | 3389 | RDP | | 3306 | MySQL | ===== Configuration ===== ==== Proxy ==== For your account only edit: sudo vi /home//.bashrc \\ For global proxy edit: sudo vi /etc/profile add export http_proxy=http://10.0.0.1:8080 \\ Reload your configuration source /home//.bashrc or source /etc/profile ==== Change your IP ==== Edit /etc/network/interfaces: sudo vi /etc/network/interfaces and add auto eth0 iface eth0 inet static address 10.0.0.2 netmask 255.0.0.0 network 10.0.0.0 broadcast 10.0.0.255 gateway 10.0.0.1 dns-nameservers 10.0.0.1 Restart your networkinterface /etc/init.d/networking restart ==== Join a domain and change hostname ==== Edit /etc/hosts sudo vi /etc/hosts and add 127.0.0.1 localhost.localdomain localhost 127.0.1.1 ubuntu.lunetikk.de ubuntu 10.0.0.2 ubuntu.lunetikk.de ubuntu \\ \\ Open /etc/hostname and change the entry to your new hostname (for example: ubuntu) sudo vi /etc/hostname Reload your hostname hostname –F /etc/hostname \\ \\ ~~DISCUSSION:closed~~