Tag Archives: ubuntu

XAMPP

XAMPP is an application that it would help you to facilitate the hassle of installing Apache web server, MySQL, Perl and PHP individually. This tutorial will show you step by step on how to install XAMPP in Lunix and have it auto started with your computer. This tutorial was tested on Ubunut and Fedora. Replace x.x.x for the XAMPP version.

Steps:

  1. Go to http://www.apachefriends.org/en/xampp-linux.html and download “XAMPP Linux x.x.x”
  2. Open up the “Termial
  3. Become a root user bu typing “su
  4. Type the administrator password
  5. Go to where the file “xampp-linux-x.x.x.tar.gz” is downloaded
  6. Extract the files by typing this “tar xvfz xampp-linux-1.6.7.tar.gz -C /opt

Now XAMPP will be under “/opt/lampp” folder. In order to run XAMPP you will need to run this… “/opt/lampp/lampp start” as a root. If you want to stop it just replace start for stop.

To test whether your server is up go and open your web browser and type “http://localhost“. If it works you are now good to go to the next step.

This step is setting up XAMPP security. In order to do that being the root type “/opt/lampp/lampp security“.

To remove XAMPP from your system type “rm -rf /opt/lampp

If you want to have XAMPP starting with your machine when it turns on follow this steps.

  1. Find out your default runlevel type “egrep :initdefault: /etc/inittab
    You should no see a line containing a number between two colons. In most cases 3 or 5 (2 if you’re using Debian).
  2. Go into the directory which configures this runlevel. If for example your runlevel is 3, then you have to change directory into the “/etc/rc.d/rc3.d” directory.If your system didn’t provide /etc/rc.d/rc3.d please try also /etc/init.d/rc3.d and /etc/rc3.d.
  3. Now setup XAMPP to start when your computer turns on type”ln -s /opt/lampp/lampp S99lampp
    ln -s /opt/lampp/lampp K01lampp

    Now XAMPP should start and stop automatically if you boot or shutdown your machine.

And that’s it.  Hopefully you had success like I did 😛

Yes, finally sound

finally solve. after upgrading to Hardy and partitioning my hard drive and installing windows and trying to run the audio drivers now my audio works. i didn’t mess with any settings all i did was to uncheck the “External Amplifier” and the audio worked like new.

i found this at this post http://www.backports.ubuntuforums.org/showthread.php?t=161193&page=2 post #13.

hope this helps, good luck.

Fixing wirelesscard in Ubuntu

One of my friends was having wireless card problems one he upgraded from Gutsy 7.10 to Hardy 8.04. The problem was that Hardy was recognizing the wireless card but it wasn’t installing the drivers because they were a third party drivers. Well, in order to do that and fix it I had to do this.

NOTE: THIS TUTORIAL WAS MADE USING LINUX UBUNTU 2.6.24 KERNEL. IT HASN’T BEEN TESTED ON OTHER DISTROS NEITHER OTHER KERNELS. DO IT AT YOUR OWN RISK.

Steps:

  1. Open the terminal
  2. type this
    sudo apt-get install build-essential
  3. copy and paste OR type this (each is a separate line in the terminal)
    wget http://bu3sch.de/b43/fwcutter/b43-fwcutter-011.tar.bz2
    tar xjf b43-fwcutter-011.tar.bz2
    cd b43-fwcutter-011
    make
    cd ..
  4. then
    export FIRMWARE_INSTALL_DIR="/lib/firmware"
    wget http://downloads.openwrt.org/sources/broadcom-wl-4.80.53.0.tar.bz2
    tar xjf broadcom-wl-4.80.53.0.tar.bz2
    cd broadcom-wl-4.80.53.0/kmod
    sudo ../../b43-fwcutter-011/b43-fwcutter -w "/lib/firmware" wl_apsta.o
  5. Now reboot Ubuntu and you should be good to go.

Note that you FIRMWARE_INSTALL_DIR might change with the distro.

Play commercial DVD in Ubuntu

If you were experiencing some problem trying to play commercial DVD’s in Ubuntu now your problem would be resolved (hopefully).

  1. open “terminal”
  2. type sudo apt-get install totem-xine libxine1-ffmpeg libdvdread3
  3. then type sudo /usr/share/doc/libdvdread3/install-css.sh

Now play a DVD in your computer that it didn’t work before to see if it works. Thanks to Tech-Recipes.

Tags: , ,

Upgrading Ubuntu

I am not responsible for any damages, data loss or any other strange computer behaviors.

  1. Ubuntu 7.10 must be installed in your computer
  2. Open your “Terminal”
  3. Type sudo do-release-upgrade –devel-release
  4. Wait until the new system is downloaded and installed
  5. Be patient now… it is almost done
  6. Now is going to ask you if you want to remove the packages that were installed in your computer type y
  7. Now reboot your system
  8. Congratulations, you are finish. Now will have the final version prerelease of Ubuntu 8.04

If you want to install Ubuntu 8.04 through “Update Manager” click on this link for the tutorial.