Linux

Aus Zovis Wikili
Wechseln zu: Navigation, Suche
###--- Gott sei Dank, ich bin weg vom Fenster ---###

Starten mit Linux

Sehr gute einführung in die Shell [1]



My favourite Linux Software

Linux SW (Ubuntu)

PM = Paket Manager

zur Apt-get Linuxtips.LinuxSWListe SWListe

Allgemeines

  • Wireshark → PM
  • gnome-device-manager → PM
  • Umit Network Scanner → PM
  • gtkpod - iPod manager → PM
  • Hipo - iPod manager → PM
  • K3b, (evt auch GnomeBaker) → PM - Brennproggies
  • Shutter → PM - Printscreens und mehr
  • MountManager → PM
  • CompizConfig → PM
  • Desktop Drapes
  • pyNeighborhood → PM (GUI - kleiner Mountmanager)
  • Music Applet → PM
  • Wallpaper Tray → PM - Allpet
oder:
  • UltraCopier - [2] gefällt mir schon fast besser... =)
  • Wammu - Handy SW → PM
  • gMobileMedia - Handy Datamanager SW → PM
  • Wuala - Net-Space
  • gkrellm → PM - Echtzeit Monitoring Tool
  • VirtualBox → neuste Version und auch das dazu passende VM VirtualBox Extension Pack für USB2 Support siehe hier → USB Unterstützungsfehler siehe hier
  • Conky - kooles Sytemresourcenanzeige Proggi

Backup / Sync

  • Back in Time
  • Komparator - Compair Folders and Data → PM
  • Dar (noch anschauen)
  • insync - great google drive sync tool

BackUpen mit tarball -> tar.gz

tar -cjvf /pfad/zum/sicherigsmedium/sicherig-vom-2008-12-22.tar.bz2

restoren mit..

tar -xpvf sicherig-vom-2008-12-22.tar.bz2

Recover Forensic

  • rdd - Ein forensisches Kopierprogramm - PM
  • ddrescue - Kopiert Daten von einer Datei oder einem Block-Gerät zu einem Anderen - PM

Sichern und Wiederherstellen einer Partition

Von einer Partition lässt sich mit dd eine exakte Kopie als normale Image-Datei im vorhanden Dateisystem ablegen. Zweckmässigerweise ist die Gerätedatei der Partition nicht eingehängt, damit ein versehentliches Vertauschen von if= und of= nicht zu Datenverlust führen kann.

dd if=/dev/sda1 of=/tmp/sda1_image

Danach kann bspw. ein „Undelete“ (undelete) auf einem ext2/ext3/ext4-Dateissystem mit debugfs -w /dev/sda1 versucht werden. Zum Wiederherstellen des Ausgangszustandes vertauscht man Ein- und Ausgabedatei:

dd of=/dev/sda1 if=/tmp/sda1_image

Datenträger unlesbar machen

Infos über das Löschen von HDDs

Unwiderrufliches Löschen einer ganzen Festplatte /dev/sda einschließlich aller Partitionsinformationen mit /dev/urandom unter GNU/Linux:

dd if=/dev/urandom of=/dev/sda



Löschen einer SSD

Siehe http://www.pcwelt.de/ratgeber/Datensicherheit-6581465.html





Löschen einer SSD

Siehe http://www.pcwelt.de/ratgeber/Datensicherheit-6581465.html



Audio

  • Rhythmbox → Aktueller installieren
sudo add-apt-repository ppa:webupd8team/rhythmbox
sudo apt-get update
sudo apt-get upgrade
  • VLC → PM
  • Audacity - mp3 bearbeiten - → PM
  • Calf → PM
  • LV2 → PM
  • musicGuru Musik komfortabel organisieren → neuere Ubuntuversionen Bug
  • gstreamer0.10-ffmpeg → GStreamer-Erweiterungen aus der »bad«-Sammlung → PM
  • gstreamer0.10-plugins-bad → FFmpeg-Erweiterung für GStreamer
  • TuxGuitar und Timidity → Gitarren SW
  • Mixx → DJ SW ab vers 1.9 brauchbar
  • PulseAudio Lautschtärke Regler → PM - Mixer um das Lineout aufnehmen zu können =)
  • MusE - PM - MIDI/Audio-Sequenzer und -Bearbeitungsprogramm

