Static FFMPEG Installation on CentOS 5.1

My web server is running a rather old version of CentOS 5.1 and I need to install FFMPEG on it. I’ve tried all the guides online which seem to all use yum to compile it. But yum installations is just not working on the server. So I downloaded a static build of ffmpeg from I then copied ffmpeg file into /usr/local/bin and set permission to 755 and when I run the command “ffmpeg -version” I get error saying Segmentation fault. I’ve tried multiple versions but they all have the same problem.

Any ideas how I can solve this?

centos – I setup a DNS but I don’t Get Response From my Domain And IntoDNS have errors why?

I Setup DNS in my VPS with BIND 9 and Everything is OK but in IntoDNS There Are Some errors 30 min ago I also Added 2nd Nameserver but I am Getting Error here is the output.

    Reverse MX A records (PTR)  ERROR: No reverse DNS (PTR) entries. The problem MX records are: -> no reverse (PTR) detected
You should contact your ISP and ask him to add a PTR record for your ips
Stealth NS records sent Stealth NS records were sent:
Missing nameservers reported by parent  FAIL: The following nameservers are listed at your nameservers as nameservers for your domain, but are not listed at the parent nameservers (see RFC2181 5.4.1). You need to make sure that these nameservers are working.If they are not working ok, you may have problems!
    Multiple Nameservers    ERROR: Looks like you have less than 2 nameservers. According to RFC2182 section 5 you must have at least 3 nameservers, and no more than 7. Having 2 nameservers is also ok by me.

EDIT: isn’t My Real Domain if the real Domain Is needed Tell me.

centos – Identify processes running inside Docker, in Process List

I realize that processes that run inside Docker containers appear on the hosts’ process list:

# ps aux | grep mariadb
root     12486  0.0  0.0 112812   976 pts/0    S+   14:47   0:00 grep --color=auto mariadb

Is there a way to identify whether a process is running on the Host or on a Docker container, or a way to filter the Docker processes out?

centos8 – unable to install openssh server on centos 8

[error message1Image: Centos 8

Downloaded from osboxes

Goal: Installation of any package for example openssh server

error: attached screenshot

I have checked the following solutions centos yum

But did not really help me in any respect.

I am stuck and surprised i am not sure what can be done. I have been researching on this issue for a while now.

Please help



centos – Block China on GCP/VM firewall

is there a way to geo block China from connecting my GCP VMs?

I see this item in my billing:

Network Internet Egress from Americas to China

Can I block the whole lot?

Is there a way to investigate what kind of IPs are connecting? (I know you can add logging rules to the GCP firewall but I am fuzzy on the details)..

If none of the above possible – is there a public list of rules for Linux firewalls (CentOS 8) to block IPs by countries?

How to Set Up SSH Keys on CentOS 8

How to setup SSH Keys on CentOS 8

Secure Shell, or SSH, is an encrypted protocol that is used for logging on to your remote servers. It is meant to replace the more traditional way of using a password to provide authentication. In this guide, we will show you how you can generate SSH key pairs on your CentOS 8 system. Then we will proceed on how you would be able to set up an SSH-based authentication system for your servers.

1] Check for existing SSH key pairs

To get started, we need to create the public and private keys that will be used in the authentication process. There might be some already generated keys on your CentOS system, and you can check that via this command:

ls -l ~/.ssh/id_*.pub

If the output says that no such directory exists, then there are no existing keys on your system. However, even if there are any keys, you can generate new ones. Although, be sure to back up the existing keys as the new keys will overwrite them.

2] Generate new SSH keys

Now, to generate the new key pairs, run the following command:

ssh-keygen -t rsa -b 4096 -C []

You will then be prompted to choose a location to save the keys; press enter to select the default one.

After that, you will be asked for a passphrase. This is an extra security step, and it is optional. If you don’t want to use a passphrase, press enter to continue.

3] Verify

To verify the generation of the SSH keys, run the following command:

ls ~/.ssh/id_*

Your output should look something like this:

/home/username/.ssh/id_rsa /home/username/.ssh/

4] Copy the key to your server

Now that you have generated the SSH keys, it is time to use them for authentication with your server. To do that, you will be using the ssh-copy-id command-line utility.

Use the following command to install ssh-copy-id, if not already available:

cat ~/.ssh/ | ssh remote_username@server_ip_address “mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys”

Now you need to append the SSH key to your server. Run the following command:

ssh-copy-id remote_username@server_ip_address

It will prompt you for the remote username’s password, type that in and press enter. You should be greeted with the output that a key has been added.

7] Login to your server with the SSH keys

We have successfully enabled SSH key authentication on your server now. To login using these SSH keys, run the following command:

ssh user@server_ip

You will be prompted for your passphrase, or if you did not set one, you would be logged in immediately.

8] Disable password authentication

Now that you have a working SSH key authentication system, there is no need for password authentication. To disable the password authentication, log in to your server.

Then open the config file using this command:

sudo nano /etc/ssh/sshd_config

Then search for these arguments and modify them accordingly:

PasswordAuthentication no

ChallengeResponseAuthentication no

UsePAM no

Now, all you need to do this refresh the SSH service and the password authentication for your server would be disabled.

sudo systemctl restart ssh

Have any questions about setting up SSH keys on CentOS 8? Please feel free to leave your questions and feedback in the comments section below!

Jon Biloh

I’m Jon Biloh and I own LowEndBox and LowEndTalk. I’ve spent my nearly 20 year career in IT building companies and now I’m excited to focus on building and enhancing the community at LowEndBox and LowEndTalk.

centos – Plesk MySQL Tuner returns: MySQL’s maximum memory usage is dangerously high

Can someone help me optimize my MSQL configuration.

I run plesk obsidian with centos 7.9 and MySQL Tuner with 64gb ram shows me that my memory usage is dangerously high, but when I use the free command it shows that I have more than enough memory.

below is the my.cnf

performance_schema_consumer_events_statements_history_long = ON   

performance_schema= ON       


key_buffer_size = 512M

max_allowed_packet = 1024M

query_cache_limit = 1M

query_cache_size = 0

query_cache_type = 0    
















long_query_time = 5

and below is the mysqltuner suggest
for MariaDB
Variables to adjust:
*** MySQL’s maximum memory usage is dangerously high ***
*** Add RAM before increasing MySQL buffer variables ***
join_buffer_size (> 256.0K, or always use indexes with JOINs)

How can I optimize my MySQL configuration?

Thank you for any help!