User Tools

Site Tools


gemini_site_setup_and_hosting_features

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
gemini_site_setup_and_hosting_features [2021/04/08 15:51] – [Introduction] hc9gemini_site_setup_and_hosting_features [2023/06/30 23:39] (current) – [Building Out Your Gemini Capsule] hc9
Line 3: Line 3:
 Welcome to the wonderful retro/alternative future of Gemini space! Welcome to the wonderful retro/alternative future of Gemini space!
  
-Here's the [[https://gemini.circumlunar.space/docs/faq.gmi|FAQ on Gemini]]. TL;DR, Gemini is an alternate internet protocol to either [[https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol| HTTP]] or [[https://en.wikipedia.org/wiki/Gopher| Gopher]]. It's being touted as a modern alternative to Gopher, to bring back a lightweight, text-centric interweb but with some of the security features of modern day. As described in the FAQ:+Here's the [[https://gemini.circumlunar.space/docs/faq.gmi|FAQ on Gemini]]. TL;DR, Gemini is an alternate internet protocol to either [[wp>wiki/Hypertext_Transfer_Protocol| HTTP]] or [[wp>Gopher_(protocol)|Gopher]]. It's being touted as a modern alternative to Gopher, to bring back a lightweight, text-centric interweb but with some of the security features of modern day. As described in the FAQ:
 >You may think of Gemini as "the web, stripped right back to its essence" or as "Gopher, souped up and modernised just a little"... >You may think of Gemini as "the web, stripped right back to its essence" or as "Gopher, souped up and modernised just a little"...
  
