欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  科技

Ubuntu 16.04 Server Edition 英文版安装教程

程序员文章站 2023-12-31 14:20:16
这篇文章主要介绍了Ubuntu 16.04 Server Edition 英文版安装教程,需要的朋友可以参考下... 16-09-03...

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 edition

1. 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.

Ubuntu 16.04 Server Edition 英文版安装教程

choose ubuntu 16.04 server installation language

3. next, select the first option, install ubuntu server and press enter key to continue.

Ubuntu 16.04 Server Edition 英文版安装教程

install ubuntu 16.04 server

4. select the language you with to install the system and press enter again to continue further.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

choose location for ubuntu 16.04 server

Ubuntu 16.04 Server Edition 英文版安装教程

select country region

Ubuntu 16.04 Server Edition 英文版安装教程

select area location

6. assign the locales and keyboard settings for your system as illustrated below and hit enter to continue the installation setup.

Ubuntu 16.04 Server Edition 英文版安装教程

configure locales

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

set ubuntu 16.04 hostname

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

set static ip address on ubuntu 16.04

Ubuntu 16.04 Server Edition 英文版安装教程

configure network mask for ubuntu 16.04

Ubuntu 16.04 Server Edition 英文版安装教程

configure network gateway for ubuntu 16.04

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

set ubuntu 16.04 server hostname

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

select partition method

13. next, select the disk that will be used by the installer to create partitions and press enter key.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

add disk partition size

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

confirm disk partition changes

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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.

Ubuntu 16.04 Server Edition 英文版安装教程

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 Edition 英文版安装教程

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.

上一篇:

下一篇: