Skip to content
Snippets Groups Projects
Commit d838db5c authored by Martin Bellgardt's avatar Martin Bellgardt
Browse files

Merge branch 'master' of www.fsmpi.rwth-aachen.de:lip

parents 347cf3b5 7dbacfa5
No related branches found
No related tags found
No related merge requests found
Showing
with 299 additions and 175 deletions
\subsection{ipython}
~
Ipython stellt eine command-shell für python(und auch andere sprachen) zur verfügung.
\subsection{python-numpy}
~
Python-numpy ist eine Erweiterung für Python welche große mehrdimensionale Arrays und Matrizen zur verfügung stellt.
\subsection{python-scipy}
~
Python-numpy ist eine Erweiterung für Python und stellt Bibliotheken für wissenschaftliche Berechnungen zur verfügung.
\subsection{python-simpy}
~
Python-numpy ist eine Erweiterung für Python welche große mehrdimensionale Arrays und Matrizen zur verfügung stellt.
\subsection{singular}
~
Singular wird in der Vorlesung Computeralgebra eingeführt und benötigt.
\subsection{smartmontools}
~
Smartmotools installiert smartctl welches Festplatten (HDD, SSD) auf Fehler überprüft und so frühzeitig vor Festplatten-Ausfällen warnen kann.
~
Der nachfolgende Aufruf überprüft das Device sda1 auf Fehler.
~
\texttt{smartctl -H /dev/sda1}
\begin{document}
\subsection{Subversion}
~
Subversion ist ein zentrales(serverbasiertes) Versionsverwaltungssystem.
~
Aufzurufen im Terminal mit:
~
\texttt{svn checkout url}
\texttt{svn commit url}
\texttt{...}
~
Für Hilfe:
\texttt{svn help}
\subsection{swi-prolog}
~
Swi-prolog installiert einen Prolog interpreter. Prolog wird in der Vorlesung Einführung in die Programmierung eingeführt und benötigt.
~
Beispielaufzuruf im Terminal mit:
~
\texttt{swipl prolog1.pl}
kompiliert und läd prolog1, nun können Anfragen an prolog1 gestellt werden.
\subsection{Texmaker}
~
Texmaker ist ein Standard Tex-Editor mit grafischer Oberfläche, welcher die wichtigsten Librarys und Funktionen mitbringt.
~
Aufzurufen im Terminal mit:
~
\texttt{texmaker}
\begin{verbatim}
"TRUE" "gufw" "Firewall Frontend" \
"TRUE" "pwgen" "Tool um Passwoerter zu generieren" \
"TRUE" "p7zip-full" "Tool um u.a. ZIP Archive zu handhaben" \
"TRUE" "p7zip-rar" "Erweiterung von p7zip um auch RAR-Archive öffnen zu koennen" \
"FALSE" "unrar-free" "Zur Verwaltung von RAR-Archiven" \
"TRUE" "texmaker" "Grafischer Editor fuer La(Tex)" \
"TRUE" "inkscape" "Bildbearbeitung (Vektorbasiert)" \
"TRUE" "gimp" "Bildbearbeitung (Pixelbasiert)" \
"TRUE" "pidgin" "Multi-Messenger-Client" \
"FALSE" "subversion" "Versionsverwaltungstool (zentral)" \
"TRUE" "git" "Versionsverwaltungstool (dezentral)" \
"TRUE" "graphviz" "Tool zum visualisieren von Graphen" \
"FALSE" "gnome" "GNOME3 Desktop Umgebung" \
"FALSE" "xubuntu-desktop" "Xubuntu Desktop Umgebung und standard Programme" \
"FALSE" "fityk" "Tool zum Daten-Fitting und -Analyse" \
"FALSE" "openssh-server" "SSH-Server (s. KISS)" \
"FALSE" "zsh" "Alternative Shell" \
"FALSE" "zsh-doc" "Dokumentation von zsh" \
"FALSE" "lftp" "FTP-Client" \
"FALSE" "linux-firmware-nonfree" "Properitäre Firmware fuer exotische Notebooks/Hardware" \
"FALSE" "gddrescue" "Falls Daten gelöscht, letzte Option vor dem Tod der Hoffnung" \
"FALSE" "smartmontools" "Tool und Daemon zum prüfen von Speichermedien (HDD/SSD)" \
PH_PKGS=(\
"TRUE" "python-numpy" "Numeric Bibiliothek für Python" \
"TRUE" "python-simpy" "Simulationsframework für Python" \
"TRUE" "python-scipy" "Bibliothek für scientific computing" \
"TRUE" "python-matplotlib" "Schnittstelle zum Plotten mit Python" \
"TRUE" "ipython" "Interaktiver Python Interpreter mit Tab-Vervollständgung" \
"TRUE" "gnuplot" "Programm um Funktions- und Datenplots anzufertigen" \
"TRUE" "wxmaxima" "Graphische Benutzeroberfläche für das Maxima Computer Algebra System" \
"TRUE" "bpython" "Ein weiterer interaktiver Python Interpreter" \
)
IF_PKGS=(
"FALSE" "postgresql" "Datenbank-Server. Nett um in der Datenbanken-Vorlesungen Dinge auszuprobieren.\n Aber relativ groß." \
"TRUE" "dia" "Graphisches Tool, um UML/ER Diagramme für die Vorlesungen Softwaretechnik und Datenbanken anzufertigen" \
"TRUE" "haskell-platform" "Glaskow Haskell Compiler für die Vorlesung Programmierung" \
"TRUE" "java7-jdk" "Java JDK für die Vorlesung Programmierung" \
"TRUE" "swi-prolog" "Prolog Interpreter/Compiler für die Vorlesung Programmierung" \
)
M_PKGS=(\
"TRUE" "singular" "Tool für die Vorlesung Computeralgebra" \
\end{verbatim}
\subsection{unrar-free}
~
Unrar-free packt und entpackt Archieve verschiedener Art(z.B. .tar.gz, zip). Kann einige nicht-freien Formate nicht ohne weiteres entpacken.
~
Aufzurufen im Terminal mit:
~
\texttt{unrar-free 'Argumente'}
~
Übersicht der möglichen Argumente gibt es in
\texttt{man unrar-free}
\subsection{wxmaxima}
~
Wxmaxima ist ein Programm mit grafischer Oberfläche um Funktionen als Graphen zwei- oder dreidimensionale Graphen zu plotten.
~
Aufzurufen im Terminal mit:
~
\texttt{wxmaxima}
\subsection{Xubuntu-Desktop}
~
Xubuntu-Desktop installiert die XFCE Desktop Umgebung und XFCE StandardProgramme. XFCE kann nach der Installation im Loginmenu als Desktop Umgebung eingestellt werden. Im Vergleich zu KDE und Gnome ist XFCE ressourcensparender, deswegen gut für Netbooks oder ältere Laptops geeignet.
~
\subsection{zsh-doc}
~
Zsh-doc installiert die passende Dokumentation zu zsh.
\subsection{zsh}
~
Zsh ist eine alternative shell zum bash Terminal. Die Einrichtung und grundlegende Benutzung werden auf der KISS vorgestellt.
#!/bin/bash
#is this true for all uck versions??
SCRIPT_DIR=`dirname "$0"`
#source common functions (e.g. patch_all)
if [ -e "$SCRIPT_DIR/customize_common" ]; then
source "$SCRIPT_DIR/customize_common"
fi
function prepare_install()
{
if [ -e "$SCRIPT_DIR/lip_sources.list" ]; then
cp -v "$SCRIPT_DIR/lip_sources.list" "/etc/apt/sources.list"
fi
echo "# offline repository of the linux install party
deb [ trusted=yes ] file:/cdrom/archives precise lip" > /etc/apt/sources.list.d/lipoffline.list
add-apt-repository -y ppa:texlive-backports/ppa
apt-get update
}
function install_packages()
{
apt-get upgrade --assume-yes --force-yes
apt-get install aptitude -y
aptitude full-upgrade -y # make sure we have the newest versions
# Some daily images do not have a kernel ?!?
aptitude reinstall linux-image-generic-lts-quantal -y
apt-cache depends linux-image-generic-lts-quantal | tail -n+2 | awk '{print $NF}' | xargs aptitude reinstall -y
aptitude install automake cmake aspell-de build-essential ffmpeg htop hunspell lvm2 mencoder screen tofrodos efibootmgr gdisk linux-headers vlc moreutils network-manager-vpnc-gnome vim -y # install general packages
aptitude install --without-recommends mdadm -y # install mdadm without mailserver
aptitude install cm-super context feynmf fragmaster info latex-beamer latex-xcolor latexmk pgf psutils t1utils texinfo texlive-base texlive-bibtex-extra texlive-binaries texlive-common texlive-doc-base texlive-doc-de texlive-doc-en texlive-extra-utils texlive-font-utils texlive-fonts-extra texlive-fonts-extra-doc texlive-fonts-recommended texlive-fonts-recommended-doc texlive-formats-extra texlive-games texlive-generic-extra texlive-humanities texlive-humanities-doc texlive-lang-german texlive-latex-base texlive-latex-base-doc texlive-latex-extra texlive-latex-extra-doc texlive-latex-recommended texlive-latex-recommended-doc texlive-latex3 texlive-luatex texlive-math-extra texlive-metapost texlive-metapost-doc texlive-music texlive-omega texlive-pictures texlive-pictures-doc texlive-plain-extra texlive-pstricks texlive-pstricks-doc texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc texlive-xetex -y # install stripped version of texlive without all kinds of documentation in foreign languages
aptitude install hunspell-de-de language-pack-de language-pack-support-de wngerman wogerman wswiss poppler-data libreoffice-l10n-de libreoffice-help-de hyphen-de mythes-de thunderbird-locale-de firefox-locale-de -y # install german language support
MISSING_LANG_PKG="$(check-language-support -l de_DE)"
MISSING_LANG_PKG="$(check-language-support -l en_US) $MISSING_LANG_PKG" # check for missing packages for de_DE and en_US
if [ -n "$MISSING_LANG_PKG" ]; then
aptitude install $MISSING_LANG_PKG -y
fi
EXTRA_LANG_PKG="$(dpkg-query --show | cut -f1 | grep -E '^(language-pack|language-support|firefox-locale|thunderbird-locale|libreoffice-help|libreoffice-l10n)' | grep -Ev "[-](de|en)\>")" # remove extra language packages
if [ -n "$EXTRA_LANG_PKG" ]; then
aptitude purge $EXTRA_LANG_PKG -y
fi
}
function finalize()
{
echo -n "Europe/Berlin" > /etc/timezone
rm -rf /var/crash/*
}
prepare_install
install_packages
cp "$SCRIPT_DIR/no-bootloader-icon/ubiquity-gtkui-no-bootloader.desktop" /usr/share/applications/
#patch rootfs
patch_all "$SCRIPT_DIR/rootfs-patches/" "/"
finalize
#!/bin/bash
function patch_all()
{
PATCH_DIR="$1"
TARGET_DIR="$2"
if [ ! -d "$PATCH_DIR" ]; then
echo "Nothing to patch here!"
return 0
fi
if [ -z "$TARGET_DIR" ]; then
echo "No target directory given, assuming /"
TARGET_DIR="/"
fi
echo "Patching $TARGET_DIR ..."
for p in "$PATCH_DIR/"*
do
cat "$p" | patch -d "$TARGET_DIR" -p1
done
echo "done."
}
#!/bin/bash
###################################################################################
# UCK - Ubuntu Customization Kit #
# Copyright (C) 2006-2010 UCK Team #
# #
# UCK is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# UCK is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with UCK. If not, see <http://www.gnu.org/licenses/>. #
###################################################################################
REMASTER_HOME=$1
REMASTER_DIR="$REMASTER_HOME/remaster-root"
INITRD_REMASTER_DIR="$REMASTER_HOME/remaster-initrd"
echo "Using REMASTER_DIR=$REMASTER_DIR, INITRD_REMASTER_DIR=$INITRD_REMASTER_DIR"
IRD="$INITRD_REMASTER_DIR"
SCRIPT_DIR="`dirname $0`"
if [ -e "$SCRIPT_DIR/customize_common" ]; then
source "$SCRIPT_DIR/customize_common"
fi
function install_nmtelekinese()
{
mkdir -p "$IRD/nm"
cp "$SCRIPT_DIR/nmtelekinese/nmtelekinese.desktop" "$IRD/nm"
cp "$SCRIPT_DIR/nmtelekinese/nmtelekinese.py" "$IRD/nm"
cp "$SCRIPT_DIR/nmtelekinese/ORDER" "$IRD/scripts/casper-bottom/"
cp "$SCRIPT_DIR/nmtelekinese/26mopsmops" "$IRD/scripts/casper-bottom/"
chmod +x "$IRD/scripts/casper-bottom/26mopsmops"
}
function add_no_bootloader_icon()
{
cp "$SCRIPT_DIR/no-bootloader-icon/25adduser" "$IRD/scripts/casper-bottom/"
chmod +x "$IRD/scripts/casper-bottom/25adduser"
}
install_nmtelekinese
add_no_bootloader_icon
patch_all "$SCRIPT_DIR/initrd-patches/" "$IRD"
#!/bin/bash
SCRIPT_DIR=`dirname "$0"`
REMASTER_HOME=${1:-~/tmp}
ISO_REMASTER_DIR="$REMASTER_HOME/remaster-iso"
REMASTER_DIR="$REMASTER_HOME/remaster-root"
if [ -e "$SCRIPT_DIR/customize_common" ]; then
source "$SCRIPT_DIR/customize_common"
fi
function create_md5sums()
{
pushd "$REMASTER_DIR"
find . -type f -print0 | sort -z | xargs -0 md5sum > "$REMASTER_HOME/rootfs.md5"
popd
}
create_md5sums
patch_all "$SCRIPT_DIR/iso-patches/" "$ISO_REMASTER_DIR/"
--- a/preseed/ubuntu.seed 2013-02-13 23:21:04.000000000 +0100
+++ b/preseed/ubuntu.seed 2013-04-07 14:11:15.429958827 +0200
@@ -6,5 +6,5 @@
# application packages pulled in by language packs. Given that we clearly
# have the space to include them on the DVD, they're useful and we might as
# well keep them installed.
-ubiquity ubiquity/keep-installed string icedtea6-plugin openoffice.org
+ubiquity ubiquity/keep-installed string icedtea6-plugin openoffice.org gparted kpartx kpartx-boot libgtkmm apt-clone cryptsetup dpkg-repack gir1.2-json-1.0 gir1.2-xkl-1.0 gir1.2-timezonemap-1.0 keyutils libnss3-1d python-pyicu realpath
d-i base-installer/kernel/altmeta string lts-quantal
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment