Openbsd.Install68 20 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. version=pmwiki-2.2.130 ordered=1 urlencoded=1
  2. agent=Mozilla/5.0 (X11; OpenBSD amd64; rv:82.0) Gecko/20100101 Firefox/82.0
  3. author=jrmu
  4. charset=UTF-8
  5. csum=
  6. ctime=1607162929
  7. host=198.251.81.119
  8. name=Openbsd.Install68
  9. rev=15
  10. targets=Openbsd.Buyvm,Vps.Intro,Openbsd.Bsdrd,Openbsd.Staticnet,Openbsd.Netmask,Openbsd.Unbound,Openbsd.Fdisk,Openbsd.Disklabel
  11. text=(:title OpenBSD 6.8 Install Guide:)%0a%0aThis is a quick install guide for OpenBSD 6.8.%0a%0a'''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]]%0a%0a# First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a# At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0aAttach:install68-1.png%0a# '''NOTE''': At any time during the installation, if you make a mistake, you can type ctrl+c to cancel the install process. Then, press ctrl+d to bring back the installation options.\\%0aAttach:install68-2.png%0a# Type @@i@@ for install\\%0aAttach:install68-3.png%0a# Press enter to use the default keyboard layout.%0a# Your system hostname is probably a fruit.%0a# Configure the vio0 interface ([[https://man.openbsd.org/vio|vio]] is short for VirtIO). If you lack vio0 and have some other interface (like em0), you may want to change the networking drivers in [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]].%0a# Don't use DHCP. Instead, check BuyVM's web panel for the IPv4 address and enter it manually. Don't worry if you chose DHCP by accident, though. It is always possible to later reconfigure the VPS to use [[Openbsd/staticnet|static networking]]. The benefit of using static networking is that your IPs are guaranteed not to change. DHCP allocates the IP addresses dynamically and sometimes routers can change your addresses during a reboot, causing your users to be unable to connect.%0a# Leave the [[Openbsd/netmask|netmask]] as 255.255.255.0%0a# Don't use autoconf. Instead, manually type in your IPv6 addresses.%0a# BuyVM's IPv6 prefix length is 48, not 64. Coconut's is 64.%0a# Press enter when done.\\%0aAttach:install68-4.png%0a# BuyVM's default IPv4 route is just the same as your IPv4 address but the last number replaced with 1. So for example, if you had the IP address 192.168.0.14, the default gateway would be 192.168.0.1. For coconut, the default gateway has the last number replaced with 129.%0a# For BuyVM, the default router for subnets inside 2605:6400:0010/48 is 2605:6400:0010::1. For coconut, it is 2001:550:3402:1::1.%0a# Press enter when done.\\%0aAttach:install68-5.png%0a# DNS domain name will be either ircnow.org or the domain you purchased.%0a# DNS nameservers: You can use 8.8.8.8 from Google or [[https://servers.opennic.org/|OpenNIC servers]] or 127.0.0.1 if you configure [[Openbsd/unbound|unbound]] right after installation. '''NOTE''': If you use 127.0.0.1, you will not be able to download packages for installation without using the trick described below.%0a# Type in your root password twice.%0a# Type enter, you want to start sshd by default (or else you would be unable to log in).%0a# No, you not want to run X Windows by default. You will install the X packages but enabling X windows is a security risk given that you are working on a headless (no GUI) server.%0a# Enter your username, type in a name, then type the password twice.%0a# Don't allow root ssh login. Press enter.%0a# Set the timezone (matching the server's physical location).%0a# Press ? to see information about available disks.%0a# Select the correct disk. '''WARNING''': Be very careful! Selecting the wrong disk may erase data forever!\\%0aAttach:install68-6.png%0a#You may want to read up on [[openbsd/fdisk|fdisk]] and [[openbsd/disklabel|disklabel]]. For a simple install, type W to use the (W)hole Disk.\\%0aAttach:install68-7.png%0a#For a simple install, type enter to use (A)uto layout. If you have special needs, read up on [[openbsd/disklabel|disklabel]].\\%0aAttach:install68-8.png%0a#Once you are done formatting disks, press enter for done.\\%0aAttach:install68-9.png%0a# Installing the sets%0a # OpenBSD has a concept of base sets, which includes the default software with each install.%0a # If you used a CD-ROM ISO, type cd0.%0a # If you used a flash drive, type disk.%0a # If you want to download from the internet, type http.%0a # '''NOTE''': If you download from the internet, sometimes DNS will not work properly. There is a trick -- instead of using a hostname like ftp4.usa.openbsd.org, use its IPv4 address 66.111.2.37.\\%0aAttach:install68-10.png%0a# The pathname to the sets should be 6.8/amd64. Nothing to change so just press enter.%0a# Install all the sets. Do '''not''' skip the X sets because they are often needed even if you run headless (without a GUI). If you skip it now, you may eventually have to reboot the server and install it later -- a huge waste of time with no benefit. The X packages are only a few hundred megabytes and present no security risk so long as X is disabled.%0a# If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.\\%0aAttach:install68-14.png%0a# Type enter for done.%0a# Type enter to reboot.\\%0aAttach:install68-15.png%0a# Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.
  12. time=1607854403
  13. title=OpenBSD 6.8 Install Guide
  14. author:1607854403=jrmu
  15. diff:1607854403:1607854372:=21c21%0a%3c # Press enter when done.\\%0a---%0a> # Press enter when done.%0a
  16. host:1607854403=198.251.81.119
  17. author:1607854372=jrmu
  18. diff:1607854372:1607254572:=20c20%0a%3c # BuyVM's IPv6 prefix length is 48, not 64. Coconut's is 64.%0a---%0a> # BuyVM's IPv6 prefix length is 48, not 64. Coconut's is 64.\\%0a
  19. host:1607854372=198.251.81.119
  20. author:1607254572=jrmu
  21. diff:1607254572:1607254526:=53c53,54%0a%3c # If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.\\%0a---%0a> # If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.%0a> # Type enter for done.\\%0a55,58c56,58%0a%3c # Type enter for done.%0a%3c # Type enter to reboot.\\%0a%3c Attach:install68-15.png%0a%3c # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.%0a\ No newline at end of file%0a---%0a> # Type enter to reboot.%0a> # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.\\%0a> Attach:install68-15.png%0a\ No newline at end of file%0a
  22. host:1607254572=38.81.163.7
  23. author:1607254526=jrmu
  24. diff:1607254526:1607254514:=55c55%0a%3c Attach:install68-14.png%0a---%0a> Attach:install68-14.png\\%0a
  25. host:1607254526=38.81.163.7
  26. author:1607254514=jrmu
  27. diff:1607254514:1607253364:=57c57%0a%3c # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.\\%0a---%0a> # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.%0a
  28. host:1607254514=38.81.163.7
  29. author:1607253364=jrmu
  30. diff:1607253364:1607252919:=54,56c54,56%0a%3c # Type enter for done.\\%0a%3c Attach:install68-14.png\\%0a%3c # Type enter to reboot.%0a---%0a> # Type enter for done.%0a> # Type enter to reboot.\\%0a> Attach:install68-13.png%0a57a58%0a> Attach:install68-14.png%0a
  31. host:1607253364=38.81.163.7
  32. author:1607252919=jrmu
  33. diff:1607252919:1607252731:=46,49c46,52%0a%3c # If you used a CD-ROM ISO, type cd0.%0a%3c # If you used a flash drive, type disk.%0a%3c # If you want to download from the internet, type http.%0a%3c # '''NOTE''': If you download from the internet, sometimes DNS will not work properly. There is a trick -- instead of using a hostname like ftp4.usa.openbsd.org, use its IPv4 address 66.111.2.37.\\%0a---%0a> # If you used a CD-ROM ISO, select cd0.%0a> # If you used a flash drive, select disk.%0a> # If you want to download from the internet, select http.%0a> # '''NOTE''': If you download from the internet, sometimes DNS will not work properly. There is a trick -- instead of using a hostname like ftp4.usa.openbsd.org, use its IPv4 address 66.111.2.37.%0a> # The pathname to the sets should be 6.7/amd64. Nothing to change so just press enter.%0a> # Install all the sets. Do '''not''' skip the X sets because they are often needed even if you run headless (without a GUI). If you skip it now, you may eventually have to reboot the server and install it later -- a huge waste of time with no benefit. The X packages are only a few hundred megabytes and present no security risk so long as X is disabled.%0a> # If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.\\%0a51,53d53%0a%3c # The pathname to the sets should be 6.8/amd64. Nothing to change so just press enter.%0a%3c # Install all the sets. Do '''not''' skip the X sets because they are often needed even if you run headless (without a GUI). If you skip it now, you may eventually have to reboot the server and install it later -- a huge waste of time with no benefit. The X packages are only a few hundred megabytes and present no security risk so long as X is disabled.%0a%3c # If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.%0a56c56%0a%3c Attach:install68-13.png%0a---%0a> Attach:install68-11.png%0a57a58,59%0a> Attach:install68-12.png%0a> Attach:install68-13.png%0a
  34. host:1607252919=38.81.163.7
  35. author:1607252731=jrmu
  36. diff:1607252731:1607252534:=24,25c24%0a%3c # For BuyVM, the default router for subnets inside 2605:6400:0010/48 is 2605:6400:0010::1. For coconut, it is 2001:550:3402:1::1.%0a%3c # Press enter when done.\\%0a---%0a> # For BuyVM, the default router for subnets inside 2605:6400:0010/48 is 2605:6400:0010::1. For coconut, it is 2001:550:3402:1::1.\\%0a
  37. host:1607252731=38.81.163.7
  38. author:1607252534=jrmu
  39. diff:1607252534:1607252274:=21d20%0a%3c # Press enter when done.%0a
  40. host:1607252534=38.81.163.7
  41. author:1607252274=jrmu
  42. diff:1607252274:1607252134:=21d20%0a%3c Attach:install68-4.png%0a24c23%0a%3c Attach:install68-5.png%0a---%0a> Attach:install68-4.png%0a30c29,30%0a%3c # Enter your username, type in a name, then type the password twice.%0a---%0a> # Enter your username, type in a name, then type the password twice.\\%0a> Attach:install68-5.png%0a
  43. host:1607252274=38.81.163.7
  44. author:1607252134=jrmu
  45. diff:1607252134:1607250698:=7,8c7,10%0a%3c # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]], [[vps/intro|VMM]], and [[Openbsd/bsdrd|bsd.rd]] install guides.%0a%3c # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.\\%0a---%0a> # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]] and [[vps/intro|VMM]] install guides.%0a> # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.%0a> # '''NOTE''': At any time during the installation, if you make a mistake, you can type ctrl+c to cancel the install process. Then, press ctrl+d to bring back the installation options.%0a> # Type @@i@@ for install\\%0a10c12,13%0a%3c # '''NOTE''': At any time during the installation, if you make a mistake, you can type ctrl+c to cancel the install process. Then, press ctrl+d to bring back the installation options.\\%0a---%0a> # Press enter to use the default keyboard layout.%0a> # Your system hostname is probably a fruit.\\%0a12,15d14%0a%3c # Type @@i@@ for install\\%0a%3c Attach:install68-3.png%0a%3c # Press enter to use the default keyboard layout.%0a%3c # Your system hostname is probably a fruit.%0a20a20%0a> Attach:install68-3.png%0a
  46. host:1607252134=38.81.163.7
  47. author:1607250698=jrmu
  48. diff:1607250698:1607172715:=8c8%0a%3c # At bootup, type @@boot@@, then press enter. Or wait a few seconds to boot automatically.%0a---%0a> # At bootup, type @@boot@@ then press enter. Or wait a few seconds to boot automatically.%0a
  49. host:1607250698=38.81.163.7
  50. author:1607172715=jrmu
  51. diff:1607172715:1607168926:=11c11%0a%3c Attach:install68-1.png%0a---%0a> Attach:install67-1.png%0a14c14%0a%3c Attach:install68-2.png%0a---%0a> Attach:install67-2.png%0a20c20%0a%3c Attach:install68-3.png%0a---%0a> Attach:install67-3.png%0a23c23%0a%3c Attach:install68-4.png%0a---%0a> Attach:install67-4.png%0a30c30%0a%3c Attach:install68-5.png%0a---%0a> Attach:install67-5.png%0a35c35%0a%3c Attach:install68-6.png%0a---%0a> Attach:install67-6.png%0a37c37%0a%3c Attach:install68-7.png%0a---%0a> Attach:install67-6b.png%0a39c39%0a%3c Attach:install68-8.png%0a---%0a> Attach:install67-6c.png%0a41c41%0a%3c Attach:install68-9.png%0a---%0a> Attach:install67-6d.png%0a51c51%0a%3c Attach:install68-10.png%0a---%0a> Attach:install67-7.png%0a54,59c54,55%0a%3c Attach:install68-11.png%0a%3c # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.%0a%3c Attach:install68-12.png%0a%3c Attach:install68-13.png%0a%3c Attach:install68-14.png%0a%3c Attach:install68-15.png%0a\ No newline at end of file%0a---%0a> Attach:install67-8.png%0a> # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.%0a\ No newline at end of file%0a
  52. host:1607172715=38.81.163.7
  53. author:1607168926=jrmu
  54. diff:1607168926:1607162929:=1,6c1,4%0a%3c (:title OpenBSD 6.8 Install Guide:)%0a%3c %0a%3c This is a quick install guide for OpenBSD 6.8.%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/faq4.html|Installation Guide]]%0a%3c %0a---%0a> (:title OpenBSD 6.7 Install Guide:)%0a> %0a> This is a quick install guide for OpenBSD 6.7.%0a> %0a9d6%0a%3c # '''NOTE''': At any time during the installation, if you make a mistake, you can type ctrl+c to cancel the install process. Then, press ctrl+d to bring back the installation options.%0a
  55. host:1607168926=38.81.163.7
  56. author:1607162929=jrmu
  57. diff:1607162929:1607162929:=1,52d0%0a%3c (:title OpenBSD 6.7 Install Guide:)%0a%3c %0a%3c This is a quick install guide for OpenBSD 6.7.%0a%3c %0a%3c # First, you'll want to boot up from the install ISO. Please consult the [[Openbsd/buyvm|BuyVM]] and [[vps/intro|VMM]] install guides.%0a%3c # At bootup, type @@boot@@ then press enter. Or wait a few seconds to boot automatically.%0a%3c # Type @@i@@ for install\\%0a%3c Attach:install67-1.png%0a%3c # Press enter to use the default keyboard layout.%0a%3c # Your system hostname is probably a fruit.\\%0a%3c Attach:install67-2.png%0a%3c # Configure the vio0 interface ([[https://man.openbsd.org/vio|vio]] is short for VirtIO). If you lack vio0 and have some other interface (like em0), you may want to change the networking drivers in [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]].%0a%3c # Don't use DHCP. Instead, check BuyVM's web panel for the IPv4 address and enter it manually. Don't worry if you chose DHCP by accident, though. It is always possible to later reconfigure the VPS to use [[Openbsd/staticnet|static networking]]. The benefit of using static networking is that your IPs are guaranteed not to change. DHCP allocates the IP addresses dynamically and sometimes routers can change your addresses during a reboot, causing your users to be unable to connect.%0a%3c # Leave the [[Openbsd/netmask|netmask]] as 255.255.255.0%0a%3c # Don't use autoconf. Instead, manually type in your IPv6 addresses.%0a%3c # BuyVM's IPv6 prefix length is 48, not 64. Coconut's is 64.\\%0a%3c Attach:install67-3.png%0a%3c # BuyVM's default IPv4 route is just the same as your IPv4 address but the last number replaced with 1. So for example, if you had the IP address 192.168.0.14, the default gateway would be 192.168.0.1. For coconut, the default gateway has the last number replaced with 129.%0a%3c # For BuyVM, the default router for subnets inside 2605:6400:0010/48 is 2605:6400:0010::1. For coconut, it is 2001:550:3402:1::1.\\%0a%3c Attach:install67-4.png%0a%3c # DNS domain name will be either ircnow.org or the domain you purchased.%0a%3c # DNS nameservers: You can use 8.8.8.8 from Google or [[https://servers.opennic.org/|OpenNIC servers]] or 127.0.0.1 if you configure [[Openbsd/unbound|unbound]] right after installation. '''NOTE''': If you use 127.0.0.1, you will not be able to download packages for installation without using the trick described below.%0a%3c # Type in your root password twice.%0a%3c # Type enter, you want to start sshd by default (or else you would be unable to log in).%0a%3c # No, you not want to run X Windows by default. You will install the X packages but enabling X windows is a security risk given that you are working on a headless (no GUI) server.%0a%3c # Enter your username, type in a name, then type the password twice.\\%0a%3c Attach:install67-5.png%0a%3c # Don't allow root ssh login. Press enter.%0a%3c # Set the timezone (matching the server's physical location).%0a%3c # Press ? to see information about available disks.%0a%3c # Select the correct disk. '''WARNING''': Be very careful! Selecting the wrong disk may erase data forever!\\%0a%3c Attach:install67-6.png%0a%3c #You may want to read up on [[openbsd/fdisk|fdisk]] and [[openbsd/disklabel|disklabel]]. For a simple install, type W to use the (W)hole Disk.\\%0a%3c Attach:install67-6b.png%0a%3c #For a simple install, type enter to use (A)uto layout. If you have special needs, read up on [[openbsd/disklabel|disklabel]].\\%0a%3c Attach:install67-6c.png%0a%3c #Once you are done formatting disks, press enter for done.\\%0a%3c Attach:install67-6d.png%0a%3c # Installing the sets%0a%3c # OpenBSD has a concept of base sets, which includes the default software with each install.%0a%3c # If you used a CD-ROM ISO, select cd0.%0a%3c # If you used a flash drive, select disk.%0a%3c # If you want to download from the internet, select http.%0a%3c # '''NOTE''': If you download from the internet, sometimes DNS will not work properly. There is a trick -- instead of using a hostname like ftp4.usa.openbsd.org, use its IPv4 address 66.111.2.37.%0a%3c # The pathname to the sets should be 6.7/amd64. Nothing to change so just press enter.%0a%3c # Install all the sets. Do '''not''' skip the X sets because they are often needed even if you run headless (without a GUI). If you skip it now, you may eventually have to reboot the server and install it later -- a huge waste of time with no benefit. The X packages are only a few hundred megabytes and present no security risk so long as X is disabled.%0a%3c # If you're using CD, hopefully you verified the ISO before you installed. You can continue without verification. If you are using HTTP, you '''must''' verify the sets to be safe. Do not use unverified sets over HTTP.\\%0a%3c Attach:install67-7.png%0a%3c # Type enter for done.%0a%3c # Type enter to reboot.\\%0a%3c Attach:install67-8.png%0a%3c # Power off the VPS and make sure to boot from the hard drive. You may need to go to [[Openbsd/buyvm|BuyVM]]'s [[https://manage.buyvm.net|web panel]] to fix this.%0a\ No newline at end of file%0a
  58. host:1607162929=38.81.163.7