This is simple. The great folks in the Ubuntu/Linux community have a all-in-one package. Just run this command
sudo apt-get install lamp-server^
Just be sure to write down all your account passwords…trust me. Also, your web folder is in /var/www/ – anything in this folder is viewable on your webserver. The webserver index URL is http://localhost/ or http://127.0.0.1
You can check your php installation by saving the following code into phpinfo.php in the www folder. The www folder does not allow non-root write permissions by default. You can change this with a quick chmod command or write as root. First restart the Apache server with this command. I don’t know why since it was just installed but I found it necessary.
sudo /etc/init.d/apache2 restart
<?php
phpinfo();
?>
Next, I recommend installing phpmyadmin, it is a graphical front end for MySQL admin.
sudo apt-get install phpmyadmin
Two option window will open in installation one for web server reconfigure automatically [select apache2] and second for configure database for phpmyadmin with dbconfig-common [select No].
You will need to copy the apache.conf to /etc/apache2/conf.d/ from /etc/phpmyadmin/ or the page will return a 404 error.
Download the latest package for Linux from Eagle, basically right-click save as. The latest at the time I wrote this was 5.11.0 http://www.cadsoft.de/download.htm
It doesn’t matter where you save it, I just put it in ~/Downloads. Once you download, run the self extracting installer.
mkdir ~/eagle
sh ~/Downloads/eagle-lin-5.11.0.run
Now the installer is going to ask you (among other things) where to install, make sure it is the same place as the directory you just created. I suggest using “eagle” because that is where it will want to install the “projects” and “examples” folders. You can tell it to put them somewhere else but I figured the software writers had something in mind so why make it complicated.
Once everything is finished, you can run it by executing ~/eagle/bin/eagle. I like to make launchers to execute my commonly used programs. Right click on the top panel and select “add to panel” then “Custom Application Launcher”. Click on the icon and browse to the eagle folder/bin/eagleicon50.png. The Command is “/home/YOURNAME/eagle/bin/eagle”
First download Processing from http://www.processing.org/download/. I used version 1.2.1 which was the most recent stable version at the time of this writing. Click the “Linux” link and it will give you the opportunity to save the package.
If you don’t explicitly define the path, the package will probably download it into your Downloads folder. Most Ubuntu users install apps in the folder /usr/local/bin or /opt/ – I use bin folder for no other reason than that is what I heard others using and I try to be consistent. I’m going to assume the most likely case and assume the package is in your Downloads folder and you want to unpack in the bin folder.
sudo mkdir /usr/local/bin/processing-1.2.1/
sudo mv ~/Downloads/processing-1.2.1.tgz /usr/local/bin/processing-1.2.1/
cd /usr/local/bin/processing-1.2.1
sudo tar -xcvf processing-1.2.1.tgz
Processing doesn’t work with the java version most likely installed on your machine because it uses Sun Java6. You need to activate first the partner repository, to do that, go to System–>Administration–>Synaptic package manager then go to settings–> repositories and activate canonical Partners.
This is great… it’s a session at DefCon 18 by Zoz… Dr. Zoz Brooks from MIT and of “Prototype This” fame. Some dumb ass stole his computer. Zoz is a computer genius, you don’t steal a computer from a computer genius. That is like stealing bacon from a really fat guy. Bad idea. Here is his recount of the story and the resulting pwnage.