Re: software RAID member names questions

2025-05-19 Thread James Mcphee via PLUG-discuss
Device reordering has been the bane of sysadmins existence for a long time. I still remember when a Sun firmware (with a hardware intervention by the vendor) update changed the order it scanned for scsi devices and we got different c0t0's in the c0t0d0s0 addresses. I had to learn Forth to work ar

Re: software RAID member names questions

2025-05-18 Thread James Mcphee via PLUG-discuss
you can also tell mdadm which dir it can scan for devices. it's been a while, and is very limiting, but a quick google says DEVICE /dev/disk/by-uuid/* and this corresponds with my recollection. granted that was centos5. On Sun, May 18, 2025 at 8:12 PM James Mcphee wrote: > I wasn't mdadm'ing,

Re: software RAID member names questions

2025-05-18 Thread James Mcphee via PLUG-discuss
I wasn't mdadm'ing, so i usually use the fs uuid. if you want the device uuid, it'll need to be that guy and not using ID_FS_UUID. but it's pretty basic down at that level, so as long as you keep your layers right, you should be able to find the thing you want to bind to. On Sun, May 18, 2025 at

Re: software RAID member names questions

2025-05-18 Thread James Mcphee via PLUG-discuss
I've run into things similar and it depends on what you're running. If it's udev, make a rule in /etc/udev/rules.d/numbered-rule.rules with SUBSYSTEM=="block", ACTION=="add", ENV{ID_FS_UUID}== "123e4567-e89b-12d3-a456-426614174000", NAME="sda" or whatever. Dunno if this does what you want, but yo

Re: Running Win10 after end of life

2025-05-02 Thread James Mcphee via PLUG-discuss
we use kvms (not the linux virt thing) in the datacenters. plug in monitor, keyboard, mouse, other usb periphs, and either physical or virtual switch to flip back and forth. this is probably overkill for home work, but since i already have 'em, why not. On Fri, May 2, 2025 at 12:18 PM Keith Smit

Re: Running Win10 after end of life

2025-05-01 Thread James Mcphee via PLUG-discuss
I just got one of those cute little NUC boxes that came with win11 for $300. Far from a nice solution, since i have to KVM it into my desktop monitor, etc, but there's something to be said for it as easy as long as your windows-only app is lightweight. On Thu, May 1, 2025 at 1:19 PM Keith Smith v

Re: chrome won't update

2025-03-05 Thread James Mcphee via PLUG-discuss
libglib2.0-0t64 is a breaking change that supports 64 bit time types. If you can't get a chrome that works with it, you can force your libglib2.0-0 to a particular version by choosing one that is not t64. apt-cache policy libglib2.0-0. then apt install libglib2.0-0=. then put a hold on that pac

Re: RHEL clones -- Alma Linux and Rocky Linux (Was Re: openSUSE, CentOS, oh my!)

2025-02-10 Thread James Mcphee via PLUG-discuss
it. > > But that said if there is going to be a lecture or two on the > differences between A distro and B, C, D, etc., distros, then it would > be a good one to include. > > Ditto for NixOS, antiX, Alpine, and honestly Slackware at this point. > > -Matt > > > > On 2/

Re: RHEL clones -- Alma Linux and Rocky Linux (Was Re: openSUSE, CentOS, oh my!)

2025-02-05 Thread James Mcphee via PLUG-discuss
I'd add that if your students want to learn linux well, they should use one of the other distros as well. Arch, gentoo, LFS, etc. Get the whole experience of setting up boot, organizing filesystems by hand, maybe even figuring out how to bootstrap compile things. This is dependent on how deep th

Re: Debian Repo ...

2024-12-09 Thread James Mcphee via PLUG-discuss
I run rocky9 mostly, and it's already out of date enough to require backporting packages. Luckily, mock is a pretty mature product for doing this. Download src.rpm from koji. Choosing which one depends on your needs. Them mock -r 'rocky-9+epel' and give it time. Then you get an rpm you can in

Re: Remote development/editing using Visual Studio Code

2024-11-04 Thread James Mcphee via PLUG-discuss
I remember setting up lsyncd at one point for something similar. But we eventually tore it out 'cause we wanted checks and balances between the environments. It was simple to setup and used rsync+ssh as the method. One problem we ran into was if you overran the inotify events it'd have issues, so

Re: Unable to SSH into Server

2024-11-04 Thread James Mcphee via PLUG-discuss
Do you think AI is going to cause a skills gap where you can do jr level tasks with it, but moving from jr to sr is a giant leap because the smooth learning curve is distorted by how easy it is to do basic things? On Mon, Nov 4, 2024 at 3:06 PM Keith Smith via PLUG-discuss < plug-discuss@lists.phx

Re: Network UPS Monitoring ...

2024-08-16 Thread James Mcphee via PLUG-discuss
Do you have apcupsd configured? That's how we do it. On Thu, Aug 15, 2024 at 4:51 PM Snyder, Alexander J via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Does anyone in this community have any experience managing Network UPS? > > I purchased an "APC 3000VA Smart-UPS" ( > https://www.

Re: new computer

2024-02-25 Thread James Mcphee via PLUG-discuss
To avoid swap wearing out your ssd, if you don't have an hd handy, you can set vm.swappiness to 0. This is not great since paging is quite efficient these days, but sometimes you'll want swap for suspend operations and don't want to actually page unless you're under memory pressure. On Sat, Feb 2

Re: What to know : Just Linux

2023-12-01 Thread James Mcphee via PLUG-discuss
If you're going with CIS guidelines, I'd recommend the openscap tool to give you decent reports on it. And for the particularly lazy --remediate :) On Fri, Dec 1, 2023 at 9:35 AM George Toft via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I would add read, understand and apply each

Re: cringeworthy question...

2023-07-11 Thread James Mcphee via PLUG-discuss
Just gonna toss it out there. Asure isn't a bad little hosting environment. If you're running windows, most of the lockin discussion is already moot. 4gb runs about $30/month. On Tue, Jul 11, 2023 at 4:04 PM Michael Butash via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I can't sp

Re: kernel panic on a debian machine...

2023-07-10 Thread James Mcphee via PLUG-discuss
boot to livecd, either fix or transfer data. that's how i do it when something goes horribly wrong On Mon, Jul 10, 2023 at 10:00 AM greg zegan via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Hello, > About a year ago I had for the first time a kernel panic error on my > Debian 10

Re: Public raspberrypi https/mail/dns... on Cox Cable

2023-07-09 Thread James Mcphee via PLUG-discuss
Buddy who ran cox business had 6 ip's. stacked them on the router and provided different SNAT/DNAT to the boxes behind. There was some configuration fiddliness with the modem, but this was years ago. any reasonable router would be able to do this, the main question is how the modem handles it.

Re: I read chip maker TSMC is a sweatshop

2023-07-08 Thread James Mcphee via PLUG-discuss
t was still 1/4 of what I was making. Even if the Argentinians >> screwed up and had to rework a task, the company still saved 50% over >> hiring an American on that task, and they are elated at the cost savings. >> >> Regards, >> >> George Toft >> &g

Re: I read chip maker TSMC is a sweatshop

2023-06-08 Thread James Mcphee via PLUG-discuss
around the world, barely indistinguishable except the > receipt. Even worse now, you get things like selling counterfeit > Cisco switches to everything from government to education [1] using > modchips to bypass security on the clone [2], or buying pretty much > anything of Amazon is li

Re: I read chip maker TSMC is a sweatshop

2023-06-07 Thread James Mcphee via PLUG-discuss
Generally, if I hear it from cable news, there's a good chance it's just someone drumming up support for something. In this case, we'll probably hear about some kind of H1B system to make sure the new fabs get all the people they need, etc. Same deal as when I was working at a company that got bo

Re: The end of programming (not the replacement of programmers)

2023-06-06 Thread James Mcphee via PLUG-discuss
When I'm actually an expert at the thing I ask chatGPT for, yeah, like an intern. It'll say something that will prompt me to go down some road or other, and I ignore the obviously wrong answers. When I'm an amateur at the thing, it sounds authoritative and I don't have the ability to know better.

Re: The end of programming (not the replacement of programmers)

