Archive for the 'linux und OSS' Category

Aug 18 2011

mysql backup script

Published by under linux und OSS

#!/bin/bash # Author: Karsten Brusch # change to fit you needs USER=mysql PASS=mypass BACKUPDIR=/nfs/mysql/ BACKUPS LOGFILE=/nfs/mysql/daily-backup.log #no changes needed below DATE=`date +%F_%H-%M-%S` FILENAME=mysqldump.$DATE.sql echo "##########################################" >> $LOGFILE echo "Starting DB backup on `hostname` on `date +%F` `date +%T`" >> $LOGFILE /opt/postman/mysql/bin/mysqldump -u$USER -p$PASS –all-databases 2>> $LOGFILE | gzip > $BACKUPDIR/$FILENAME.gz if [ ${PIPESTATUS[0]} -eq 0 [...]

Comments Off

Nov 24 2010

modzip.sh – modify the content of a zip file

Published by under linux und OSS

Sometimes you need to modify the content of a zip file in the command line because the server doesn't have a X server and you have no access to the file system remotely. What this script does: modify text files inside a zip file with vi (or any other editor you like) modify the content [...]

No responses yet

Nov 05 2010

find with -exec: files older than x day

Published by under linux und OSS

You can easily move files of a certain age to a different location (for example backup tape or network share) In this example you will search for files only (-type f) which are older than 30 days (-mtime +30) and execute the move command for each file returned. This list of files is represented by [...]

Comments Off

Oct 20 2010

Howto create a sftp-only user on (RedHat) Linux

Published by under linux und OSS

objective Create a sftp-only user to have rw-access a specific folder only on a system with disabled ssh shell, port forwarding and X11-forwarding. This is achieved by setting the sftp shell in /etc/passwd required openssh version 4.8p1 or newer (this supports chrootdirectory) –> refer this page you can check your version with:sshd -v If you [...]

Comments Off

Sep 21 2007

der tux in bewegung

Published by under linux und OSS

es tut sich einiges in der linuxwelt: intel (mit 80% marktanteil bei PC prozessoren) startet mit LessWatts.org eine initiative zur verbesserung der energie-effizienz auf linux servern und des power managements des linux-kernels der pinguin wird also grüner offene treiber für grafik und wlan entwickeln sich weiter die grafischen oberflächen gnome und kde entwickeln sich beachtlich [...]

No responses yet

Aug 21 2007

partitionierung per live-cd

Published by under linux und OSS

nun da ich mit virtualbox eine kostenfreie alternative zu vmware gefunden, wurde es zeit meine doch recht knappen 40GB meines laptop wieder mehr zugunsten von ubuntu aufzuteilen. tja, was tun? im laufenden betrieb die partitionierung ändern? geht nich… sprich: ntfs verkleinern und verschieben; ext3 vergrößern dauer: ca. 2h tool: gparted live-cd und clonezilla nach dem [...]

No responses yet

Jul 29 2007

ubuntu linux und xgl

Published by under linux und OSS,videos

zeig mir sowas auf M$ windows. die playlist lohnt sich! links: looking glass und ubuntu so long

No responses yet

Jul 07 2007

ibm linux commercial

Published by under linux und OSS,videos

sehr genial gemacht think different so long

No responses yet

Jul 01 2007

iphone alternative auf linux basis

Published by under linux und OSS

im juli erscheint das openMoko ein auf opensource basierendes smartphone für mich die beste alternative zum iphone. ich bin in jedem fall gespannt wann ich fürs openmoko die ersten programme unter “projekte” anbieten kann. der preis des openmoko spielt dabei keine unbedeutende rolle… so long

One response so far

Jun 28 2007

musik in meinen ohren

Published by under linux und OSS

ich bin heut durch zufall auf die halloween-dokumente von microsoft gestoßen: „Fallstudien aus dem Internet haben kürzlich auf sehr dramatische Weise gezeigt […], dass die Qualität kommerzieller Produkte durch Open-Source-Produkte erreicht und (teilweise) sogar übertroffen werden kann.“ und das aus dem mund von m$ das ist mehr als eine genugtuung also weshalb sollte linux / [...]

No responses yet

Jun 27 2007

ISO standard für M$

eine meldung und meine gedanken… manch einer wird sagen… “was solls, ist doch gut wenn microsoft sich bemüht seine dateitypen zu standardisieren” ich spreche aus erfahrung wenn ich behaupte dass noch mehr leute openoffice.org nutzen würden wenn nicht der großteil des umfeldes noch die alten formate von M$ nutzen würde. ich selbst nutze openoffice unter [...]

3 responses so far