|
Größe: 5489
Kommentar:
|
Größe: 6384
Kommentar:
|
| Gelöschter Text ist auf diese Art markiert. | Hinzugefügter Text ist auf diese Art markiert. |
| Zeile 5: | Zeile 5: |
| == Addons == === Iceweasel/Firefox === * DownThemAll * Firemacs * Flagfox * Link Alert * Noscript * Password Exporter * RequestPolicy * Tree Style Tab * User Agent Switcher === Icedove/Thunderbird === * Display Mail User Agent * Display Contact Photo * Enigmail * Extra Folder Columns * Lightning/Iceowl * Manually Sort Folders * Mail Redirect * New Mail Attention * Timeline * Toggle Word Wrap |
|
| Zeile 193: | Zeile 219: |
{{{ fdisk -l /dev/sdb fdisk /dev/sdb cryptsetup luksOpen /dev/sdb5 crypt1 mount /dev/mapper/crypt1 /mnt vgscan --mknodes vgchange -ay cryptsetup resize crypt1 pvresize /dev/mapper/crypt1 pvchange -x y /dev/mapper/crypt1 lvresize -l +100%FREE /dev/mapper/debstick-root pvchange -x n /dev/mapper/crypt1 e2fsck -f /dev/mapper/debstick-root resize2fs -p /dev/mapper/debstick-root sync cryptsetup luksClose /dev/sdb5 crypt1 }}} |
Administration
Inhaltsverzeichnis
-
Administration
- Addons
- 2015-05-02 20:03:47 root@waffenkammer ~ # fdisk -l /dev/sda
- SIS-Graphiktreiber
- vimdiff
- VirtualBox VRDE Server aktivieren
- VirtualBox "CD" einlegen
- TLS und SSL im Firefox/Iceweasel
- Aptitude
- NFS
- Multiarch
- update-alternatives
- etc network interfaces
- wpa_supplicant
- Verschlüsselten Datenträger vergrößern
Addons
Iceweasel/Firefox
- Firemacs
- Flagfox
- Link Alert
- Noscript
- Password Exporter
- Tree Style Tab
- User Agent Switcher
Icedove/Thunderbird
- Display Mail User Agent
- Display Contact Photo
- Enigmail
- Extra Folder Columns
- Lightning/Iceowl
- Manually Sort Folders
- Mail Redirect
- New Mail Attention
- Timeline
- Toggle Word Wrap
2015-05-02 20:03:47 root@waffenkammer ~ # fdisk -l /dev/sda
Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000d9460 Device Boot Start End Blocks Id System /dev/sda1 * 63 546209 273073+ 83 Linux /dev/sda2 546210 307194929 153324360 5 Extended /dev/sda3 307194930 312581807 2693439 83 Linux /dev/sda5 546273 20081249 9767488+ 83 Linux /dev/sda6 20081313 25944974 2931831 83 Linux /dev/sda7 25945038 307194929 140624946 83 Linux
SIS-Graphiktreiber
https://github.com/gununu/xf86-video-sis-stable
vimdiff
do - Get changes from other window into the current window. dp - Put the changes from current window into the other window. ]c - Jump to the next change. [c - Jump to the previous change. Ctrl W + w - Switch to the other split window (CTRL-W CTRL-W does the same thing, in case you let go of the CTRL key a bit later)
VirtualBox VRDE Server aktivieren
VBoxManage setproperty vrdeextpack "Oracle VM VirtualBox Extension Pack"
VirtualBox "CD" einlegen
VBoxManage storageattach "64ee42b4-a781-4a01-a09e-f8ba6747ed39" --medium additions --storagectl "IDE" --port 1 --device 0 --type dvddrive
TLS und SSL im Firefox/Iceweasel
about:config
security.tls.version.max 3 security.tls.version.min 1 security.ssl3.rsa_fips_des_ede3_sha false
Aptitude
Installierte Pakete nach Quellen
aptitude search '~S ~i ~O "Debian Backports"' aptitude search '~S ~i ~O "Unofficial Multimedia Packages"'
NFS
Pakete Server
i A libnfsidmap2 - Bibliothek zur Abbildung von NFS-IDs i A nfs-common - NFS-Dateien, die von Client und Server benutzt werden i nfs-kernel-server - Unterstützung für den NFS-Kernel-Server
etc fstab Server
/private.data2/income /exports/income none bind,auto,rw 0 0 /private/Filme /exports/Filme none bind,auto,ro 0 0 /private.data2/Fuelme /exports/Fuelme none bind,auto,ro 0 0
cat /etc/exports # /etc/exports: the access control list for filesystems which may be exported # to NFS clients. See exports(5). # # Example for NFSv2 and NFSv3: # /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) # # Example for NFSv4: # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) # /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) # /exports 192.168.2.0/24(fsid=0,rw,subtree_check,secure,nohide) #/var/nfs 192.168.2.44(rw,no_subtree_check) 192.168.2.29(ro,no_subtree_check) #/private/Filme 192.168.2.0/24(ro,subtree_check) /exports/Filme 192.168.2.0/24(ro,subtree_check,secure,nohide) #/private.data2/Fuelme 192.168.2.0/24(ro,subtree_check) /exports/Fuelme 192.168.2.0/24(ro,subtree_check,secure,nohide) #/private.data2/income 192.168.2.0/24(rw,subtree_check) /exports/income 192.168.2.0/24(rw,subtree_check,secure,nohide) #/private.archive/income 192.168.2.*(rw,subtree_check) #/private.data/exchange 192.168.2.*(rw,subtree_check)
# exportfs
exportfs
/exports 192.168.2.0/24
/exports/Filme 192.168.2.0/24
/exports/Fuelme
192.168.2.0/24
/exports/income
192.168.2.0/24
Multiarch
dpkg --add-architecture i386 apt-get update
update-alternatives
update-alternatives --install /usr/bin/mencoder mencoder /usr/bin/mencoder-mt 20 update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/urxvtcd 40
etc network interfaces
cat /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #allow-hotplug eth0 #auto eth0 #iface eth0 inet dhcp #iface eth0 inet static #address 192.168.2.53 #netmask 255.255.255.0 #gateway 192.168.2.1 #broadcast 192.168.2.255 #auto wlan0 #iface wlan0 inet dhcp auto wlan0 iface wlan0 inet static address 192.168.2.53 netmask 255.255.255.0 gateway 192.168.2.1 broadcast 192.168.2.255 wpa-driver wext wpa-conf /etc/wpa_supplicant/wpa_psk.conf iface dsl-provider inet ppp pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf provider dsl-provider
wpa_supplicant
network={
ssid="SSID"
scan_ssid=1
key_mgmt=WPA-PSK
psk="passwort"
}
Verschlüsselten Datenträger vergrößern
Beste: https://help.ubuntu.com/community/ResizeEncryptedPartitions http://ubuntuforums.org/showthread.php?t=726724
fdisk -l /dev/sdb fdisk /dev/sdb cryptsetup luksOpen /dev/sdb5 crypt1 mount /dev/mapper/crypt1 /mnt vgscan --mknodes vgchange -ay cryptsetup resize crypt1 pvresize /dev/mapper/crypt1 pvchange -x y /dev/mapper/crypt1 lvresize -l +100%FREE /dev/mapper/debstick-root pvchange -x n /dev/mapper/crypt1 e2fsck -f /dev/mapper/debstick-root resize2fs -p /dev/mapper/debstick-root sync cryptsetup luksClose /dev/sdb5 crypt1