User Tools

Site Tools


vps_-_9front

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
Next revisionBoth sides next revision
vps_-_9front [2023/11/02 05:54] โ€“ improve a `show pagesource` browse hc9vps_-_9front [2023/11/24 19:48] โ€“ [9front on an SDF VPS] to t m( hc9
Line 1: Line 1:
 ====== 9front on an SDF VPS ====== ====== 9front on an SDF VPS ======
  
-:!: 1.) Move to the [[boot_camp_9p_resource|notes regarding 9p.sdf.org]], where the __Plan 9 Boot Camp challenges__ are taking place. 2.) A redirect to the SDF [[plan_9_9front|Plan 9 / 9Front]] home, and user contributed //Self Guided Discoveries//. :!:+|[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) 1.) Move to the [[boot_camp_9p_resource|notes regarding 9p.sdf.org]], where the __Plan 9 Boot Camp\\ challenges__ are taking place. 2.) A redirect to the SDF [[plan_9_9front|Plan 9 / 9Front]] home,\\ and user contributed //Self Guided Discoveries//[%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|
  
 <file config /contrib/???/9front-notes> <file config /contrib/???/9front-notes>
Line 61: Line 61:
  
 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// 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> <code>
Line 71: Line 70:
      
   Do you wish to continue? (yes/no) yes   Do you wish to continue? (yes/no) yes
- 
 </code> </code>
  
Line 77: Line 75:
  
   % Copying a fresh plan9 image [PLEASE WAIT]   % Copying a fresh plan9 image [PLEASE WAIT]
- 
 </code> </code>
  
Line 86: Line 83:
  % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]  % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]
  (continue)  (continue)
- 
 </code> </code>
  
Line 99: Line 95:
   bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fscache]   bootargs is (tcp, tls, il, local!device)[local!/dev/sdC0/fscache]
   user[glenda]:   user[glenda]:
- 
 </code> </code>
  
Line 112: Line 107:
  
 <sup>1</sup> A VPS password change option is available from the VPS Maintenance Shell, after login. <sup>1</sup> A VPS password change option is available from the VPS Maintenance Shell, after login.
 +
 ==== Networking ==== ==== Networking ====
  
Line 119: Line 115:
  
   term% cat /usr/glenda/start   term% cat /usr/glenda/start
- 
 </code> </code>
  
Line 135: Line 130:
  
   $ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda   $ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda
- 
 </code> </code>
  
Line 192: Line 186:
 [/path/to/local/directory] [/path/to/local/directory]
 [/path/to/local/directory] mdkir foobar [/path/to/local/directory] mdkir foobar
- 
 </code> </code>
  
Line 201: Line 194:
 /mnt/term/foobar /mnt/term/foobar
 cpu% touch screenshot.challenge.txt cpu% touch screenshot.challenge.txt
- 
 </code> </code>
  
Line 234: Line 226:
 | i. |Confirm the ''Exit'' with a mouse button 3 press.| | i. |Confirm the ''Exit'' with a mouse button 3 press.|
 | b. |Press the ''Enter'' key once to locate the prompt (%).| | b. |Press the ''Enter'' key once to locate the prompt (%).|
-| i. |At the prompt (%) type ''exit'', then press the ''Enter'' key, to **exit drawterm**. :!: The mentioned //''exit''//\\ is intended as a topic for Boot Camp [[vps_-_9front#communication_resources|discussion]]. Review [[vps_-_9front#closing_drawterm|closing drawterm]], the way to quit Plan 9 drawterm.|+| i. |At the prompt (%) type ''exit'', then press the ''Enter'' key, to **exit drawterm**. [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) The mentioned //''exit''//\\ is intended as a topic for Boot Camp [[vps_-_9front#communication_resources|discussion]]. Review [[vps_-_9front#closing_drawterm|closing drawterm]], the way to quit Plan 9 drawterm.|
 | ii. |At the prompt (%) type ''rio'', then press the ''Enter'' key, to start rio.| | ii. |At the prompt (%) type ''rio'', then press the ''Enter'' key, to start rio.|
 | **2.** |Try item **1.**, or ''Exit'', while running ''rio'' inside another ''rio'' window.| | **2.** |Try item **1.**, or ''Exit'', while running ''rio'' inside another ''rio'' window.|
Line 241: Line 233:
  
 === Binary Executables === === Binary Executables ===
 +
 Pre compiled Drawterm executables can be downloaded from the following links: Pre compiled Drawterm executables can be downloaded from the following links:
   * https://9p.sdf.org/drawterm **(OS X, Debian, Win 10)**   * https://9p.sdf.org/drawterm **(OS X, Debian, Win 10)**
Line 246: Line 239:
  
 === Building from Source (Linux and UNIX) === === Building from Source (Linux and UNIX) ===
 +
 If you have "git" installed, you can grab a copy by running something like the following in a terminal. If you have "git" installed, you can grab a copy by running something like the following in a terminal.
  
Line 282: Line 276:
  
 % echo 'auth=9p.sdf.org authdom=9sdf' >> /lib/ndb/local % echo 'auth=9p.sdf.org authdom=9sdf' >> /lib/ndb/local
- 
 </code> </code>
  
Line 291: Line 284:
 term% ps | grep factotum term% ps | grep factotum
 glenda          130    0:00   0:00      168K Pread    factotum glenda          130    0:00   0:00      168K Pread    factotum
- 
 </code> </code>
  
Line 299: Line 291:
  
 term% auth/factotum term% auth/factotum
- 
 </code> </code>
  
Line 311: Line 302:
 password: password:
 ! !
- 
 </code> </code>
  
Line 319: Line 309:
  
 cpu% cd $home cpu% cd $home
- 
 </code> </code>
  
Line 327: Line 316:
  
 cpu% rio cpu% rio
- 
 </code> </code>
  
Line 335: Line 323:
  
 cpu% stats -lmisce cpu% stats -lmisce
- 
 </code> </code>
  
Line 346: Line 333:
 % echo 'delkey proto=dp9ik dom=9sdf user=USER' > /mnt/factotum/ctl % echo 'delkey proto=dp9ik dom=9sdf user=USER' > /mnt/factotum/ctl
 % %
- 
 </code> </code>
  
Line 478: Line 464:
  
   % lc -l /mnt/term   % lc -l /mnt/term
- 
 </code> </code>
  
Line 526: Line 511:
 hit.html hit.html
 % %
- 
 </code> </code>
  
Line 536: Line 520:
  
   % cat /usr/$user/lib/profile | grep rio   % cat /usr/$user/lib/profile | grep rio
- 
 </code> </code>
  
Line 556: Line 539:
 |x|Some 9front plumber rules are located in /sys/lib/plumb/basic| |x|Some 9front plumber rules are located in /sys/lib/plumb/basic|
 |x|Some 9front plumber rules are located in /mnt/plumb/rules| |x|Some 9front plumber rules are located in /mnt/plumb/rules|
 +
 +An existing ''/mnt/plumb/rules'' example. <file config #plumb to web>
 +
 +type is text
 +data matches 'https?://[^ ]+'
 +plumb to web
 +plumb client window $browser
 +</file>
 +
 +|x| Users connecting with linux Drawterm may find this plumber rule useful. |
 +
 +A user created profile ''/usr/$user/lib/plumbing'' example. [%%:FIXME:%%] ((The [%%:FIXME:%%] is  interchangeable with a //[%%FIXME%%]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. FIXME)) <file config #Webstuff goes to linux Drawterm>
 +
 +type is text
 +data matches 'https?://[^ ]+'
 +plumb to web
 +plumb start os firefox $0
 +</file>
  
 === At the rio rc prompt: === === At the rio rc prompt: ===
Line 572: Line 573:
   @{echo kill>/proc/612/ctl} # webfs   @{echo kill>/proc/612/ctl} # webfs
   @{echo kill>/proc/683/ctl} # webfs   @{echo kill>/proc/683/ctl} # webfs
- 
 </code> </code>
  
Line 601: Line 601:
   cpu% touch test.edit   cpu% touch test.edit
   cpu% sam test.edit   cpu% sam test.edit
- 
 </code> </code>
  
Line 620: Line 619:
   bind -c /n/other/usr/glenda/tmp /usr/glenda/tmp   bind -c /n/other/usr/glenda/tmp /usr/glenda/tmp
   bind -c /n/other/usr/glenda/tmp /tmp   bind -c /n/other/usr/glenda/tmp /tmp
- 
 </code> </code>
  
Line 643: Line 641:
   % cp /usr/glenda/lib/profile /usr/glenda/lib/EDprofile   % cp /usr/glenda/lib/profile /usr/glenda/lib/EDprofile
   % sam /usr/glenda/lib/EDprofile   % sam /usr/glenda/lib/EDprofile
- 
 </code> </code>
  
Line 699: Line 696:
  
   % acme   % acme
- 
 </code> </code>
  
Line 708: Line 704:
  
   % acme SDF_User_Contributed_Tutorials.html   % acme SDF_User_Contributed_Tutorials.html
- 
 </code> </code>
  
Line 744: Line 739:
  
   % mothra   % mothra
- 
 </code> </code>
  
Line 751: Line 745:
   % webfs; mothra -k   % webfs; mothra -k
   %   %
- 
 </code> </code>
  
Line 827: Line 820:
   done halting   done halting
   cpu%   cpu%
- 
 </code> </code>
  
Line 842: Line 834:
   done halting   done halting
   term%   term%
- 
 </code> </code>
  
Line 854: Line 845:
  
   $ ping YOUR_IP   $ ping YOUR_IP
- 
 </code> </code>
  
Line 889: Line 879:
   % topng </dev/screen >screenshot.png   % topng </dev/screen >screenshot.png
   % png screenshot.png   % png screenshot.png
- 
 </code> </code>
  
Line 898: Line 887:
   % topng </dev/window >window.png   % topng </dev/window >window.png
   % png window.png   % png window.png
- 
 </code> </code>
  
Line 917: Line 905:
 % topng </dev/wsys/10/window >window.png % topng </dev/wsys/10/window >window.png
 % png window.png % png window.png
- 
 </code> </code>
  
Line 925: Line 912:
  
 % winwatch % winwatch
- 
 </code> </code>
  
Line 959: Line 945:
   >>> q   >>> q
   %   %
- 
 </code> </code>
  
 The following steps assume that you have [[plan9front_-_acme_sam_abaco_mothra_and_man|edited]] files while user "glenda", have run '[[#shutdown_and_restart|% fshalt]]' from the [[#shutdown_and_restart|VPS console]] rc prompt (%) or Drawterm rio rc prompt (%), been able to "[[#shutdown_and_restart|[s] - Force Shutdown]]" and "[[#shutdown_and_restart|[r] - reset or start]]" the VM from the VPS Maintenance Shell, and have used 9front Drawterm successfully. Enter the new "USER" name after an '**fshalt**' and a VPS Maintenance Shell [**s**] - //Force Shutdown// and [**r**] - //reset or start//. The following steps assume that you have [[plan9front_-_acme_sam_abaco_mothra_and_man|edited]] files while user "glenda", have run '[[#shutdown_and_restart|% fshalt]]' from the [[#shutdown_and_restart|VPS console]] rc prompt (%) or Drawterm rio rc prompt (%), been able to "[[#shutdown_and_restart|[s] - Force Shutdown]]" and "[[#shutdown_and_restart|[r] - reset or start]]" the VM from the VPS Maintenance Shell, and have used 9front Drawterm successfully. Enter the new "USER" name after an '**fshalt**' and a VPS Maintenance Shell [**s**] - //Force Shutdown// and [**r**] - //reset or start//.
  
-''user[glenda]:'' <- Enter the new 'USER' name.+''user[glenda]:'' โ† Enter the new 'USER' name.
  
 Verify your new "[[#adding_a_user|USER]]" login with '''pwd''' or '''lc -l'''. __**Stop**__ if '''pwd''' does not show your new "USER" name.  Verify your new "[[#adding_a_user|USER]]" login with '''pwd''' or '''lc -l'''. __**Stop**__ if '''pwd''' does not show your new "USER" name. 
Line 973: Line 958:
  
   term% /sys/lib/newuser   term% /sys/lib/newuser
- 
 </code> </code>
  
Line 979: Line 963:
  
   term% mail -c   term% mail -c
- 
 </code> </code>
  
Line 1022: Line 1005:
   term% mkdir /usr/$user/www   term% mkdir /usr/$user/www
   term% cp /usr/glenda/www/* /usr/$user/www/   term% cp /usr/glenda/www/* /usr/$user/www/
- 
 </code> </code>
  
Line 1059: Line 1041:
  
   $ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER   $ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER
- 
 </code> </code>
  
Line 1078: Line 1059:
  
   % lc /adm/timezone   % lc /adm/timezone
- 
 </code> </code>
  
Line 1084: Line 1064:
  
   % cp /adm/timezone/CET /adm/timezone/local   % cp /adm/timezone/CET /adm/timezone/local
- 
 </code> </code>
  
Line 1095: Line 1074:
 TIMESYNCARGS=(-n pool.ntp.org) TIMESYNCARGS=(-n pool.ntp.org)
  
- 
 </code> </code>
  
Line 1101: Line 1079:
  
   % sam /rc/bin/termrc   % sam /rc/bin/termrc
- 
 </code> </code>
  
Line 1107: Line 1084:
  
   % fshalt   % fshalt
- 
 </code> </code>
  
Line 1118: Line 1094:
  
 cat /adm/timezone/US_Central > /env/timezone cat /adm/timezone/US_Central > /env/timezone
- 
 </code> </code>
  
Line 1156: Line 1131:
 |Plan 9 demo, narrated by John Floren (full)|https://youtu.be/obKnSDbaBlw| |Plan 9 demo, narrated by John Floren (full)|https://youtu.be/obKnSDbaBlw|
 |Acme Editor, **Acme Mail**, Plan 9 demo (short)|https://www.youtube.com/user/slawmasta| |Acme Editor, **Acme Mail**, Plan 9 demo (short)|https://www.youtube.com/user/slawmasta|
 +|Plan 9, Das bessere UNIX, Angelo Papenhoff|https://youtu.be/mCiRxM8dOSY|
  
 ^ Command ^ Option ^ Quick Reference, mentioned in an Acme video ^ ^ Command ^ Option ^ Quick Reference, mentioned in an Acme video ^
Line 1244: Line 1220:
 ====== Boot Camp 9p resource ====== ====== Boot Camp 9p resource ======
  
-|x| :!: The core [[boot_camp_9p_resource|SDF Boot Camp 9p.sdf.org resource]] wiki details have [[boot_camp_9p_resource|moved]]. :!:|+|x| [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:)) The core [[boot_camp_9p_resource|SDF Boot Camp 9p.sdf.org resource]] wiki details have [[boot_camp_9p_resource|moved]]. [%%:!:%%] ((The [%%:!:%%] is  interchangeable with a //[CAUTION]//, for the [[plan9front_-_acme_sam_abaco_mothra_and_man#abaco|abaco]], and [[plan9front_-_acme_sam_abaco_mothra_and_man#mothra|mothra]] browsers. :!:))|
 |x| https://9p.sdf.org //(an amd64 plan9front<sup>1</sup> complement to the SDF Plan 9 Boot Camp<sup>2</sup>)//| |x| https://9p.sdf.org //(an amd64 plan9front<sup>1</sup> complement to the SDF Plan 9 Boot Camp<sup>2</sup>)//|
  
Line 1252: Line 1228:
  
   $ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER   $ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER
- 
 </code> </code>
  
Line 1263: Line 1238:
  
   $ ./drawterm -G -h 9p.sdf.org -u USER   $ ./drawterm -G -h 9p.sdf.org -u USER
- 
 </code> </code>
  
vps_-_9front.txt ยท Last modified: 2024/06/11 04:24 by hc9