1 2 3 4 5 6 7 8 9 10 11 12 |
#STATIC auto eth0 iface eth0 inet static address 192.168.0.97 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 192.168.0.1 10.10.0.2 dns-search domain.de #DHCP auto eth0 iface eth0 inet dhcp |
Kategorie: Computer
Feb. 01 2014
Proxmox – OpenVZ Container Netzwerkkonfig
Jan. 29 2014
Apache2 Rewrite to https
1 2 3 4 5 6 7 8 9 10 11 |
RewriteEngine On # This will enable the Rewrite capabilities RewriteCond %{HTTPS} !=on # This checks to make sure the connection is not already HTTPS RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] # This rule will redirect users from their original location, to the same location but using HTTPS. # i.e. http://www.example.com/foo/ to https://www.example.com/foo/ # The leading slash is made optional so that this will work either in httpd.conf # or .htaccess context |
Jan. 29 2014
Vyatta 6 & EdgeRouer: add Debian Sources
1 2 3 4 5 6 |
configure set system package repository squeeze components 'main contrib non-free' set system package repository squeeze distribution 'squeeze' set system package repository squeeze url 'http://debian.ethz.ch/debian' commit save |
Jan. 29 2014
Clean Up Boot Partition
Boot Partition is full because of updated kernel’s
1 |
df -h |
Clean Up the Boot Partition with he following commands:
1 2 3 4 5 |
sudo -s dpkg --get-selections|grep 'linux-image*'|awk '{print $1}'|egrep -v "linux-image-$(uname -r)|linux-image-generic" |while read n;do apt-get -y remove $n;done apt-get autoremove update-grub exit |
Sources: http://ubuntuforums.org/showthread.php?t=1435818 updates – What is the safest way to clean up /boot partition? – Ask Ubuntu
Sep. 19 2013
Proxmox – OpenVZ Ubuntu activate console
Ubuntu 12.04 Standartmässig ist die Konsole der OpenVZ VM nicht aktiviert. Mit folgenden Schritten kann die Ausgabe aktiviert werden.
- 1
- 2