Search found 30817 matches

by TrevorH
2021/09/23 14:19:17
Forum: CentOS 7 - General Support
Topic: How many nameserver can be added to /etc/resolve.con
Replies: 3
Views: 102

Re: How many nameserver can be added to /etc/resolve.con

man resolv.conf nameserver Name server IP address Internet address of a name server that the resolver should query, either an IPv4 address (in dot notation), or an IPv6 address in colon (and possibly dot) notation as per RFC 2373. Up to MAXNS (currently 3, see <resolv.h>) name servers may be listed...
by TrevorH
2021/09/23 08:38:46
Forum: CentOS 6 - General Support
Topic: Old Website mod_ssl problem
Replies: 2
Views: 87

Re: Old Website mod_ssl problem

You really do need to get off CentOS 6 ASAP. It went EOL nearly a year ago and there are already high severity vulnerabilities discovered that allow root compromise. Those will never be fixed. At the very least you should update to the latest CentOS 6 that there is, 6.10 plus all subsequent fixes re...
by TrevorH
2021/09/22 17:33:01
Forum: CentOS 8 - General Support
Topic: upgrade CentOS 8 - 8.1
Replies: 3
Views: 152

Re: upgrade CentOS 8 - 8.1

Please note that whatever you choose, you should NOT use 8.1. It's out of date and insecure. Use either Stream or 8.4 or one of the 8.4 clones or even RHEL itself via one of the free developer licenses.
by TrevorH
2021/09/22 15:54:19
Forum: CentOS 7 - Security Support
Topic: iptables- restore issue
Replies: 18
Views: 1166

Re: iptables- restore issue

Systemctl does not wrap to /sbin/service? It does for some units ... or was it the other way around? :? Other way around. If you call service then it does some checks for non-standard "verbs" like save and then invokes a helper script like /usr/libexec/initscripts/legacy-actions/iptables/save which...
by TrevorH
2021/09/22 15:49:45
Forum: CentOS 8 - General Support
Topic: upgrade CentOS 8 - 8.1
Replies: 3
Views: 152

Re: upgrade CentOS 8 - 8.1

CentOS 8.1 is from 2019 hence the 8.1.1911 monicker. CentOS Stream is newer, more bleeding edge and is no longer CentOS 8, it's CentOS Stream. The latest CentOS 8 is 8.4 which is newer than and updates and replaces 8.1. Red Hat announced the death of CentOS 8 last December and it has repositioned fr...
by TrevorH
2021/09/22 12:49:05
Forum: CentOS 7 - Security Support
Topic: iptables- restore issue
Replies: 18
Views: 1166

Re: iptables- restore issue

call sudo systemctl save iptables.service when the ruleset is ok
Did you mean sudo service iptables save?
by TrevorH
2021/09/22 08:36:05
Forum: CentOS 7 - Security Support
Topic: iptables- restore issue
Replies: 18
Views: 1166

Re: iptables- restore issue

Firewalld is entirely and completely separate from iptables. On CentOS 8, firewalld doesn't even use iptables, it uses nftables. You can't just plonk iptables rules on top of firewalld. It "knows" how things ought to be and if you did run iptables-restore successfully without firewalld's knowledge, ...
by TrevorH
2021/09/21 15:41:03
Forum: CentOS 8 - Networking Support
Topic: Can't Connect to the same port from two different machines
Replies: 4
Views: 604

Re: Can't Connect to the same port from two different machines

if I am not mistaken firewalld disables iptables and vice versa on centos7/8 Yes, you are mistaken. You can have iptables and iptables-services installed on both CentOS 7 and 8 yet still run firewalld. Yes, you have to disable the iptables.service which means there's not much point in having the ip...
by TrevorH
2021/09/21 10:39:33
Forum: CentOS 7 - Software Support
Topic: cannot start mariadb after migration on centos7(Note: my.cnf datadir updated)
Replies: 1
Views: 92

Re: cannot start mariadb after migration on centos7(Note: my.cnf datadir updated)

If you want to use a non-standard mysql data location like that then you need to tell selinux that you are doing it. See man semanage-fcontext.

It's probably much easier just to mount your filesystem on the correct /var/lib/mysql location and then you won't have to do anything.
by TrevorH
2021/09/20 20:05:32
Forum: CentOS 8 - General Support
Topic: same SSD with new hardware
Replies: 5
Views: 394

Re: same SSD with new hardware

If you run file -s /boot/vmlinuz-0-<tab> you can see what version it is. Then you can work out if it's new enough to support your new hardware. If it is not then you can cheat, change dracut.conf to amend hostonly=yes to =no then reinstall the current kernel or rebuild its initramfs so that has supp...

Go to advanced search