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
Last revisionBoth sides next revision
vps_-_netbsd [2021/04/02 19:15] – [Networking] hc9vps_-_netbsd [2021/04/02 19:21] – old revision restored (2021/04/02 19:20) hc9
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 87: 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 "nfs_client=YES" &gt;&gt; /etc/rc.conf +<code> 
-  echo "rpcbind=YES" &gt;&gt; /etc/rc.conf +echo "nfs_client=YES" >> /etc/rc.conf 
-  echo "10.1.0.1 vps" &gt;&gt; /etc/hosts +echo "rpcbind=YES" >> /etc/rc.conf 
-  echo "vps:/pkgshare /pkgshare nfs ro" &gt;&gt; /etc/fstab +echo "10.1.0.1 vps" >> /etc/hosts 
-  echo "export PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin" &gt;&gt; /etc/profile+echo "vps:/pkgshare /pkgshare nfs ro" >> /etc/fstab 
 +echo "export PATH=$PATH:/usr/pkg/bin:/usr/pkg/sbin" >> /etc/profile 
 +</code>
  
 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 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:
  
-  for set in games xbase xcomp xetc xfont xserver ; do \ +<code> 
-    tar tzf /usr/INSTALL/$set.tgz | sed -e 's/^\.//' &gt;&gt; /tmp/purgelist ; \ +for set in games xbase xcomp xetc xfont xserver ; do \ 
-  done+  tar tzf /usr/INSTALL/$set.tgz | sed -e 's/^\.//' >> /tmp/purgelist ; \ 
 +done 
 +</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.txt · Last modified: 2023/07/31 18:01 by stug