I have cPanel trial version installed on the centOS server which is expired now. So I don’t have access to cPanel user and WHM login. I am tried the following mysql> mysqldump -u root –ppassword db_name > db_nametext.sql; Thank you for time and consideration. Answer You cannot run mysqldump from mysql shell: mysqldump is not a SQL statement but an
Tag: centos
blocking all internal traffic except incoming traffic from a specific ip on a single port
I’m trying to use IPtables to block all internal traffic with the exception of one server, here are my rules but when i telnet from another instance i can still connect…. Answer When debugging iptables I normally: reset all the counter – ‘iptables -Z’ make the connection then review the rule hits – ‘iptables -L -v -n |more’ This should
cron command not found – CentOS 7 [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Docker overlay2 resource is busy
I need some help with docker! 😀 When I have to deploy my application, sometimes I have this error OR This is my docker info output: Everytime that the resource is busy error appears, I move the HASH’s directory in /var/lib/docker/(containers OR overlay2) to HASH_old directory and retry to deploy the application, used to work, but now the no such
Instaling yum with dependencies on an embedded Linux [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question
Is it possible to get current CPU utilisation from a specific core via /sys in Linux?
I would like to write a shellscript that reads the current CPU utilisation on a per-core basis. Is it possible to read this from the /sys directory in Linux (CentOS 8)? I have found /sys/bus/cpu/drivers/processor/cpu0 which does give me a fair bit of information (like current frequency), but I’ve yet to figure out how to read CPU utilisation. In other
Curl is not installing with ssl support in Centos (at user defined –perfix)
There is already a curl & openssl version installed in my system (Centos). I am trying to install curl with ssl support. what I’ve done: I have installed openssl from git (master) and installed it as follows ./configure –prefix=/path/to/xyz/dir make make install This creates bin,include,lib etc at the location /path/to/xyz/dir Then I have added this path in environment variables export
Redhat/CentOS – `GLIBC_2.18′ not found
I was trying to run redis server (on a CentOS server) with specific module: and getting error: this is the linux version: Also this is what is showing for /lib64/libc.so.6: Also: Tried as well: What is the process of installing/setting GLIBC_2.18 on Centos/Redhat servers? Thanks.. Answer You can upgrade to the Red Hat Enterprise Linux 8, which comes with glibc
How to Fix the ‘No Space Left on Device’ Error on CENTOS 7.6
I am using cakephp 2 and getting this error many time But my server have too much space I restarted server but still getting same error How to fix this issue ? Answer Solution Set session path http://php.net/manual/en/function.session-save-path.php OR Update session path at php.ini
yum dependency resolution behaves differently in docker build vs docker run
It appears that yum’s dependency resolution behaves differently depending on whether it is invoked from the RUN statement of a Dockerfile, or from docker run. Consider this Dockerfile: The docker build fails on the last command. The full output is included below, but basically yum selects packages for both i386 and x86_64. But running the same commands from docker run