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/19 03:57] โ€“ [Discoveries or Challenges] a recent Plan 9 talk hc9
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 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 572: Line 555:
   @{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 583:
   cpu% touch test.edit   cpu% touch test.edit
   cpu% sam test.edit   cpu% sam test.edit
- 
 </code> </code>
  
Line 620: Line 601:
   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 623:
   % 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 678:
  
   % acme   % acme
- 
 </code> </code>
  
Line 708: Line 686:
  
   % acme SDF_User_Contributed_Tutorials.html   % acme SDF_User_Contributed_Tutorials.html
- 
 </code> </code>
  
Line 744: Line 721:
  
   % mothra   % mothra
- 
 </code> </code>
  
Line 751: Line 727:
   % webfs; mothra -k   % webfs; mothra -k
   %   %
- 
 </code> </code>
  
Line 827: Line 802:
   done halting   done halting
   cpu%   cpu%
- 
 </code> </code>
  
Line 842: Line 816:
   done halting   done halting
   term%   term%
- 
 </code> </code>
  
Line 854: Line 827:
  
   $ ping YOUR_IP   $ ping YOUR_IP
- 
 </code> </code>
  
Line 889: Line 861:
   % topng </dev/screen >screenshot.png   % topng </dev/screen >screenshot.png
   % png screenshot.png   % png screenshot.png
- 
 </code> </code>
  
Line 898: Line 869:
   % topng </dev/window >window.png   % topng </dev/window >window.png
   % png window.png   % png window.png
- 
 </code> </code>
  
Line 917: Line 887:
 % 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 894:
  
 % winwatch % winwatch
- 
 </code> </code>
  
Line 959: Line 927:
   >>> 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 940:
  
   term% /sys/lib/newuser   term% /sys/lib/newuser
- 
 </code> </code>
  
Line 979: Line 945:
  
   term% mail -c   term% mail -c
- 
 </code> </code>
  
Line 1022: Line 987:
   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 1023:
  
   $ ./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 1041:
  
   % lc /adm/timezone   % lc /adm/timezone
- 
 </code> </code>
  
Line 1084: Line 1046:
  
   % cp /adm/timezone/CET /adm/timezone/local   % cp /adm/timezone/CET /adm/timezone/local
- 
 </code> </code>
  
Line 1095: Line 1056:
 TIMESYNCARGS=(-n pool.ntp.org) TIMESYNCARGS=(-n pool.ntp.org)
  
- 
 </code> </code>
  
Line 1101: Line 1061:
  
   % sam /rc/bin/termrc   % sam /rc/bin/termrc
- 
 </code> </code>
  
Line 1107: Line 1066:
  
   % fshalt   % fshalt
- 
 </code> </code>
  
Line 1118: Line 1076:
  
 cat /adm/timezone/US_Central > /env/timezone cat /adm/timezone/US_Central > /env/timezone
- 
 </code> </code>
  
Line 1156: Line 1113:
 |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 1252: Line 1210:
  
   $ ./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 1220:
  
   $ ./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