aboutsummaryrefslogtreecommitdiff
path: root/website/content/en/releases/11.1R/installation.adoc
blob: b6ad4743ce0fb7dd081fcff99dc8a9200e0073e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
title: "FreeBSD 11.1-RELEASE Installation Instructions"
sidenav: download
---

= FreeBSD 11.1-RELEASE Installation Instructions

== Abstract

This article gives some brief instructions on installing FreeBSD 11.1-RELEASE and upgrading the systems running earlier releases.

== Table of Contents

* <<install,Installing FreeBSD>>
* <<upgrade,Upgrading FreeBSD>>
** <<upgrade-source,Upgrading from Source>>
** <<upgrade-binary,Upgrading Using "FreeBSD Update">>

[[install]]
== Installing FreeBSD

The `Installing FreeBSD` chapter of the `FreeBSD Handbook` provides more in-depth information about the installation program itself, including a guided walk-through with screenshots.

[[upgrade]]
== Upgrading FreeBSD

If you are upgrading from a previous release of FreeBSD, please read `upgrading section in the Release Notes` for notable incompatibilities carefully.

[[upgrade-source]]
== Upgrading from Source

The procedure for doing a source code based update is described in `Synchronizing Source` and `Rebuilding world`.

For SVN use the `releng/11.1` branch which will be where any upcoming Security Advisories or Errata Notices will be applied.

[[upgrade-binary]]
== Upgrading Using "FreeBSD Update"

The https://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=freebsd-release-ports[freebsd-update(8)] utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running `10.3-RELEASE`, `11.0-RELEASE`, or `11.1-RC[123]` can upgrade as follows:

[.screen]
----
# freebsd-update fetch
# freebsd-update install
----

Now the http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8[freebsd-update(8)] utility can fetch bits belonging to 11.1-RELEASE. During this process http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8[freebsd-update(8)] will ask for help in merging configuration files.

[.screen]
----
# freebsd-update upgrade -r 11.1-RELEASE
----

[.screen]
----
# freebsd-update install
----

The system must now be rebooted with the newly installed kernel before the non-kernel components are updated.

[.screen]
----
# shutdown -r now
----

After rebooting, http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=freebsd-release-ports[freebsd-update(8)] needs to be run again to install the new userland components:

[.screen]
----
# freebsd-update install
----

At this point, users of systems being upgraded from earlier FreeBSD releases will be prompted by http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=freebsd-release-ports[freebsd-update(8)] to rebuild all third-party applications (e.g., ports installed from the ports tree) due to updates in system libraries.

After updating installed third-party applications (and again, only if http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=freebsd-release-ports[freebsd-update(8)] printed a message indicating that this was necessary), run http://www.FreeBSD.org/cgi/man.cgi?query=freebsd-update&sektion=8&manpath=freebsd-release-ports[freebsd-update(8)] again so that it can delete the old (no longer used) system libraries:

[.screen]
----
# freebsd-update install
----

Finally, reboot into 11.1-RELEASE

[.screen]
----
# shutdown -r now
----