Re: [CentOS] how to install Cross compiling FFmpeg for Windows and build ffmpeg

2019-12-17 Thread John Pierce
On Tue, Dec 17, 2019 at 7:35 PM qw  wrote:

> Hi,
>
>
> I have one question:
>
>
> how to install Cross compiling FFmpeg for Windows and build windows
> version of ffmpeg on Centos 7?
>


Compiling native Windows apps on a Linux host would require a windows SDK
on linux, which isn't exactly normal stuff, as the Windows SDK is all
proprietary Microsoft stuff

hmm, this suggests you can do it with a MinGW cross building kit,
https://www.ffmpeg.org/platform.html#Cross-compilation-for-Windows-with-Linux-1


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS Net Install

2019-12-15 Thread John Pierce
On Sun, Dec 15, 2019 at 8:54 PM Mark LaPierre  wrote:

> On 2019-12-14 13:19, Orion Poplawski wrote:
> > On 12/13/19 8:12 PM, Mark LaPierre wrote:
> >> Is a Network Install ISO planed any time in the near future for CentOS
> >> 8?  I don't see it in the mirrors, but that might be a function of my
> >> poor searching abilities.
> >
> > Beware of https://bugs.centos.org/view.php?id=16456
> >
>
> Thanks for the heads up.  It it's not fixed by the time I'm ready to do
> my install on my new machine, some time early in 2020, I'll follow the
> advice offered on the bug tracker.


instead of network installs, I've more commonly done the minimal ISO then
installed the packages the deployment needs with yum (or dnf now).



-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel Panic: BUG: unable to handle kernel paging request at 0000000180200037 | pkla-check-auth

2019-12-03 Thread John Pierce
On Tue, Dec 3, 2019 at 10:57 AM Heath Nye 
wrote:

> please remove from from this list
>


at the bottom of every message is this link...
https://lists.centos.org/mailman/listinfo/centos

there's unsubscribe instructions on there.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] External HD partitioning & formatting considerations

2019-12-01 Thread John Pierce
On Sun, Dec 1, 2019 at 7:09 AM Nicolas Kovacs  wrote:

> Le 30/11/2019 à 21:50, John Pierce a écrit :
> > I strongly dislike moving removable disks between computers,
> > especially with differing operating systems.
> >
> > I would instead recommend getting/building a NAS aka file server and
> using
> > the network to share files, or make backups, or whatever.
>
> Hell is paved with good intentions (french saying).
>
> We already have OwnCloud running perfectly here.
>
> Except the machines are on different networks, and we don't want to upload
> a
> few terabytes of archives over a crappy internet connection. :o)
>

is there at least one machine on each LAN thats running the same OS ?   I'd
use that for the removable disk so its not moving between differing OS's.

-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] External HD partitioning & formatting considerations

2019-11-30 Thread John Pierce
I strongly dislike moving removable disks between computers,
especially with differing operating systems.

I would instead recommend getting/building a NAS aka file server and using
the network to share files, or make backups, or whatever.



On Sat, Nov 30, 2019 at 11:38 AM Pierre Emerald 
wrote:

> What about exfat ?
>
> 2019年11月30日(土) 18:10 Fred Smith :
>
> > On Sat, Nov 30, 2019 at 05:19:44PM +0100, Nicolas Kovacs wrote:
> > > Hi,
> > >
> > > One of my clients has a mixed Linux/Mac OS/Windows environment in his
> > office.
> > > He just purchased a 4 TB external hard disk, which he intends to use on
> > his
> > > various workstations.
> > >
> > > Up until recently, I've been using plain old MBR/FAT for hard disks in
> > mixed
> > > environments. Fire up fdisk, make one big 0b type partition, and then
> > format it
> > > using mkdosfs.
> > >
> > > Unfortunately, there's a 2 TB limit to that.
> > >
> > > Of course, I could still use a GPT partition, but then I'd still have
> to
> > format
> > > it using a "common denominator" filesystem, e. g. FAT... which is also
> > limited
> > > to 2 TB as far as I know.
> > >
> > > So what now? Use Windows 10 to format the disk using NTFS? This,
> Windows
> > and
> > > Linux could use it, and I'd have to check if Mac OS can manage NTFS
> file
> > > systems. A few years ago, it didn't.
> > >
> > > Any suggestions?
> >
> > Maybe UDF?
> >
> > --
> >
> >
> ---
> > Under no circumstances will I ever purchase anything offered to me as
> > the result of an unsolicited e-mail message. Nor will I forward chain
> > letters, petitions, mass mailings, or virus warnings to large numbers
> > of others. This is my contribution to the survival of the online
> > community.
> >  --Roger Ebert, December, 1996
> > - The Boulder Pledge
> > -
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgrade Centos 6 (32 Bits) to Centos 7 (32 Bits)

2019-11-27 Thread John Pierce
On Wed, Nov 27, 2019 at 6:31 AM Mauricio Tavares 
wrote:

> On Wed, Nov 27, 2019 at 9:18 AM Ger van Dijck 
> wrote:
> >
> > Hi all ,
> >
> >
> >
> >
> > I have a very old PC ( Acer2000) 32 Bits. On this machine I am running
> (Do
> > not laugh) SCO Unix in an antique version : So Centos6 probes with the
> > bootloader on this OS and other OS s.
> >
> >
> > Is there a way to opgrade Centos 6 to Centos 7 in the 32 Bits
> architecture
> > ?
> >
>   As far as I know, you cannot upgrade as you would with ubuntu
> but have to do a full install. 32 bit images for centos 7 are found at
> http://isoredirect.centos.org/altarch/7/isos/i386/


I googled it, and it appears an Acer 2000 is a Pentium-M 1.6 Ghz with 512MB
to 2GB max ram.   I would stick with whatever is working on it, or put it
out of its misery.

My suggestion would be a significantly newer system that supports
virtualization, and run your SCO and whatever in VMs rather than trying to
multi-boot.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] My ethernet is not listed in centOS 8 boot.iso

2019-11-24 Thread John Pierce
On Sun, Nov 24, 2019 at 12:00 AM Phil Perry  wrote:

> This list does not accept attachments. Please just post the relevant
> line for your ethernet device.


 or if you're not sure, paste the whole output inline in your message

something like

 # lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Hewlett-Packard Company Device 9602
00:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI
bridge (PCIE port 2)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI
Bridge (rev 42)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus
Controller (rev 42)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC
host controller (rev 42)
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:16.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Address Map
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Miscellaneous Control
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h
Processor Link Control
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h
Processor DRAM Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h
Processor HyperTransport Configuration
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
RS880M [Mobility Radeon HD 4225/4250]
02:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5723 Gigabit
Ethernet PCIe (rev 10)






-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] My ethernet is not listed in centOS 8 boot.iso

2019-11-23 Thread John Pierce
On Fri, Nov 22, 2019, 10:49 PM Ebed  wrote:

> Hi,
>
> Yesterday i tried to install centOS 8 on my little router and server, but
> there's no ethernet listed there. I'm using Compaq pressario V3737TU which
> come with Marvell PCI-e ethernet 100Mbps. It's an old laptop.
>

Indeed, that's a low end 12 yr old laptop, based on a core2 duo CPU, I'm
amazed C8 even boots on it.

>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread John Pierce
On Fri, Nov 22, 2019 at 6:16 AM Jerry Geis  wrote:

> Great thought to check the generated file.
> It looks OK.
>
> grep gmail sendmail.*
> sendmail.cf:DSsmtp-relay.gmail.com
> sendmail.cf.bak:DSsmtp-relay.gmail.com
> sendmail.mc:define(`SMART_HOST', `smtp-relay.gmail.com') dnl


maybe add a '.' to the end of the host name?  that prevents it from
applying assumed default domains to it

like this:

define(`SMART_HOST', `smtp-relay.gmail.com.') dnl
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] sendmail on Centos 7.7

2019-11-22 Thread John Pierce
and, of course...

$ host smtp-relay.gmail.com
smtp-relay.gmail.com has address 74.125.142.28
smtp-relay.gmail.com has IPv6 address 2607:f8b0:400e:c08::1c
$ whois 74.125.142.28
...

NetRange:   74.125.0.0 - 74.125.255.255
CIDR:   74.125.0.0/16
NetName:GOOGLE
NetHandle:  NET-74-125-0-0-1
Parent: NET74 (NET-74-0-0-0-0)
NetType:Direct Allocation
OriginAS:
Organization:   Google LLC (GOGL)
RegDate:2007-03-13
Updated:2012-02-24
Ref:https://rdap.arin.net/registry/ip/74.125.0.0

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Post-installation setup script for CentOS 7 servers

2019-11-18 Thread John Pierce
On Sun, Nov 17, 2019, 2:52 PM Nicolas Kovacs  wrote:

>
>
> Cheers & thanks for your detailed explanations. You've tickled my
> curiosity, so as soon as I finish writing my current Linux book (around
> X-mas I guess) I'll have a deeper look at all that stuff.
>


So you're writing a book on how Linux used to be?

>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 and DELL 7540 Intel AX200 WIFI

2019-10-25 Thread John Pierce
On Fri, Oct 25, 2019 at 6:50 PM David Summers 
wrote:

> .



> 70:00.0 Network controller [0280]: Intel Corporation Device [8086:2723]
> (rev 1a)
>
>
> I believe the Intel AX200 Wifi card is the device 8086:2723 (rev1a) entry.
>
>
> Is there something I can do to enable it or is this a bug I need to file
> with RedHat?
>
>
>
https://www.intel.com/content/www/us/en/support/articles/05511/network-and-i-o/wireless-networking.html

says that the AX200 is supported with Linux Kernel 5.1+, and the firmware
linked on that page.



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8: what changed (regular UNIX admin commands)?

2019-10-22 Thread John Pierce
The ip commands have been around since Centos 6 if not earlier.  you can do
things with them that you can't do with ifconfig, such as setup policy
routing rule sets..



On Tue, Oct 22, 2019 at 11:27 AM Stephen John Smoogen 
wrote:

> On Tue, 22 Oct 2019 at 14:11, David G. Miller  wrote:
> >
> > On 10/22/19 10:55 AM, Valeri Galtsev wrote:
> > > Hello Experts!
> > >
> > > I'm sure many of you run CentOS for some time already.
> > >
> > > My question is: is there some place that lists which of the most often
> > > used sysadmin commands are gone and what are replacements for them. Or
> > > what else one needs to do after successful installation. (in the past
> > > it was process accounting that was not enabled by default, but which
> > > gives you quite some handle in investigating compromise).
> > >
> > > I just tried quite ordinaly command of freshly installed CentOS 8:
> > >
> > > last
> > >
> > > and got an error:
> > >
> > > last: (default utx db): No such file or directory
> > >
> > > I realize that it could be just me, and I'll cope with that myself one
> > > way or another but this one prompted me to ask everybody: Is there
> > > anything I can read so I can learn what differenmt to expect on CentOS
> > > 8 from, say, CentOS 7?
> > >
> > > Thanks.
> > > Valeri
> > >
> > > 
> > > Valeri Galtsev
> > > Sr System Administrator
> > > Department of Astronomy and Astrophysics
> > > Kavli Institute for Cosmological Physics
> > > University of Chicago
> > > Phone: 773-702-4247
> > > 
> > > ___
> > > CentOS mailing list
> > > CentOS@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos
> > Saw your later response that the problem was solved but this is an
> > interesting question that deserves an answer (and not just what changed
> > in RHEL8).  As an example, I'm used to ifconfig and route but keep
> > getting reminded that these commands are now deprecated and "ip" should
> > be used instead.  Likewise for using dnf instead of yum, systemctl
>
> I think that the deprecation of ifconfig and route was started before
> RHEL-7 came out.. and yet I just can't get used to them.
>
> > instead of service, firewallcmd instead of iptables, etc. I wonder how
> > many shell scripts there are "out there" that folks have written or
> > accumulated over the years and which now need to be updated before
> > deprecated becomes no longer available?  Or, like using iptables instead
> > of firewallcmd, may cause something very different than what is expected.
> >
> > Anyone know of any resource out there that might provide such
> documentation?
> >
> > Cheers,
> > Dave
> >
> > --
> > "They that can give up essential liberty to obtain a little temporary
> safety deserve neither safety nor liberty."
> >
> > -- Benjamin Franklin
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
>
>
>
> --
> Stephen J Smoogen.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Livepatch: Linux kernel updates without rebooting

2019-10-09 Thread John Pierce
On Wed, Oct 9, 2019 at 11:27 AM Kaushal Shriyan 
wrote:

> Hi,
>
> I am running CentOS Linux release 7.7.1908 (Core). Does CentOS Linux kernel
> 3.10.0-1062.1.1.el7.x86_64 support kernel updates without rebooting (Live
> Patching)?
>
> I look forward to hearing from you and thanks in advance.
>
>
>
this was just discussed in length on this list a few days ago.   See the
thread starting here,
https://lists.centos.org/pipermail/centos/2019-October/173703.html

the short answer is, no.  and even the paid distributions that do support
live patching, its pretty iffy.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Centos & media codec

2019-10-08 Thread John Pierce
FWIW, of late, my favorite portable video player is Kodi (originally xbmc),
which is meant as a TV settop remote control friendly play-everything.
 I mostly run it on an Android settop box (NVidia Shield) attached to our
TV, but I know you can run it on most any linux.

-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 Broken Installation

2019-10-03 Thread John Pierce
The SCU in question is a *SAS* controller, so there's no AHCI mode, thats
for native SATA stuff, not for SAS stuff.



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 Broken Installation

2019-10-02 Thread John Pierce
On Wed, Oct 2, 2019 at 12:14 PM Günther J. Niederwimmer 
wrote:

> Hello,
>
> Is it a Plan to correct the Broken mdadm and or driver for Intel Chipset
> C602,
> my Server SuperMicro Board X9SRi-F have a Problem with the new C8 or RH8 ?
>
> With C7 I can install Centos with no Problem?
>
> Have any a workaround or is it planed a Update for this Problem
>

This is not a very specific problem report.   'a Problem' doesn't tell us
anything.   What exactly doesn't work?   since you mentioned mdadm, I'm
guessing you're having issues with SATA storage ?

does the motherboard have the latest BIOS? are the SATA controller(s) in
AHCI mode and not fake-RAID mode or legacy IDE emulation mode ?

are you using the native PCH connected SATA ports, or the SCU (SAS) SATA
ports?


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidGuard update in EPEL

2019-10-01 Thread John Pierce
On Tue, Oct 1, 2019 at 12:00 AM Tru Huynh  wrote:

>
> https://tracker.debian.org/pkg/squidguard
> 1.6.0 as of today :D


so where is that coming from ?


here's debian changelog on that package,
https://sources.debian.org/src/squidguard/1.6.0-1/CHANGELOG/


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SquidGuard update in EPEL

2019-10-01 Thread John Pierce
On Mon, Sep 30, 2019 at 10:26 PM Nicolas Kovacs  wrote:

> Le 30/09/2019 à 17:53, Gwaland a écrit :
> > looks like it was updated due to a segfault.
> > https://bugzilla.redhat.com/show_bug.cgi?id=1750550
> > https://bugzilla.redhat.com/show_bug.cgi?id=1253662
>
> Now I'm even more puzzled.
>
> Fedora and EPEL sport SquidGuard 1.4.36.
>
> Now when you search for "squidguard", this seems to be the project site:
>
>   * http://squidguard.org/index.html
>
> This page hasn't been updated in ages and sports the "NEW" version 1.3.
>
> So apparently the project has been developed somewhere under the radar.
>
>
> huh, wikipedia says 1.4 came out in Jan 2009, over 10 years ago.  yet it
says thats the official site...

debian has squidguard 1.5-5
https://packages.debian.org/source/stretch/squidguard

whoa, I even found a reference to a 1.5 source tar..gz on the squidguard
site, but its 404, the same directory only has 1.2 and 1.3.
I wonder if they got knocked offline and had to restore an archive or
something.  seems to be a mess.

-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to dump/restore a CentOS 7 system

2019-09-25 Thread John Pierce
On Wed, Sep 25, 2019, 10:20 AM mark  wrote:

>
> Someone mentioned commercial software - I've cloned systems, esp. compute
> nodes in a cluster - with rsync.


Problem with rsync clones, they are asynchronous each file is copied
separately so if the system is live and making changes, for instance a
database server, the copy is not coherent.

the ZFS file system is perfect for this stuff, you can snap shot and then
ZFS send the snapshot or a delta between that snapshot and a previous
snapshot and that creates a totally coherent copy made at a single point in
time atomically.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] why windows 10 can't access centos samba

2019-09-13 Thread John Pierce
On Fri, Sep 13, 2019 at 8:42 AM qw  wrote:

> windows 7 supports smb3. If centos's samba server suport smb3, how to make
> windows 10 support smb3 too?
>
>
>
with min_protocol=SMB3,windows 7 will use SMB3_00, while windows 10
will use SMB3_11 and everyone should be happy.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slideshow/presentation software for CentOS

2019-08-25 Thread John Pierce
There's a web / cloud package, Prezi, that does very nice presentations, it
has some cool features, like letting you create a non-linear presentation
that has branches/forks where you can dive into deeper detail or skip on
the fly...Its free to use if you don't mind your presentation being
'public', the paid version lets you make private presentations and also
includes an offline player

http://prezi.com ...


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Giving full administrator privileges through sudo on production systems

2019-08-16 Thread John Pierce
On Fri, Aug 16, 2019 at 8:39 PM Bagas Sanjaya  wrote:

> Why did you say it is wrong to give full admin privileges to random users?
>


$ sudo rm -rf /

$ sudo 

$ sudo cp /etc/{passwd,shadow} $home;   (run john-the-ripper against
passwd/shadow files).

etc etc etc.



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gem install reel on Centos 7

2019-08-05 Thread John Pierce
On Mon, Aug 5, 2019 at 5:01 AM Jerry Geis  wrote:

> Thanks John for the info... I did that and now I'm missing a file.
> I tried to ask yum what package I need - but It did not know.
>
>
> Building native extensions.  This could take a while...
> ERROR: Failed to build gem native extension.
>
> /opt/rh/rh-ruby22/root/usr/bin/ruby -r
> ./siteconf20190805-94063-1gebs0u.rb extconf.rb
> mkmf.rb can't find header files for ruby at
> /opt/rh/rh-ruby22/root/usr/share/include/ruby.h


most typically .h files are included in a -dev package, but I dunno about
this one.   googling rh-ruby22, I find, oops, its EOL, and replaced with
rh-ruby23

https://www.softwarecollections.org/en/scls/rhscl/rh-ruby23/

btw, with the SCL stuff, note the "scl enable rh-ruby23 bash" command, that
spawns you a shell with that packages directories in the path... that might
make this work. see that page for more details, including a gem run.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] browsers slowing Centos 7 installation to a crawl

2019-08-04 Thread John Pierce
On Sun, Aug 4, 2019 at 7:53 PM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> On Sun, 4 Aug 2019, John Pierce wrote:
>
> > are you running a name server on 192.168.0.1 ?   what that ipv6 address ?
>
> I expect that that is in the box with midco's router.
> Do not know about the ipv6 address.
> I was about to show to what I had changed resolv.conf,
> but something changed it back.  G.
> 
> Here is the current resolv.conf:
> > # Generated by NetworkManager
>
>
So you need to modify the source file that NetworkManager is using.
 somewhere in /etc/network or /etc/networking-scripts, a config file has
DNS0=192.168.0.1  or sokmething, or your system is getting that from DHCP

the web login on 192.168.0.1 is undoubtably your modem/router.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] gem install reel on Centos 7

2019-08-04 Thread John Pierce
On Sun, Aug 4, 2019 at 6:21 PM Jerry Geis  wrote:

> Hi - I installed ruby for something...
> The instructions said to also do the comand:
>
> gem install reel
> ERROR:  Error installing reel:
> timers requires Ruby version >= 2.2.1.
> [root@devgeis ~]# ruby --version
> ruby 2.0.0p648 (2015-12-16) [x86_64-linux]
>
> Not sure what to do. Wait for Centos 8? Thoughts? Thanks,
>
>
>

Install CentOS SCLo RH repository:
  yum install centos-release-scl-rh

Install rh-ruby22-ruby rpm package:
  yum install rh-ruby22-ruby

currently 2.2.9, I think.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] browsers slowing Centos 7 installation to a crawl

2019-08-04 Thread John Pierce
are you running a name server on 192.168.0.1 ?   what that ipv6 address ?


On Sun, Aug 4, 2019 at 3:53 PM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> On Sun, 4 Aug 2019, John Pierce wrote:
>
> > your DNS settings are in /etc/resolv.conf, just like every other unix
> > system since forever.
>
> Much to my surprise, I found this:
> # Generated by NetworkManager
> search midcoip.net
> nameserver 192.168.0.1
> nameserver 2001:48f8:3004:2ce:5a19:f8ff:fe9e:a4bc
>
> I doubt it's the source of my problems,
> but the second line looks like something midco did to me somehow.
> I have noticed a midco search when I wasn't expecting one.
> My problems predate midco.
>
> --
> Michael   henne...@web.cs.ndsu.nodak.edu
> "Sorry but your password must contain an uppercase letter, a number,
> a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
>   --
> someeecards
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] browsers slowing Centos 7 installation to a crawl

2019-08-04 Thread John Pierce
your DNS settings are in /etc/resolv.conf, just like every other unix
system since forever.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] browsers slowing Centos 7 installation to a crawl

2019-08-04 Thread John Pierce
On Sun, Aug 4, 2019 at 11:16 AM Michael Hennebry <
henne...@web.cs.ndsu.nodak.edu> wrote:

> On Sun, 4 Aug 2019, Frank Cox wrote:
>
> > What happens if you try browsing some websites with elinks?
>
> What is an elink?
>

elinks is a text mode browser,  as is links, and the venerable lynx




-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] odd network question

2019-08-01 Thread John Pierce
On Thu, Aug 1, 2019 at 8:53 PM Fred Smith 
wrote:

> 

reveals that of all the source addresses trying to poke at 48825,
> there are 193 unique addresses. Either this indicates a heck of a lot
> of sites having at my firewall, or that some few sites are all spoofing
> their addresses. I can sort of understand people whaling away at ports
> that may conceal gold, from their warped point of view, but I haven't a
> clue why so many people would be beating on some apparently unassigned
> and unused port.
>


distributed botnets  its all noise.




-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to increase DNS reliability?

2019-07-25 Thread John Pierce
On Thu, Jul 25, 2019 at 10:32 AM hw  wrote:

> I can't help it when the primary name server goes down because the UPS
> fails
> the self test and tells the server it has 2 minutes or so left in wich case
> the server figures it needs to shut down.  I wanted better UPSs ...
>

critical infrastructure servers should have redudant PSUs, on seperate UPSs.

my last rack builds, I had 2 Eaton PowerWare 7KVA 4U UPS's in the bottom of
each rack.  one fed the left side PDUs, the other fed the right side PDUs,
and each server had redundant PSU's, one plugged into each PDU.

those Eaton UPS's had hotswappable batteries, too.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to increase DNS reliability?

2019-07-25 Thread John Pierce
On Thu, Jul 25, 2019 at 11:00 AM Paul Heinlein  wrote:

> On Thu, 25 Jul 2019, hw wrote:
>
> > On 7/25/19 3:28 PM, Leroy Tennison wrote:
> >> If you don't want multiple DNS server entries on the client
> >
> > I'm ok with them, only the problem is that the clients take their
> timeouts
> > when a server is unreachable, and users panic.
>
> On Linux systems, you can set the timeout in /etc/resolv.conf, e.g.,...
>


Windows will 'rotate' the list of NS servers if the top one times out, so
next time it will use the first alternate and if that times out, it
will start using the next alternate, etc.


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Alternative to laptop

2019-07-10 Thread John Pierce
On Tue, Jul 9, 2019 at 11:55 PM Earl A Ramirez 
wrote:

> On Wed, 10 Jul 2019, 01:52 H,  wrote:
>
> > I am considering buying a small, and therefore easily portable, computer
> > as an alternative to the laptop I already have. Obviously it would not
> have
> > battery, a screen, nor a keyboard etc. but more or less be an easily
> > portable computing unit to move between offices where a keyboard and
> > monitor(s) could then be connected. I want to run CentOS 7, later CentOS
> 8.
> >
>
> At the top of my head I think the Intel NUC meets your expectations.



a NUC is a compact low power desktop.but it still needs a screen and a
keyboard/mouse, etc.


I use a 8" highres tablet running android for my ultra-portable
applications ...  Its been awhile since I"ve needed more in hte field.


My current Huawei M3 tablet runs SkySafari Pro nicely with the maximum
database and doesn't crash if a few more apps are active.  high res 8"
screen suits me perfectly for my star charts



>
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] raid 5 install

2019-06-29 Thread John Pierce
>
>
>
IMHO, Hardware raid primarily exists because of Microsoft Windows and
VMware esxi, neither of which have good native storage management.

Because of this, it's fairly hard to order a major brand (HP, Dell, etc)
server without raid cards.

Raid cards do have the performance boost of nonvolatile write back cache.
 Newer/better cards use supercap flash for this, so battery life is no
longer an issue

That said, make my Unix boxes zfs or mdraid+xfs on jbod for all the reasons
previously given.



>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zfs

2019-06-14 Thread John Pierce
try, zpool replace export1 sdb sdl

but it says the spare is already in use, so I'm not sure why the resilver
isn't already in progress.   you might have to remove sdl from the spares
list before you can use it in a replace.

On Fri, Jun 14, 2019 at 9:03 AM mark  wrote:

> Hi, folks,
>
>testing zfs. I'd created a zpoolz2, ran a large backup onto it. Then I
> pulled one drive (11-drive, one hot spare pool), and it resilvered with
> the hot spare.  zpool status -x shows me
>  state: DEGRADED
> status: One or more devices could not be used because the label is missing
> or
> invalid.  Sufficient replicas exist for the pool to continue
> functioning in a degraded state.
> action: Replace the device using 'zpool replace'.
>see: http://zfsonlinux.org/msg/ZFS-8000-4J
>   scan: resilvered 1.91T in 29h33m with 0 errors on Tue Jun 11 15:45:59
> 2019
> config:
>
> NAME STATE READ WRITE CKSUM
> export1  DEGRADED 0 0 0
>   raidz2-0   DEGRADED 0 0 0
> sda  ONLINE   0 0 0
> spare-1  DEGRADED 0 0 0
>   sdbUNAVAIL  0 0 0
>   sdlONLINE   0 0 0
> sdc  ONLINE   0 0 0
> sdd  ONLINE   0 0 0
> sde  ONLINE   0 0 0
> sdf  ONLINE   0 0 0
> sdg  ONLINE   0 0 0
> sdh  ONLINE   0 0 0
> sdi  ONLINE   0 0 0
> sdj  ONLINE   0 0 0
> sdk  ONLINE   0 0 0
> spares
>   sdlINUSE currently in use
>
> but when I try zpool replace export1 /dev/sdb1, it says, nope,
> invalid vdev specification
> use '-f' to override the following errors:
> /dev/sdb1 is part of active pool 'export1'
>
> Any idea what I'm doing wrong?
>
>  mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to find out the number of updates for a system

2019-05-22 Thread John Pierce
On Wed, May 22, 2019 at 7:49 AM Chris Adams  wrote:

> Once upon a time, mark  said:
> > Ralf Prengel wrote:
> > > Hallo,
> > > I need the information how many updates are available for a system.
> > > What is the best way to find it out in a one line bash script.
> > >
> > yum check-update, perhaps?
>
> Note that "yum check-update" or "yum list updates" won't tell you how
> many packages would be installed with "yum update"... dependencies and
> such are not resolved for check-update/list updates.



otoh, its pretty rare that an update has a new dependency...if the
package is installed, its existing dependencies are also installed, and if
they have updates, check-update would show them all, would it not?



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] is 'list_del corruption' fix available in Centos ?

2019-05-17 Thread John Pierce
Reading the FAQ on Stratis, it appears to be a modified XFS file system
that pools freespace, but also appears to be a long LONG ways from being
something I'd do anything with other than poke at in a lab.



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] where to find wifi driver

2019-05-14 Thread John Pierce
On Tue, May 14, 2019, 9:33 PM qw  wrote:

> which wifi adapter does centos 7.4 support?
>


It's CentOS 7.   4 was just a roll-up update from a couple years ago, you
should run "yum update" to stay current.

>

Could Centos give a list of those supported wifi adapters?
>

That would be the rhel 7 hardware compatibility list.   Sadly, they don't
sort it by device type so it can be ungainly to search.

>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] RHEL 8 released

2019-05-07 Thread John Pierce
On Tue, May 7, 2019 at 10:59 AM Marko Vojinovic  wrote:

>
> Which Fedora release was used as a base(*) for RHEL 8?




>
>

Wikipedia says, "Red Hat Enterprise Linux 8 is based on Fedora 28
,
upstream Linux
kernel  4.18, systemd
 239, and GNOME 3.28."


-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Permissions on nginx logs

2019-05-03 Thread John Pierce
Add group nginx to your user...   usermod -G nginx,... username
(Where  Is any other groups you're a member of, not counting your
primary group)

On Fri, May 3, 2019, 3:03 PM Bee.Lists  wrote:

> Hi folks.
>
> Just wondering if I can change the ownership on the nginx logs folder so I
> can access them easier for analysis on a regular basis and cronjobs.
>
> /var/log/nginx is owned by nginx:nginx which shuts me out.
>
>
> Cheers, Bee
>
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


<    1   2