Ubuntu Server 7.10 Installation apt-get, DHCP, services

Discussion in 'Installation/Configuration' started by normanp, Dec 13, 2007.

  1. normanp

    normanp New Member

    3 newb questions. The computer has no Internet connection, and no prospect of getting one, so:
    1. How can I stop the installer pausing on apt-get for 20 min or so?
    2. How can I install a DHCP server (from the CD)?
    3. How can I view a list of services that start on boot up and choose if they start or not at that time?
    Many thanks.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    1+2) If the computer has no internet connection, you should comment out all package sources except of the CD or DVD sources in the file /etc/apt/sources.list and then run:

    apt-get update

    Then install the dhcp server package that you want to install.

    3) A linux computer has several runlevels. You will find a directory for every runlevel named /etc/rc0.d/ to /etc/rc6.d/ which contain symlinks to the daemons started at boot time.
    Last edited: Dec 13, 2007
  3. normanp

    normanp New Member

    Thanks for the quick reply - will try this. As for point 3 if I understand correctly I can check the normal runlevel with 'runlevel' (gives 2) then control what starts up by changing the link names as explained in README in rc2.d. What is not clear to me is what 7.10 does instead of using inittab - I'll post in the correct part of the forum for this. (BTW I read http://www.aboutdebian.com/linux.htm for a clear explanantion of run levels)
  4. falko

    falko Super Moderator ISPConfig Developer

    You can use the update-rc.d command to enable/disable services at boot time or to modify the order when services start. Take a look at
    man update-rc.d
  5. normanp

    normanp New Member

    Sorry if this newb is asking silly questions but here goes:

    Thinking about this - I would have to edit this in the CD iso image then burn another CD -I'm not sure if I can do that! (I and my students are experimenting - so need an off-Internet install CD that doesn't waste lesson time!)

    Other thoughts: when the apt-get part of the install is reached maybe it can be halted somehow (I tried ctrl-z and ctrl-c - no good). In fact I'm amazed that it doesn't time out after a sensible time eg 1 minute. Another possiblity is to go to another terminal and kill the apt-get process - or is this impossible during an install?

    As far as installing dhcp3 once install is complete: I am unable to find a listing of packages on the install CD. If dhcp3 is not on the disk then it will be hard to work out what packages need to be installed if I have to do it all manually by downloading packages on another machine. It is not clear to me how one can check if all dependencies are installed before installing dhcp3 - if unlucky I could see a sort of backward regression of dependent packages without end! It seems odd that the installer doesn't offer DHCP in the install list anyway - is this not commonly wanted on servers? Incidentally I cannot even find the repositories on the web!
    (not intended as complaints - I think Ubuntu is amazing - I and my family have been using the workstation version for a couple of years - and it hasn't crashed once...)
  6. falko

    falko Super Moderator ISPConfig Developer

    You don't have to edit sources.list on the CD, but on the system where you installed Ubuntu.
  7. normanp

    normanp New Member

    Thanks. I can do that - but it won't help my students - they need a CD that installs without a 20min wait in the middle!

Share This Page