DirectAdmin Upgrading CSF Firewall
(This post is meant for DirectAdmin beginners, like me.)
Finally got the chance to play with one of the production server - to upgrade the CSF Firewall.
For this, I have to SSH to the server because upgrading CSF needs root access.
So I SSH-ed to the server and ran the command "csf -u". But this time, I get the following error.
Okay, the path to CSF is not correct, so just need to
Then gain root access,
That's it, can upgrade CSF using the command "csf -u" automatically!
:)
Finally got the chance to play with one of the production server - to upgrade the CSF Firewall.
For this, I have to SSH to the server because upgrading CSF needs root access.
Due to restrictions in "DirectAdmin you must login to the root shell" to upgrade csf using
csf -u
So I SSH-ed to the server and ran the command "csf -u". But this time, I get the following error.
-bash: csf: command not found
Okay, the path to CSF is not correct, so just need to
cd /usr/sbin/
Then gain root access,
su -
That's it, can upgrade CSF using the command "csf -u" automatically!
:)
Comments
Post a Comment