-Creating your own //Gemini site ((SDF **Cluster** Gemini server: **<nowiki>gemini://sdf.org</nowiki>** ; SDF **Meta** Gemini server: **<nowiki>gemini://gem.sdf.org</nowiki>** .))// ("gemini capsule" the kids call them now) can be fun and SDF gives gemini space to all its [[the_metaarray| MetaARPA]] users, so the moment you become META (see https://sdf.org/?join) you can begin creating your own websites straight away.+Creating your own //Gemini site ((SDF **Cluster** Gemini server: **//<nowiki>gemini://sdf.org</nowiki>//** ; SDF **Meta** Gemini server: **//<nowiki>gemini://gem.sdf.org</nowiki>//** .))// ("gemini capsule" the kids call them now) can be fun and SDF gives gemini space to all its users. There are currently two Gemini servers available on SDF, one on the cluster (for all users) and another on the [[metaarray]] for META users. 
 + 
 +You can begin creating your own websites straight away
 + 
 +In this tutorial when text looks like ''this'', this means it's a command you can run in your shell, either from the cluster, or if you've logged into the meta array. 
 + 
 + 
 +===== Viewing Gemini Pages ===== 
 + 
 +To start with, there are many ways to view your page and others in Geminispace. Here are the easiest ways you can [[accessing web spaces#Gemini| view gemini pages from the SDF shell]]
  
-In this tutorial when text looks like this this means it's a command you can run in your shell, once you've logged into the meta array SDF. 
  
 ===== Getting Started ===== ===== Getting Started =====
 Gemini hosting is super easy on SDF. Gemini hosting is super easy on SDF.
  
-  * Log in to the MetaArray +SDF serves users' gemini content from two places: 
-  * create your directory in /meta/gemini with at least a index.gmi file: ''mkdir -p /meta/gemini/${LOGNAME}''+  * **//<nowiki>gemini://sdf.org</nowiki>//** on the cluster 
 +  * **//<nowiki>gemini://gem.sdf.org</nowiki>//** on the Meta Array 
 + 
 +First, choose if you want to put your files on the cluster or the Meta Array. If you aren't on the Meta Array, then the cluster is your only choice. 
 + 
 +  * Log in to your account on the cluster or the MetaArray 
 +    for the cluster Gemini space, create your directory in ''/ftp/pub/users'' with at least an //index.gmi// file: 
 +      * use '''mkgopher'''((The SDF [[gopher site setup and hosting features#sdf_gopher_command|mkgopher]] tool manages workspace for both gemini & gopher)):  
 +        * at command prompt, enter: ''mkgopher'' 
 +        * in the mkgopher program, type ''setup'' 
 +        * type ''quit'' to exit. Your gemini (& gopher) directory should be set up with proper permissions at ''/ftp/pub/users/${LOGNAME}'' 
 +    * for the Meta Array Gemini space, create your directory in ''/meta/gemini'' with at least a //index.gmi// file: 
 +      * ''mkdir -p /meta/gemini/${LOGNAME}''
  
 Now on to make your first gemini page! Now on to make your first gemini page!
Line 20: Line 40:
 ===== Your First Page! ===== ===== Your First Page! =====
  
-Creating your first page is SO easy! First you'll need to open a text editor. SDF has many text editors installed but new users to UNIX often find that nano is the easiest to work with. +Creating your first page is SO easy! First you'll need to open a text editor. SDF has many text editors installed but new users to UNIX often find that nano is the easiest to work with. After you change directories to the new directory you just made as described above, either: 
 +  nano /ftp/pub/users/${LOGNAME}/index.gmi 
 +or
   nano /meta/gemini/${LOGNAME}/index.gmi   nano /meta/gemini/${LOGNAME}/index.gmi
-   + 
-This command starts the nano text editor, creating a new file, called 'index.gmi' in your ///meta/gemini/{username}// directory.+ 
 +This command starts the nano text editor, creating a new file, called 'index.gmi' in your Gemini capsule directory.
  
 Once you've executed the command above. You'll notice that the terminal layout has changed. If you press keys on your keyboard you'll notice they appear in the "text buffer". Write out the text below into this program. Once you've executed the command above. You'll notice that the terminal layout has changed. If you press keys on your keyboard you'll notice they appear in the "text buffer". Write out the text below into this program.
Line 32: Line 54:
   This is my first page in Gemini space!   This is my first page in Gemini space!
      
-  => gemini://gem.sdf.org  Back to the SDF Gemini Homepage+  => gemini://sdf.org To the SDF cluster Gemini Homepage 
 +  => gemini://gem.sdf.org To the SDF Meta Array Gemini Homepage
  
 Now that you have copied the text out into 'nano', you need to save the file. To do this, hold down the 'CTRL' key on your keyboard and whilst pressing that, press the letter 'x', and respond "yes" to the request to save. You've just written your first //gemtext// file. It's a very simple markup language compared to HTML, as you can see. Now that you have copied the text out into 'nano', you need to save the file. To do this, hold down the 'CTRL' key on your keyboard and whilst pressing that, press the letter 'x', and respond "yes" to the request to save. You've just written your first //gemtext// file. It's a very simple markup language compared to HTML, as you can see.
  
-Now, just open Gemini browser and navigate to ''<nowiki>gemini://gem.sdf.org/{yourusername}</nowiki>''You should see your very own Gemini capsule!+**NOTE: file permissions:** to be able to see this file with a browser, you need to change the permissions. at the command line after saving your file, just enter ''chmod go+r index.gmi''This will grant read permissions on that particular file to everyone else besides you.
  
-Once you've created your directory and ''index.gmi'' file you will be added to +Now, just open a Gemini browser and navigate to either: 
-the top index.  Sites are listed by most recent activity first and will +  * for your Gemini page on the cluster: ''<nowiki>gemini://sdf.org/{yourusername}/</nowiki>'' 
-include a title if you have one in your ''index.gmi''+  * for your Gemini page on the Meta Array: ''<nowiki>gemini://gem.sdf.org/{yourusername}</nowiki>''
  
  
-==== Viewing Your Gemini Homepage ==== +You should see your very own Gemini capsule!
- +
-You can use either of these Gemini browsers on the cluster or in the MetaArray: +
-  * //bombadillo//:  at shell type ''bombadillo <nowiki>gemini://gem.sdf.org/{yourusername}</nowiki>'' +
-  * //av98//:  at shell type ''av98 <nowiki>gemini://gem.sdf.org/{yourusername}</nowiki>'' +
- +
-Additionally, on the metaarray, you can use ''diohsc''+
  
 +Once you've created your directory and ''index.gmi'' file you will be added to
 +the top index.  Sites are listed by most recent activity first and will
 +include a title if you created a heading (e.g.,'##My First Page!') on the first line of your ''index.gmi''
  
  
  
-===== Fleshing Out Your Gemini Capsule =====+===== Building Out Your Gemini Capsule =====
  
 You can get more direction on the native markup for Gemini, called //gemtext// by reading the gemtext specification, which can be found by navigating to //[[gemini://gemini.circumlunar.space/docs/gemtext.gmi]]// You can get more direction on the native markup for Gemini, called //gemtext// by reading the gemtext specification, which can be found by navigating to //[[gemini://gemini.circumlunar.space/docs/gemtext.gmi]]//
  
gemini_site_setup_and_hosting_features.1617897112.txt.gz · Last modified: 2021/04/08 15:51 by hc9