Quoting one of e-books
The basic steps to install Ubuntu Server Edition:The basic steps to install Ubuntu Server Edition from CD are the same as those for installing any
operating system from CD. Unlike the Desktop Edition, the Server Edition does not include a
graphical installation program. The Server Edition uses a console menu based process instead.
• First, download and burn the appropriate ISO file from the Ubuntu web site3.
• Boot the system from the CD-ROM drive.
• At the boot prompt you will be asked to select a language.
• From the main boot menu there are some additional options to install Ubuntu Server Edition. You
can install a basic Ubuntu Server, check the CD-ROM for defects, check the system's RAM, boot
from first hard disk, or rescue a broken system. The rest of this section will cover the basic Ubuntu
Server install.
• The installer asks for which language it should use. Afterwards, you are asked to select your
location.
• Next, the installation process begins by asking for your keyboard layout. You can ask the installer
to attempt auto-detecting it, or you can select it manually from a list.
• The installer then discovers your hardware configuration, and configures the network settings using
DHCP. If you do not wish to use DHCP at the next screen choose "Go Back", and you have the
option to "Configure the network manually".
• Next, the installer asks for the system's hostname and Time Zone.
• You can then choose from several options to configure the hard drive layout. Afterwards you
are asked for which disk to install to. You may get confirmation prompts before rewriting the
partition table or setting up LVM depending on disk layout. If you choose LVM, you will be
asked for the size of the root logical volume. For advanced disk options see Section 4, “Advanced
Installation” [p. 10].
• The Ubuntu base system is then installed.
• A new user is set up; this user will have root access through the sudo utility.
• After the user settings have been completed, you will be asked to encrypt your home directory.
• The next step in the installation process is to decide how you want to update the system. There are
three options:
• No automatic updates: this requires an administrator to log into the machine and manually install
updates.
• Install security updates automatically : this will install the unattended-upgrades package, which
will install security updates without the intervention of an administrator. For more details see
Section 5, “Automatic Updates” [p. 27].
• Manage the system with Landscape: Landscape is a paid service provided by Canonical to help
manage your Ubuntu machines. See the Landscape4site for details.
• You now have the option to install, or not install, several package tasks. See Section 2.1, “Package
Tasks” [p. 7] for details. Also, there is an option to launch aptitude to choose specific
packages to install. For more information see Section 4, “Aptitude” [p. 25].
• Finally, the last step before rebooting is to set the clock to UTC.
If at any point during installation you are not satisfied by the default setting, use the "Go
Back" function at any prompt to be brought to a detailed installation menu that will allow
you to modify the default settings.
At some point during the installation process you may want to read the help screen provided by the
installation system. To do this, press F1.
Once again, for detailed instructions see the Ubuntu Installation Guide5.
During the Server Edition installation you have the option of installing additional packages from the
CD. The packages are grouped by the type of service they provide.
• DNS server: Selects the BIND DNS server and its documentation.
• LAMP server: Selects a ready-made Linux/Apache/MySQL/PHP server.
• Mail server: This task selects a variety of packages useful for a general purpose mail server system.
• OpenSSH server: Selects packages needed for an OpenSSH server.
• PostgreSQL database: This task selects client and server packages for the PostgreSQL database.
• Print server: This task sets up your system to be a print server.
• Samba File server: This task sets up your system to be a Samba file server, which is especially
suitable in networks with both Windows and Linux systems.
• Tomcat Java server: Installs Apache Tomcat and needed dependencies.
• Virtual Machine host: Includes packages needed to run KVM virtual machines.
• Manually select packages: Executes aptitude allowing you to individually select packages.
Installing the package groups is accomplished using the tasksel utility. One of the important
differences between Ubuntu (or Debian) and other GNU/Linux distribution is that, when installed, a
package is also configured to reasonable defaults, eventually prompting you for additional required
information. Likewise, when installing a task, the packages are not only installed, but also configured
to provided a fully integrated service.
Once the installation process has finished you can view a list of available tasks by entering the
following from a terminal prompt:
tasksel --list-task
The output will list tasks from other Ubuntu based distributions such as Kubuntu and
Edubuntu. Note that you can also invoke the tasksel command by itself, which will bring up
a menu of the different tasks available.
You can view a list of which packages are installed with each task using the --task-packages option.
For example, to list the packages installed with the DNS Server task enter the following:
The output of the command should list:
bind9utils
bind9
If you did not install one of the tasks during the installation process, but for example you decide to
make your new LAMP server a DNS server as well, simply insert the installation CD and from a
terminal:
sudo tasksel install dns-server
See you in the next lesson
Mr.Mohamed samir™
0 comments:
Post a Comment