Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
install-wazuh-agent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Wen Wei Li
install-wazuh-agent
Commits
a56ddf12
An error occurred while fetching merge requests data.
Commit
a56ddf12
authored
1 year ago
by
Wen Wei Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
using parameter to setup wazuh manager
parent
e225d109
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
install-wazuh-agent.sh
install-wazuh-agent.sh
+6
-2
No files found.
install-wazuh-agent.sh
View file @
a56ddf12
AGENT_NAME
=
$@
AGENT_NAME
=
$1
WAZUH_MANAGER
=
$2
echo
"Agent Name is: "
echo
$AGENT_NAME
wget https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.7.3-1_amd64.deb
&&
sudo
WAZUH_MANAGER
=
'192.168.88.140'
WAZUH_AGENT_NAME
=
$AGENT_NAME
dpkg
-i
./wazuh-agent_4.7.3-1_amd64.deb
echo
"Wazuh Manager IP is: "
echo
$WAZUH_MANAGER
wget https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.7.3-1_amd64.deb
&&
sudo
WAZUH_MANAGER
=
$WAZUH_MANAGER
WAZUH_AGENT_NAME
=
$AGENT_NAME
dpkg
-i
./wazuh-agent_4.7.3-1_amd64.deb
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment