vps_-_netbsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vps_-_netbsd [2021/04/02 19:15] – [Networking] hc9 | vps_-_netbsd [2023/07/31 18:01] (current) – Added alternative set up method based on recent experience and need for help from membership. stug | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{: | + | {{: |
====== NetBSD on SDF VPS ====== | ====== NetBSD on SDF VPS ====== | ||
- | |||
- | |||
===== First Steps ===== | ===== First Steps ===== | ||
Line 57: | Line 55: | ||
<file config / | <file config / | ||
nameserver 205.166.94.20 | nameserver 205.166.94.20 | ||
+ | </ | ||
+ | |||
+ | Add this to /etc/hosts: | ||
+ | |||
+ | <file config / | ||
+ | EXTERNAL_IP YOUR_HOSTNAME.sdf.org YOUR_HOSTNAME | ||
+ | </ | ||
+ | |||
+ | Run/Type: | ||
+ | |||
+ | / | ||
+ | | ||
+ | Alternatively, | ||
+ | |||
+ | Open / | ||
+ | |||
+ | <file config etc/ | ||
+ | hostname=YOUR_HOSTNAME.sdf.org | ||
+ | defaultroute=205.166.94.1 | ||
+ | </ | ||
+ | |||
+ | Create / | ||
+ | |||
+ | <file config etc/ | ||
+ | up | ||
+ | EXTERNAL_IP netmask 255.255.255.0 | ||
+ | </ | ||
+ | |||
+ | Then put this in / | ||
+ | |||
+ | <file config / | ||
+ | nameserver DNS_SERVER_IP | ||
</ | </ | ||
Line 87: | Line 117: | ||
To set this up on boot, execute the steps above and then: | To set this up on boot, execute the steps above and then: | ||
- | | + | < |
- | echo " | + | echo " |
- | echo " | + | echo " |
- | echo " | + | echo " |
- | echo " | + | echo " |
+ | echo " | ||
+ | </ | ||
Note that you cannot use both this pre-built pkgsrc and pre-built packages from netbsd.org. It may be possible to set the system up so you can, however this is best left to the experienced NetBSD administrator. | Note that you cannot use both this pre-built pkgsrc and pre-built packages from netbsd.org. It may be possible to set the system up so you can, however this is best left to the experienced NetBSD administrator. | ||
Line 107: | Line 139: | ||
Decide which sets you want to remove and examine their contents. For example, to remove games and all X11 sets: | Decide which sets you want to remove and examine their contents. For example, to remove games and all X11 sets: | ||
- | | + | < |
- | tar tzf / | + | for set in games xbase xcomp xetc xfont xserver ; do \ |
- | done | + | tar tzf / |
+ | done | ||
+ | </ | ||
- | After examining | + | After examining |
cat / | cat / |
vps_-_netbsd.1617390958.txt.gz · Last modified: 2021/04/02 19:15 by hc9