- 作者：纪元魁 分类：win7 发布时间：2020-11-28 11:26:00
Ubuntu Server 16.04, also named
Xenial Xerus, has been released by Canonical and it’s now ready for installation.
The details about this new LTS version can be found on the previous article: How to upgrade Ubuntu 15.10 to 16.04.
This topic will guide you on how you can install
Ubuntu 16.04 Server Editionwith
Long Time Supporton your machine.
If you’re looking for Desktop Edition, read our previous article: Installation of Ubuntu 16.04 Desktop
RequirementsUbuntu 16.04 Server ISO ImageInstall Ubuntu 16.04 Server Edition
1.On the first step visit the above link and download the latest version of
Ubuntu Server ISOimage on your computer.
Once the image download completes, burn it to a CD or create a bootable USB disk using Unbootin (for BIOS machines) or
2.Place the bootable media intro the appropriate drive, start-up the machine and instruct the
BIOS/UEFIby pressing a special function key (
F12) to boot-up from the inserted USB/CD drive.
In a few seconds you will be presented with the first screen of Ubuntu installer. Select your language to perform the installation and hit
Enterkey to move to the next screen.
Choose Ubuntu 16.04 Server Installation Language
3.Next, select the first option,
Install Ubuntu Serverand press
Enterkey to continue.
Install Ubuntu 16.04 Server
4.Select the language you with to install the system and press
Enteragain to continue further.
Select Language for Ubuntu 16.04 Server
5.On the next series of screen choose your physical location from the presented list. If your location is different than the ones offered on the first screen, select other and hit
Enterkey, then select the location based on your continent and country. This location will be also used by the timezone system variable. Use the below screenshots as a guide.
Choose Location for Ubuntu 16.04 Server
Select Country Region
Select Area Location
6.Assign the locales and keyboard settings for your system as illustrated below and hit
Enterto continue the installation setup.
Configure Keyboard Layout
7.The installer will load a series of additional components required for the next steps and will automatically configure your network settings in case you have a DHCP server on the LAN.
Because this installation is intended for a server it’s a good idea to setup a static IP address for your network interface.
To do this you can interrupt the automatic network configuration process by pressing on
Cancelor once the installer reaches hostname phase you can hit on
Go Backand choose to
Configure network manually.
Set Ubuntu 16.04 Hostname
Configure Network Manually
8.Enter your network settings accordingly (IP Address, netmask, gateway and at least two DNS nameservers) as illustrated on the below images.
Set Static IP Address on Ubuntu 16.04
Configure Network Mask for Ubuntu 16.04
Configure Network Gateway for Ubuntu 16.04
Configure Network DNS on Ubuntu 16.04
9.On the next step setup a descriptive hostname for your machine and a domain (not necessary required) and hit on
Continueto move to the next screen. This step concludes the network settings.
Set Ubuntu 16.04 Server Hostname
Set Ubuntu 16.04 Domain Name
10.On this step the installer prompts you to setup a username and a password for your system. This username will be granted by the system with
sudopowers, so, technically, this user will be the supreme administrator next to root account (which is disabled by default).
Thus, choose an inspired username, maybe hard to guess for security reasons, with a strong password and hit on
Continue. Choose not to encrypt your home directory and press
Enterto continue further.
Setup User and Password
11.Next, the installer will automatically set your clock based on the physical location configured earlier. In case the location is correctly chosen hit on
Yesto continue to disk partition layout.
Configure System Clock
12.On the next step you can choose the method that will be used to slice up your disk. For instance, if you need to create custom partition scheme (such as
/bootetc) choose Manual method.
For a general purpose server you can stick to
Guided with LVMmethod as illustrated below, which automatically creates the partitions on your behalf.
Select Partition Method
13.Next, select the disk that will be used by the installer to create partitions and press
Select Disk Partition
Yesat the next screen in order to commit changes to disk with LVM scheme and hit on
Continueto use the entire disk space for guided partitions.
Add Disk Partition Size
Confirm Disk Partition Changes
15.Finally, approve for the last time the changes to be written to disk by pressing on
Yesand the installation will now begin. From this step on all the changes will be committed to disk.
Confirm Disk Partition Changes
Installing Ubuntu 16.04 Server
16.In case your system is behind a proxy or a firewall use the next screen to bypass the network restrictions, otherwise just leave it black and hit on
Configure System Package Manager
17.Next, the installer will configure
aptrepositories and will install the selected software. After it finishes the installation tasks a new screen will appear which will ask you how to manage the upgrade process. Select
Noautomatic updates for now (you will manually select what updates are necessary) and hit
Enterkey to continue.
Manage Ubuntu 16.04 Upgrades
18.On the next step you will be asked to select what software to install. Select only standard system utilities and
OpenSSHserver (if you require remote access) by pressing the spacebar key and hit on
System Software Selection
19.Once the installer finishes installing the software, a new screen will prompt you whether to install the
Grubboot loader to hard disk
512byte sector). Obviously without the GRUB you can’t boot up your system after restart, so hit on
Yesto continue with the installation.
Install Grub Boot Loader
20.Finally, after the boot loader is written to
Hard Disk MBR, the installation process finishes.
Hiton Continue to reboot the machine and remove the installation media.
Finish Ubuntu 16.04 Server Installation
reboot, login to your system console using the credentials configured during the installation process and you’re good to go on production with your server.
Ubuntu 16.04 Server Login Prompt
That’s all! Keep in mind that this version of Ubuntu has official maintenance support from Canonical until