====== Plan 9 instance under Xen ====== ===== Installation or pre-generated ===== === VPS Maintenance 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. $ [30-Oct-20 22:59:17] Command: r Connect to the System Console - To return to the menu, press ^] bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs] |x|Press the enter key to accept the default [ ].| bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fs] user[glenda]: |x|Press the enter key to accept the default [ ].| === step-by-step installation === Awaiting further step-by-step instructions. ==== default pre-generated installation ==== === Install === After receiving notification of an allocated VPS slice, connect by ‘''$ ssh ////@////.sdf.org''’. The password1 is the same as your SDF member login. At the VPS Maintenance Shell menu, type ‘**x**’ for a //Clean Install//. % 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 % Copying a fresh plan9 image [PLEASE WAIT] |x|This may take time.| % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE] (continue) |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 (%).| term% cat /usr/glenda/start |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.//| term% ./start starting ... setting a password for the user glenda password: term% The mentioned ''/usr/glenda/start'' file does __not__ require editing. Any edit1 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__2 after an ''% fshalt'', __before__ the networking is restarted.| 1 ''% man dp9ik'' 2 ''% fshalt'' from an rc prompt (%), then at the “VPS Maintenance Shell” enter ‘**s**’ - force shutdown, then enter ‘**r**’ - reset or start. ===== Shutdown and restart ===== 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. $ |x|''% **fshalt**'' from a Drawterm rio rc prompt (%), is okay. Close the local Drawterm application separately.| === From the 9front Drawterm rio rc prompt: === cpu% fshalt halting.../srv/hjfs.cmd... done halting cpu% |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: === term% fshalt halting.../srv/hjfs.cmd...halted at Fri Oct 30 15:58:54 2020. done halting term% |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.| $ ping YOUR_IP === 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 Camp1. Label: //Uriel was right; plan9front2; ANoNradio.//|{{ :playground:0016a64f607e4e9d.mp4 |}}| 1 NetBSD Xen [ ] running Plan 9 Boot Camp participants' VMs, during the announced Plan 9 Boot Camp occurrences. 2 plan9front running natively on hardware.