[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup
nihongo chinese europa usermap webmail forum gallery elearn irc tutorials software telnet ssh
Plan9 on SDF VPS

Plan9 on SDF VPS

Contents

Basics

When your Plan9 system boots, it will ask you where root is from (via the network, or a local disk). Just hit [ETNER] to select local (the default):

root is from (tcp, local)[local!#S/sd00/fossil]:

Next you will be prompted to login. Login as the default user, glenda:

user[none]: glenda
time...
fossil(#S/sd00/fossil)...version...time...

init: starting /bin/rc
#m/mousectl: rc: can't open: unknown device in # filename
init: rc exit status: rc 24: error

init: starting /bin/rc
% 

You will now be sitting at a rc prompt, Plan9's shell.

Networking

Configuring IP Address

In your control panel at vps.sdf.org, note YOUR_IP (e.g. 192.94.73.x) on the top line, and YOUR_HOSTNAME (e.g. plan99).

Start your server, and log in via the console. (default=glenda)

At the rc prompt (%), enter:

% ip/ipconfig -g 192.94.73.1 ether /net/ether0 YOUR_IP 255.255.255.0

Setting up authentication and starting the services require to be able to access your server with drawterm

replace "MY_PASSWORD" and "LOGIN_PASSWORD" by the password you want

% auth/factotum
% echo 'key proto=p9sk1 dom=plan9 user=glenda !password=MY_PASSWORD' >/mnt/factotum/ctl
% aux/listen1 -t tcp!*!17010 /bin/cpu -R &
% rm $home/lib/keys
% touch $home/lib/keys
% auth/keyfs  -p  $home/lib/keys
Password: 
0 keys read
% auth/changeuser -p glenda
Password:                                                                                                         
Confirm password: 
assign Inferno/POP secret? (y/n) n
Expiration date (YYYYMMDD or never)[return = never]: 
1 keys read
Post id: 
User's full name: 
Department #: 
User's email address: 
Sponsor's email address: 
changeuser: can't open /adm/keys.who
% 
% echo 'key user=glenda dom=drawterm.test proto=p9sk1 !password=LOGIN_PASSWORD' > /mnt/factotum/ctl
% aux/listen1 -t 'tcp!*!ticket' /bin/auth/authsrv &
% service=cpu aux/listen1 'tcp!*!ncpu' /bin/cpu -R &
% aux/listen1: announce tcp!*!ncpu: announce writing /net/tcp: address in use

Getting started with drawterm


Now on your local computer download and install drawterm and start it typing:
./drawterm -a 192.94.73.x -c 192.94.73.x -u glenda
After typing your password, press the right button of your mouse a menu should appear then release the button over New.
Now press again the right button near the up left corner of drawterm and drag the mouse to the lower right before releasing the button, drawing a rectangle.
You should now have a terminal window, the first thing you should probably do is to type "cat readme.rio" (or read it from here)

Adding a User

You May wish to add a user to your system once you get the hang of things. There is really no need to create a new user when you are first starting out. To create a new user you will have to connect to the file server console, type:

% con -l /srv/fscons

Now at the file server prompt create a new user. Replace USER with what you want your new user to be named:

prompt: uname USER USER

Now we will need to add that user to the sys group if we want it to be able to change system configuration files. Again, change USER to what your new user name is:

prompt: uname sys +USER

Now we have to exit the file server console, to do this type: ctrl+\. You will now be at a >>> prompt, type q to quit.


$Id: VPS_Plan9.html,v 1.8 2010/07/28 03:20:51 nullogic Exp $

©1987-2010 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)