1*3e904a87Smioddnl $OpenBSD: INSTALL,v 1.57 2023/03/16 18:04:07 miod Exp $ 2164c84deStoddinclude(INCLUDE/../m4.common)dnl 3d24adbafSmiodincludeit(features)dnl 4164c84deStoddINSTALLATION NOTES for OpenBSD/MACHINE OSREV 5df930be7Sderaadt 6df930be7Sderaadt 73479f7b5SniklasWhat is OpenBSD? 82a01de96Sderaadt---------------- 9df930be7Sderaadt 10c61a0882SnateOpenBSD is a fully functional, multi-platform UN*X-like Operating 11c61a0882SnateSystem based on Berkeley Networking Release 2 (Net/2) and 4.4BSD-Lite. 12c61a0882SnateThere are several operating systems in this family, but OpenBSD 13c61a0882Snatedifferentiates itself by putting security and correctness first. The 14c529027aSjmcOpenBSD team strives to achieve what is called a "secure by default" 15c61a0882Snatestatus. This means that an OpenBSD user should feel safe that their 16c529027aSjmcnewly installed machine will not be compromised. This "secure by 17c529027aSjmcdefault" goal is achieved by taking a proactive stance on security. 18df930be7Sderaadt 19d49410c8SmarkusSince security flaws are essentially mistakes in design or implement- 20c61a0882Snateation, the OpenBSD team puts as much importance on finding and fixing 21c61a0882Snateexisting design flaws and implementation bugs as it does writing new 22c61a0882Snatecode. This means that an OpenBSD system will not only be more secure, 23c61a0882Snatebut it will be more stable. The source code for all critical system 24c61a0882Snatecomponents has been checked for remote-access, local-access, denial- 25c61a0882Snateof-service, data destruction, and information-gathering problems. 26df930be7Sderaadt 27c61a0882SnateIn addition to bug fixing, OpenBSD has integrated strong cryptography 280a3737abSangelosinto the base system. A fully functional IPsec implementation is 29c61a0882Snateprovided as well as support for common protocols such as SSL and SSH. 30f068b0b5SmiodNetwork filtering and monitoring tools such as packet filtering, NAT, 31f068b0b5Smiodand bridging are also standard, as well as several routing services, 32f068b0b5Smiodsuch as BGP and OSPF. For high performance demands, support for 33c61a0882Snatehardware cryptography has also been added to the base system. Because 34d49410c8Smarkussecurity is often seen as a tradeoff with usability, OpenBSD provides 35c61a0882Snateas many security options as possible to allow the user to enjoy secure 36c61a0882Snatecomputing without feeling burdened by it. 372a01de96Sderaadt 38c61a0882SnateBecause OpenBSD is from Canada, the export of Cryptography pieces 395cc4d476Shenning(such as OpenSSH and IPsec) to the world is not restricted. 40c61a0882Snate 41c61a0882Snate(NOTE: OpenBSD can not be re-exported from the US once it has entered 42c61a0882Snatethe US. Because of this, take care NOT to get the distribution from 438d66842dSrpea mirror server in the US if you are outside of Canada and the US.) 44c61a0882Snate 45480ae380SrobA list of software and ideas developed by the OpenBSD project is 46480ae380Srobavailable on the web at https://www.OpenBSD.org/innovations.html. 47480ae380Srob 4882f141c1SjmcA comprehensive list of the improvements brought by the OSREV release 49480ae380Srobis also available at https://www.OpenBSD.org/OSrev.html. 50f068b0b5Smioddnl 51f068b0b5Smioddnl MACHINE/whatis 52f068b0b5Smioddnl A few descriptive words about the port to MACHINE (i.e. what kind 53f068b0b5Smioddnl of hardware it runs on, without too much details - MACHINE/hardware 54f068b0b5Smioddnl will take care of this). 55f068b0b5Smioddnl Needs to start with a blank line if non empty. 56164c84deStoddincludeit(whatis)dnl 57164c84deStodd 58df930be7Sderaadt 593479f7b5SniklasSources of OpenBSD: 602a01de96Sderaadt------------------- 61df930be7Sderaadt 623b5157d9StbPlease refer to https://www.openbsd.org/ftp.html for all the ways you may 634fc25e86Steduacquire OpenBSD. 64df930be7Sderaadt 65164c84deStodd 66164c84deStoddOpenBSD OSREV Release Contents: 672a01de96Sderaadt----------------------------- 68df930be7Sderaadt 69164c84deStoddThe OpenBSD OSREV release is organized in the following way. In the 70164c84deStodd.../OSREV directory, for each of the architectures having an OpenBSD OSREV 71a3a5ca11Stoddbinary distribution, there is a sub-directory. 72df930be7Sderaadt 73164c84deStoddincludeit(contents) 74df930be7Sderaadt 7508c97e40Smiod 763479f7b5SniklasOpenBSD System Requirements and Supported Devices: 772a01de96Sderaadt-------------------------------------------------- 78df930be7Sderaadt 79164c84deStoddincludeit(hardware) 80df930be7Sderaadt 8108c97e40Smiod 82db0bfcd5SdougVerifying the OpenBSD Installation Media: 83db0bfcd5Sdoug----------------------------------------- 84db0bfcd5Sdoug 850706de2aStjOpenBSD installations are able to verify files for the next 86db0bfcd5Sdougrelease. The OpenBSD OSREV release was signed with the 87db0bfcd5Sdoug/etc/signify/openbsd-{:--:}OSrev-base.pub release key. 88db0bfcd5Sdoug 890706de2aStjIf you have an existing OpenBSD installation, you can run signify(1) 900706de2aStjto verify the signature and checksum. For example, run the following 91db0bfcd5Sdougto verify that the cd{:--:}OSrev.iso file was distributed by the OpenBSD team: 92db0bfcd5Sdoug signify -C -p /etc/signify/openbsd-{:--:}OSrev-base.pub -x SHA256.sig cd{:--:}OSrev.iso 93db0bfcd5Sdoug 94db0bfcd5SdougIf you are unable to run or compile signify(1), use sha256(1) with the SHA256 95db0bfcd5Sdougfile to see if a file was corrupt during the transfer. 96db0bfcd5Sdoug 97db0bfcd5Sdoug 983479f7b5SniklasGetting the OpenBSD System onto Useful Media: 99cb32bff3Smillert--------------------------------------------- 100df930be7Sderaadt 101164c84deStoddincludeit(xfer) 102df930be7Sderaadt 10308c97e40Smiod 104*3e904a87Smiodifelse(MACHINE,powerpc64,,{:-dnl 1053479f7b5SniklasPreparing your System for OpenBSD Installation: 1062a01de96Sderaadt----------------------------------------------- 107df930be7Sderaadt 108164c84deStoddincludeit(prep) 109df930be7Sderaadt 11008c97e40Smiod 111*3e904a87Smiod-:})dnl 1123479f7b5SniklasInstalling the OpenBSD System: 1132a01de96Sderaadt------------------------------ 114df930be7Sderaadt 115164c84deStoddincludeit(install) 116df930be7Sderaadt 11708c97e40Smiod 1183479f7b5SniklasUpgrading a previously-installed OpenBSD System: 1192a01de96Sderaadt------------------------------------------------ 120df930be7Sderaadt 121164c84deStoddincludeit(upgrade) 122df930be7Sderaadt 12308c97e40Smiod 1240905e1eaSderaadtGetting source code for your OpenBSD System: 1250905e1eaSderaadt-------------------------------------------- 1260905e1eaSderaadt 1270905e1eaSderaadtNow that your OpenBSD system is up and running, you probably want to get 1280905e1eaSderaadtaccess to source code so that you can recompile pieces of the system. 1290905e1eaSderaadt 130ae92dd0dSnaydenYou can get the pieces over the internet using anonymous CVS, rsync, 1310fbae784StjFTP or HTTP(s). For more information, see: 1320905e1eaSderaadt 1333b5157d9Stb https://www.OpenBSD.org/anoncvs.html 1343b5157d9Stb https://www.OpenBSD.org/ftp.html 1350905e1eaSderaadt 13608c97e40Smiod 1372a01de96SderaadtUsing online OpenBSD documentation: 1382a01de96Sderaadt----------------------------------- 139489064a4Sderaadt 140f068b0b5SmiodDocumentation is available if you first install the manual pages 141489064a4Sderaadtdistribution set. Traditionally, the UN*X "man pages" (documentation) 142c529027aSjmcare denoted by "name(section)". Some examples of this are 143489064a4Sderaadt 144489064a4Sderaadt intro(1), 145489064a4Sderaadt man(1), 146cb32bff3Smillert apropos(1), 147688488adSmiod passwd(1), 148688488adSmiod passwd(5) and 149688488adSmiod afterboot(8). 150489064a4Sderaadt 151489064a4SderaadtThe section numbers group the topics into several categories, but three 152489064a4Sderaadtare of primary interest: user commands are in section 1, file formats 153489064a4Sderaadtare in section 5, and administrative information is in section 8. 154489064a4Sderaadt 155c529027aSjmcThe "man" command is used to view the documentation on a topic, and is 156c529027aSjmcstarted by entering "man [section] topic". The brackets [] around the 157489064a4Sderaadtsection should not be entered, but rather indicate that the section is 158489064a4Sderaadtoptional. If you don't ask for a particular section, the topic with the 159489064a4Sderaadtleast-numbered section name will be displayed. For instance, after 160489064a4Sderaadtlogging in, enter 161489064a4Sderaadt 162489064a4Sderaadt man passwd 163489064a4Sderaadt 164489064a4Sderaadtto read the documentation for passwd(1). To view the documentation for 165489064a4Sderaadtpasswd(5), enter 166489064a4Sderaadt 167489064a4Sderaadt man 5 passwd 168489064a4Sderaadt 169489064a4Sderaadtinstead. 170489064a4Sderaadt 171489064a4SderaadtIf you are unsure of what man page you are looking for, enter 172489064a4Sderaadt 173489064a4Sderaadt apropos subject-word 174489064a4Sderaadt 175489064a4Sderaadtwhere "subject-word" is your topic of interest; a list of possibly 176489064a4Sderaadtrelated man pages will be displayed. 177489064a4Sderaadt 17808c97e40Smiod 179c529027aSjmcAdding third party software - packages and ports: 180f068b0b5Smiod-------------------------------------------------------- 181ea30827fSmarc 182164c84deStoddincludeit(packages) 183489064a4Sderaadt 18408c97e40Smiod 185df930be7SderaadtAdministrivia: 1862a01de96Sderaadt-------------- 187df930be7Sderaadt 188df930be7SderaadtThere are various mailing lists available via the mailing list 18971901ee1Smiodserver at <majordomo@OpenBSD.org>. To get help on using the mailing 190df930be7Sderaadtlist server, send mail to that address with an empty body, and it will 19195a11e58Stedureply with instructions. 192df930be7Sderaadt 19377a93d02SmiodMore information about the various OpenBSD mailing list and proper 19477a93d02Smiodnetiquette is available at 19577a93d02Smiod 1963b5157d9Stb https://www.OpenBSD.org/mail.html 19777a93d02Smiod 198c529027aSjmcTo report bugs, use the "sendbug" command shipped with OpenBSD, 199df930be7Sderaadtand fill in as much information about the problem as you can. Good 200164c84deStoddbug reports {:-include-:} lots of details. Additionally, bug reports can 201df930be7Sderaadtbe sent by mail to: 202df930be7Sderaadt 20371901ee1Smiod bugs@OpenBSD.org 204df930be7Sderaadt 205b4259f1cSmioddnl uncomment when this is true again... 206b4259f1cSmioddnl 207b4259f1cSmioddnl Use of 'sendbug' is encouraged, however, because bugs reported with it 208b4259f1cSmioddnl are entered into the OpenBSD bugs database, and thus can't slip through 209b4259f1cSmioddnl the cracks. 210b4259f1cSmioddnl 2117975ba56StholoAs a favor, please avoid mailing huge documents or files to the 21295a11e58Stedumailing lists. Instead, put the material you would have sent on 21395a11e58Stedua web server, then mail the appropriate list about it, or if 214df930be7Sderaadtyou'd rather not do that, mail the list saying you'll send the data 215df930be7Sderaadtto those who want it. 216f068b0b5Smiod 217f068b0b5SmiodFor more information about reporting bugs, see 218f068b0b5Smiod 2193b5157d9Stb https://www.OpenBSD.org/report.html 220