2

BCHS software stack: BSD, C, httpd, SQLite

 8 months ago
source link: https://learnbchs.org/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Stack components

why bchs? because the open internet is inhospitable.

puffy.png

OpenBSD. World-renowned for its focus on security and documentation. Reliable six-month releases. Binary patching. It takes the guess-work out of your environment.

Resources: man pages, FAQ, Absolute OpenBSD, mailing lists.

the C Programming Language

C is a straightforward, non-mustachioed language. It has full access to the kernel's system calls and a massive set of development tools and libraries.

Resources: The C Programming Language, clang(1), clang-local(1).
#include <stdio.h>
int
main(int argc, char *argv[])
{
   puts("Hello, world!");
   return 0;
}
% curl -sD- -o/dev/null https://www.openbsd.org
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 5181
Content-Type: text/html
Date: Wed, 28 Mar 2018 03:15:19 GMT
Last-Modified: Sun, 25 Mar 2018 18:08:04 GMT
Server: OpenBSD httpd

httpd(8)

OpenBSD's home-grown web server. If you need more features for your web application, submit a patch.

Resources: httpd(8), httpd.conf(5), slowcgi(8), Relayd and Httpd Mastery.

SQLite

SQLite is a self-contained, embeddable, zero-configuration database. It's a practical solution for the majority of database needs. Just pkg_add sqlite3 and you're ready.

Resources: API reference, SQL reference, The Definitive Guide to SQLite.

sqlite.png


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK