PDA

Click to See Complete Forum and Search --> : From WAMP to LAMP


StrangerInBeijing
Dec 10th, 2008, 09:56 AM
From Win95 to Vista, but now......Ubuntu

Really completely new to it, and for now just want to get started (though I managed to sort out wireless,bluetooth, email..basic stuff)

Is there a way to get started so I can code and work, and in between learn more about Ubuntu?

Someone give me a push in the right direction.....I'm little confused with the stuff (guess cause it's late, grandpa gotta go to bed):sick:

penagate
Dec 11th, 2008, 07:55 PM
This is a bit of an open ended question...

I suggest:

— Use apt-get (or alternatively whatever Ubuntu's graphical package manager is) to install PHP and MySQL and your web server of choice.

— Learn a console-based text editor. vi is a good start, since it exists on just about every Unix-based system, and will make you look like a keyboard god once you learn a few tricks in it.



Thread moved

StrangerInBeijing
Dec 16th, 2008, 10:52 AM
After installing and breaking the whole thing a few times I think I got the hang of ubbuntu and some linux

However I'm stuck at fully installing LAMP.

I followed this walkthrough (http://www.howtoforge.com/ubuntu_lamp_for_newbies) and all seems fine. Followed it to the letter besides step 2 in installing mysql (cause I'm just setting up a local development desktop)

However, when I run gksudo gedit /etc/php5/apache2/php.ini in the terminal to edit my php.ini, there are no extensions (With a wamp install there used to be many), so I assume somewhere I did something wrong and no extensions where installed?

Also, where the heck is phpmyadmin? defo not in var/www directory

penagate
Dec 16th, 2008, 06:13 PM
1. Some PHP configurations don't enable any extensions by default.
Look in the directory specified by the extension_dir directive in php.ini to see if any extensions have actually been installed.

2. phpMyAdmin is a third-party product. You will need to download and install it separately.

StrangerInBeijing
Dec 16th, 2008, 09:59 PM
No, I did install phpmyadmin as per that tutorial...but I had to ad Include /etc/phpmyadmin/apache.conf to etc/apache2/apache2.conf
so localhost/phpmyadmin does it's thing now.

On to the includes..phew...I'm so wintarded!!!!

StrangerInBeijing
Dec 17th, 2008, 10:01 AM
Seems I dont have to worry about includes. Imported a database, copied our site to var/www and all works fine.

I need to get on with my work, and figured I will nut out all the things in Linux (Ubuntu) later. So in mean time I just want to install an IDE.
I'm used to Dreamweaver (Code view only!) for all my things. Googled around and saw ppl talk about emacs, which I tried and ...uuuh.....whatever that is I don't have time to figure out now.

So, besides gedit (which I use in mean time, which is nothing but notepad in windows if you ask me) is there something more friendly to be recommended?

StrangerInBeijing
Dec 17th, 2008, 10:05 AM
this one?
eclipse
Extensible Tool Platform and Java IDE
The Eclipse Platform is an open and extensible platform for anything and yet
nothing in particular. It provides a foundation for constructing and running
integrated software-development tools. The Eclipse Platform allows tool
builders to independently develop tools that integrate with other people's
tools so seamlessly you can't tell where one tool ends and another starts.

Package to provide the whole Eclipse SDK, which includes the Java Development
Tools and Plug-in Development Tools.

penagate
Dec 17th, 2008, 05:48 PM
I'd say gedit is more like Notepad++ than Notepad.

I've no experience with any IDEs for Linux. I use vim to edit files, but that'll take you as long as emacs to learn. There is a plugin for PHP debugging in vim though (which I haven't actually managed to get working).

Eclipse is fairly popular. Give it a shot.

StrangerInBeijing
Dec 17th, 2008, 09:14 PM
I judged too quickly...gedit works just fine for my needs.
Made it look nice and geeky and happily coding again.

tr333
Jan 7th, 2009, 11:50 PM
The easiest way to install the LAMP stack on Ubuntu is to run
sudo tasksel lamp-server

This will install all the packages related to a LAMP server and run the mysql database configuration/install scripts.