LAMP On Ubuntu 7.04 (Feisty Fawn) Server Edition

LAMP On Ubuntu 7.04 (Feisty Fawn) Server Edition

Summary: Find out how I got on installing and configuring Ubuntu 7.04 Server Edition.


The other day I decided that I needed a Linux install with the full LAMP (Linux, Apache, MySQL & PHP) setup on it.  After a fair bit of digging about and reading a lot of websites I discovered that one of the easiest and least fuss ways to achieve this goal was to download and install Ubuntu 7.04 (Feisty Fawn) Server Edition.

 Photo Gallery: Check out the full install/setup gallery for Ubuntu 7.04 Server.  


I'm already getting pretty familiar with Ubuntu 7.04.  Of the Linux distros that I've tried, this one is the distro that I keep on being drawn back to.  I'm not sure why, but when swimming in a sea of choices, it's good to have one thing to cling onto.

With Ubuntu 7.04 Server Edition I decided to take a different approach and install this one using the text-based installer rather than downloading the easier to use (yet much bigger) Live CD.  I did this partly because I wanted to experience the text-based installation process but also because I wasn't sure if it was possible to install LAMP via the Live CD (I'd only seen it mentioned in instructions using the text-based installation routine).  I'm sure that it is possible to install LAMP via the Live CD (and if someone can confirm this, fire away) but I thought that the text-based route would be good for the soul.

Next -->

I'm amazed by how refreshing it is to have two different ways to install an OS.  After years of carrying out Windows installations which are graphics intensive (and how old those Windows XP setup slogans became after a while) there was a good feeling in taking what felt like a retrograde step and being back in the middle of a clean, simple install.

Ubuntu 7.04 Server

I found the installation routine to be fairly easy to follow.  I have to admit that I did get a bit lost in the keyboard layout detect part of the installation and I felt like I went around in circles a few times but in the end I got back on track.

Ubuntu 7.04 Server

Ubuntu 7.04 Server

I was taken aback by how easy the setup process was.  I'd entered the install with the idea that I was going to be dumped into a nightmarish world packed full of abstract concepts and command-line stuff that looked like it was written in Cyrillic or hieroglyphics.  Thankfully things weren't like that at all and pretty soon I was rounding the final bend of the install and heading towards the finish line.  It's at this stage (after setting up a user, inputting a password and setting the time zone) that I got the the stage where I could install the LAMP server software.

Ubuntu 7.04 Server

Pretty soon everything was installed and it was time to reboot.

Ubuntu 7.04 Server

Next -->

With Ubuntu installed an rebooted I was plunged into a text-based terminal interface.  Weird but somehow endearing.  Having been using Linux a fair bit over the past few weeks I'm not as scared of typing in commands now as I was when I first took a serious look at Linux.  However, no matter how much I liked typing in commands, I still like having a GUI, so the only commands I typed were:

sudo apt-get update

sudo apt-get install ubuntu-desktop

Ubuntu 7.04 Server

Once again Ubuntu worked its magic and did what I wanted it to do without giving me anyting to worry about.  It's a powerful feeling to be able to transform an OS from a command line interface to a graphical user interface with just two simple commands.

 Photo Gallery: Check out the full install/setup gallery for Ubuntu 7.04 Server.  


Finally, I needed to download and install Webmin. 

Again, simple and pain-free (although I did download the Webmin Deb package rather than the Tar file and I had to run this through the GUI instead of the console - again, a limitation in my knowledge more than anything else I'm sure).

And then everything was installed.

Ubuntu 7.04 Server

Overall, the setup was nice and painless and at the end of it I had a working copy of Ubuntu 7.04 Server and LAMP fully installed and working.  Cool!

<< Home >>

Topics: Linux, Open Source, Servers

Kick off your day with ZDNet's daily email newsletter. It's the freshest tech news and opinion, served hot. Get it.


Log in or register to join the discussion
  • Via the LiveCD

    Yes, it's pretty straight forward via het live cd, but not as easy as it is via the server disk. Though for a server I would use LTS (because of the longer support span) and never install the gui part, but I can understand that you installed it.

    On the other side I never use the LiveCD for installing because I've become to accustomed to the text install which is straightforward as long as you skip the determine keyboard stuff. :)

    Nice write-up though. Why did you need a Lamp server?
    • Forward planning!

      [i]"Why did you need a Lamp server?"[/i]

      Do you want to guess what the next article in the series might be?

      • Well yes of course

        Wonder what's next..

        It's refreshing to read articles which don't complain that they couldn't get it working. But just honestly give feedback even I was taken by surprise when they changed the detect keyboard stuff, searching for buttons etc, and ending up with international english keyboard with the annoying sticky " keys. (They tend to kill you when you're programming :) )

        In a day or so he'll figure out that the gui isn't necessary and will full of joy CLI away on the server.
        • De Gustibus Non Disputandum

          [i]In a day or so he'll figure out that the gui isn't necessary and will full of joy CLI away on the server.[/i]

          Don't bet on it. Tastes vary, and that's hardly remarkable. Some people are more language-based (e.g. /ME) and others more visual. Hey, I even do circuit design in a text editor; others do test setups in elaborate graphical environments. Both work, neither of us would switch.

          The pleasant surprise, as I read it, is that text-based doesn't have to be painful.
          Yagotta B. Kidding
          • Haven't done Text based since DOS...

            ...but it might be interesting to step back in time for a while to the good ol' days.
      • What next?

        [i]"Why did you need a Lamp server?"[/i]

        Nobody has mentioned a Windows Home Server box running "headless"!

        Now there's a scary thought! Linux - Apache could be a lot safer for a system that is connected to the Internet all the time - and un-monitored!
  • GUI install

    Installing LAMP on your existing Ubuntu Desktop.
    1. Open Synaptic
    2. Select "Edit" -> "Mark Packages by Task"
    3. Select "LAMP Server"
    4. Click "OK"
    5. Click "Apply"
  • tRu dat

    [b][i]"Once again Ubuntu worked its magic and did what I wanted it to do without giving me anyting to worry about."[/i][/b]
  • Learning to love the command line.

    [i]Once again Ubuntu worked its magic and did what I wanted it to do without giving me anyting to worry about. It's a powerful feeling to be able to transform an OS from a command line interface to a graphical user interface with just two simple commands.[/i]

    This paragraph really rang true to me, as I've had very much the same reaction to using the command line in Linux. Years ago I did tech support for tape backup drives in both DOS and Windows. At the time I really preferred to work with customers in windows because it was much easier to follow along on the phone and take them where I wanted them to go. Whenever they were in DOS I had to worry about what they [i]really[/i] typed vs what I asked them to. Now with the web it seems the tables have turned. Giving someone advice on a forum, etc is much easier in command line than via gui. No need to post multiple screenshots, etc. Often cutting and pasting 2-3 lines at the command line are all you need, and Ubuntu, etc take it from there.
  • Nicely done

    You did good. I've seen seasoned techs do a lot worse, mainly because they complicate the process unnecessarily or get in a hurry.
  • Pardon my asking...

    But shouldn't an install be simple to do? When I read this it seems you are amazed because the install worked. Hmmm...
    • not worked, painless!

    • It certainly does underscore Linux's intimidation factor

      when in fact there is no reason to be intimidated. Granted, this is easier than ever, but it's not like we went from having to "./configure && make && make install" fifty different packages to Ubuntu's simple installation procedure overnight.
      Michael Kelly
    • History is the problem....

      ... and the expectations caused by years of people saying things like [i]"In Linux you have to COMPILE the OS"[/i] or [i]"You need to be able to edit conf files using vi"[/i].

      Then you do it and find it is little more than sticking the disc in and pressing ENTER - is it any wonder that people are amazed? Most believe that Linux installs are sheer hell - and they can be right if you are installing a non-repository package - but with repository based packages, installs are trivial and there are no dependency problems.
      • My luck with Red Hat and Suse have been nightmares

        Always dumping to the command line and such, and not installing at all. Latest experience with Suse was dumping then restarting wanting the Admin ID when I haven't even set it up. I'm hoping based on this and prior articles when I go to install Ubunutu this weekend, that I will have the same experience on my play machine.
        • Red Hat 6 Unleashed

          Back in the day I bought a copy of Red Hat 6 Unleashed, and never got the POS to install from the CD in the book.

          Since then I have a Mandrake box running as a print server, a CentOS box running as a web server,, and am now playing with Ubuntu for grins and giggles.
          Too Old For IT
    • Most people can't even install Windows.

      The process for an installation (Windows, Linux) is very similar these days (depending on the distribution, installation tools), and yet most people are intimidated by the installation process for either one.
      • Post W95, not sure I agree with that. Windows is still easier...

        ...however, Ubunutu is by far the best I have seen, on these forums. I will try it personally this weekend, so I'm hopeful.
        • Driver hunting

          I have to reinstall Windows on clients' computers all the time, and almost invariably the NIC lacks a driver on the Windows XP disk. I'm not quite sure how they expect you to get drivers for everything else without a NIC. Ubuntu at least has NICs by default, if not 3D-accelerated graphics (1 click in the Restricted Driver Manager) or non-Intel wireless.
      • ubiquity is worlds ahead.

        I have done the XP install several times. it's a LOT more painful than that of Ubuntu, since they introduced ubiquity in v6.06...

        6 steps, including the introduction.

        windows is a LOT more hassle... a lot more "click ok to continue"... while Ubuntu clumps almost all of the data gathering together.