Video

  • DVD95 - Ganz easy Sicherheitskopien erstellen → PM
  • DeVeDe - Kuuler convertierer - DVD → PM\\
  • PiTiVi → Video schneide Progi → einstellung für typo3-flash: format:FLV, grösse: 400x300, skalieren: 100%, 25fps, codec: x264enc, audio: l.a.m.e. mp3\\
  • Kdenlive - Linux Video Editor - "Easy to use" und kann sehr viel
  • Motion - kuules Cam stream and motion- detection Tool

Bild

  • KColorChooser → PM - oder Gcolor2 → PM
  • Gimp oder/und Krita → PM - Grafik Tools
  • Inkscape → PM
  • nautilus-image-converter → PM → Bilder im Nautilus ändern. Damit bekommst du im Kontextmenü von Bildern die Option die Größe von Bilder zu ändern usw.

TinTii - Den Bilern Farbe entnehmen oder verleihen

Games

  • Nexuiz → PM
  • OpenArena → PM
  • AlienArena → PM
  • Chromium B.S.U. → PM
  • Torcs → PM
  • Blobby Volley 2

Fonts

  • ttf-aenigma → PM
  • ubuntustudio-font-meta → PM
  • ttf-aenigma → PM

RDP

  • Remmina → PM (geiles Tool!) Autostart: remmina -i (startet so als Trayicon)

Hardware

  • indicator-multiload:i386 -> PK - Ein Systemlast-Indikator, der Graphen zu CPU, RAM und Swap- Speicherverbrauch sowie zur Netzwerkauslastung anzeigen kann.
  • xsensores

Fun

  • Docky → PM - Dockmanager

ToDo

  • Minino Linux Distribution - für alte HW page
  • Hugin - Panorama SW
  • Bombono DVD → PM
  • zoneminder - überwachen von bereichen eines vieoblockfeldes → PM
  • Photivo - RAW-Bild editor der mit GIMP zuammen arbeitet → Website
  • Babelpod → Ipod SW alternative zu iTunes ???
  • video schneiden mit LiVES


Zovis Install String

Home:
sudo apt-get install wireshark umit k3b shutter wammu vlc audacity dvd95 devede kcolorchooser gimp openarena alien-arena ttf-aenigma ubuntustudio-font-meta lame gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse python-mutagen python-notify cifs-utils nfs-common gparted gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad p7zip-full

for Work:
sudo apt-get install remmina wireshark umit k3b shutter kcolorchooser gimp ttf-aenigma ubuntustudio-font-meta cifs-utils nfs-common gparted p7zip-full





FAQ

Passwörter

Reset root PW

getestet auf RedHat RHEL7

  • Reboot the system .
  • In the grub menu, press escape key to prevent the system from booting. Edit the grub menu by pressing “e” .
  • Press the arrow keys to get the “linux16” line and press “end” key. This will take you to the end of the line.
  • Here add ” rd.break console=tty1 ”
  • Press control-x to boot the system.
  • You will get the “switch-root” prompt like below.
  • switch_root:/# mount -o remount,rw /sysroot
  • switch_root:/# chroot /sysroot
  • sh-4.2# passwd root
  • By default, SE-Linux will be enabled on RHEL7 . So create a blank file in the name of “.autorelabel” under root. sh-4.2# touch /.autorelabel
  • Exit from the chroot jail and exit from the initramfs.
  • System will reboot and perform a full SELinux relabel , then reboot again.
  • Once the system is rebooted, you will be able to login with new root password which you have set it




SAMBA

Einzelne Hosts berechtigen ohne Useranmeldung

smb.conf

  1. smb.conf is the main Samba configuration file. You find a full commented
#version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
#samba-doc package is installed.
# Date: 2013-12-13
global]
workgroup = WORKGROUP
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User