Re: [CentOS] Ruby on Cent OS 8

2021-11-15 Thread Karl Vogel
>> In an earlier message, Gionatan Danti said:

G> The only thing stopping my adoption [of Oracle Linux] is Oracle
G> "the company".

I've been using Oracle Linux in production for several years, ever
since 6.8 came out -- it was easier at my job (US Air Force contractor).
I never had problems with an installation, I was never asked any annoying
questions when downloading the ISO, and I'm using 7.9 on my backup server
at home.

I might replace my home version, but only because I'm curious about
other distributions, plus 7.9 would only fit on a double-sided DVD.
(Yeah, I know all the cool kids use flash drives -- I'm old.)

G> But, maybe, it is an irrational fear...

   An "irrational fear" of Oracle the company is a contradiction in terms.

--
Karl Vogel / vogelke AT pobox.com / I don't speak for anyone at the moment

We needed a new capital anyway.  On a side note, would you Brits
mind doing that for us again?--War of 1812 comment, Spiceworks
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is Oracle a real alternative to Centos?

2020-12-09 Thread Karl Vogel
>> On Tue, 08 Dec 2020 12:54:32 -0500,
>> Frank Cox  might just possibly have said:

F> Is Oracle a real alternative to Centos?  I'm asking because genuinely
F> don't know; I've never paid any attention to Oracle's Linux offering
F> before now.

I've used Unix/Linux at Wright-Patterson AFB, USA since 1988 -- this
includes Solaris starting at 2.5.1 up to 11, FreeBSD, and Linux.  I used
CentOS for several years and I'm a refugee simply because it was easier
to get something containing the name "Oracle" approved for use on base.
(All the stupid sh*t you've heard about gov't procurement is true.)

I *despise* Oracle the company, but I ran Oracle Linux as both a server
for an Oracle DB and as my workstation starting Jan 2018 after a drive
failure knocked my machine out of the park.  Occasionally I had to dork
around looking for a source RPM, but other than that I was fine with it.
You use "yum" like anywhere else.

FWIW, my 6.10 installation had this in /etc/redhat-release:
Red Hat Enterprise Linux Server release 6.10 (Santiago)

Go to https://linux.oracle.com/switch/centos/, poke around a bit, and you
end up here:
https://yum.oracle.com/oracle-linux-downloads.html

I just went to the ISO page and I can grab whatever I like without signing
up for anything, so nothing's changed since I first used it.

I use FreeBSD on my home systems to avoid precisely this kind of crap,
so this is *NOT* a recommendation for Oracle in general -- be ready for
them to change the rules at any time.

Finally, I've been on this list for many years -- Johnny H. is the most
responsive and least arrogant person I've ever seen, so please don't pee
in his Wheaties.

--
Karl Vogel / vogelke AT pobox.com / I don't speak for the USAF or any company

Mangled song lyric: I can't climb this ceiling any more.
Actual lyric: I can't fight this feeling anymore.  (REO Speedwagon)
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] GnuPG 2.0.16?

2018-04-02 Thread Karl Vogel
>> On Thu, 29 Mar 2018 10:53:05 -0700,
>> Kay Schenk <kay.sch...@gmail.com> said:

K> Does anyone know where I can find GnuPG 2.0.16 for CentOS 6.9 32-bit?

   Do you want something that old?  2.0.17 came out in 2011.  I run
   Oracle Linux 6.9 (basically RHEL without the trademarks) -- if you're
   comfortable building from source, GnuPG-2.2.5 wasn't hard.  This is
   what I did:

   Download files:

 site='https://gnupg.org/ftp/gcrypt'

 curl $site/libassuan/libassuan-2.5.1.tar.bz2
 curl $site/libassuan/libassuan-2.5.1.tar.bz2.sig
 curl $site/libgcrypt/libgcrypt-1.8.2.tar.bz2
 curl $site/libgcrypt/libgcrypt-1.8.2.tar.bz2.sig
 curl $site/libgpg-error/libgpg-error-1.28.tar.bz2
 curl $site/libgpg-error/libgpg-error-1.28.tar.bz2.sig
 curl $site/libksba/libksba-1.3.5.tar.bz2
 curl $site/libksba/libksba-1.3.5.tar.bz2.sig
 curl $site/npth/npth-1.5.tar.bz2
 curl $site/npth/npth-1.5.tar.bz2.sig
 curl $site/gnupg/gnupg-2.2.5.tar.bz2
 curl $site/gnupg/gnupg-2.2.5.tar.bz2.sig

   Check the tarballs against GPG signatures and unpack.

   Build libraries first:

 export CC=gcc
 export CXX=g++
 export CFLAGS=-O2
 export LDFLAGS="-L/usr/local/lib"
 export CPPFLAGS="-I/usr/local/include"
 dest=/usr/local

 cd /path/to/libassuan-source
 ./configure --prefix=$dest --mandir=$dest/man
 make && make check && make install && make clean

 cd /path/to/libgcrypt-source
 ./configure --prefix=$dest --mandir=$dest/man
 make && make check && make install && make clean

 cd /path/to/libgpg-error-source
 ./configure --prefix=$dest --mandir=$dest/man
 make && make check && make install && make clean

 cd /path/to/libksba-source
 ./configure --prefix=$dest --mandir=$dest/man
 make && make check && make install && make clean

 cd /path/to/npth-source
 ./configure --prefix=$dest --mandir=$dest/man
 make && make check && make install && make clean

   Build gnupg -- this was more interesting because I needed the realtime
   library (librt) as well as a local ncurses library (libncursesw)
   to make readline stuff work.  You may not need this, depending on
   how your libraries are set up:

 export CC=gcc
 export CXX=g++
 export CFLAGS=-O2
 export LDFLAGS="-L/usr/local/lib -L/usr/lib64"
 export LIBS="-lreadline -lncursesw -lrt"
 export CPPFLAGS="-I/usr/local/include"
 dest=/usr/local

 cd /path/to/gnupg-source
 ./configure --prefix=$dest --mandir=$dest/man

   [change config.h to hold "#undef HAVE_INOTIFY_INIT" unless
   you have a very recent release of inotify sources]

 make && make check && make install && make clean

   It's a little tedious but it works.

--
Karl Vogel / vogelke+u...@pobox.com / I don't speak for the USAF or my company

About as useful as telling Indiana Jones to look both ways
before crossing the street.  --comment about Amazon IT documentation
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6, lightweight window managers - opinions?

2017-11-08 Thread Karl Vogel
>> On 11/07/2017 10:37 AM, m.r...@5-cent.us wrote:

> So, on my old Netbook, now happily running C6.9, I'm looking for
> opinions for a lightweight window manager. Gnome surely ain't it

  I'd've been happy to stay with Gnome if whoever wrote metacity hadn't
  broken the function-key mappings.  I use FVWM on Oracle Linux 6.9:

USER   RSS   STARTED   TIME COMMAND
vogelke160Oct-30   0:00 /usr/local/libexec/fvwm/2.6.7/Fvwm
vogelke   4248Oct-30   0:03 /usr/local/libexec/fvwm/2.6.7/Fvwm
vogelke   5728Oct-03   1:32 fvwm -s

  Can't get much lighter than that.

-- 
Karl Vogel  I don't speak for the USAF or my company

Next time it could be me on the scaffolding.
--written on blackboard by Bart Simpson
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postfix mail server

2012-09-17 Thread Karl Vogel
 On Thu, Sep 13, 2012 at 11:05 PM, jitenjh...@googlemail.com wrote:
J I want to create database for stores mail and users there.

 On Mon, 17 Sep 2012 11:02:11 -0500, lesmikes...@gmail.com replied:
