This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorials:vps_netbsd [2011/04/30 15:00] – created clemens | tutorials:vps_netbsd [2012/01/31 22:24] (current) – memnon | ||
---|---|---|---|
Line 21: | Line 21: | ||
It is also a good habit to create a regular user account for working, using " | It is also a good habit to create a regular user account for working, using " | ||
- | useradd -m -G wheel <username> | + | useradd -m -G wheel <username> |
Then immediately set its password with: | Then immediately set its password with: | ||
- | passwd | + | passwd |
This user will be in the " | This user will be in the " | ||
Line 37: | Line 37: | ||
==== Networking ==== | ==== Networking ==== | ||
- | Look at the first line of your control panel at vps.sdf.org and note YOUR_IP | + | Look at the first line of your control panel at vps.sdf.org and note YOUR_HOSTNAME (e.g. netbsd99), EXTERNAL_IP |
+ | 10.1.0.nnn): | ||
+ | |||
+ | < | ||
+ | VPS Maintenance Shell for netbsd99 (192.94.73.nnn / 10.1.0.nnn) | ||
+ | -------- | ||
+ | ^ | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | YOUR_HOSTNAME | ||
+ | </ | ||
Start your server, and log in via the console. (default=root: | Start your server, and log in via the console. (default=root: | ||
- | Open / | + | Open / |
hostname=YOUR_HOSTNAME.sdf.org | hostname=YOUR_HOSTNAME.sdf.org | ||
defaultroute=192.94.73.1 | defaultroute=192.94.73.1 | ||
auto_ifconfig=yes | auto_ifconfig=yes | ||
- | ifconfig_xennet0=" | + | ifconfig_xennet0=" |
+ | | ||
+ | | ||
Then put this in / | Then put this in / | ||
Line 54: | Line 66: | ||
Add this to /etc/hosts: | Add this to /etc/hosts: | ||
- | | + | |
Run/Type: | Run/Type: | ||
Line 78: | Line 90: | ||
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 " | + | 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 111: | ||
for set in games xbase xcomp xetc xfont xserver ; do \ | for set in games xbase xcomp xetc xfont xserver ; do \ | ||
- | tar tzf / | + | tar tzf / |
done | done | ||