vps_-_9front
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
vps_-_9front [2023/10/30 06:26] – [Closing Drawterm] hc9 | vps_-_9front [2023/11/24 19:38] – [Working in 9front] %%:F m( hc9 | ||
---|---|---|---|
Line 20: | Line 20: | ||
=== About === | === About === | ||
- | This is the tutorial for setting-up the 9front< | + | This is the tutorial for setting-up the 9front< |
- | |x|An //amd64 9front// [[:vps_-_9front# | + | |x|An //amd64 9front// [[vps_-_9front# |
< | < | ||
Line 55: | Line 55: | ||
|x|[[https:// | |x|[[https:// | ||
|x|[[vps_-_9front# | |x|[[vps_-_9front# | ||
- | |x|[[:plan9front_-_drawterm_rio_and_stats|What Drawterm am I using? Do I need another?]] '' | + | |x|[[plan9front_-_drawterm_rio_and_stats|What Drawterm am I using? Do I need another?]] '' |
|x|The [[http:// | |x|The [[http:// | ||
Line 61: | Line 61: | ||
After receiving notification of an allocated VPS slice, connect by ''' | After receiving notification of an allocated VPS slice, connect by ''' | ||
- | |||
< | < | ||
+ | |||
% WARNING! YOU WILL LOSE YOUR DATA! | % WARNING! YOU WILL LOSE YOUR DATA! | ||
| | ||
Line 73: | Line 73: | ||
< | < | ||
+ | |||
% Copying a fresh plan9 image [PLEASE WAIT] | % Copying a fresh plan9 image [PLEASE WAIT] | ||
</ | </ | ||
Line 79: | Line 80: | ||
< | < | ||
+ | |||
% Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE] | % Copying a fresh plan9 image [PLEASE WAIT] [COMPLETE] | ||
| | ||
Line 90: | Line 92: | ||
< | < | ||
+ | |||
bootargs is (tcp, tls, il, local!device)[local!/ | bootargs is (tcp, tls, il, local!device)[local!/ | ||
user[glenda]: | user[glenda]: | ||
Line 104: | Line 107: | ||
< | < | ||
+ | |||
==== Networking ==== | ==== Networking ==== | ||
Line 109: | Line 113: | ||
< | < | ||
+ | |||
term% cat / | term% cat / | ||
</ | </ | ||
Line 123: | Line 128: | ||
< | < | ||
+ | |||
$ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda | $ ./drawterm -a YOUR_IP -h YOUR_IP -u glenda | ||
</ | </ | ||
Line 131: | Line 137: | ||
|2|Type your Drawterm password, then press [**Enter**].| | |2|Type your Drawterm password, then press [**Enter**].| | ||
- | ^Plan 9 Console^ Keyboard activity^ | + | ^ Plan 9 Console ^ Keyboard activity ^ |
|**auth[your.IP.exhibt.here]: | |**auth[your.IP.exhibt.here]: | ||
|**glenda@plan9 dp9ik password: | |**glenda@plan9 dp9ik password: | ||
Line 139: | Line 145: | ||
=== From rio: === | === From rio: === | ||
- | ^ | + | ^ |
| | | | ||
| | | | ||
Line 151: | Line 157: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
| | | | ||
Line 160: | Line 166: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
|There is a “Hide” option in addition to the “New” option.| | |There is a “Hide” option in addition to the “New” option.| | ||
Line 170: | Line 176: | ||
=== A 9front Drawterm note: === | === A 9front Drawterm note: === | ||
- | ^Command^ 9front Drawterm output^ | + | ^ Command ^ 9front Drawterm output ^ |
|'' | |'' | ||
Line 177: | Line 183: | ||
< | < | ||
+ | |||
[/ | [/ | ||
[/ | [/ | ||
Line 182: | Line 189: | ||
< | < | ||
+ | |||
cpu% cd / | cpu% cd / | ||
cpu% pwd | cpu% pwd | ||
Line 201: | Line 209: | ||
=== local os: === | === local os: === | ||
- | ^Drawterm^ application^ | + | ^ Drawterm ^ application ^ |
|Quit|<= select quit| | |Quit|<= select quit| | ||
Line 212: | Line 220: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
| **1.** |At the rio grey screen, press the right button of your mouse. A menu (above) should appear.\\ Then, release the button over the '' | | **1.** |At the rio grey screen, press the right button of your mouse. A menu (above) should appear.\\ Then, release the button over the '' | ||
Line 225: | 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:// | * https:// | ||
Line 230: | Line 239: | ||
=== Building from Source (Linux and UNIX) === | === Building from Source (Linux and UNIX) === | ||
+ | |||
If you have " | If you have " | ||
Line 262: | Line 272: | ||
|x|The '' | |x|The '' | ||
+ | |||
< | < | ||
+ | |||
% echo ' | % echo ' | ||
</ | </ | ||
Line 269: | Line 281: | ||
< | < | ||
+ | |||
term% ps | grep factotum | term% ps | grep factotum | ||
glenda | glenda | ||
Line 276: | Line 289: | ||
< | < | ||
+ | |||
term% auth/ | term% auth/ | ||
</ | </ | ||
Line 284: | Line 298: | ||
< | < | ||
+ | |||
% rcpu -h 9p.sdf.org -u USER | % rcpu -h 9p.sdf.org -u USER | ||
password: | password: | ||
Line 290: | Line 305: | ||
|x|Once connected to // | |x|Once connected to // | ||
+ | |||
< | < | ||
+ | |||
cpu% cd $home | cpu% cd $home | ||
</ | </ | ||
|x|Start the rio< | |x|Start the rio< | ||
+ | |||
< | < | ||
+ | |||
cpu% rio | cpu% rio | ||
</ | </ | ||
- | |x|Start '' | + | |x|Start '' |
< | < | ||
+ | |||
cpu% stats -lmisce | cpu% stats -lmisce | ||
</ | </ | ||
Line 307: | Line 328: | ||
< | < | ||
+ | |||
% cat / | % cat / | ||
key proto=dp9ik dom=9sdf user=USER !password? | key proto=dp9ik dom=9sdf user=USER !password? | ||
Line 313: | Line 335: | ||
</ | </ | ||
- | < | + | < |
===== 9front VPS update tasks ===== | ===== 9front VPS update tasks ===== | ||
Line 370: | Line 392: | ||
IV.) Your system should boot completely up-to-date. | IV.) Your system should boot completely up-to-date. | ||
- | |||
</ | </ | ||
Line 390: | Line 411: | ||
5. cd /sys/src | 5. cd /sys/src | ||
6. mk install | 6. mk install | ||
- | |||
</ | </ | ||
- | OR //([[:vps_-_9front# | + | OR // |
|x|This __will__ take time.| | |x|This __will__ take time.| | ||
Line 405: | Line 425: | ||
5. cd /sys/src | 5. cd /sys/src | ||
6. mk install | 6. mk install | ||
- | |||
</ | </ | ||
Line 420: | Line 439: | ||
5. cd /sys/src | 5. cd /sys/src | ||
6. mk install | 6. mk install | ||
- | |||
</ | </ | ||
- | OR //([[:vps_-_9front# | + | OR // |
|x|This may take time.| | |x|This may take time.| | ||
Line 435: | Line 453: | ||
5. cd /sys/src | 5. cd /sys/src | ||
6. mk install | 6. mk install | ||
- | |||
</ | </ | ||
Line 445: | Line 462: | ||
< | < | ||
+ | |||
% lc -l /mnt/term | % lc -l /mnt/term | ||
</ | </ | ||
Line 456: | Line 474: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
|x|Press the middle mouse button, while the pointer is over a rio window. Select " | |x|Press the middle mouse button, while the pointer is over a rio window. Select " | ||
Line 480: | Line 498: | ||
< | < | ||
+ | |||
% pwd | % pwd | ||
/usr/glenda | /usr/glenda | ||
Line 499: | Line 518: | ||
< | < | ||
+ | |||
% cat / | % cat / | ||
</ | </ | ||
Line 509: | Line 529: | ||
|x|Riostart is located here: $home/ | |x|Riostart is located here: $home/ | ||
- | |x|rio [[:plan9front_-_drawterm_rio_and_stats# | + | |x|rio [[plan9front_-_drawterm_rio_and_stats# |
{{:: | {{:: | ||
Line 519: | Line 539: | ||
|x|Some 9front plumber rules are located in / | |x|Some 9front plumber rules are located in / | ||
|x|Some 9front plumber rules are located in / | |x|Some 9front plumber rules are located in / | ||
+ | |||
+ | An existing ''/ | ||
+ | |||
+ | type is text | ||
+ | data matches ' | ||
+ | plumb to web | ||
+ | plumb client window $browser | ||
+ | </ | ||
+ | |||
+ | |x| Users connecting with linux Drawterm may find this plumber rule useful. | | ||
+ | |||
+ | A user created profile ''/ | ||
+ | |||
+ | type is text | ||
+ | data matches ' | ||
+ | plumb to web | ||
+ | plumb start os firefox $0 | ||
+ | </ | ||
=== At the rio rc prompt: === | === At the rio rc prompt: === | ||
Line 530: | Line 568: | ||
< | < | ||
+ | |||
% slay webfs | % slay webfs | ||
@{echo kill>/ | @{echo kill>/ | ||
Line 545: | Line 584: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
| | | | ||
Line 559: | Line 598: | ||
< | < | ||
+ | |||
cpu% touch test.edit | cpu% touch test.edit | ||
cpu% sam test.edit | cpu% sam test.edit | ||
- | |||
</ | </ | ||
Line 567: | Line 606: | ||
< | < | ||
+ | |||
cpu% ps -a | grep sam | cpu% ps -a | grep sam | ||
glenda | glenda | ||
Line 585: | Line 625: | ||
==== Editors ==== | ==== Editors ==== | ||
- | |x|The "Plan 9 on an SDF VPS" [[:plan9front_-_acme_sam_abaco_mothra_and_man|applications]] tutorial (Sam, Ed, and Acme) applies to this tutorial.| | + | |x|The "Plan 9 on an SDF VPS" [[plan9front_-_acme_sam_abaco_mothra_and_man|applications]] tutorial (Sam, Ed, and Acme) applies to this tutorial.| |
|x|SAM: | |x|SAM: | ||
Line 596: | Line 636: | ||
< | < | ||
+ | |||
% pwd | % pwd | ||
/usr/glenda | /usr/glenda | ||
Line 613: | Line 654: | ||
| | | | ||
| | | | ||
- | ^ - / | + | ^ - / |
|A few words about ' | |A few words about ' | ||
Line 626: | Line 667: | ||
| | | | ||
| | | | ||
- | ^ < | + | ^ < |
| | | | ||
Line 636: | Line 677: | ||
|'' | |'' | ||
- | ^Command^ Option^ Quick Reference^ | + | ^ Command ^ Option ^ Quick Reference ^ |
|SAM: | |SAM: | ||
Line 645: | Line 686: | ||
Ed is a text editor, and similar to 'sam -d'. | Ed is a text editor, and similar to 'sam -d'. | ||
- | |x|ed Cheat Sheet|[[:ed Cheat Sheet|]] tutorial. (wiki)| | + | |x|ed Cheat Sheet|[[ed Cheat Sheet|]] tutorial. (wiki)| |
|x|ed Cheat Sheet|[[http:// | |x|ed Cheat Sheet|[[http:// | ||
Line 653: | Line 694: | ||
< | < | ||
+ | |||
% acme | % acme | ||
</ | </ | ||
- | ^Newcol Kill Putall Dump Exit^ | + | ^ Newcol Kill Putall Dump Exit ^ |
|**New Cut Paste Snarf Sort Zerox Delcol**| | |**New Cut Paste Snarf Sort Zerox Delcol**| | ||
< | < | ||
+ | |||
% acme SDF_User_Contributed_Tutorials.html | % acme SDF_User_Contributed_Tutorials.html | ||
</ | </ | ||
- | ^Newcol Kill Putall Dump Exit^^^ | + | ^ Newcol Kill Putall Dump Exit ^^^ |
|**New Cut Paste Snarf Sort Zerox Delcol**|::: | |**New Cut Paste Snarf Sort Zerox Delcol**|::: | ||
|**// | |**// | ||
- | ^Newcol Kill Putall Dump Exit^ | + | ^ Newcol Kill Putall Dump Exit ^ |
|**New Cut Paste Snarf Sort Zerox Delcol**| | |**New Cut Paste Snarf Sort Zerox Delcol**| | ||
|**// | |**// | ||
Line 683: | Line 726: | ||
< | < | ||
</p> | </p> | ||
- | |||
</ | </ | ||
Line 690: | Line 732: | ||
==== Mothra ==== | ==== Mothra ==== | ||
- | |x|The "Plan 9 on an SDF VPS" [[:plan9front_-_acme_sam_abaco_mothra_and_man|Browsing the web]] tutorial (Abaco) applies to this tutorial.| | + | |x|The "Plan 9 on an SDF VPS" [[plan9front_-_acme_sam_abaco_mothra_and_man|Browsing the web]] tutorial (Abaco) applies to this tutorial.| |
mothra - retrieve and display World-Wide Web files | mothra - retrieve and display World-Wide Web files | ||
< | < | ||
+ | |||
% mothra | % mothra | ||
</ | </ | ||
< | < | ||
+ | |||
% webfs; mothra -k | % webfs; mothra -k | ||
% | % | ||
Line 717: | Line 761: | ||
| | | | ||
| | | | ||
- | ^ | + | ^ |
| | | | ||
Line 730: | Line 774: | ||
| | | | ||
| | | | ||
- | ^ save hit | + | ^ save hit ^ <= release the right mouse button here ^ |
| hit list | | | | hit list | | | ||
| | | | ||
Line 739: | Line 783: | ||
< | < | ||
< | < | ||
- | |||
</ | </ | ||
Line 769: | Line 812: | ||
=== From the 9front Drawterm rio rc prompt: === | === From the 9front Drawterm rio rc prompt: === | ||
+ | |||
< | < | ||
+ | |||
cpu% fshalt | cpu% fshalt | ||
Line 780: | Line 825: | ||
=== From the 9front VPS Maintenance Shell console prompt: === | === From the 9front VPS Maintenance Shell console prompt: === | ||
+ | |||
< | < | ||
+ | |||
term% fshalt | term% fshalt | ||
Line 786: | Line 833: | ||
done halting | done halting | ||
- | term% | + | term% |
</ | </ | ||
Line 793: | Line 840: | ||
|x|From the VPS Maintenance Shell enter ' | |x|From the VPS Maintenance Shell enter ' | ||
- | |x|From the VPS Maintenance Shell enter ' | + | |x|From the VPS Maintenance Shell enter ' |
< | < | ||
+ | |||
$ ping YOUR_IP | $ ping YOUR_IP | ||
</ | </ | ||
Line 803: | Line 851: | ||
|x|Previously mentioned commands from //Plan 9 on an SDF VPS//.| | |x|Previously mentioned commands from //Plan 9 on an SDF VPS//.| | ||
- | ^Command^ Option^ Manual^ | + | ^ Command ^ Option ^ Manual ^ |
|ABACO:| '' | |ABACO:| '' | ||
|ACME:| '' | |ACME:| '' | ||
Line 828: | Line 876: | ||
< | < | ||
+ | |||
% topng </ | % topng </ | ||
% png screenshot.png | % png screenshot.png | ||
Line 835: | Line 884: | ||
< | < | ||
+ | |||
% topng </ | % topng </ | ||
% png window.png | % png window.png | ||
Line 850: | Line 900: | ||
< | < | ||
+ | |||
% grep 385 / | % grep 385 / | ||
/ | / | ||
Line 857: | Line 908: | ||
|x|Run '' | |x|Run '' | ||
+ | |||
< | < | ||
+ | |||
% winwatch | % winwatch | ||
</ | </ | ||
- | ^Command^ Example^ | + | ^ Command ^ Example ^ |
|TOPNG:|% '' | |TOPNG:|% '' | ||
Line 868: | Line 921: | ||
|x|' | |x|' | ||
- | ^ Section^ FQA 7 - System Management^ | + | ^ Section ^ FQA 7 - System Management ^ |
|7.3.1 - Adding users|http:// | |7.3.1 - Adding users|http:// | ||
|7.4.2 - Adding users|http:// | |7.4.2 - Adding users|http:// | ||
Line 877: | Line 930: | ||
< | < | ||
+ | |||
% con -C / | % con -C / | ||
newuser USER | newuser USER | ||
Line 888: | Line 942: | ||
< | < | ||
+ | |||
>>> | >>> | ||
% | % | ||
</ | </ | ||
- | The following steps assume that you have [[:plan9front_-_acme_sam_abaco_mothra_and_man|edited]] files while user " | + | The following steps assume that you have [[plan9front_-_acme_sam_abaco_mothra_and_man|edited]] files while user " |
- | '' | + | '' |
Verify your new " | Verify your new " | ||
Line 901: | Line 956: | ||
< | < | ||
+ | |||
term% / | term% / | ||
</ | </ | ||
< | < | ||
+ | |||
term% mail -c | term% mail -c | ||
</ | </ | ||
Line 926: | Line 983: | ||
bind -c / | bind -c / | ||
- | |||
</ | </ | ||
Line 935: | Line 991: | ||
mkdir / | mkdir / | ||
cp / | cp / | ||
- | |||
</ | </ | ||
Line 941: | Line 996: | ||
< | < | ||
+ | |||
term% mkdir / | term% mkdir / | ||
term% mkdir / | term% mkdir / | ||
Line 978: | Line 1034: | ||
q | q | ||
term% | term% | ||
- | |||
</ | </ | ||
Line 984: | Line 1039: | ||
< | < | ||
+ | |||
$ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER | $ ./drawterm -a YOUR_IP -h YOUR_IP -u new USER | ||
</ | </ | ||
Line 991: | Line 1047: | ||
==== Configure a Time zone ==== | ==== Configure a Time zone ==== | ||
- | ^ Section^ FQA 4 - 9front Installation Guide^ | + | ^ Section ^ FQA 4 - 9front Installation Guide ^ |
|4.3.15 - tzsetup|http:// | |4.3.15 - tzsetup|http:// | ||
- | ^ Section^ FQA 7 - System Management^ | + | ^ Section^ FQA 7 - System Management ^ |
|7.6.3 - UTC Timesync|http:// | |7.6.3 - UTC Timesync|http:// | ||
Line 1001: | Line 1057: | ||
< | < | ||
+ | |||
% lc / | % lc / | ||
</ | </ | ||
< | < | ||
+ | |||
% cp / | % cp / | ||
</ | </ | ||
< | < | ||
+ | |||
% sed 4q / | % sed 4q / | ||
#!/bin/rc | #!/bin/rc | ||
Line 1018: | Line 1077: | ||
< | < | ||
+ | |||
% sam / | % sam / | ||
</ | </ | ||
< | < | ||
+ | |||
% fshalt | % fshalt | ||
</ | </ | ||
Line 1031: | Line 1092: | ||
< | < | ||
+ | |||
cat / | cat / | ||
</ | </ | ||
Line 1056: | Line 1118: | ||
During the SDF Plan 9 Boot Camp you are encouraged to make screenshots and videos of your Self Guided Discoveries and share your experiences on //plan9-l// to inspire others to do the same. Participants in the Plan 9 Boot Camps also get a contrib directory on ''< | During the SDF Plan 9 Boot Camp you are encouraged to make screenshots and videos of your Self Guided Discoveries and share your experiences on //plan9-l// to inspire others to do the same. Participants in the Plan 9 Boot Camps also get a contrib directory on ''< | ||
- | |x|The [[:image_gallery|SDF Image Gallery]] wiki page offers a link to additional SDF [[:social_network|Social Networks]], for possible web based Boot Camp screenshot sharing.| | + | |x|The [[image_gallery|SDF Image Gallery]] wiki page offers a link to additional SDF [[social_network|Social Networks]], for possible web based Boot Camp screenshot sharing.| |
< | < | ||
Line 1069: | Line 1131: | ||
|Plan 9 demo, narrated by John Floren (full)|https:// | |Plan 9 demo, narrated by John Floren (full)|https:// | ||
|Acme Editor, **Acme Mail**, Plan 9 demo (short)|https:// | |Acme Editor, **Acme Mail**, Plan 9 demo (short)|https:// | ||
+ | |Plan 9, Das bessere UNIX, Angelo Papenhoff|https:// | ||
- | ^Command^ Option^ Quick Reference, mentioned in an Acme video^ | + | ^ Command ^ Option ^ Quick Reference, mentioned in an Acme video ^ |
|SAM: | |SAM: | ||
Line 1116: | Line 1179: | ||
|COM: | |COM: | ||
- | ^Some hints about Plan 9^ | + | ^ Some hints about Plan 9 ^ |
|Plan 9's system console is a TTY, not a VT| | |Plan 9's system console is a TTY, not a VT| | ||
|In UNIX almost everything is a file, in Plan 9 everything is a file| | |In UNIX almost everything is a file, in Plan 9 everything is a file| | ||
Line 1160: | Line 1223: | ||
|x| https:// | |x| https:// | ||
- | The [[https:// | + | The [[https:// |
< | < | ||
+ | |||
$ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER | $ ./drawterm -a 9p.sdf.org -h 9p.sdf.org -u USER | ||
</ | </ | ||
Line 1170: | Line 1234: | ||
A Drawterm rc prompt (without rio; //teletype only//): | A Drawterm rc prompt (without rio; //teletype only//): | ||
+ | |||
< | < | ||
+ | |||
$ ./drawterm -G -h 9p.sdf.org -u USER | $ ./drawterm -G -h 9p.sdf.org -u USER | ||
</ | </ | ||
- | |x|A Drawterm [[:vps_-_9front# | + | |x|A Drawterm [[vps_-_9front# |
< | < | ||
Line 1196: | Line 1262: | ||
|**9front Propaganda**|http:// | |**9front Propaganda**|http:// | ||
- | ^Valued mention^ resource^ | + | ^ Valued mention ^ resource ^ |
|Plan 9 from Bell Labs|https:// | |Plan 9 from Bell Labs|https:// | ||
|Glenda, the Plan 9 Bunny|https:// | |Glenda, the Plan 9 Bunny|https:// | ||
Line 1203: | Line 1269: | ||
==== Plan 9 VPS tutorial ==== | ==== Plan 9 VPS tutorial ==== | ||
- | |x|[[:plan9front_-_acme_sam_abaco_mothra_and_man|Plan 9 on an SDF VPS]] tutorial (wiki)| | + | |x|[[plan9front_-_acme_sam_abaco_mothra_and_man|Plan 9 on an SDF VPS]] tutorial (wiki)| |
|x|Getting Started with Plan 9 Drawterm| | |x|Getting Started with Plan 9 Drawterm| | ||
|x|Sam ('' | |x|Sam ('' | ||
Line 1215: | Line 1281: | ||
|x|Introduction to Operating Systems Abstractions [[https:// | |x|Introduction to Operating Systems Abstractions [[https:// | ||
- | |x|Previous dedicated links are located at the [[:plan_9_9front# | + | |x|Previous dedicated links are located at the [[plan_9_9front# |
===== Conclusion or close ===== | ===== Conclusion or close ===== |
vps_-_9front.txt · Last modified: 2024/06/11 04:24 by hc9