Category: Debian


1. First get your hands on the latest version of lampp stack.

2. Extract them to /opt folder

3. Go to terminal and change directory to /opt/lampp ( cd /opt/lampp)

4. Type the command ” ./lampp start”

5. After starting the stack go to your browser and type localhost.

6. If you dont get the XAMPP page then try restarting your lampp stack using step 4.

7. If a another mysql daemon is running, stop it using  ” service mysqld stop “.

8. Also ” chkconfig mysqld off “, restart your system.

9. Then perform these commands , chown -hR root /opt/lampp

10. ” chmod 777 /opt/lampp ”

11. Then ” /opt/lampp/lampp restart ”

12. Then if you are not able to login to phpmyadmin try the following command, ” chmod a-w /opt/lampp/phpmyadmin/config.inc.php “.

HTH

 

Xen on Debian 6.0 ( Squeeze)

I have had a quite a trouble installing Xen on Debian Squeeze, loads of mistakes and basically the problem was with my laptop, debian did n recognize any of my drivers, i would advise people to get the Debian Squeeze DVD ( 4.2 GB), its pretty good and gives you all the stuff you need.

Installing Debian is not a big deal , its similar to all other Linux operating systems.Once the installation set up your wired network, provided Debian recognizes your network card.

1. First step is to download the xen kernel and the related packages that are required for Xen.

apt-get install xen-hypervisor* xen*

(or)

apt-get install xen-hypervisor

2. Make sure you are having the latest packages installed along with the linux-headers.

apt-get update

3. Adding an entry to the grub menu so that debian recognizes it.

mv -i /etc/grub.d/10_linux /etc/grub.d/50_linux

4. Update the grub

update-grub

Thats it you must be up and running , restart your machine and you must be able to boot into your Xen kernel.

Linux Tweaks

HOW TO HACK ROOT PASSWORD

Root password in Linux can be easily changed rather hacked provided your computer is not secured by a Grub password, just edit the grub to include commands for single user mode and taata your password can be changed by just typing the “passwd” command.

This is a well known hacking technique but many people find it hard recovering their root account.

Just follow the following steps and your root password is reset within seconds

On an x86 system using GRUB, use the following steps to boot into single-user mode:

  1. At the GRUB splash screen at boot time, press any key to enter the GRUB interactive menu.
  2. Select Red Hat Enterprise Linux/CentOS with the version of the kernel that you wish to boot and type “e” to edit the line.
  3. Go to the end of the line and type single or type 1 as a separate word (press the Spacebar and then type single). Press Enter to exit edit mode.
  4. Now boot into the changed kernel (temporary) by pressing the “b” button.
  5. The feature is available in all flavours of linux with minor differences.

However this change is temporary.