From cec8163b76dc3cd3a2b51eb227fc5846fe4e4cee Mon Sep 17 00:00:00 2001 From: ahriman Date: Mon, 10 Dec 2018 13:15:16 -0500 Subject: changed links to reflect rewrites --- index.html | 14 +++++--------- irc.html | 8 ++++---- signup.html | 8 ++++---- start.html | 12 ++++++------ stats.php | 2 +- 5 files changed, 20 insertions(+), 24 deletions(-) diff --git a/index.html b/index.html index c792b95..4a51c3e 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - - + + - + Tilde Institute of OpenBSD Education @@ -15,7 +15,7 @@

Welcome to the tilde.institute! This is an OpenBSD machine whose purpose is to provide a space in the tildeverse for experimentation with and education of the OpenBSD operating system. Each user receives a subdomain! A variety of editors, shells, and compilers are installed to allow for development in a native OpenBSD environment. OpenBSD's httpd(8) is configured with slowcgi(8) as the fastcgi provider and sqlite3 available. This allows users to experiment with web development using compiled CGI in C, aka the BCHS Stack. In addition to php7.0 and mysql (mariadb) by request, this provides an environment where the development of complex web apps is possible.

@@ -50,7 +50,7 @@
  • weechat
  • irssi
  • -

    Feel free to contact ahriman on chat in #institute if you need another compiler or shell available, or if you would like your homepage's index changed from index.html to something else (index.cgi, index.php, etc). I can also provide access to MySQL / MariaDB on a request basis.

    +

    Feel free to contact ahriman on chat in #institute if you need another compiler or shell available, or if you would like your homepage's index changed from index to something else (index.cgi, index.php, etc). I can also provide access to MySQL / MariaDB on a request basis.

    News & Updates

    2018 December 10 @@ -65,10 +65,6 @@ 2018 December 3

    I just installed DokuWiki so users can record and share cool things to do and cool ways to customize their environment, etc. The link is with the other navigation links.

    2018 December 2 -

    There's an issue with https on subdomains, I'll have it fixed by tomorrow.

    - 2018 December 2 -

    I've set up tilde.institute to force ssl for all visitors.

    - 2018 December 2

    If you have latency issues, mosh is available on tilde.institute as an alternative to ssh. Simply install mosh on your end, then issue "mosh user@tilde.institute" as you would with ssh. Make sure your home computer's locale (LANG, LC_CTYPE) is set properly to a UTF-8 encoding before attempting to use mosh.

    2018 November 29

    I've added nethack, angband, and zork for people to play. I've also fixed up a default weechat config for all users, and added a symlink for weechat called 'chat'. Updated /etc/motd to reflect the new stuff. I'll continue to add more things during the beta phase.

    diff --git a/irc.html b/irc.html index 1205fd4..910b71f 100644 --- a/irc.html +++ b/irc.html @@ -1,7 +1,7 @@ - - + + - + Tilde Institute :: IRC @@ -15,7 +15,7 @@

    To connect to the tildeverse IRC network and begin chatting, simply use the command chat! If you prefer to use a different IRC client than the default, such as irssi, the following server information will apply:

    diff --git a/signup.html b/signup.html index 20983ca..548dba0 100644 --- a/signup.html +++ b/signup.html @@ -1,7 +1,7 @@ - - + + - + Tilde Institute :: Sign Up @@ -15,7 +15,7 @@

    diff --git a/start.html b/start.html index af6efe6..b84cebb 100644 --- a/start.html +++ b/start.html @@ -1,7 +1,7 @@ - - + + - + Tilde Institute :: Quick-Start Guide @@ -15,7 +15,7 @@

    This will be a quick-and-dirty guide to getting started with the BCHS stack. More information can be found at:

    @@ -31,8 +31,8 @@

    Keep in mind that if you don't use the previously listed kcgi/ksql/kwebapp libraries, you will need to work with HTTP's eccentricities manually. For an example, here's the Hello World code from the LearnBCHS site. And here it is running as compiled CGI here at the Tilde Institute.

    Once you've written your software to be served via CGI, be sure to statically link the executables. Sure, there's a larger file size, but the benefits outweigh that in this case - there's no relying on what I may or may not have installed on the Tilde Institute's server. For example:

    $ cc -static -g -W -Wall -o app.cgi app.c

    -

    When you've completed compilation, make sure to set permissions properly (755) and move it to the public_html folder in your home directory. httpd(8) is set to use index.html as the index file, however this can be changed to index.cgi or what-have-you by contacting ahriman via IRC.

    -

    ~institute user xvetrd has written a more detailed example on kcgi than is provided on the library's site. It includes an example makefile as well. The KCGI Starter archive is available here. Simply curl -O https://tilde.institute/kcgi-start.tar.gz it to your home directory here on ~institute, untar, make, and make install to test the compilation. It installs to ~/public_html with the proper ownership and permissions. View the index.c source and the makefile to see what goes on under the hood! Feel free to adapt it your own projects!

    +

    When you've completed compilation, make sure to set permissions properly (755) and move it to the public folder in your home directory. httpd(8) is set to use index as the index file, however this can be changed to index.cgi or what-have-you by contacting ahriman via IRC.

    +

    ~institute user xvetrd has written a more detailed example on kcgi than is provided on the library's site. It includes an example makefile as well. The KCGI Starter archive is available here. Simply curl -O https://tilde.institute/kcgi-start.tar.gz it to your home directory here on ~institute, untar, make, and make install to test the compilation. It installs to ~/public with the proper ownership and permissions. View the index.c source and the makefile to see what goes on under the hood! Feel free to adapt it your own projects!

    diff --git a/stats.php b/stats.php index a3f140f..9790813 100644 --- a/stats.php +++ b/stats.php @@ -15,7 +15,7 @@

    -- cgit 1.4.1-2-gfad0