i need to install redis on the server,
when i run the command: sudo apt install redis-server
it returns: Sorry, user admin is not allowed to execute ‘/usr/bin/apt update’ as root on ..***
why does it give me this error? even though i’m logged in via ssh with the admin?
sudo -i or sudo su - and then apt install redis-server
Note: you must use the sudo command from a user that has the privileges to do it (admin user has restricted access to use sudo only for commands in /usr/local/hestia/bin/)
I read, I need to install redis on the server because I have laravel that needs to run queue operations.
I only have the admin user,
I took over the server from the client,
is it possible that I lack the root user to do these operations?
what do I have to do to recover the root user to then be able to launch the commands for installing redis?
Ask the client what was the user they used to logon to that server, maybe it was the user ubuntu or similar. And as I said, access to the control panel of your hosting company and use the console to access to the server.
Also, if you have the root password, you can use su - and provide the right password for root user.
Ask your hosting provider, there isn’t a magic way to recover root access from an unprivileged or limited user like admin.
I don’t know what that means, if you mean ssh no, I’m not talking about that console, I talk about the console provided by your hosting provider from their control panel… but maybe they don’t provide it, I don’t know, ask your hosting company, they are the only ones able to help you to recover your root access.