[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
work on a non-Pi-related Linux "server" ...: Re: Pi.BerkeleyLUG: Next meeting this Sunday 19.07.2020
- To: BerkeleyLUG <berkeleylug@googlegroups.com>, goossbears <acohen36@gmail.com>
- Subject: work on a non-Pi-related Linux "server" ...: Re: Pi.BerkeleyLUG: Next meeting this Sunday 19.07.2020
- From: "Michael Paoli" <Michael.Paoli@cal.berkeley.edu>
- Date: Sun, 19 Jul 2020 11:14:16 -0700
- Arc-authentication-results: i=2; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-authentication-results: i=1; gmr-mx.google.com; spf=neutral (google.com: 198.144.192.42 is neither permitted nor denied by best guess record for domain of michael.paoli@cal.berkeley.edu) smtp.mailfrom=Michael.Paoli@cal.berkeley.edu
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:user-agent :content-disposition:mime-version:in-reply-to:references:subject:to :from:date:message-id:sender:dkim-signature; bh=No/cHeV0OEe8a+9PAWoiqS9ASVm55o18r+RzhUUns2E=; b=joXybLmyn7tG2G3bnmYLSD2BafvUcvH6ukmiUvPlj2Egmo0Dq1YwnvL+//Rv6fmeUI sWmPDer1gqx6+2ueK7nsk0Qv1NAWFQsci5l6QK20qU1ijxdiOJ1vqCHerj/e3FknBGRV R35NfDSPet0CoFipv/XDuwCdFACJAgCApVDZ9R5BgIpSYAopVrm8wm6veksnLVbwDS1K KPVo3KFFxrQ4+VYUJbzzksBED8NnQTkfxdByY3gIRWROt5iBLQqz8n4au9PMoegSVR0y SAZO32KT5Jyx/0AVkmUsLS75eM5hWY2ztQRQB51qGZnKTE7yc7LHRs8HmG43gsiU3o0o E//w==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:content-transfer-encoding:content-disposition :mime-version:in-reply-to:references:subject:to:from:date:message-id; bh=rJjxkyBrOlP2iqNDAYAwEqX83Dsbo/jiI0qcWS7a7F4=; b=bsrWSulx7lgknc/2FzFY/0+BbhEneKAOwPEQm5ZqyF6cqsIAOsr/M2wMcfphDJrcPC GcCLIBjMqX2v+8afI0i0a059afcQ1UczFeB5zmbRWgLU9vSajUzgd4kUBpibgTt43LGc oOWEa2dUHCrFB4zAqh16mlzm84mnI9CaqvTKqLB+uR+00oIW+7BKOVHg74kcWqCLc1tr UGLM+oHGuEvtaDEfWa9AxOBYLnyIO3ySVJQVgAzHT/ay2Ak65VYabqW+6qFiAO5fngjb ecRJmawLTMx97i2AJ+wFHQalFMrebMUHcxr51kc+vY6enKPHh0MKmvV7gRYa+BG394zj 9Lig==
- Arc-seal: i=2; a=rsa-sha256; t=1595182458; cv=pass; d=google.com; s=arc-20160816; b=FZOGC4GQyFdeFkaR+J7H9Z354tkzHCyWYynXMReicm+Mzbcw+WM817rYkjiyMPtca5 ZCLz/ewF5hvacSDOQmYsHTVTh3hkfEfxc2M6seT9dAfIKJ0Om8l0FNk5dEguhdtBXqF0 vCaRQfnD7HHOrFZ3TA1Zn5cu36/6F3PaMzhA/DpVUPvYr/6mNDQVDx8iLISgSfDllZYg B2LAT0wVgje8NkCQqmHWLcMGhJgDwwrEFziW7A2Yyq66QDpn5FXP+6DyUj9N/we+Sx6A TnFBcP/Wf4QXlEGh9++PNqsmY8NOh/C7660F9HnqDBQ1ITYLj0AlzI1WZ9RUtdNRPmkE htLQ==
- Arc-seal: i=1; a=rsa-sha256; t=1595182457; cv=none; d=google.com; s=arc-20160816; b=TNEinKXWdKZNErXd910KWe+fRsTxTX8V0h6J0NAN7BEePn0Oz80E5yt49GEQdVd3Yu egkPAE6NppaEMBnCA03eca0tHX3bwQupwPdXf45d2xSgHEG1b8XdHc6CbKv/YhFTu7Yg Jv65UkB57oLBfKnmZxFmmccOYN5QApukMBYyBO4Kg4VE2VOt/N05rfviFZwAL9Ed57ZV C9/v2R7VobSBzueriSXR0w6weS8TQ1I+ccT7Tmat7/JLFU8YAWt7e+xl8mO9BQQ2zwGo cX9eqZ1VyPlfQTOUskgKYuGXm3+3DJ8S5O91tYrdQw5c83OFvyJyxz2tuqKSm63OB4XU ZyKg==
- Delivered-to: historian@entropia.netisland.net
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:message-id:date:from:to:subject:references:in-reply-to :mime-version:content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=No/cHeV0OEe8a+9PAWoiqS9ASVm55o18r+RzhUUns2E=; b=LCdK6sbQyzPE02suwey7BhyyQEB+NdbjiAH18JtI1XxeDtrL9ihVDJX44ZzM0mFR7K cduNZYDv237oTW5IIohNBtn4/H6P6zdOzRoIV8dTL2Pfv7PR5S/pLZ3ukz/XF1bMmQ0/ dGMhYJZff4esio6p68tKfjf436STwNw7Cn4tNcReSXidwKrdispAsqYOxSei2gc5AXzD FmauUqg7Ch2FtsfnOBrda1c+KTSrTtRt0UYjB5SIGmEAv16RqBfndKtYiQRCWxEX+jp6 4xeFHWdsbk11vZjZr4sKHNnpxmxGBph+r6XBQtzAMMthKPVOkcMeBQWlPNcbwx3+jpNh FPcQ==
- In-reply-to: <634ee533-d3ce-48f5-861a-add78c1419b1o@googlegroups.com>
- List-archive: <https://groups.google.com/group/berkeleylu>
- List-help: <https://groups.google.com/support/>, <mailto:berkeleylug+help@googlegroups.com>
- List-id: <berkeleylug.googlegroups.com>
- List-post: <https://groups.google.com/group/berkeleylug/post>, <mailto:berkeleylug@googlegroups.com>
- List-subscribe: <https://groups.google.com/group/berkeleylug/subscribe>, <mailto:berkeleylug+subscribe@googlegroups.com>
- List-unsubscribe: <mailto:googlegroups-manage+61884646931+unsubscribe@googlegroups.com>, <https://groups.google.com/group/berkeleylug/subscribe>
- Mailing-list: list berkeleylug@googlegroups.com; contact berkeleylug+owners@googlegroups.com
- References: <CAGpvfsqfN0OEnC5bZnV4sjN6WYW28j1MX0t6=YS69frBR=oVmA@mail.gmail.com> <634ee533-d3ce-48f5-861a-add78c1419b1o@googlegroups.com>
- Reply-to: berkeleylug@googlegroups.com
- Sender: berkeleylug@googlegroups.com
- User-agent: Internet Messaging Program (IMP) H3 (4.2.1-RC1)
From: goossbears <acohen36@gmail.com>
Subject: Re: Pi.BerkeleyLUG: Next meeting this Sunday 19.07.2020
Date: Sun, 19 Jul 2020 10:24:43 -0700 (PDT)
Cannot at all attend today's Pi.BerkeleyLUG meeting on Jit.si , because am
attending a virtual memorial service from 11am-1pm for the sudden death of
a local college-age student - a would-be Sophomore at UC Davis :-( - whose
family I've known well for over a dozen years (no to the obvious question;
not sure if his death was COVID19-related or not!)
Later on this afternoon, well after the virtual memorial service, am
planning to work on a non-Pi-related Linux "server" of my own; the
'Giveaway offer of older midtower PC and monitor' posted ~3wks ago
currently listed within Michael P's
https://www.wiki.balug.org/wiki/doku.php?id=balug:offered_wanted_hardware_etc
I ended up wiping out antiX on this Dell PowerEdge SC430 "from circa
2005-2006 with 1.0 GB of RAM", reformatted its hard drive, and installed
Debian stable 'buster' to be an SSH and webserver, with an extremely
minimal LXQt desktop environment and very very few productivity apps.
Additionally, I successfully installed on this machine a 10/100 Fast
Internet NIC on one of its available internal PCI slots.
One task for today is to figure out how I may enable the machine's
installed SSH server to _just_ respond using the slower PCI Fast Internet
NIC (inward-bound SSH'd via another laptop or desktop) and enable the
Apache webserver to send out outbound packets using _solely_ the faster 1
Gigabit/sec internal network port.
Suggestions welcome :-)
It may be (much) easier - and often as effective, to, have the
services, go, rather than by NIC, by IP addresses. As long as you don't
have the same IP address(es) on both/multiple NICs, that generally
works quite well enough.
For ssh ...
$ dpkg -l openssh-server | awk '{if($1=="ii")print $2,$3;}'
openssh-server 1:7.9p1-10+deb10u2
$
sshd_config(5)
ListenAddress
Specifies the local addresses sshd(8) should listen on. The fol-
lowing forms may be used:
ListenAddress hostname|address [rdomain domain]
ListenAddress hostname:port [rdomain domain]
ListenAddress IPv4_address:port [rdomain domain]
ListenAddress [hostname|address]:port [rdomain domain]
The optional rdomain qualifier requests sshd(8) listen in an ex-
plicit routing domain. If port is not specified, sshd will lis-
ten on the address and all Port options specified. The default
is to listen on all local addresses on the current default rout-
ing domain. Multiple ListenAddress options are permitted. For
more information on routing domains, see rdomain(4).
Apache ...
$ dpkg -l apache2\* | awk '{if($1=="ii")print $2,$3;}'
apache2 2.4.38-3+deb10u3
apache2-bin 2.4.38-3+deb10u3
apache2-data 2.4.38-3+deb10u3
apache2-doc 2.4.38-3+deb10u3
apache2-utils 2.4.38-3+deb10u3
$
file:/usr/share/doc/apache2-doc/manual/en/mod/mpm_common.html#listen
Listen Directive
Description: IP addresses and ports that the server listens to
Syntax: Listen [IP-address:]portnumber [protocol]
Context: server config
Status: MPM
Module: event, worker, prefork, mpm_winnt, mpm_netware, mpmt_os2
Compatibility: The protocol argument was added in 2.1.5
The Listen directive instructs Apache httpd to listen to only specific
IP addresses or ports; by default it responds to requests on all IP
interfaces. Listen is now a required directive. If it is not in the
config file, the server will fail to start. This is a change from
previous versions of Apache httpd.
The Listen directive tells the server to accept incoming requests on
the specified port or address-and-port combination. If only a port
number is specified, the server listens to the given port on all
interfaces. If an IP address is given as well as a port, the server
will listen on the given port and interface.
Multiple Listen directives may be used to specify a number of addresses
and ports to listen to. The server will respond to requests from any of
the listed addresses and ports.
For example, to make the server accept connections on both port 80 and
port 8000, use:
Listen 80
Listen 8000
To make the server accept connections on two specified interfaces and
port numbers, use
Listen 192.170.2.1:80
Listen 192.170.2.5:8000
IPv6 addresses must be surrounded in square brackets, as in the
following example:
Listen [2001:db8::a00:20ff:fea7:ccea]:80
The optional protocol argument is not required for most configurations.
If not specified, https is the default for port 443 and http the
default for all other ports. The protocol is used to determine which
module should handle a request, and to apply protocol specific
optimizations with the AcceptFilter directive.
You only need to set the protocol if you are running on non-standard
ports. For example, running an https site on port 8443:
Listen 192.170.2.1:8443 https
--
You received this message because you are subscribed to the Google Groups "BerkeleyLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to berkeleylug+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/berkeleylug/20200719111416.78243mkv9kxmm8ao%40webmail.rawbw.com.