vps_-_netbsd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
vps_-_netbsd [2021/04/02 19:12] – [User Accounts] hc9 | vps_-_netbsd [2021/04/02 19:21] – old revision restored (2021/04/02 19:20) hc9 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{: | + | {{: |
====== NetBSD on SDF VPS ====== | ====== NetBSD on SDF VPS ====== | ||
- | |||
- | |||
===== First Steps ===== | ===== First Steps ===== | ||
Line 25: | Line 23: | ||
==== System Clock ==== | ==== System Clock ==== | ||
- | It is customary on UNIX systems for the system clock to be set to UTC. To set the local time zone, find your zone file in "/ | + | It is customary on UNIX systems for the system clock to be set to UTC. To set the local time zone, find your zone file in '' |
ln -fs / | ln -fs / | ||
Line 33: | Line 31: | ||
Look at the first line of your control panel at vps.sdf.org and note YOUR_HOSTNAME (e.g. netbsd99), EXTERNAL_IP (e.g. 205.166.94.nnn), | Look at the first line of your control panel at vps.sdf.org and note YOUR_HOSTNAME (e.g. netbsd99), EXTERNAL_IP (e.g. 205.166.94.nnn), | ||
- | | + | < |
- | -------- | + | VPS Maintenance Shell for netbsd99 (205.166.94.nnn / 10.1.0.nnn) |
+ | -------- | ||
- | | + | |
- | | | + | | |
- | | | + | | |
- | YOUR_HOSTNAME | + | YOUR_HOSTNAME |
+ | </ | ||
Open / | Open / | ||
- | | + | <file config etc/ |
- | defaultroute=205.166.94.1 | + | hostname=YOUR_HOSTNAME.sdf.org |
- | auto_ifconfig=yes | + | defaultroute=205.166.94.1 |
- | ifconfig_xennet0=" | + | auto_ifconfig=yes |
- | ifconfig_xennet1=" | + | ifconfig_xennet0=" |
+ | ifconfig_xennet1=" | ||
+ | </ | ||
Then put this in / | Then put this in / | ||
- | | + | <file config / |
+ | nameserver 205.166.94.20 | ||
+ | </ | ||
Add this to /etc/hosts: | Add this to /etc/hosts: | ||
- | | + | <file config / |
+ | EXTERNAL_IP YOUR_HOSTNAME.sdf.org YOUR_HOSTNAME | ||
+ | </ | ||
Run/Type: | Run/Type: | ||
Line 79: | Line 85: | ||
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 99: | Line 107: | ||
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.txt · Last modified: 2023/07/31 18:01 by stug