Category: Uncategorized

  • ERROR 2003 (HY000): Can’t connect to MySQL server on

    Attempting to connect to remote MySQL server produces the below error. ERROR 2003 (HY000): Can’t connect to MySQL server on In order to connect to the remote server, and do so securely it is best to create an SSH tunnel with a port forward and THEN connect as though it were a localhost. Things to…

  • Displaying a log file live

    This is useful when you wish to see an error on your server, for example when you are having trouble loading a page. sudo tail -f /var/log/apache2/{error,access}.log

  • GIMP in Kubuntu

    Gimp would not start at all.. Solution: set GTK theme to raleigh start GIMP once set GTK theme back to oxygen-gtk GIMP now works with oxygen-gtk, too!

  • MYOB under WINE

    So my previous post came into existence because I needed to create a mountable ISO where I could change the perms of the files, to enable executable option; done. Based on what I have read thus far, my biggest MYOB obstacle will be printing. So now that its installed … lets find out. hmm Cannot open the…

  • Mounting an ISO in kubuntu

    Trying mount form terminal has just resulted in fstab errors, or file system errors; so I have gone the cheats option for now and installed gmountiso. gmountiso = purge didnt work; I didnt like. I used k3b to create the image this seems to have caused problems. In the end I installed acetoneiso.  I really…

  • tar

    man page http://linux.die.net/man/1/tar tar jcvf filename.tar.bz2 folders tar zcvf filename.tar.gz folders tar acvf filename.xz folders (only use for future versions of linux)

  • ln and ln -s [hard links and soft links in Linux]

    Man Page: http://unixhelp.ed.ac.uk/CGI/man-cgi?ln ln ‘filename’ creates a hard link to that file name.  Editing either the link or the target file will make changes to both.  Should you delete the original file the hard link, and the contents of the original file remain ln -s ‘filename’ will create a soft link to a file.  A soft…

  • Running Virtual Box under Kubuntu

    VirtualBox 4.1.2 r73507 Kubuntu – Natty 11.04 *** Creating a fixed disk results in a hang *** FIXED >> did not use fixed disk option, and only made disk size 4gb

  • mount samba share ‘AS’

    sudo mount //ipaddress/foldername foldernameinmount -o user -o user prevents the ‘sudo’ from mounting the location as root.   /etc/fstab lists the locations to be mounted at boot.

  • apt-get apt-file : Working out what package a file belongs to.

    Install apt-file sudo apt-get install apt-file Update it sudo apt-get update Run it sudo apt-get search <filename> The last line will result in a list of files and their related package   For installed apps/packages you can use dpkg -S <filename>   This however will not show you config files created AFTER the package was…