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
Last revisionBoth sides next revision
vps_-_9front [2023/11/02 06:33] – improve a `show pagesource` browse hc9vps_-_9front [2024/01/26 06:43] – [Working in 9front] plumb to: 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 120: Line 115:
  
   term% cat /usr/glenda/start   term% cat /usr/glenda/start
- 
 </code> </code>
  
Line 136: Line 130:
  
   $ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda   $ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda
- 
 </code> </code>
  
Line 193: 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 202: Line 194:
 /mnt/term/foobar /mnt/term/foobar
 cpu% touch screenshot.challenge.txt cpu% touch screenshot.challenge.txt
- 
 </code> </code>
  
Line 235: 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 285: 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 294: 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 302: Line 291:
  
 term% auth/factotum term% auth/factotum
- 
 </code> </code>
  
Line 314: Line 302:
 password: password:
 ! !
- 
 </code> </code>
  
Line 322: Line 309:
  
 cpu% cd $home cpu% cd $home
- 
 </code> </code>
  
Line 330: Line 316:
  
 cpu% rio cpu% rio
- 
 </code> </code>
  
Line 338: Line 323:
  
 cpu% stats -lmisce cpu% stats -lmisce
- 
 </code> </code>
  
Line 349: 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 481: Line 464:
  
   % lc -l /mnt/term   % lc -l /mnt/term
- 
 </code> </code>
  
Line 529: Line 511:
 hit.html hit.html
 % %
- 
 </code> </code>
  
Line 539: Line 520:
  
   % cat /usr/$user/lib/profile | grep rio   % cat /usr/$user/lib/profile | grep rio
- 
 </code> </code>
  
Line 559: 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|
 +
 +=== plumb to web: ===
 +
 +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 575: Line 575:
   @{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 604: Line 603:
   cpu% touch test.edit   cpu% touch test.edit
   cpu% sam test.edit   cpu% sam test.edit
- 
 </code> </code>
  
Line 623: Line 621:
   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 646: Line 643:
   % 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 702: Line 698:
  
   % acme   % acme
- 
 </code> </code>
  
Line 711: Line 706:
  
   % acme SDF_User_Contributed_Tutorials.html   % acme SDF_User_Contributed_Tutorials.html
- 
 </code> </code>
  
Line 747: Line 741:
  
   % mothra   % mothra
- 
 </code> </code>
  
Line 754: Line 747:
   % webfs; mothra -k   % webfs; mothra -k
   %   %
- 
 </code> </code>
  
Line 830: Line 822:
   done halting   done halting
   cpu%   cpu%
- 
 </code> </code>
  
Line 845: Line 836:
   done halting   done halting
   term%   term%
- 
 </code> </code>
  
Line 857: Line 847:
  
   $ ping YOUR_IP   $ ping YOUR_IP
- 
 </code> </code>
  
Line 892: Line 881:
   % topng </dev/screen >screenshot.png   % topng </dev/screen >screenshot.png
   % png screenshot.png   % png screenshot.png
- 
 </code> </code>
  
Line 901: Line 889:
   % topng </dev/window >window.png   % topng </dev/window >window.png
   % png window.png   % png window.png
- 
 </code> </code>
  
Line 920: Line 907:
 % topng </dev/wsys/10/window >window.png % topng </dev/wsys/10/window >window.png
 % png window.png % png window.png
- 
 </code> </code>
  
Line 928: Line 914:
  
 % winwatch % winwatch
- 
 </code> </code>
  
Line 962: Line 947:
   >>> q   >>> q
   %   %
- 
 </code> </code>
  
Line 976: Line 960:
  
   term% /sys/lib/newuser   term% /sys/lib/newuser
- 
 </code> </code>
  
Line 982: Line 965:
  
   term% mail -c   term% mail -c
- 
 </code> </code>
  
Line 1025: Line 1007:
   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 1062: Line 1043:
  
   $ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER   $ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER
- 
 </code> </code>
  
Line 1081: Line 1061:
  
   % lc /adm/timezone   % lc /adm/timezone
- 
 </code> </code>
  
Line 1087: Line 1066:
  
   % cp /adm/timezone/CET /adm/timezone/local   % cp /adm/timezone/CET /adm/timezone/local
- 
 </code> </code>
  
Line 1098: Line 1076:
 TIMESYNCARGS=(-n pool.ntp.org) TIMESYNCARGS=(-n pool.ntp.org)
  
- 
 </code> </code>
  
Line 1104: Line 1081:
  
   % sam /rc/bin/termrc   % sam /rc/bin/termrc
- 
 </code> </code>
  
Line 1110: Line 1086:
  
   % fshalt   % fshalt
- 
 </code> </code>
  
Line 1121: Line 1096:
  
 cat /adm/timezone/US_Central > /env/timezone cat /adm/timezone/US_Central > /env/timezone
- 
 </code> </code>
  
Line 1159: Line 1133:
 |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 1247: Line 1222:
 ====== 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 1255: Line 1230:
  
   $ ./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 1266: Line 1240:
  
   $ ./drawterm -G -h 9p.sdf.org -u USER   $ ./drawterm -G -h 9p.sdf.org -u USER
- 
 </code> </code>
  
Line 1284: Line 1257:
  
 |x|**9FRONT FREQUENTLY QUESTIONED ANSWERS** http://fqa.9front.org/| |x|**9FRONT FREQUENTLY QUESTIONED ANSWERS** http://fqa.9front.org/|
-|x|[[http://doc.cat-v.org/plan_9/2nd_edition/README.html|README]] - "This brief document is intended to help you get started using Plan 9." (//slightly outdated//)|+|x|[[http://doc.cat-v.org/plan_9/2nd_edition/README.html|README]] (slightly outdated) - "This brief document is intended to help you get started using Plan 9." |
  
 {{:playground:plan9-sdf-splash-1.png?direct&200|}} {{:playground:plan9-sdf-splash-1.png?direct&200|}}
vps_-_9front.txt · Last modified: 2024/01/26 07:19 by hc9