Reddit reviews Relayd and Httpd Mastery (IT Mastery Book 11)
We found 1 Reddit comments about Relayd and Httpd Mastery (IT Mastery Book 11). Here are the top ones, ranked by their Reddit score.
We found 1 Reddit comments about Relayd and Httpd Mastery (IT Mastery Book 11). Here are the top ones, ranked by their Reddit score.
email: You have
smtpd
with which you can receive email and deliver it locally, reading it withmail(1)
, and sending replies back usingsmtpd
as long as your ISP/DNS is configured for outbound mail (or you configuresmtpd
to use a smart-host for relaying the mail).web: You have
httpd
&relayd
in base (MWL wrote a book on them if you need). If all you want to serve is static pages,httpd
will do just fine. If you want to serve dynamic pages, you can configurehttpd
withslowcgi
and then farm out the dynamic serving to scripts using any of the available stock languages (C,/bin/sh
,awk
, orperl
though I don't know whichperl
modules are available out of the box). You can also tie into tools likeftp
which will perform web requests if you need to hit remote API endpoints.other dev: The system comes with a C compiler and scripting languages (as above, various shells &
awk(1)
as well assed(1)
). You have text editors:ed(1)
,vi(1)
, andmg(1)
available out of the box. You have version control with eithercvs(1)
orrcs(1)
. You have project management withmake(1)
.games: You have the whole
bsdgames
collection (if you opted for them at install-time). Check outman 6 intro
for a list of games.networking: You have
snmpd
for network management,pf
for building firewalls.lpd
for sharing out printers.iscsid
for dealing with iSCSI devices.unbound
for DNS caching.---------
For your sports-score example, I imagine there's some web API endpoint you can hit for various sports-scores, so I'd use
ftp(1)
using the-o -
to dump the data to stdout, then piping that output toawk
to slice it and dice it to extract the relevant information and display it or write it to a file.edit: markdown