JensKapitza.Notizen
Back to current versionRestore this version

infos zu WRAP (serial GRUB) - AND - XEN

http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html

CATALINA_OPTS="-Djava.awt.headless=true -Xmx128M -server -Dfile.encoding=ISO-8859-15

export AWT_TOOLKIT=MToolkit

http://www.dynamicdrive.com/style/layouts/item/css-fixed-layout-31-fixed-fixed-fixed/ --< CSS >--

----
JpegToMpeg
die source.list um folgende zeile erweitern

deb http://www.debian-multimedia.org testing main #(für etch)

aptitude install mjpegtools mpeg2dec

Structur

    * /home/ftp
          o tmp
          o img
          o mpg 

#move.sh
num=0
for i in `ls /home/ftp/img/*`
do
#echo $num $i
name=`printf "%05d" $num`
mv $i /home/ftp/tmp/cam$name.jpg
num=`expr $num + 1`
done


#work.sh convert jpg to mpeg
cd /home/ftp/tmp
/home/ftp/move.sh ; jpeg2yuv -Ip -L0 -f 25 -j cam%05d.jpg -v0 | mpeg2enc -b3 -f3
 -F3 -o ../mpg/out.mpeg ; rm *.jpg; cat ../mpg/out.mpeg >> film.mpeg 


AlteWiki Seite#



(wieso ist der link so umständlich?)

http://www.dkrz.de/dkrz/services/docs/misc/ssh --> wegen ssh

wieso nicht mal ein wenig Poesie? Nicht immer nur Technick!

SAMBA
Forgehensweise :
Frage 	Antwort
Workgroup 	kapitza.de
use passwword encryption 	yes
WINS (DHCP) 	NO
RUN 	daemons (soll doch immer an sein)
Password database (create) 	yes

NUN mal meine smb.conf

[global]
        netbios name = smb-kapitza
        socket options = TCP_NODELAY
        workgroup = kapitza.de
        os level = 20
        null passwords = yes
        encrypt passwords = yes
        security = share


[home]
;        guest account = samba
        map archive = no
        writeable = yes
        wide links = no
        preserve case = no
        path = /opt/share
;       sync always = yes
        force group = nogroup
        force create mode = 755
        force user = nobody
        comment = SAMBA
        public = yes


[programme]
;        guest account = nobody
        map archive = no
        writeable = yes
        wide links = no
        preserve case = no
        path = /home/program
;       sync always = yes
        force group = nogroup
        force create mode = 755
        force user = nobody
        comment = SAMBA
        public = yes

BIND
die loc.hosts

$ttl 38400
loc.    IN      SOA     localhost.localdomain. j\.kapitza.schwarze-allianz.de. (
                        1127394348
                        10800
                        3600
                        604800
                        38400 )
loc.    IN      NS      localhost.
server.loc.     IN      A       192.168.178.21

HDD
Endlich auch mal Formatieren unter Linux nach einer Installation :) mit cfdisk /dev/* Partitionen angeben

und dann mit mkfs.ext3 /dev/*

VNC
mit aptitude hab ich mal den vncserver installiert und auf der win kiste dann das programm UltraVNC? von http://sourceforge.net/project/showfiles.php?group_id=63887

vncserver in der Konsole eintippe und password vergeben

XSERVER

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

in der XserverConfig?

dann mit dem client auf den rechner IPaddresse:[1] z.b.

UML geht bei mir :-D
besser ist vserver bilder --> http://en.crystalxp.net/

linux on Mac

das ist ein linux was angeblich wlan unterstüzt, aber leider nicht den Extrem Airport sondern nur den Airport :( aber es ist ein anfang :)

http://www.yellowdoglinux.com/

2 Monitore (GeForce? 5200)


meine 'xorg.conf'

##########################################################################
# Server flags section.
##########################################################################

Section "ServerFlags"

    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    AllowMouseOpenFail

EndSection



##########################################################################
# Input devices
##########################################################################



#
# Keyboard section
#

Section "InputDevice"
	Identifier 	"Keyboard1"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
EndSection

#
# Pointer section
#
Section "InputDevice"
	Identifier	"Mouse1"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection



##########################################################################
# Module section
##########################################################################

Section "Module"

    Load        "dbe"

    # Load the glx module.
    Load	"glx"

    Load        "extmod"

    Load	"type1"
    Load	"freetype"
EndSection


##########################################################################
# Monitor section
##########################################################################

Section "Monitor"
	Identifier "MyMonitor"
	Option		"DPMS"
	HorizSync	28-64
	VertRefresh	43-60
	Modeline	"1280x800@60" 83.91 1280 1312 1624 1656 800 816 824 841

EndSection


##########################################################################

# Graphics device section(s)
##########################################################################

Section "Device"
	Identifier  "NV AGP TwinView"
	Driver "nvidia"
	BusID "PCI:1:0:0"
	Option "RenderAccel" "true"
	Option "NvAGP" "1"
	Option "AllowGLXWithComposite" "true"
EndSection


##########################################################################
# Screen sections
##########################################################################


#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
    Identifier "Screen AGP TwinView"
    Device "NV AGP TwinView"
    Monitor "MyMonitor"
    DefaultColorDepth 24
	Option "TwinView" "true"
#	Option "SecondMonitorHorizSync" "30-70"
#	Option "SecondMonitorVertRefresh" "50-120"

	Option "MetaModes" "1280x10241280x1024; 1024x768,1024x768;"
	Option "TwinViewOrientation" "RightOf"

    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection





#
# just one agp twinview card
#
Section "ServerLayout"
    Identifier  "AGPTwinView"
    Screen      "Screen AGP TwinView"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/cyrillic"
	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/X11/fonts/Type1"
	FontPath	"/usr/share/X11/fonts/CID"
	FontPath	"/usr/share/X11/fonts/100dpi"
	FontPath	"/usr/share/X11/fonts/75dpi"
        # paths to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Xorg eine (kleine config s.o)

DEBMIRROR

debmirror /var/www/debian/ --nosource -h ftp2.de.debian.org -r debian/ --method=http -p --dist sarge,sarge-proposed-updates --ignore-release-gpg

  debmirror /var/www/debian-non-US/   --nosource -h ftp2.de.debian.org       -r debian-non-US/    --method=http -p --dist sarge/non-US,sarge-proposed-updates/non-US --ignore-release-gpg

  debmirror /var/www/debian-security/ --nosource -h security.debian.org -r debian-security/  --method=http -p --dist sarge/updates --ignore-release-gpg

   1. --exclude=.gz --exclude=.dsc --method=http 

debmirror und Ubuntu server
das systemdebmirror /var/www/breezy/ --nosource -h de.archive.ubuntu.com -r ubuntu/ --method=http -p --dist breezy --ignore-release-gpg --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386

die updates debmirror /var/www/breezy-updates/ --nosource -h de.archive.ubuntu.com -r ubuntu/ --method=http -p --dist breezy-updates --ignore-release-gpg --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386

breezy-securitydebmirror /var/www/breezy-security/ --nosource -h de.archive.ubuntu.com -r ubuntu/ --method=http -p --dist breezy-security --ignore-release-gpg --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386

einmal alles bitte

alle scriptaufrufe

debmirror /var/www/breezy/ --nosource -h  de.archive.ubuntu.com -r ubuntu/  --method=http -p --dist breezy  --ignore-release-gpg  --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386 &


debmirror /var/www/breezy-updates/ --nosource -h  de.archive.ubuntu.com -r ubuntu/  --method=http -p --dist breezy-updates  --ignore-release-gpg  --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386 &


debmirror /var/www/breezy-security/ --nosource -h  de.archive.ubuntu.com -r ubuntu/  --method=http -p --dist breezy-security  --ignore-release-gpg  --ignore-missing-release --ignore-small-errors -s main,universe,multiverse,restricted -v -a i386 &


debmirror /var/www/debian/ --nosource -h ftp2.de.debian.org -r debian/ --method=http -p --dist sarge,sarge-proposed-updates --ignore-release-gpg --ignore-missing-release --ignore-small-errors -v -a i386 &

debmirror /var/www/debian-non-US/   --nosource -h ftp2.de.debian.org       -r debian-non-US/    --method=http -p --dist sarge/non-US,sarge-proposed-updates/non-US --ignore-release-gpg --ignore-missing-release --ignore-small-errors -v -a i386 &

debmirror /var/www/debian-security/ --nosource -h security.debian.org -r debian-security/  --method=http -p --dist sarge/updates --ignore-release-gpg --ignore-missing-release --ignore-small-errors -v -a i386 &

Vserver
ein server besser als << UML >>

deb'S die man brauch *vserver*

script: build 

debian: 
##keine lust zum erklären *am montag*

vserver vs01 build -m skeleton --hostname vs01 --initstyle plain --context 1001 --interface vs01=eth1:192.168.178.9/24
vserver  vs03  build --context 1003 --hostname vs03 --interfacevs03=eth1:192.168.178.7/24 -m debootstrap -- -d sarge
vserver-new vs02 --context 1002 --hostname vs02 --interfacevs02=eth1:192.168.178.8/24 clone vs01

## krenel muss man patchen und neu bauen damit das alles super geht! ## bei mir funkts

## alles überholt es gibt erstellungs und clonscript * muss man aber ein wenig modiffieren  *vnc in einem vserver geht auch ;)

cluster

das muss ich auch noch machen ;)

XEN

    * pip wem's auch auf die nerven geht da kucken http://www.linuxhilfen.org/system/piep.html 


ENDE#