2023-06-06 Thread James Mcphee via PLUG-discuss
Try copilot and see all the wonderful ways you've never thought of to make terrible code even if it passes tests. Programming the AI to write ok code is harder than writing the code right now. I'm all for the AI stuff. It's great as a convenient method to google, etc. And codefill is... eh. If

Re: Docker

2023-05-04 Thread James Mcphee via PLUG-discuss
It's avail on any redhat derivative that i've used. I actively use podman on Rocky. On Thu, May 4, 2023 at 9:58 AM Snyder, Alexander J via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Is podman free? I assumed it was locked up behind a rhel subscription > pay-wall. > -- > Thanks, >

Re: math.sqrt

2023-04-27 Thread James Mcphee via PLUG-discuss
the implementation of math.sqrt could take advantage of anything specific to **0.5, ,while **0.x would have to be a generalist library. a compiler optimization could be used, but there would be the SLIGHT overhead of figuring out if the optimization could be used. if the optimizer even does it.

Re: computer recomendations

2023-04-18 Thread James Mcphee via PLUG-discuss
just my 2 cents. 8 gig ram. 64 gig disk. something with few moving parts and a cpu that doesn't run hot. I run a pinebook w/ 4 gigs of ram and an arm chip, basically a tablet in laptop form. it's fine for interwebs (because arm, firefox chugs, but vivaldi is fiine. chrome is still 32 bit)

Re: BASH textbook for kids

2022-12-21 Thread James Mcphee via PLUG-discuss
Probably my favorite little tutorial on python is a byte of python https://python.swaroopch.com/ Though I do wish we had a good tutorial that taught good programming behaviors that wasn't ultra-specific to a task. On Wed, Dec 21, 2022 at 3:31 PM greg zegan via PLUG-discuss < plug-discuss@lists.ph

Re: Pretty-print a directory tree

2022-12-09 Thread James Mcphee via PLUG-discuss
https://stackoverflow.com/questions/9727673/list-directory-tree-structure-in-python On Fri, Dec 9, 2022 at 12:07 PM T Zack Crawford via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > The command utility `pass` has something looking almost exactly like this. > It's a password manager tha

Re: Special-Use Domain 'home.arpa.'

2022-11-23 Thread James Mcphee via PLUG-discuss
.local was given to multicast dns, which is a completely different protocol, unfortunately. i'd recommend a .admin or something like that. Whether you use an internal TLD or not, you're probably going to want to set up internal dns servers forwarding to the internet, but intercepting whatever doma

Re: old games

2022-10-03 Thread James Mcphee via PLUG-discuss
afaik, the only way to do this with apt is with a chroot. there's no equivalent to --relocate as there is in rpm. or you could rebuild the .deb's i guess. On Mon, Oct 3, 2022 at 12:35 PM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > what I meant by 'how do I install them

Re: What is mod_rewrite called when using NGINX?

2022-10-03 Thread James Mcphee via PLUG-discuss
nginx has some builtin rewrite stuff. it's not mod_rewrite, but it covers the most used examples. you can get a basic primer on nginx's site. https://www.nginx.com/blog/converting-apache-to-nginx-rewrite-rules/ On Mon, Oct 3, 2022 at 9:56 AM Keith Smith via PLUG-discuss < plug-discuss@lists.phxl

Re: Proprietary Subscription Software: was Photoshop

2022-08-30 Thread James Mcphee via PLUG-discuss
we're talking about the same thing in gaming. always online games means the game is going to go away at some point when the company shuts down the servers. that's baked into the idea. no longer will we be able to pull 20 y/o games out of the closet and play 'em. it makes sense to companies to d

Re: Why is PHP not a "real" language?

2022-08-28 Thread James Mcphee via PLUG-discuss
i think most of the "php isn't a programming language" is holdover from the days where you'd separate scripting from programming. back in ze day (but not too far back) you were billed per cycle and meg (or just had a very limited amount). control of data structures and instructions is paramount i

Re: Right now my computer is in the shop.

2022-08-27 Thread James Mcphee via PLUG-discuss
t 6:28 AM Michael via PLUG-discuss < > plug-discuss@lists.phxlinux.org> wrote: > >> wonderful. with breaking patches: is it fixed like the next day or is it >> usually later than that? >> >> On Sat, Aug 27, 2022 at 9:21 AM James Mcphee via PLUG-discuss < >

Re: Right now my computer is in the shop.

2022-08-27 Thread James Mcphee via PLUG-discuss
than that? > > On Sat, Aug 27, 2022 at 9:21 AM James Mcphee via PLUG-discuss < > plug-discuss@lists.phxlinux.org> wrote: > >> arch has probably the best community (and wiki) in the business. they >> also have a huge (and relatively simple) extended software library (

Re: Right now my computer is in the shop.

2022-08-27 Thread James Mcphee via PLUG-discuss
2 at 6:15 AM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > also, it was mentioned that arch has benefits. what are those? > > On Sat, Aug 27, 2022 at 9:12 AM Michael wrote: > >> thank yout for the advice. >> >> On Sat, Aug 27, 2022 at

Re: Right now my computer is in the shop.

2022-08-27 Thread James Mcphee via PLUG-discuss
, 2022 at 6:05 AM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > So do you recommend system d for a desktop? It assms you don't and then > you do. > > On Sat, Aug 27, 2022 at 8:44 AM James Mcphee via PLUG-discuss < > plug-discuss@lists.phxlinux.org&

Re: Right now my computer is in the shop.

2022-08-27 Thread James Mcphee via PLUG-discuss
two main reasons. one is ideological. the way systemd was put into the community rubbed a lot of people the wrong way. i won't get into the details, you can google for that whole war. no sense bringing it up again. two is simplicity. systemd is now over a million lines of code. to put that in

Re: Customize Apache2 directory list

2022-08-21 Thread James Mcphee via PLUG-discuss
If you're using the apache indexes page, you can add an IndexStyleSheet directive. https://httpd.apache.org/docs/2.4/mod/mod_autoindex.html#indexstylesheet On Sun, Aug 21, 2022 at 2:42 PM Jim via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I have a rapsberry pi as a server that among

Re: localhost

2021-10-09 Thread James Mcphee via PLUG-discuss
Regarding the original question of why the browser is saying "problem with address", what is the actual error? Name resolution, connection, cert, etc etc? Those friendly human readable errors leave too much open to interpretation. On Sat, Oct 9, 2021 at 11:59 AM Snyder, Alexander J via PLUG-disc

Re: strange to me auto completion error

2021-09-02 Thread James Mcphee via PLUG-discuss
do you have a file in that directory named "$LFS"? the backslash in your autocomplete means it's treating it as an escaped $ instead of a variable. On Thu, Sep 2, 2021 at 11:00 AM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > whenever I type rm $LFS/so it is replaced with

Re: multipass on unbuntu

2021-08-15 Thread James Mcphee via PLUG-discuss
gt; wrote: > > Thanks, it got me started in the right direction but I think I still have > a few miles to go. The answer is probably buried somewhere in the docs for > lxd, which is what multipass uses on linux. > > *Daniel P. Stasinski* > dan...@genericinbox.com > I 💛✞ >

Re: multipass on unbuntu

2021-08-13 Thread James Mcphee via PLUG-discuss
https://multipass.run/docs/networks-command/19542 you probably want to hook it up to the external switch On Fri, Aug 13, 2021 at 7:05 PM Daniel Stasinski via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > So I installed Ubuntu LTS and the mutipass VM manager but the virtual > servers a

Re: Adding myself into the Sudo-ers file...

2021-08-11 Thread James Mcphee via PLUG-discuss
the && you did didn't pass your sudo through. You'd need to do sudo dpkg -i ./whatever && sudo apt-get update. So that both dpkg-i AND apt-get get launched by sudo. On Wed, Aug 11, 2021 at 2:02 PM Snyder, Alexander J via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Login as root and

Re: Electrical costs to run a home web server

2021-07-21 Thread James Mcphee via PLUG-discuss
don't forget to factor in that a computer is a pretty efficient space heater. cost isn't all in power. a datacenter averages 40% of its costs (total costs) in cooling. I'm sure that doesn't translate well for homes, but something to keep in mind if you're trying to get numbers at this level. On

Re: Running/managing my own server

2021-07-11 Thread James Mcphee via PLUG-discuss
Just as general advice. Keep everything private, except the very minimum you need otherwise. Keep everything disposable, except for what you absolutely need to persist. Keep everything isolated, except exactly what communication you need. Doing this will take a LOT of learning about the systems

Re: Squid Proxy question

2021-06-22 Thread James Mcphee via PLUG-discuss
To avoid this confusion about squid, we call squid (in standard configuration) a forward proxy, and haproxy (or nginx, or apache w/ mod_proxy module) a reverse proxy. Based on what you described, you're probably looking for a reverse proxy with SNI awareness. SNI allows the reverse proxy to run d

Re: Tails OS

2021-06-09 Thread James Mcphee via PLUG-discuss
when automounter is acting up, i usually plug in the usb drive, dmesg to see what sd* it assigned it to, and manually mount On Wed, Jun 9, 2021 at 11:41 AM Dennis via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I want to get Tails on a usb drive. I went to the Tails website followed

Re: flash.keithsmithinternetmarketing.com

2021-06-09 Thread James Mcphee via PLUG-discuss
whois your domain. it'll list the authoritative dns servers On Wed, Jun 9, 2021 at 9:28 AM Keith Smith via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > I own the domain keithsmithinternetmarketing.com. It is not hosted. > About 7 years ago I ran a server at my home office with the h

Re: ISPConfig

2021-05-08 Thread James Mcphee via PLUG-discuss
ISPConfig is a web application so other people can host websites on your stuff. It's a fat stack to maintain, and as such will take much more time to work with than just standing up a webserver. If you're looking at learning ISPConfig, then there's no alternative. Things like it are cPanel and Ple

Re: Goodbye Fry's

2021-02-24 Thread James Mcphee via PLUG-discuss
A lot of good memories of walking down the fry's isles and making a project up on the fly. On Wed, Feb 24, 2021 at 4:13 PM Matthew Crews via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > On 2/24/21 2:08 PM, Aaron Jones via PLUG-discuss wrote: > > Finally. Good riddance. Their customer

Re: Auto Mounting External USB drives

2020-09-09 Thread James Mcphee via PLUG-discuss
autofs or udev rules would be your best bet. if you have an removable device in fstab, i'd recommend setting it to noauto and having something else mount it. On Wed, Sep 9, 2020 at 1:59 PM AZ Pete via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Hi all, > > I was finally able to do a

Re: partition size.

2020-07-10 Thread James Mcphee via PLUG-discuss
10 Jul 2020 11:30:12 -0700 > James Mcphee via PLUG-discuss wrote: > > > I generally go with 20 gigs for my homedir. but i make it an lvm > > partition, so i can grow it as needed. > > I don't use LVM because I try to limit layers of complexity. So what I > do is when

Re: partition size.

2020-07-10 Thread James Mcphee via PLUG-discuss
;m a making mine LVM too. does it increase size automatically or > what? > > On Fri, Jul 10, 2020 at 6:31 PM Michael wrote: > > > > thanks James > > > > On Fri, Jul 10, 2020 at 6:30 PM James Mcphee via PLUG-discuss > > wrote: > > > > > > I gene

Re: partition size.

2020-07-10 Thread James Mcphee via PLUG-discuss
I generally go with 20 gigs for my homedir. but i make it an lvm partition, so i can grow it as needed. On Fri, Jul 10, 2020 at 11:28 AM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > does 50,000 MB sound big enough? > > On Fri, Jul 10, 2020 at 6:22 PM Michael wrote: > > >

Re: wine temp files question ...

2020-04-24 Thread James Mcphee via PLUG-discuss
this is a paint shop prod question. it uses a configurable tmpdir to autosave and store undo stuffs. check out your paintshop prod docs for details. On Fri, Apr 24, 2020 at 11:58 AM Joe Lowder via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > Still hoping for an answer for this: > >

Re: buckling spring keyboards

2020-04-19 Thread James Mcphee via PLUG-discuss
I like my unicomp keyboards. On Sat, Apr 18, 2020 at 10:55 PM Donald Mac McCarthy via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > MX Cherry Greens as also a good choice for buckling spring keyboard > fans. I have a Das Keyboard 4 with the greens, and I love them. That > being said -