I am trying to install wkhtmltopdf - Removed - via the Linux Terminal using the SSH Access provided by cPanel (with the recommended program PuTTy). The previous link gives commands that should install wkhtmltopdf the server via the terminal. link I have practically tried all the commands in the previous link and am consistently obtaining errors like:
Whenever I use either the sudo or su or yum command like this:
sudo rpm -i wkhtmltox-0.12.6-1.centos7.x86_64.rpm
yum rpm -i wkhtmltox-0.12.6-1.centos7.x86_64.rpm
-bash: sudo: command not found
-bash: yum: command not found
QUESTION: Does anyone know how I can configure cPanel so that I can run commands like sudo, su or yum over SSH (via PuTTy)? Is it a configuration and/or permission issue or possibly something else that isn't allowing me to do so? How might I go about configuring bash if indeed it needs to be configured in my case?
If you cannot log in to your cPanel server as the root user yourself, it is literally impossible for you to install that software. Based upon the kernel version shown by uname
in the comments, your server is a CloudLinux server which means that your account is securely locked down by CageFS and you cannot access administrative features required to install software on your own.
You must do one of the following to move forward:
https://github.com/spipu/html2pdf/blob/master/doc/install.md
OR
OR