Kevin Whitman's Blog

Category: Tutorial

LSL Serving Robot Tutorial – Part 2

In Part 1 we added in touch support, pay support, refunding and displaying menus. In Part 2, we are going to do work in the listen event. Also note if two or more items have the same name, you may run in to a conflict. Continue reading

LSL Serving Robot Tutorial – Part 1

I started to work on this in 2007. You could only pick 4 items from the pay menu, each had its own price.

 So lets rewrite the script! We are going to create a new LSL Script and add a on_rez event to reset the when you rez the bot out of inventory. You should a script that looks like the following:

                llSay(0, "Hello, Avatar!");

        touch_start(integer total_number)
                llSay(0, "Touched.");

        on_rez(integer start_param)


Continue reading

Set up a sandbox to test PHP Apps: Part 2, Install Web Server, PHP, MySQL and PhpMyAdmin

We already installed Ubuntu. Set up root. Now we are going to start up the server again for part 2. Going to login as root.

You could enter commands in the virtual box screen, but copy and paste seems to not work. Plus scroll does not seem to work. So i like to SSH in to it with a SSH client.

Get the server IP:

First we need to get the ip of the sever. When we first login it shows the IP address.

Another way you can get the server ip address is by ifconfig

Connect via SSH:

Open up the terminal App on the Mac.  My server IP is

ssh SERVERIP -l root

Continue reading

Set up a sandbox to test PHP Apps: Part 1, Set up the VM

In this short tutorial series I’m going to teach you how to set up a Linux Apache MySql PHP(LAMP). We will be using free and open source software for this tutorial.  The Linux operating system we will be using is Ubuntu 11.04, my favorite Linux distro. VirtualBox will be the virtual Machine we will be using, but most of this tutorial should work with other virtual machines. At the end of this tutorial you should have a working server which can run PHP scripts, also will have PhpMyAdmin for your database.

Tools you will need:

First lets download and grab all the tools we will need.

You can download VirtualBox for free at which works for both Mac and Windows, you can install this like a normal Mac or Windows app. Since i’m using a Mac right now, i’ll download the one for OS X hosts.

Next you will need the Ubuntu ISO. You can get that at I got the 32 bit version.

Next your going to want a way to SSH in to your server. On Mac you can use the Terminal. On Windows you can use Putty. You can download it at

Your going to need a SFTP client to transfer files and understand how to use it. Check out my How to SFTP tutorial.

Last you need a text editor. You can use anyone really, it just needs to be pain text.

Set up the virtual Machine:

First you need to install Virtual if you don’t have it installed already. This is the same as installing just about any other app. Click the installer and follow the setup wizard.

After Virtual Box is installed, we have to then create a virtual Machine.  To start click on the new icon.

Continue reading

How to SFTP

This short tutorial will show you have to SFTP with Cyberduck and FileZilla.

You can download CyberDuck at for both Mac and Windows.
You can download FileZilla at

Copyright © 2010 - 2017 Kevin Whitman's Blog

Back To Top ↑