Tag: linux

Reset forgotten MySql Password

Stop Mysql Service service mysql stop Start MySql in Safe Mode mysqld_safe –skip-grant-tables Reset password mysql –user=root mysql update user set Password=PASSWORD(‘new-password’) where user=’root’; flush privileges; exit; Stop Safe Mode ps aux | grep Mysql kill MySql-Prozess-Pid Start MySql Service service mysql stop

crontab and cronjobs

write your command best in a shellscript and add runnable to it chmod +x /home/scripts/   add it to /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don’t have to run the `crontab’ # command to install the new version when you edit this file # and files in /etc/cron.d. These files…

start and handle a VirtualBox without GUI

to show all vm’s $ vboxmanage list vms and only the running ones $ vboxmanage list runningvms to start one (without attaching it to the console) $ nohup vboxheadless -s [VM-Name] & now you can cancel with Strg-C without aborting the start of the vm to shutdown the vm $ vboxmanage contolvm [VM-Name] poweroff getting…

mp3 player for linux & windows

mp3 player for linux & windows for collection and maintainance of the mp3 collection, not only listening ๐Ÿ˜‰ windows: AMAROK! linux with gtk: amarok linux on commandline: – CMus via apt-get – cmus manpage – mp3blaster via apt-get (a bit more flexible at the library view)

Remote Access MySql

$ nano /etc/mysql/my.cnf comment out: skip-networking on fixed ip-address: else comment out restart mysql $ /etc/init.d/mysql restart open firewall: $ /sbin/iptables -A INPUT -i eth0 -p tcp –destination-port 3306 -j ACCEPT

Galaxy Note Serie als Grafik Tablet (mit dualscreens)

Apps Linux: Android: PC: Apps Windows: Android: PC: I only tested the Linux Version, so here a short manual: – download android app and install – download pc programm from site (chmod a+x networktablet-x86_64) – run in a terminal the download pc programm (./networktablet-x86_64) – run app on smartphone If you…

Desktop App Starter

create a file with anyname.desktop [Desktop Entry] Version=1.0 Type=Application Comment=DebDev Exec=/home/ Icon=utilities-terminal Terminal=true StartupNotify=false GenericName=Test – Name: Text that will be displayed – Exec: script/file to run

Batch Bilder Resize auf Commando Zeile

ganz ohne zusatzprogramm gehts leider nicht, aber Imagemagic is sehr klein und fein und faellt kaum auf ๐Ÿ˜‰ apt-get install imagemagick Das eigentliche “Script” der Kommando Zeile (fรผgt den neuen Dateien das vorzeichen “resized_” hinzu): for i in $( ls *.jpg); do convert -resize 50% $i resized_$i; done Will man die Dateien auch gleich konvertieren…

CD/DVD -> ISO -> USB Stick mit DD Befehl

Der Befehl “dd” unter linux eignet sich hervorragend um ISO Images zu erstellen oder um ISO’s auf andere medien zu schreiben. Die Erklaerung vom Befehl dd unter Linux. Um ein ISO einer CD / DVD zu erstellen: um mittels dd ein Image erstellen zu kรถnnen, darf das Ursprungsmedium nicht gemountet sein umount /dev/cdrom oder umount…

really blank webserver with ubuntu

i got a tipp from a friend to setup a even faster webserver with less hardware resources, and faster to setup (you dont have to remove the gaming crap) to make it virtual get a copy of VirtualBox (its free, cross plattform and fast ๐Ÿ™‚ Instead of Xubuntu Desktop Version grab the server edition…

Setting Up an Ubuntu Webserver

quick and dirty ๐Ÿ˜‰ i guess you can setup ubuntu yourself ๐Ÿ™‚ i use xubuntu (less eyecandy, more performance with less memory) before i install the server i remove all games, mail clients and such useless things for a webserver. set the pc name with sudo gedit /etc/hostname download lampp from set root password…


Get every new post on this blog delivered to your Inbox.

Join other followers: