tutorial


13
Jul 08

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 :P


18
Jun 08

Restore Grub

This tutorial will illustrate how to restore grub old settings just in case that you have messed up your linux box trying to install another OS as a dual-os.

Steps:

  1. Open “Terminal
  2. type “sudo grub
  3. type “find /boot/grub/stage1
  4. a list of hard drives will appear, now pick the one that is going to provide the grub files.  In my case i am going to pick “hd0” because that is my hard drive.  in this tutorial please replace the 0 for the number of your hard drive given.
  5. type “root (hd0,0)
  6. type “setup (hd0)
  7. lastly “quit

this should take care of grub to be store in the mbr.


13
Jun 08

Auto-start app in Ubuntu Hardy

to auto-start an app in Hardy Heron this is what you have to do.

Steps:

  1. Goto “system > preferences > sessions
  2. click the “Startup Programs” tab
  3. click “Add” to add the command to start the program

13
Jun 08

Show your Trash Can in Linux

this tutorial will illustrate how to have the icons in your desktop like windows instead of creating folders to show them icons in GNOME
Steps:

  1. Open your “Terminal
  2. type “gconf-editor
  3. Then Goto “apps->nautilus->desktop
  4. Click the box beside computer_icon_visible, home_icon_visible, and trash_icon_visible
  5. Close the window and you should be set

9
Jun 08

Show desktop icon

This easy tutorial for XP  will show you how to have your “Show Desktop” icon on any where in your computer.  Also you could download the file by clicking download.

Steps:

  1. Open “Notepad
  2. type:
    [Shell]
    Command=2
    IconFile=explorer.exe,3
    [Taskbar]
    Command=ToggleDesktop
  3. Now, “Save As...
  4. File name “Show Desktop.scf
  5. Place your show desktop as desired

2
Jun 08

Import from another blog

wordpress is so nice that it allows you to import stuff from another blog into wordpress. i currently imported all my data from my old blog from msn live spaces to wordpress. it is really easy to do and it was done through RSS.

this tutorial was done using firefox but i bet that you could use another web browser app.

Steps:

  1. go to you old blog OR the blog where you are going to be exporting the information
  2. click on the RSS button in order to load it
  3. once you have the RSS open, go to “File” > “Save Page As...
  4. save as “feeds.rss
  5. Now go to your wordpress blog
  6. go to “Manage” > “Import
  7. click on “RSS
  8. Browse” the file that you just saved as “feeds.rss
  9. then click “Upload file and import
  10. now your old blog should be in the wordpress database uploaded

12
May 08

Fotobook connected

Alright, so here is the deal. After a week trying to figure out how to connect and make Fotobook work in my WordPress plugins, I got it done and figured out. :P

Here is what I did. Let say that you have WordPress already installed and configured. So you are going to go to Fotobook and download the last version. Once you download follow the installation instructions.

So here is what I did under the installation instructions that it made so special.

Steps:

  1. Make sure that you are logout of facebook and your cookies are clear in your web browser
  2. After activating my Fotobook I went and open the Fotobook settings
  3. Click on “Grant Permissions”
  4. A new window is going to pop up.
  5. Enter your facebook user name and password, then sign-in
  6. Is going to tell you that you could close this window. Close it.
  7. Then go back to your Fotobook setting, which would be step 3.
  8. Click “Apply Permissions”
    NOTE: DO NOT REFRESH OR HIT THE GO BUTTON IN YOUR WEB BROWSER OTHERWISE YOU WILL NOT BE ABLE TO FULLY CONNECT YOUR FACEBOOK WITH YOUR FOTOBOOK.
  9. Then your facebook account should appear under “Grant Permissions”
  10. Now click on “Go to Management”
  11. Click “Get Albums”

Now, you should your facebook and fotobook linked. If you are having any difficulties please contact the developer not me. I didn’t made the code.


12
May 08

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.


7
May 08

Export friend and blacklist from Mailwasher

This is a tutorial that it will illustrate how to export your friend and black list from Mailwasher 5.3 on Windows XP.

I been using Mailwasher for quite while now and it is a really good application to catch spam, but I was wondering how to come up with something that I could export my friend and black list from their application. Unfortunately you could only import *.csv files into their app and not export any data. Well, I bet that you are wondering how to export your list and post it on another email account of yours.

Steps:

  1. Open “Windows Explorer
    Make sure that “Show hidden files and folders” it is chose. Don’t know how to do this click here.
  2. Replace “your_user” for your Windows XP account user name
    Go to “C:\Documents and Settings\your_user\Application Data\MailWasherPro
  3. Copy “Blacklist.txt” to your Desktop or desire folder
  4. Open “Blacklist.txt” with your desire application. Add and remove all the email addresses that you want from it.
  5. Save As” Blasklist file and make sure that you change the extension to the extension that your email account is asking for you to import your email friend and/or blacklist. Usually they always use *.csv format.

Now you are done. That was easy wasn’t it. :P


5
May 08

Virtualbox

New Virtualbox 1.6 has been release on May 30, 2008. They fix almost 2,000 problems.

I recently upgraded from Virtualbox 1.5 and it works perfectly fine.

To obtain a copy of this software you could visit Virtualbox Downloads. To view the changes visit this site Change Log.