Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Install server from live cd desktop

  1. #1
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Install server from live cd desktop

    Hi

    Is it possible to install the latest Ubuntu server (LAMP) from an old desktop live cd?

  2. #2
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: Install server from live cd desktop

    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

  3. #3
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: Install server from live cd desktop

    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/

  4. #4
    Join Date
    Feb 2007
    Location
    Denmark, Aalborg
    Beans
    670
    Distro
    Ubuntu

    Re: Install server from live cd desktop

    Quote Originally Posted by lykwydchykyn View Post
    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

  5. #5
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,048
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Install server from live cd desktop

    Close:

    Code:
    sudo apt-get install tasksel
    Run tasksel and pick LAMP.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  6. #6
    Join Date
    Apr 2012
    Beans
    6,966

    Re: Install server from live cd desktop

    Quote Originally Posted by MadsRH View Post
    OMG! I was hoping there was some kind of sudo apt-get installer ubuntu lamp server
    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'

  7. #7
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Install server from live cd desktop

    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.

  8. #8
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,048
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Install server from live cd desktop

    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.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  9. #9
    Join Date
    Jun 2008
    Location
    Tennessee
    Beans
    3,421

    Re: Install server from live cd desktop

    The OP was also asking about installing the latest version from an old CD. If this is possible at all, it'd require debootstrap.

    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.
    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:

    - create partitions
    - mount /
    - run debootstrap on the / directory
    - chroot into your new /
    - apt-get install a kernel and grub

  10. #10
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Install server from live cd desktop

    all in all, it's probably way easier to download the mini.iso (only a handfull of MB), burn a CD, and go.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •