Upload files to ''

This commit is contained in:
ahriman 2018-11-24 00:58:03 -05:00
parent 30b2e43574
commit 49f382b2bb
5 changed files with 76 additions and 13 deletions

View File

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tilde Institute for OpenBSD Education</title>
<title>Tilde Institute :: Code of Conduct</title>
<link rel="stylesheet" href="tilde.css" type="text/css"/>
<link rel="icon" type="image/png" href="icon.png"/>
</head>
@ -15,7 +15,7 @@
</div>
</div>
<div id="navigation">
<a href="http://tilde.institute">News</a> :: <a href="signup.php">Sign Up</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
<a href="http://tilde.institute">News</a> :: <a href="newacct.html">Sign Up</a> :: <a href="irc.html">IRC</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
</div>
<div id="content">
<h1>tilde.institute code of conduct</h1>
@ -100,7 +100,7 @@ concise description of your grievance.</p>
<p>tilde.institute admin:</p>
<ul>
<li><a href="http://ahriman.tilde.institute">ahriman</a>
&#9993; <a href="tilde.institute@protonmail.com">tilde.institute@protonmail.com</a></li>
&#9993; <a href="mailto:tilde.institute@protonmail.com">tilde.institute@protonmail.com</a></li>
</ul>
<p>Admins can be reached privately:</p>
<ul>

View File

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tilde Institute for OpenBSD Education</title>
<title>Tilde Institute of OpenBSD Education</title>
<link rel="stylesheet" href="tilde.css" type="text/css"/>
<link rel="icon" type="image/png" href="icon.png"/>
</head>
@ -15,10 +15,10 @@
</div>
</div>
<div id="navigation">
<a href="http://tilde.institute">News</a> :: <a href="signup.php">Sign Up</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
<a href="http://tilde.institute">News</a> :: <a href="newacct.html">Sign Up</a> :: <a href="irc.html">IRC</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
</div>
<div id="content">
<p>Welcome to the Tilde Institute! This is an OpenBSD machine whose purpose is to provide a space in the <a href="https://tildeverse.org">tildeverse</a> for experimentation with and education of the OpenBSD operating system. A variety of editors, shells, and compilers are installed to allow for development in a native OpenBSD environment. OpenBSD's httpd(8) is configured so that each user gets their own subdomain, with slowcgi(8) as the fastcgi provider and sqlite3 available. This allows users to experiment with web development using compiled CGI, aka the <a href="https://learnbchs.org">BCHS Stack</a>. Compiled CGI works best with the C programming language.</p>
<p>Welcome to the Tilde Institute! This is an OpenBSD machine whose purpose is to provide a space in the <a href="https://tildeverse.org">tildeverse</a> for experimentation with and education of the OpenBSD operating system. A variety of editors, shells, and compilers are installed to allow for development in a native OpenBSD environment. OpenBSD's httpd(8) is configured so that each user gets their own subdomain, 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 <a href="https://learnbchs.org">BCHS Stack</a>. In addition to php7.0 and mysql (mariadb) by request, this provides an environment where the development of complex web apps is possible.</p>
<p>The list of compilers available are as follows:</p>
<ul>
<li>clang 6.0.0 (C/C++)</li>
@ -33,7 +33,6 @@
<li>ruby 2.5</li>
<li>perl 5.24</li>
</ul>
<p>In addition to HTTP access to php-7.0. The http daemon will look for index.html by default, however, if you'd like to have that changed, please contact ahriman on either the <a href="https://tilde.town">tilde.town</a> or <a href="https://tilde.chat">tildeverse</a> IRC networks.</p>
<p>Your interactive shell can be changed with the chsh command. The shells available:</p>
<ul>
<li>/bin/ksh (default)</li>
@ -45,9 +44,16 @@
<li>/usr/local/bin/fish</li>
<li>/usr/local/bin/tcsh</li>
</ul>
<p>Feel free to contact ahriman on either the <a href="https://tilde.town">tilde.town</a> or the <a href="https://tilde.team">tilde.team</a> IRC networks if you need another compiler or shell available.</p>
<p>The IRC clients available by default are:</p>
<ul>
<li>irssi</li>
<li>weechat</li>
</ul>
<p>Feel free to contact ahriman on either the <a href="https://tilde.town">tilde.town</a> or the <a href="https://tilde.chat">tildeverse</a> IRC networks 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.</p>
<div id="news">
<h1>News &amp; Updates</h1>
<em>2018 November 24</em>
<p>Alright, the migration is complete. There are a few things I'll smooth out and finish during the beta phase, like peering with the <a href="https://tilde.chat">tildeverse IRC network</a> and finishing the <a href="newacct.html">OpenBSD php mail() workaround</a>.</p>
<em>2018 November 23</em>
<p>The migration is in progress. I estimate the beta testing phase to begin either late this evening US/NY time, or tomorrow afternoon.</p>
<em>2018 November 20</em>

25
irc.html Normal file
View File

@ -0,0 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tilde Institute :: IRC</title>
<link rel="stylesheet" href="tilde.css" type="text/css"/>
<link rel="icon" type="image/png" href="icon.png"/>
</head>
<body>
<div id="container">
<div id="logo">
<img src="logo.png" alt="" /><br />
<div id="logobyline">
of OpenBSD Education
</div>
</div>
<div id="navigation">
<a href="http://tilde.institute">News</a> :: <a href="newacct.html">Sign Up</a> :: <a href="irc.html">IRC</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
</div>
<div id="content">
<p>COMING SOON: Tilde Institute will be peering with the larger Tildeverse IRC network</p>
</div>
</div>
</body>
</html>

32
newacct.html Normal file
View File

@ -0,0 +1,32 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tilde Institute :: Account Request</title>
<link rel="stylesheet" href="tilde.css" type="text/css"/>
<link rel="icon" type="image/png" href="icon.png"/>
</head>
<body>
<div id="container">
<div id="logo">
<img src="logo.png" alt="" /><br />
<div id="logobyline">
of OpenBSD Education
</div>
</div>
<div id="navigation">
<a href="http://tilde.institute">News</a> :: <a href="signup.php">Sign Up</a> :: <a href="irc.html">IRC</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
</div>
<div id="content">
<p>OpenBSD is a high-security operating system. Currently, the php mail() function is effectively disabled in the httpd chroot jail. Until I can develop a work-around, please send an email to <a href="mailto:tilde.institute@protonmail.com">tilde.institute@protonmail.com</a> with the subject "ACCOUNT REQUEST" to request an account.</p>
<p>Please include the following information in the email:</p>
<ul>
<li>Desired username</li>
<li>Valid email address</li>
<li>Your SSH key</li>
<li>What interests you about Tilde Institute (this part is not required, it's just for warm fuzzies)</li>
</ul>
</div>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tilde Institute for OpenBSD Education</title>
<title>Tilde Institute :: Quick-Start Guide</title>
<link rel="stylesheet" href="tilde.css" type="text/css"/>
<link rel="icon" type="image/png" href="icon.png"/>
</head>
@ -15,10 +15,10 @@
</div>
</div>
<div id="navigation">
<a href="http://tilde.institute">News</a> :: <a href="signup.php">Sign Up</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
<a href="http://tilde.institute">News</a> :: <a href="newacct.html">Sign Up</a> :: <a href="irc.html">IRC</a> :: <a href="start.html">Quick-Start Guide</a> :: <a href="coc.html">Code of Conduct</a> :: <a href="https://tilde.zone/@tildeinstitute">Mastodon</a>
</div>
<div id="content">
<p>This will be a quick-and-dirty guide to getting started with the BCHS stack. It will pertain to using C specifically, however, if you develop in another language, the general information regarding static compilation will apply as well. More C-specific information can be found at:</p>
<p>This will be a quick-and-dirty guide to getting started with the BCHS stack. More information can be found at:</p>
<ul>
<li><a href="https://learnbchs.org">Learn BCHS</a></li>
<li><a href="http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/pledge.2">pledge(2)</a></li>
@ -27,11 +27,11 @@
<li><a href="https://kristaps.bsd.lv/ksql/">ksql</a></li>
<li><a href="https://kristaps.bsd.lv/kwebapp">kwebapp</a></li>
</ul>
<p>tilde.institute is set up to process all files with the .cgi extension via slowcgi(8). This allows for a multitude of possibilities - any compiled language can be used to develop web applications on an OpenBSD server. It's advised to use C because of the pledge(2) and unveil(2) system calls available, which allow for restricting privileges and restricted filesystem access, respectively. However, C is not always an easy language to develop in, and other languages such as Rust include robust memory safety by design.</p>
<p>tilde.institute is set up to process all files with the .cgi extension via slowcgi(8). This allows for a multitude of possibilities - any compiled language can be used to develop web applications on an OpenBSD server. It's advised to use C because of the pledge(2) and unveil(2) system calls available, which allow for restricting privileges and restricted filesystem access, respectively.</p>
<p>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 <a href="helloworld.c.txt">the Hello World code</a> from the LearnBCHS site. And <a href="helloworld.cgi">here it is running</a> as compiled CGI here at the Tilde Institute.</p>
<p>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:</p>
<p>$ cc -static -g -W -Wall -o app.cgi app.c</p>
<p>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 the <a href="https://tilde.town">tilde.town</a> or <a href="https://tilde.team">tilde.team</a> IRC networks.</p>
<p>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 the <a href="https://tilde.town">tilde.town</a> or <a href="https://tilde.chat">tildeverse</a> IRC networks.</p>
</div>
</div>
</body>