User Tools

Site Tools


plan9front_-_plan_9_instance_under_xen

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
plan9front_-_plan_9_instance_under_xen [2024/01/12 06:12] – void edit hc9plan9front_-_plan_9_instance_under_xen [2024/09/07 06:41] (current) – ''’ hc9
Line 1: Line 1:
 +====== Plan 9 instance under Xen ======
 +
 +===== Installation or pre-generated =====
 +
 +=== VPS Maintenance Shell ===
 +
 +<file config /reveal/bc/VPS/Shell_q>
 +
 +VPS Maintenance Shell for plan9* (xxx.xxx.xx.xx)
 +no stats collected.
 +
 +[c] - Connect to your console
 +[l] - list your status
 +[r] - reset or start
 +[s] - Force Shutdown (not an OS shutdown)
 +[t] - toggle your Operating System
 +[i] - Switch your VPS ID (multiple VPS members only)
 +[x] - Clean install (destroys data)
 +[p] - Change your vps.sdf.org password
 +[u] - View current interface statistics
 +[U] - View all recorded interface statistics
 +[q] - Disconnect
 +
 +[30-Oct-20 22:59:17] Command: q
 +Connection to vps? closed.
 +$
 +</file>
 +
 +<file config /reveal/bc/VPS/Shell_r>
 +
 +[30-Oct-20 22:59:17] Command: r
 +
 +Connect to the System Console - To return to the menu, press ^]
 +</file>
 +
 +<code>
 +
 +bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs]
 +</code>
 +
 +|x|Press the enter key to accept the default [ ].|
 +
 +<code>
 +
 +bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs]
 +user[glenda]:
 +</code>
 +
 +|x|Press the enter key to accept the default [ ].|
 +
 +=== step-by-step installation ===
 +
 +<file config /reveal/bc/VPS/step-by-step>
 +
 +Awaiting further step-by-step instructions.
 +</file>
 +
 +==== default pre-generated installation ====
 +
 +=== Install ===
 +
 +After receiving notification of an allocated VPS slice, connect by ‘''$ ssh //<SDF member ID>//@//<VPS slice>//.sdf.org''’. The password<sup>1</sup> is the same as your SDF member login. At the VPS Maintenance Shell menu, type ‘**x**’ for a //Clean Install//
 +
 +<code>
 +
 +  % WARNING! YOU WILL LOSE YOUR DATA!
 +  
 +  This function allows you to completely destroy your plan9 image
 +  and install a fresh generic distribution.
 +  
 +  Do you wish to continue? (yes/no) yes
 +</code>
 +
 +<code>
 +
 +  % Copying a fresh plan9 image [PLEASE WAIT]
 +</code>
 +
 +|x|This may take time.|
 +
 +<code>
 +
 + % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]
 + (continue)
 +</code>
 +
 +|x|Press the ‘[**Enter**]’ key to continue to the [[#vps_maintenance_shell|VPS Maintenance Shell]].|
 +
 +You will now [[:plan9front_-_plan_9_instance_under_xen#reference|see]] the Plan 9 VPS console rc prompt (%), Plan 9's shell.
 +
 +=== Plan 9 shell ===
 +
 +|x|**ctl-h** is backspace, kind of; **ctl-u** erases the current line. As seen, with the VPS Plan 9 console prompt **ctl-h** backspace, the screen output may not be what one would expect.|
 +|x|To detach the Plan 9 console prompt (%), while retaining the ability to reattach it __without__ rebooting your server, press **ctl-]** to close the prompt (%). Then, press ‘**q**’ to disconnect the VPS Maintenance Shell menu, and ssh connection. You can return again with another [[#install|ssh]] to the allocated VPS server, an SDF VPS Maintenance Shell menu review, and a press on the ‘**c**’ key to connect to the Plan 9 console prompt (%).|
 +
 +|Plan 9 Rc shell|[[:plan_9_9front#plan_9_-_rc|Plan 9 Rc Survival Guide]]|
 +
 +==== Networking ====
 +
 +|x|Review the ''/usr/glenda/start'' file, or rc script, from the VPS console prompt (%).|
 +
 +<code>
 +
 +  term% cat /usr/glenda/start
 +</code>
 +
 +|x|Run the ''/usr/glenda/start'' file, or rc script, from the VPS console prompt (%).|
 +| |//Type ./start to start network and set a password for glenda.//|
 +
 +<code>
 +
 +term% ./start
 +starting ...
 +setting a password for the user glenda
 +password:
 +term%
 +</code>
 +
 +The mentioned ''/usr/glenda/start'' file does __not__ require editing. Any edit<sup>1</sup> can be made with ''% ed'', or ''% sam -d'', from the VPS console prompt (%), or later with ''% ed'', ''% sam'', or ''% acme'', from the Drawterm rio rc prompt (%).
 +
 +|x|This [[#shutdown_and_restart|shutdown and restart]] section applies, and __may_be_necessary__<sup>2</sup> after an ''% fshalt'', __before__ the networking is restarted.|
 +
 +<sup>1</sup> ''% man dp9ik'' <sup>2</sup> ''% fshalt'' from an rc prompt (%), then at the “VPS Maintenance Shell” enter ‘**s**’ - force shutdown, then enter ‘**r**’ - reset or start.
 +
 +===== Shutdown and restart =====
 +
 +<file config /reveal/bc/VPS/Shell>
 +
 +VPS Maintenance Shell for plan9* (xxx.xxx.xx.xx)
 +no stats collected.
 +
 +[c] - Connect to your console
 +[l] - list your status
 +[r] - reset or start
 +[s] - Force Shutdown (not an OS shutdown)
 +[t] - toggle your Operating System
 +[i] - Switch your VPS ID (multiple VPS members only)
 +[x] - Clean install (destroys data)
 +[p] - Change your vps.sdf.org password
 +[u] - View current interface statistics
 +[U] - View all recorded interface statistics
 +[q] - Disconnect
 +
 +[30-Oct-20 22:59:17] Command: q
 +Connection to vps? closed.
 +$
 +</file>
 +
 +|x|''% **fshalt**'' from a Drawterm rio rc prompt (%), is okay. Close the local Drawterm application separately.|
 +
 +=== From the 9front Drawterm rio rc prompt: ===
 +
 +<code>
 +
 +  cpu% fshalt
 +
 +  halting.../srv/hjfs.cmd...
 +  done halting
 +  cpu%
 +</code>
 +
 +|x|''% **fshalt**'' from the 9front VPS console rc prompt (%), then at the “VPS Maintenance Shell” enter ‘**s**’ - force shutdown, then enter ‘**r**’ - reset or start.|
 +
 +=== From the 9front VPS Maintenance Shell console prompt: ===
 +
 +<code>
 +
 +  term% fshalt
 +
 +  halting.../srv/hjfs.cmd...halted at Fri Oct 30 15:58:54 2020.
 +
 +  done halting
 +  term% 
 +</code>
 +
 +|1|Press **ctl-]** to continue, if viewing where the VPS console rc prompt (%) was once active. Press the ‘[**Enter**]’ key to access the VPS Maintenance Shell (may apply).|
 +
 +|x|From the VPS Maintenance Shell enter ‘**s**’ - force shutdown, then enter ‘**r**’ - reset or start, or ‘**q**’ - disconnect. Enter ‘**l**’ to list your status.|
 +
 +|x|From the VPS Maintenance Shell enter ‘**s**’ - force shutdown before starting the SDF 9front VPS. Ping the SDF Plan 9 VPS IP address ([[:plan9front_-_plan_9_instance_under_xen#vps_maintenance_shell|YOUR_IP]]) to determine if the VPS is running with networking.|
 +
 +<code>
 +
 +  $ ping YOUR_IP
 +</code>
 +
 +=== Reference: ===
 +
 +|[[http://doc.cat-v.org/plan_9/2nd_edition/README.html|README]] (slightly outdated) //If you think of it as UNIX, you'll often be frustrated because something doesn't exist or works differently//.|
 +
 +|Plan 9 Boot Camp<sup>1</sup>. Label: //Uriel was right; plan9front<sup>2</sup>; ANoNradio.//|{{ :playground:0016a64f607e4e9d.mp4 |}}|
 +
 +<sup>1</sup> NetBSD Xen [ ] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences. <sup>2</sup> plan9front running natively on hardware.