In this post, we will see how to resolve PHP – chmod(): Operation not permitted Question: I have files that owned by root and I want to change it permission with php using chmod(). But it gave me an error ...

In this post, we will see how to resolve Install MySQL NDB cluster on CentOS. What version use? Question: I am new in Linux. I need for test purpose install NDB Mysql cluser. Read a lot of documentation and How ...

Question: I mistakenly delete/etc/pki/tls folder to configure openssl1.1 package. I have a machine Centos 8. When I want to install openssl with yum install openssl I have following error because of deleting that directory. how can I fix it? Best ...

Question: I am trying to run a CentOS 8 server through VirtualBox (6.1.30) (Vagrant), which worked just fine yesterday for me, but today I tried running a sudo yum update. I keep getting this error for some reason: I already ...

Question: I write NIC module driver and implement it base functions like ndo_open, ndo_stop, ndo_start_xmit… Sometimes Linux Kernel API is changed in the recent versions. So macro like LINUX_VERSION_CODE helps adopt code of the module to recent Linux Kernel versions. ...

Question: in python how to count the number of arguments passed after a specific argument ? Explanation : here when using sys.argv in main.py the number of arguments is 12 ( or more, it may differ every time ) i ...

Question: I’m using CentOS 7 64bit. I’m trying to download multiple packages with their dependencies using yumdownloader. However I’m facing the problem that packages that I do not need are getting downloaded. When I’m installing a package using yum install ...

Question: Does systemctl daemon-reload need to be executed using root/sudo? and does the same command apply to both Centos 7 and Ubuntu 18.04.3 LTS? Answer: Yeah, I’d say so. Unless you are doing it in a container with root privileges, ...

Question: I installed fmt using dnf install fmt. It was successful. But when I try to use it as #include <fmt/format.h> it says it is not found. I downloaded include from fmt git page so it finds format.h now with ...

Question: I have g++ installed on CentOS9 I can compile with switch -std=c++20 without errors/warnings. When I search filesystem for ’11’ I find But when I search for ’20’ I get nothing. How do I “install” C++ 20 ? What ...