Hi
Is it possible to install the latest Ubuntu server (LAMP) from an old desktop live cd?
Hi
Is it possible to install the latest Ubuntu server (LAMP) from an old desktop live cd?
The components that make up the LAMP stack are available in the standard Ubuntu repositories. They can be installed on any version of Ubuntu.
You'll need an internet connection to install them if you only have a desktop CD, as only the server installation CD contains the packages.
Cheesemill
Where do we keep our favourite things?
technically, yes, but it's not terribly easy. It involves the "debbootstrap" command.
Here's a writeup I did on how to install Debian with this method, but the same can apply to Ubuntu as well.
http://www.alandmoore.com/blog/2011/...ebian-offline/
OMG! I was hoping there was some kind of sudo apt-get installer ubuntu lamp server
It's an old computer that can't boot from USB and I don't have any empty CD-ROMs. But I think I will head down to the store to buy some tomorrow - that'll proberly be easier.
Thanks for the answer both of you
Close:
Run tasksel and pick LAMP.Code:sudo apt-get install tasksel
Grab a fly swatter: https://wiki.ubuntu.com/5-A-Day
Read the New Ubuntu Community Documentation: NewDocs
If you have access to the repositories here's almost exactly that:-
Code:$ sudo apt-get install lamp-server^ Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'apache2-utils' for task 'lamp-server' Note, selecting 'libwrap0' for task 'lamp-server' . . . Note, selecting 'apache2' for task 'lamp-server' Note, selecting 'mysql-server-core-5.5' for task 'lamp-server' Note, selecting 'apache2.2-common' for task 'lamp-server' Note, selecting 'mysql-server' for task 'lamp-server' Note, selecting 'ssl-cert' for task 'lamp-server' Note, selecting 'perl-modules' for task 'lamp-server' Note, selecting 'libmysqlclient18' for task 'lamp-server' Note, selecting 'php5-mysql' for task 'lamp-server' Note, selecting 'php5-cli' for task 'lamp-server' Note, selecting 'libapache2-mod-php5' for task 'lamp-server' Note, selecting 'libaprutil1' for task 'lamp-server' Note, selecting 'php5-common' for task 'lamp-server'
the OP is asking about doing it from a live cd. A live CD doesn't offer any of options like tasksel etc, it just installs a default desktop. You can add LAMP later, but you'll still running a standard ubuntu desktop.
So either that (a desktop with LAMP), or lykwydchykyn's approach.
I think you can boot a Live DVD, create a mountpoint on a harddisk, chroot into that mountpoint, then apt-get update and apt-get install server components (I don't know if there is a meta-package for that) then tasksel, then lamp.
Grab a fly swatter: https://wiki.ubuntu.com/5-A-Day
Read the New Ubuntu Community Documentation: NewDocs
The OP was also asking about installing the latest version from an old CD. If this is possible at all, it'd require debootstrap.
This is the method I laid out, except you can't just chroot into an empty directory and start doing apt-get. You need the core OS there first, which is what the debootstrap command does. In a nutshell, you:I think you can boot a Live DVD, create a mountpoint on a harddisk, chroot into that mountpoint, then apt-get update and apt-get install server components (I don't know if there is a meta-package for that) then tasksel, then lamp.
- create partitions
- mount /
- run debootstrap on the / directory
- chroot into your new /
- apt-get install a kernel and grub
all in all, it's probably way easier to download the mini.iso (only a handfull of MB), burn a CD, and go.
Bookmarks