System information
After entering your username, you’ll be asked to supply a password, and then asked to
confirm the password you’ve entered. Ubuntu does a good job of providing a secure
system by not providing direct access to root, but rather using the sudo application,
which allows you to run commands as root without being the root user. Enter a user-
name,
#
such as asteriskpbx, and a secure password to continue. You’ll use these to log
into the system once the installer ends. The installer will then ask you if you want to
encrypt your home directory. This is not necessary and will add CPU overhead.
The rest of the installation instructions will assume that asteriskpbx was
chosen as the username.
If your system is behind a web proxy, enter the proxy information now. If you’re not
behind a proxy, or don’t know if you are, simply press Enter
.
You will then be asked if you want to install updates automatically. The default is to
perform no automatic updates, which is what we recommend. Should a system reboot
occur, an update to the kernel will render Asterisk nonstartable until you recompile
it
*
(which won’t make you popular). It is better practice to identify updates on a regular
basis and perform them manually in a controlled manner. Normally, you would want
to advise your users of the expected downtime and schedule the downtime to happen
after business hours (or while a redundant system is running). Select No automatic
updates and press Enter
.
Since we’ll be installing our dependencies with apt-get, we only need to select one
package during the install: OpenSSH server. SSH is essential if you wish to perform
remote work on the system. However, if your local policy states that your server needs
to be managed directly, you may not want to install the OpenSSH server.
Pressing the Enter key will accept the current selections and move on
with the install. You need to use space bar to toggle your selections.
After you’ve selected OpenSSH server, press Enter .
If this is the only operating system on the machine (which it likely is), Ubuntu will give
you the option to install the GRUB bootloader on your system. It provides this prompt
in order to give you the option of skipping the GRUB installation, as it will modify the
master boot record (MBR) on your system. If there is another operating system it has
#Ubuntu has reserved the username asterisk internally.
* While we say Asterisk here, specifically it is DAHDI that is the problem. DAHDI is a set of Linux kernel
modules used with Asterisk.
42 | Chapter 3: Installing Asterisk