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 06:42] – improve a `show pagesource` browse hc9vps_-_9front [2024/01/12 06:21] – [Tutorials] rm // 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 70: Line 70:
      
   Do you wish to continue? (yes/no) yes   Do you wish to continue? (yes/no) yes
- 
 </code> </code>
  
Line 76: Line 75:
  
   % Copying a fresh plan9 image [PLEASE WAIT]   % Copying a fresh plan9 image [PLEASE WAIT]
- 
 </code> </code>
  
Line 85: Line 83:
  % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]  % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE]
  (continue)  (continue)
- 
 </code> </code>
  
Line 98: 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 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 284: 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 293: 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 301: Line 291:
  
 term% auth/factotum term% auth/factotum
- 
 </code> </code>
  
Line 313: Line 302:
 password: password:
 ! !
- 
 </code> </code>
  
Line 321: Line 309:
  
 cpu% cd $home cpu% cd $home
- 
 </code> </code>
  
Line 329: Line 316:
  
 cpu% rio cpu% rio
- 
 </code> </code>
  
Line 337: Line 323:
  
 cpu% stats -lmisce cpu% stats -lmisce
- 
 </code> </code>
  
Line 348: 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 480: Line 464:
  
   % lc -l /mnt/term   % lc -l /mnt/term
- 
 </code> </code>
  
Line 528: Line 511:
 hit.html hit.html
 % %
- 
 </code> </code>
  
Line 538: Line 520:
  
   % cat /usr/$user/lib/profile | grep rio   % cat /usr/$user/lib/profile | grep rio
- 
 </code> </code>
  
Line 558: 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 574: 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 603: Line 601:
   cpu% touch test.edit   cpu% touch test.edit
   cpu% sam test.edit   cpu% sam test.edit
- 
 </code> </code>
  
Line 622: 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 645: 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 701: Line 696:
  
   % acme   % acme
- 
 </code> </code>
  
Line 710: Line 704:
  
   % acme SDF_User_Contributed_Tutorials.html   % acme SDF_User_Contributed_Tutorials.html
- 
 </code> </code>
  
Line 746: Line 739:
  
   % mothra   % mothra
- 
 </code> </code>
  
Line 753: Line 745:
   % webfs; mothra -k   % webfs; mothra -k
   %   %
- 
 </code> </code>
  
Line 829: Line 820:
   done halting   done halting
   cpu%   cpu%
- 
 </code> </code>
  
Line 844: Line 834:
   done halting   done halting
   term%   term%
- 
 </code> </code>
  
Line 856: Line 845:
  
   $ ping YOUR_IP   $ ping YOUR_IP
- 
 </code> </code>
  
Line 891: Line 879:
   % topng </dev/screen >screenshot.png   % topng </dev/screen >screenshot.png
   % png screenshot.png   % png screenshot.png
- 
 </code> </code>
  
Line 900: Line 887:
   % topng </dev/window >window.png   % topng </dev/window >window.png
   % png window.png   % png window.png
- 
 </code> </code>
  
Line 919: 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 927: Line 912:
  
 % winwatch % winwatch
- 
 </code> </code>
  
Line 961: Line 945:
   >>> q   >>> q
   %   %
- 
 </code> </code>
  
Line 975: Line 958:
  
   term% /sys/lib/newuser   term% /sys/lib/newuser
- 
 </code> </code>
  
Line 981: Line 963:
  
   term% mail -c   term% mail -c
- 
 </code> </code>
  
Line 1024: 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 1061: 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 1080: Line 1059:
  
   % lc /adm/timezone   % lc /adm/timezone
- 
 </code> </code>
  
Line 1086: Line 1064:
  
   % cp /adm/timezone/CET /adm/timezone/local   % cp /adm/timezone/CET /adm/timezone/local
- 
 </code> </code>
  
Line 1097: Line 1074:
 TIMESYNCARGS=(-n pool.ntp.org) TIMESYNCARGS=(-n pool.ntp.org)
  
- 
 </code> </code>
  
Line 1103: Line 1079:
  
   % sam /rc/bin/termrc   % sam /rc/bin/termrc
- 
 </code> </code>
  
Line 1109: Line 1084:
  
   % fshalt   % fshalt
- 
 </code> </code>
  
Line 1120: Line 1094:
  
 cat /adm/timezone/US_Central > /env/timezone cat /adm/timezone/US_Central > /env/timezone
- 
 </code> </code>
  
Line 1158: 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 1246: 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 1254: 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 1265: Line 1238:
  
   $ ./drawterm -G -h 9p.sdf.org -u USER   $ ./drawterm -G -h 9p.sdf.org -u USER
- 
 </code> </code>
  
Line 1283: Line 1255:
  
 |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