Ubuntu 16.04 Server Edition 英文版安装教程
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 edition with long time support on 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 edition1. on the first step visit the above link and download the latest version of ubuntu server iso image 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 rufus (for uefi machines).
2. place the bootable media intro the appropriate drive, start-up the machine and instruct the bios/uefi by pressing a special function key (f2, f11, 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 enter key to move to the next screen.
choose ubuntu 16.04 server installation language
3. next, select the first option, install ubuntu server and press enter key to continue.
install ubuntu 16.04 server
4. select the language you with to install the system and press enter again 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 enter key, 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 enter to continue the installation setup.
configure locales
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 cancel or once the installer reaches hostname phase you can hit on go back and 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 continue to 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 sudo powers, 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 enter to 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 yes to 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 /home, /var, /boot etc) choose manual method.
for a general purpose server you can stick to guided with lvm method 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 enter key.
select disk partition
14. answer with yes at the next screen in order to commit changes to disk with lvm scheme and hit on continue to 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 yes and 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 continue.
configure system package manager
17. next, the installer will configure apt repositories 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 no automatic updates for now (you will manually select what updates are necessary) and hit enter key 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 openssh server (if you require remote access) by pressing the spacebar key and hit on continue.
system software selection
19. once the installer finishes installing the software, a new screen will prompt you whether to install the grub boot loader to hard disk mbr (first 512 byte sector). obviously without the grub you can’t boot up your system after restart, so hit on yes to continue with the installation.
install grub boot loader
20. finally, after the boot loader is written to hard disk mbr, the installation process finishes. hit on continue to reboot the machine and remove the installation media.
finish ubuntu 16.04 server installation
21. after 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 2021 for hardware, bugs, software and security updates.
上一篇: 在Linux系统中批量添加用户的方法讲解
下一篇: 2017年传统企业如何融入互联网
推荐阅读
-
Ubuntu Server 16.04下mysql8.0安装配置图文教程
-
Ubuntu16.04安装mysql5.7.22的图文教程
-
mysql 5.7.17 安装配置方法图文教程(ubuntu 16.04)
-
mysql 5.7.16 安装配置方法图文教程(ubuntu 16.04)
-
VMware 12 下 Ubuntu 16.04 安装图文教程
-
protobuf简单介绍和ubuntu 16.04环境下安装教程
-
VMware下Ubuntu16.04镜像完整安装教程
-
在Ubuntu 16.04 Server上安装Zabbix的方法
-
ubuntu16.04下安装openssh-server报依赖错误的完美解决方法(非常不错)
-
VMware14.0.0版本虚拟机安装Ubuntu16.04 LTS版本Linux系统图文教程