How to Reinstall OSSEC Agent for Linux
Revision as of 09:24, 13 August 2019 by Rituja darandale (talk | contribs) (→How to Reinstall OSSEC Agent for Linux)
How to Reinstall OSSEC Agent for Linux
1. To reinstall the ossec agent for linux, We must first uninstall the ossec agent which is already present on your linux server.
2. Login to your Ossec Agent.
3. Fire sudo su command to enter into root.
4. Before proceeding to the uninstallation, make sure you stop the ossec agent.
5. Go to the following directory:
6. /opt/ossec/bin
7. Fire ./ossec-control stop command to stop the agent
9. Go to the directory where ossec agent gets installed, (/opt)
10. Type following command
11. cd /opt
12. Remove the ossec directory using following command.
13. rm -rf ossec/