Sometimes, you may want to save the log from a remote server to a specific file instead of /var/log/messages. you can set up log forwarding later that won’t include lots of junk. Step 1 Create a new conf file in /etc/rsyslog.d with below two lines, for example. we are going to save the log messages Read More
Category: Linux Family
Red Hat, Centos, Debian, Ubuntu, Fedora and the likes
Also including MySQL, Apache, Wordpress etc…
How to Use WinSCP with SUDO Permission
There is an option in WinSCP that does exactly what you are looking for:
How to Upgrade CentOS Stream 8 to CentOS Stream 9
This article will show how to update to CentOS Stream 9 from CentOS Stream 8. If only official repositories are used it is fairly easy to upgrade to the new rolling based CentOS Stream 9 release, which follows the Red Hat Enterprise Linux 9. Using unofficial or users’ repositories CentOS Stream 8 may lead to unstable system or break user’s system following this Read More
How to Convert an SSL Certificate to Other Formats
It is highly recommended that you convert to and from .pfx files on your own machine using OpenSSL so you can keep the private key there. Use the following OpenSSL commands to convert SSL certificate to different formats on your own machine: OpenSSL Convert PEM Convert PEM to DER openssl x509 -outform der -in certificate.pem Read More
How to Fix “missing newline or line too long” in a Linux Server
Question How to remove the following errors when noticed in “/etc/hosts.allow” and “/etc/hosts.deny” files. 1) auth|security:err| error sshd[7275222]: warning: /etc/hosts.allow, line0: missing newline or line too long 2) auth|security:err| error sshd[7275222]: warning: /etc/hosts.deny, line0: missing newline or line too long Answer To remove the errors do the following on the management node as root. Go to the Read More