L I think you would need 3rd party software to put the mail store in a
L mysql or postgresql database.

   If you want a list of good reasons to NOT use a database for email,
   have a look at
 http://www.memoryhole.net/~kyle/databaseemail.html

-- 
Karl Vogel  I don't speak for the USAF or my company

The little boat gently drifted across the pond exactly the way a bowling
ball wouldn't. --bizarre expressions found in English papers
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] postfix mail server

2012-09-17 Thread Karl Vogel
 On Mon, 17 Sep 2012 20:57:25 +0200, 
 Reindl Harald h.rei...@thelounge.net said:

R point 3 [Backup must be easy] is bullshit.  have fun tar/rsync
R maildir/mbox CONSISTENT while the server is up.  nothing easier than
R that with database-replication.

   Backing up maildirs doesn't require any downtime because a maildir is
   atomic in every way that matters.  It uses filename and location to
   indicate message status.  If you want to back up *live* Maildir folders,
   either one of these will do:
   
 http://code.google.com/p/maildirsync/
 http://syncmaildir.sourceforge.net/

   Unless your users are in the habit of editing messages, Maildir files
   don't get modified; they're created, renamed and deleted.  When users do
   edit messages, the mail client normally creates a new one and deletes
   the old one.  As a result, rsync isn't the most efficient way to sync
   maildirs -- when status changes occur, rsync sees that a new file exists
   and an old one is gone.  It doesn't know that the file was renamed.
   
   The only real issue when backing up a Maildir using tar/rsync is speed.
   Neither method is great when backing up a large number of small files, as
   many people have observed in the past.  Common workarounds:
   
   * using dump/restore (requires a quiescent filesystem), or
   * using tar/scp for the first Maildir backup and using rsync afterwards.
   
   All you need for this case is an SMTP server that understands Maildirs.
   Contrast this with an RDB, where you absolutely need consistent and quiet
   files to do a successful backup.  If you want DB replication, then you need:
   
   * an SMTP server, plus
   * an RDB on the mailserver, plus
   * a replica of the DB on another server.
   
   Which setup is easier to create and maintain?

-- 
Karl Vogel  I don't speak for the USAF or my company

She made me a mix tape called Sorry I Barfed On Your Comforter.
 --Jimmy Fallon, #thatsmyroommate tweets, 14 Sep 2012
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] ssh_exchange_identification: Connection closed by remote host

2012-09-14 Thread Karl Vogel
 On Fri, 14 Sep 2012 17:09:46 +0200 (CEST), 
 M. Fioretti mfiore...@nexaima.net said:

M Yesterday I completed (fingers crossed) the switch to a different ADSL
M provider. From the moment I turned on the modem on the new ADSL line, I
M became unable to ssh into server A. All attempts abort with this
M message:
Mssh_exchange_identification: Connection closed by remote host

   This is in the grasping at straws category, but have you tried
   connecting with a different cipher, like blowfish or 3des-cbc?

   If/as/when you get access to the server, can you disable TCP checksum
   offloading?

   root# ethtool -K eth0 tx off rx off
   root# ethtool -t eth0 offline # adapter self-test

-- 
Karl Vogel  I don't speak for the USAF or my company
A sum of accountants --collective nouns, June 1999 LINGUIST
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] su path hard coded?

2012-07-24 Thread Karl Vogel
 On 07/24/12 4:33 PM, Stephen Harris wrote:
S I want the ability to set the default path.  That's all.

 On Tue, Jul 24, 2012 at 04:43:54PM -0700, John R Pierce wrote:
J set it in /etc/profile then.  that gets run on su -l $someuser

 On Tue, 24 Jul 2012 19:53:23 -0400, Stephen Harris wrote:
