Ok, now I’ve forgotten MySQL root password a few times and even worse off, after installation I sometimes couldn’t login with the password I set. So, to reset the password, stop mysql, create a text file with the following:
Continue reading »
First gather all the packages that you want to put in your repository. I normally install a fresh Ubuntu on vmware to start with. Then I update the installation and install the packages I need. Once done, I take all required packages from apt cache and use those (so that I have full upgrade path with required dependencies). For the purposes of this tutorial, let’s pretend we want to mirros apache2 with all dependencies and an upgrade of Ubuntu install (a snapshot you could say).
Continue reading »
Please note that with VMWare 1.0.10 the any-any patch (vmware-update) is no longer required as the modules compile just fine on Ubuntu 9.10. At the time this post was written 1.0.9 was the newest VMWare version. If installing the 1.0.10 version, follow this tutorial without installing and running the any-any patch. You will also need extra dependencies in order to validate the serial key for 1.0.10 (don’t ask me why you need sound packages, you do… :/, so before you start executing this manual, do this:
sudo aptitude install ia32-libs lib32asound
In Debian-based distributions (eg ubuntu) you can easily create a fully-featured chroot environment for running stuff, including services. There are some good sides to that. For example, if you are messing about with repositories and dependencies, you can do that in a chrooted environment without destroying your host system. Also, you can run services in your chroot environment (and install them there). It’s almost like virtualisation (but without virtualizing
). I like to use chroot on debootstrap for testing and to chroot a few services like apache. If someone hacks into your system using eg a php bug, they won’t be able to break your host system, as they can’t break out of the chroot jail
. Well, it’s quite simple, although, you need to tweak a few stuff to run services there. Well, here goes:
Continue reading »