1. backup mysql tables and restore

    it’s easy to backup all you mysql tables: just go to /var/lib/mysql (on SuSE linux distro) and copy all folders, that’s it.
    If you record this forlders on a cd or dvd as backup and you lost all privilege settings, this is what you have to do after you copy back your backup on mysql folder: chmod -R 766 *
    chmod -R 700 mysql/ and all will work fine again! go backup guys! ;) …


  2. Apache2 settings

    after installing all needed rpms about apache2 and php4, just open /etc/apache2/httpd.conf and add following two lines on bottom to make UserDir and Alias work:
    Include /etc/apache2/mod_userdir.conf
    Include /etc/apache2/conf.d/*
    UserDir permit you to use /home//public_html directory as server directories and make users publish their own files.
    Alias permit to use any directory on you server for publish contents.
    For more infos, consult apache documentation or contact me! bye
    antonio …


  3. strange SU wrong password

    Haven’t told you that I’ve installed the brand-new SuSE 9.2 on my laptop and It works great only if I use KDE. In fact I tried Gnome 2.6 and was so unhappy to see that it doesn’t work good… Gnome it’s hard to configure if u are a maniac of personalization. Let me know if your experience wit gnome have been better than mine! But, let’s talk about the title’s argument. It was so strange but, after a long “play” with yast and user configuration, I wasn’t able to “su” or “sudo” from console. Still dont know what happened but that executables lost the suid privileges. What I’ve done, to make all things work again, was: chown 4755 /bin/su /usr/bin/sudo bye …


  4. /dev/loki

    this is the blog of the mantainer of GURU-rpm, a killer SuSE rpm mantainer! …


  5. Force user logout!

    have you ever wanted to know how to force logout of a user on a remote machine that is logged in locally ( or remotely too :P )? …


  6. WineTips

    If you want configure wine easy, I suggest you this site [ …


  7. change file permissions

    Again a simple command to simplefy our life on linux/unix machines :D …


  8. change names of folders

    Today I got a funny problem: I create a new link on Desktop of my Home folder. My Surprise was that his name was “TRASH FOLDER”. So I thought “WHAT’s UP?? Who gave this name to my home folder??”. The first Thing I’ve done ( as ex-Winzozz User ) was right-click on folder to access properties and change the name there, but …. the name didn’t change. Well I demistyfied that, to change the name of folders, there is an hidden file inside every folder-link on desktop called “.directory”. Here you can change some property, included the name “TRASH FOLDER”. …


  9. multiple conversion to lowercase

    This is a modified version of my script to change extensions, for lowercase (or uppercase inverting in script) multiple files in a directory recursively. …


  10. MYSQL wont startup

    Today, mysql wont startup and dont know why (or maybe!) First of all I looked at “/var/lib/mysql/<\your host name>.err” log and this was the error: …