S Who says all my users run /bin/sh or /bin/bash as their shell?  Do I
S need to need to handle /etc/csh.login?  And what about non-standard
S shells?

   It sounds like your best bet would be to change the source for su, and
   just be prepared to reinstall it if/when yum (or whatever) replaces it.

   Being able to specify the default PATH without having to mess with shell
   setup files is a nice feature; Solaris allows you to do this by providing
   an /etc/default/su file to set the PATH plus other things like whether you
   want to use syslog for access logging, etc.

   Why not change the production version to use (say) /etc/sysconfig/su for
   the default PATH?  This way any admin can tweak su behavior to suit
   themselves without messing with the code, especially critical code like
   this.

-- 
Karl Vogel  I don't speak for the USAF or my company

Linus Torvalds takes one look at your desktop and knows which p*rn sites
you visited.  In the last ten years.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Universal server hardware platform - which to choose?

2012-06-26 Thread Karl Vogel
 John R Pierce wrote:

J The SuperMicro Intel stuff seems just fine.  I'd be more leary of AMD.

 On Tue, 26 Jun 2012 13:39:06 -0400, m.r...@5-cent.us said:

M We've had a number of servers fail, and it *seems* to be related to the
M motherboard.  In fact, I just got the pass, and asked the secretary to
M call Fed Ex today to ship another one back to the vendor.

   Second that.  We bought three servers, and two failed due to motherboard
   problems.  A third one has performed beautifully for around 5 years.

   We had warranty support, but not directly from SuperMicro.  The reseller
   didn't return our calls, and after a short time their phone was disconnected
   because they went bankrupt.  No more warranty for us, too bad, so sad.

   Another thing to consider is the BIOS software; it was old when we bought
   the server, too old to handle drives  1Tb 18 months after said drives
   had hit the market.

   I'd also second the don't buy Sun/Oracle recommendation.  Oracle isn't
   interested in anything but Fortune 50 business, and it shows.

-- 
Karl Vogel  I don't speak for the USAF or my company

Linus Torvalds surfs the web using nothing but netcat.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] rhel/centos alternative to logwatch?

2012-04-13 Thread Karl Vogel
 On Thu, 12 Apr 2012 12:13:14 +0200, 
 Tilman Schmidt t.schm...@phoenixsoftware.de said:

T The most frequent reason for a lot of unmatched entries showing up is
T that the corresponding logwatch script is out of date wrt the program
T whose log is being watched. Program maintainers tend to change the
T wording of messages on a whim, and the logwatch scripts need to be
T updated to keep up with them. So yes, there is a constant need to update
T logwatch, specifically its scripts.

   I found the checksyslog setup easier to understand and modify.
   http://www.hcst.net/~vogelke/src/logfiles/ has some examples.

-- 
Karl Vogel  I don't speak for the USAF or my company
Mr. Rogers was an ordained minister.--item for a lull in conversation
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Need to split long lines in mail archives

2012-04-09 Thread Karl Vogel
 On Mon, 9 Apr 2012 13:09:59 -0400, 
 James B. Byrne byrn...@harte-lyne.ca said:

J I am investigating how to split long lines present in a Mailman
J generated html archives.  Mailman places the email bodies within
J pre/pre tags and some users have MUAs that send entire paragraphs as
J one long line.

   A Perl module called Text::Format is perfect for this.  Could you post
   (or send) a link to a Mailman-generated HTML archive that has the
   problem you describe?  Then I can show a before-and-after along with a
   script that'll at least give you a starting point.

-- 
Karl Vogel  I don't speak for the USAF or my company

You know you're addicted to the Internet when your phone bill comes to
your door in a box.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] your advice on backup procedure

2012-03-25 Thread Karl Vogel
 On Sat, 24 Mar 2012 09:48:15 -0400, 
 Bob Hoffman b...@bobhoffman.com said:

B When I figure this out, perfectly, I should post it all so others can
B have a backup solution. I have over 40 linux books and not one really
B goes into backups. They mention them, but no working examples of merit.

   Backup  Recovery: Inexpensive Backup Solutions for Open Systems
   W. Curtis Preston
   Paperback: 768 pages
   Publisher: O'Reilly Media; 1 edition (January 10, 2007)
   ISBN-10: 0596102461
   ISBN-13: 978-0596102463

   Taken from the book description:
 
   * Covers tar, dump, cpio, ntbackup, ditto, and rsync.
 
   * Explains several open source backup products that automate backups using
 those utilities, including AMANDA, Bacula, BackupPC, rdiff-backup, and
 rsnapshot.
 
   * How to perform bare metal recovery of AIX, HP-UX, Linux, Mac OS, Solaris,
 VMWare,  Windows systems using freely-available utilities.
 
   * How to automate DB2, Exchange, MySQL, Oracle, PostgreSQL, SQL-Server,
 and Sybase backups without using a commercial backup product.
 
-- 
Karl Vogel  I don't speak for the USAF or my company

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


Re: [CentOS] your advice on backup procedure

2012-03-23 Thread Karl Vogel
 On Fri, 23 Mar 2012 20:19:41 -0400, 
 Bob Hoffman b...@bobhoffman.com said:

B I am down to my last hurdle of my project, backups.  Not asking for 'how
B to' but more of 'what is best in your experience'.

   Some questions:

   * What's the hardest stuff for you to recreate?  I'd have that on both
 DVD and something network-accessible.

   * What's your biggest PITA problem (for me, it would be bare-metal restore)
 vs. your most likely one (I'd assume loss of a MySQL table or a VM)?
 You mentioned being able to rebuild the host quickly, so if the bare-metal
 thing isn't a big problem, concentrate on the VMs instead.

   * What are your priorities?  If it's speed of the restore, and you have
 the IO/network bandwidth and room, then do like another poster said
 and rsync the VM files after shutting them down.  If it's more like
 history where you want to go back in time to lots of versions, something
 finer-grained would be in order.

B The scenario...  centos server acting as a virtual host. Virtual
B machines are webservers and dns servers. All on one machine, all running
B centos 6.  Virtual machines are kvm, sitting in lvm storage.  What I
B want to do..  auto backups of the virtual machines to be stored on the
B virtual host's extra drives for later download to my home computer.

   Your VMs sound like they start out identical, and then you add stuff to
   specialize each one.  If so, I'd keep these backups:

   a. one generic bare-bones VM that can be installed with as few commands
  as possible.
   b. each change-set you use to specialize for basic DNS, web, etc.
   c. smaller groups of individual files like DB schemas, web content,
  mailboxes, etc.

   This way, any given restore breaks down to (a) plus (one or more b) plus
   (whatever's appropriate from c).  When you get to the individual file
   backups within a VM, something like this might be all you need:

  # cd /
  # find . -depth -type f -newer /etc/BKUP -print | pax -x cpio -wd | 
 gzip -c  /path/to/$(date '+%Y/%m%d/%H%M').pax.gz
  # touch /etc/BKUP

B 1- Amanda. I do not know much about it or how it would deal with mysql
B databases, but it look promising.

   I set it up once, but it wasn't a close enough match to what we needed
   for me to craft an entire backup strategy around it.  It's not a trivial
   thing to install or run, so you'll be spending time finding out how Amanda
   wants to do things and matching that to your goals.

B 2- rsync - some kind of rsync going from the host to each machine,
B putting it on the host's backup drives.

   That's what I use at work, but we're closer to the networked fileservers
   with remote shares setup.  I use the find/pax/touch setup above to handle
   hourly backups for 800-1000 users, and they're happy little campers when
   they find out the spreadsheet they created at 6am and mangled around noon
   isn't completely gone.

-- 
Karl Vogel  I don't speak for the USAF or my company

Texted a friend meaning to ask if she was busy.
Me: Are you busty?  Her: They're manageable, what's up?
 --Jimmy Fallon, #textingdisaster tweets, 13 Jan 2012
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos