[CentOS] upgrading from CentOS 7 to 8

2019-10-01 Thread KM via CentOS
I searched a bit to see if there is a way to upgrade from CentOS 7 directly to 
CentOS 8.  I found RHEL instructions but not CentOS.   Although they probably 
should be/would be similar, the instructions I found enable a rhel repository 
to get the leap command, which I can't seem to do in CentOS.

Does anyone know if you can do an upgrade yet.  I know they had been working on 
it in the past.

also - when they say upgrade (for example on the rhel pages), is it in place 
meaning I can leave my files/data there, or is it strictly a way of installing 
the OS that is going to wipe out my files?

Thanks in advance.
KM
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] [Solved]:Re: netmask set with ifconfig doesn't hold

2019-03-14 Thread KM via CentOS
 BTW - that seemed to work, thanks.   putting /18 changed the netmask as i 
wanted.  I see that the PREFIX value in the corresponding ifcfg- file 
changes accordingly also.
thanks againK
On Thursday, March 14, 2019, 11:58:57 AM EDT, Pete Biggs 
 wrote:  
 
 On Thu, 2019-03-14 at 15:42 +, KM via CentOS wrote:
>  I should have mentioned that I tried nmtui but found no settings for
> a netmask anywhere.  like I said …. dummy.

It's part of the IP address - so you put something like 

  192.168.0.1/24

for a 255.255.255.0 subnet.  It's called a CIDR address.

P.


___
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


Re: [CentOS] netmask set with ifconfig doesn't hold

2019-03-14 Thread KM via CentOS
 I should have mentioned that I tried nmtui but found no settings for a netmask 
anywhere.  like I said …. dummy.KM
On Thursday, March 14, 2019, 11:39:09 AM EDT, Pete Biggs 
 wrote:  
 
 On Thu, 2019-03-14 at 15:12 +, KM via CentOS wrote:
> I gather that ifconfig is a way of setting the netmask in the current
> shell instead of a persistent value.  I say this because I am running
> it and see it for my specific network interface, directly after
> running it.
> However if I restart the network service the netmask is reverted to
> the previous value.
> What is the correct way to set the new netmask for the network
> interface to make it persistent.  

CentOS 6 & 7 use network manager to control the interfaces.  Probably
the easiest way to edit a connection for inexperienced users from the
command line is 'nmtui'.

You can also use 'nmcli' from the command line, but you have to craft
the command yourself and it can get quite involved if you don't know
what you are doing.

You may need to restart the network to pick up the new config after
editing it.

P.

___
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


[CentOS] netmask set with ifconfig doesn't hold

2019-03-14 Thread KM via CentOS
I gather that ifconfig is a way of setting the netmask in the current shell 
instead of a persistent value.  I say this because I am running it and see it 
for my specific network interface, directly after running it.
However if I restart the network service the netmask is reverted to the 
previous value.
What is the correct way to set the new netmask for the network interface to 
make it persistent.  
if it's different for CentOS 6 and 7 I'd like to know that too.
FYI - I tried searching about this but none of the info has really helped so 
far.  Also consider this like "changing netmask for dummies" since I am not an 
administrator and am just searching and trying these things.
Thanks very much in advance.KM
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 7 bash perhaps off topic

2018-11-26 Thread KM via CentOS
 So you are saying that the actual "while read line do ….. done …." is what is 
failing?Try sending the output of the smwebsocket "$URL" | grep Location so we 
may see what is being passed to the while read line.
Additionally you could use sh -x to execute it and it may show something.
You could send the code exactly also.K
On ‎Monday‎, ‎November‎ ‎26‎, ‎2018‎ ‎03‎:‎11‎:‎14‎ ‎PM‎ ‎EST, Jerry Geis 
 wrote:  
 
 hi all,

I have a small script that seems to be exiting and hitting the sleep 60...
The smwebsocket just connects to the web socket provided and outputs the
data. This works manually.

the myprogram just opens a database and writes the line...

My desire is to run the smwebsocket, connect to the websocket and output
the data (line by line) when we get a line that matches Location take that
line and output to the database. Seems simple. I desire this to keep the
connection alive and just continue to read data and grep on the data etc...
if smwebsocket does exit, sleep 60 and reconnect.

However it seems to be exiting and running the sleep 60. Am I missing
something ?

while [ 1 ]
                do
                        smwebsocket "$URL" | grep Location | while read line
                        do
                                myprogram -data "$line"
                        done

                sleep 60
                Reconnecting...
                done

All the pieces work - just not the actual running.  What am I missing?

Jerry
___
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


[CentOS] Using InstallAnywhere with CentOS? ... anyone

2018-08-21 Thread KM via CentOS
Hi All,I was wondering if anyone else uses InstallAnywhere to create a 
multi-platform installer for their products. My company does.  However we have 
an official build server that is running CentOS, obviously because it is 
opensource and easy to update etc.  However after we converted our build from 
an old RedHat 5 server to CentOS and were using InstallAnywhere we found out 
that it is not officially supported on CentOS but is officially supported on 
RedHat.
This doesn't really make any sense to me since they are the same (or virtually 
the same).  I guess it has to do with the amount of time a company wants to 
spend testing products on different platforms.
All this being said,  the main reason for this email is to encourage anyone 
using InstallAnywhere on CentOS for the designer and build functionality, to 
request that Flexera support CentOS officially.  I only want this in case we 
have specific issues that arise due to the platform.  Although it is true the 
RedHat users will most likely see the same results, it would be beneficial to 
have official support. 
Note that CentOS is support as a runtime or production execution platform.  I 
am speaking mainly of the build and design functionality.  Please also note 
that Flexera has not refused to help me with any of my issues so far. They have 
been great, but these issues are not OS related, they had to do with the use of 
their product.
Thanks in advance for any help that you may give.KM
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos