Drucken

Basic Installation Ubuntu Linux 9.04 (Jaunty Jackalope)

Anleitung folgt

Vor allen anderen Tätigkeiten sollte der root login freigegeben werden.

zusätzliche Packages installieren

Nach der Basis Installation sind folgende packages zusätzlich zu installieren.
sudo -s
aptitude install lvm2
aptitude install gparted
aptitude install hwinfo
aptitude install openssh-server
aptitude install keepassx

Package Gruppen

Paketliste erweitern /etc/apt/sources.list wird benötigt für google earth und medibuntu
Paketlisten werden upgedatet (apt-get update)
Signatur key für medibuntu Quellen wird geladen (medibuntu-keyring)
echo deb http://packages.medibuntu.org/ intrepid non-free free >> /etc/apt/sources.list
apt-get update
apt-get install medibuntu-keyring

Gruppe Packages
Installation deutsche KDE Komponenten für Gnome apt-get install -y kde-i18n-de
Virenschutz apt-get install -y clamav
apt-get install -y clamtk
apt-get install -y rkhunter
apt-get install -y chkrootkit
Installation von Editoren apt-get install -y joe
apt-get install -y mc
Installation Multimedia apt-get install -y vlc
apt-get install -y lame
apt-get install -y grip
apt-get install -y ubuntu-restricted-extras
apt-get install -y mozilla-mplayer
apt-get install -y w32codecs
Installation Tools apt-get install -y startupmanager
apt-get install -y gnome-commander
apt-get install -y nautilus-gksu
apt-get install -y hwinfo
apt-get install -y sysinfo
apt-get install -y gparted
apt-get install -y partimage
apt-get install -y aptoncd
apt-get install -y grsync
Installation Security apt-get install -y keepassx
apt-get install -y firestarter
Installation Kommunikation apt-get install -y ndiswrapper-common
apt-get install -y ndiswrapper-utils-1.9
apt-get install -y ndis-gtk
apt-get install -y xchat
apt-get install -y filezilla
apt-get install -y mozilla-thunderbird
apt-get install -y thunderbird-locale-de
apt-get install -y gftp
Installation Netzwerkdienste apt-get install -y samba
apt-get install -y smbfs
Installation Grafikprogramme apt-get install -y gthumb
apt-get install -y gimp
apt-get install -y digikam
apt-get install -y inkscape
apt-get install -y gwenview
Installation Videoprogramme apt-get install -y avidemux
Installation Compiz Tools apt-get install -y compizconfig-settings-manager
Installation Entwicklung apt-get install -y make
apt-get install -y build-essential
apt-get install -y bin86
apt-get install -y kompozer
apt-get install -y bluefish
sonstige Programme und Anwendungen apt-get -y install wine
google Earth installieren apt-get -y install googleearth


Meta Packages

Name des Metapaketes Installierte Umgebung
ubuntu-desktop Ubuntu
kubuntu-desktop Kubuntu
xubuntu-desktop Xubuntu
edubuntu-desktop Edubuntu-Client
edubuntu-server Edubuntu-Server
ubuntu-mimimal Ubuntu Kernpakete
ubuntu-standard Ubuntu Standardpakete
ubuntu-restricted-extras Unfreie Pakete für Ubuntu
kubuntu-restricted-extras Unfreie Pakete für Kubuntu
xubuntu-restricted-extras Unfreie Pakete für Xubuntu
build essential Wichtige Kompilierwerkzeuge
linux-image-generic Neuester Linux-Kernel (generic)
linux-headers-generic Neueste Kernelquellen

siehe auch: http://openbook.galileocomputing.de/ubuntu/ubuntu_15_paket_001.htm(external link)

minimaler Desktop

nach der minimal Installation sollte diese auf den aktuellen Stand gebracht werden
aptitude update
aptitude safe-upgrade
aptitude full-upgrade

danach kann ein minimaler Desktop eingerichtet werden
sudo aptitude -y install xserver-xorg-core xinit menu menu-xdg jwm fluxbox alsa-utils mrxvt gdebi-core synaptic logrotate localepurge

Server Installationen

Ubuntu Instant Web Server

would contain pre-selected packages such as:
  • apache2
  • mod-perl
  • php5
  • mod_python
  • ssl
  • webmin
  • moin (maybe since not every want or needs a wiki although it would be nice)
  • various language API's (php5-pgsql, etc...)

Ubuntu Instant Source Control Server

would contain pre-selected packages such as:
  • apache2
  • subversion (and or cvs, and or bazaar)
  • trac
  • webmin

Ubuntu Instant postgres Database Server

  • postgresql
  • phpPgAdmin
  • webmin
  • php

Ubuntu Instant Groupware Server

  • hula
  • hula-*
  • jabber
  • sendmail
    oder postfix
    oder andere mail Server ...
  • webmin

Firefox Anpassung

Im gemischten Betrieb mit unterschiedlichen Linux Distributionen sollte folgender link angelegt werden, da sonst bei links aus anderen Applikationen heraus der Firefox nicht gestartet wird!!!
cd /usr/lib/firefox
ln -s /usr/bin/firefox .

Erweiterte Developement Installation

sudo -s
aptitude install cvs
aptitude install subversion
aptitude install eclipse

openssh konfigurieren

Folgendes Kommando liefert eine gute Kontrolle der offenen ports des servers:
sudo -s
netstat -tulpn

However sshd is bare minimum these days and it should be installed by default.
To install openssh server type following command:
apt-get install openssh-server

Make sure openssh is running:
netstat -tulpn

Output:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0
:22
:* LISTEN 3458/sshd


Now we will tight openssh security. First change default 22 port to something else like 512. This will avoid automated tools login into your box:
sudo su -
vi /etc/ssh/sshd_config

Find line that read as follows:
Port 22

Replace port 22 with 512:
Port 512

Save and close the file. Restart sshd:
/etc/init.d/ssh

restartOutput:
* Restarting OpenBSD Secure Shell server...


Finally make sure you open port 512 using iptables. Type the following command to list current firewall rules:
sudo iptables -L -n

Output:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all — 0.0.0.0/0 0.0.0.0/0
ACCEPT all — 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp — 0.0.0.0/0 0.0.0.0/0 tcp dpts:6881:6882
ACCEPT tcp — 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
ACCEPT udp — 0.0.0.0/0 0.0.0.0/0 udp dpt:514
ACCEPT all — 192.168.1.100 0.0.0.0/0
ACCEPT all — 192.168.1.101 0.0.0.0/0
ACCEPT all — 192.168.1.102 0.0.0.0/0
LOG all — 0.0.0.0/0 0.0.0.0/0 LOG flags 0 level 4
DROP all — 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all — 0.0.0.0/0 0.0.0.0/0

Use GUI program such as firestarter to manage and open port 22 (ssh port).
sudo -s 
firestarter &

root login erlauben

Erlaube root login unter Ubuntu

Umstellung DHCP auf statische IP

Howto: Ubuntu convert DHCP Ubuntu Network configuration to static IP configuration

Problem mit CD/DVD-Laufwerk

CD-Brenner + DVD-ROM Laufwerk bleibt beim Auswerfen über eject [Laufwerk] oder auch beim manuellen öffnen, nur ca. 2 Sekunden geöffnet oder fährt nur halb heraus.
Folgende Anpassung war unter Ubuntu 10.10 erfolgreich (Ausführung als root user oder mittels sudo):
echo "dev.cdrom.autoclose = 0" >> /etc/sysctl.conf
sysctl -p

HP ColorLaserjet2840 installieren

checken der Basis CUPS und HPLIP Installation mit:
/usr/bin/hp-check

folgende Packages sind meistens nachträglich bei einer Basisinstallation zu installieren
sudo aptitude install --assume-yes libcupsys2-dev cupsys-bsd
sudo aptitude install --assume-yes libdbus-1-dev
sudo aptitude install --assume-yes build-essential
sudo aptitude install --assume-yes openssl
sudo aptitude install --assume-yes libjpeg62-dev
sudo aptitude install --assume-yes libsnmp-dev
sudo aptitude install --assume-yes libtool
sudo aptitude install --assume-yes libusb-dev
sudo aptitude install --assume-yes python-qt4
sudo aptitude install --assume-yes python-qt4-dbus
sudo aptitude install --assume-yes python2.5-dev
sudo aptitude install --assume-yes python-reportlab
sudo aptitude install --assume-yes libsane-dev

Drucker installieren mit:
/usr/bin/hp-setup

Definieren des DEFAULT Druckers mittels
/usr/sbin/lpadmin -d HP_Color_LaserJet_2840_fax_HU


Erste Seite Vorherige Seite page: 1/2 Nächste Seite Letzte Seite