User Tools

Site Tools


vps_-_netbsd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vps_-_netbsd [2021/04/02 19:19] – [Free up disk space by removing unwanted sets] hc9vps_-_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:
-{{:vps_-_netbsd:netbsd.png?nolink&200|}}+{{:vps_-_netbsd:netbsd.png?nolink&150|}}
  
 ====== NetBSD on SDF VPS ====== ====== NetBSD on SDF VPS ======
- 
- 
  
 ===== First Steps ===== ===== First Steps =====
Line 57: Line 55:
 <file config /etc/resolv.conf> <file config /etc/resolv.conf>
 nameserver 205.166.94.20 nameserver 205.166.94.20
 +</file>
 +
 +Add this to /etc/hosts:
 +
 +<file config /etc/hosts>
 +EXTERNAL_IP YOUR_HOSTNAME.sdf.org YOUR_HOSTNAME
 +</file>
 +
 +Run/Type:
 +
 +  /etc/rc.d/network restart
 +  
 +Alternatively, if the above does not work:
 +
 +Open /etc/rc.conf in an editor and, replacing the text YOUR_HOSTNAME, EXTERNAL_IP, and INTERNAL_IP with your own actual host name and IP numbers, add:
 +
 +<file config etc/rc.conf>
 +hostname=YOUR_HOSTNAME.sdf.org
 +defaultroute=205.166.94.1
 +</file>
 +
 +Create /etc/ifconfig.xennet0 and open it in an editor. Add:
 +
 +<file config etc/ifconfig.xennet0>
 +up
 +EXTERNAL_IP netmask 255.255.255.0
 +</file>
 +
 +Then put this in /etc/resolv.conf:
 +
 +<file config /etc/resolv.conf>
 +nameserver DNS_SERVER_IP
 </file> </file>
  
Line 115: Line 145:
 </code> </code>
  
-After examining "/tmp/purgelistand removing any files you want to keep, do:+After examining ''/tmp/purgelist'' and removing any files you want to keep, do:
  
   cat /tmp/purgelist | xargs rm   cat /tmp/purgelist | xargs rm
vps_-_netbsd.1617391141.txt.gz · Last modified: 2021/04/02 19:19 by hc9