Coder Social home page Coder Social logo

Comments (10)

sundarrdeveloper avatar sundarrdeveloper commented on June 12, 2024 1

H Rauldpm ,

Thanks for helping. Based on the commands you gave, the file is now in the directory path. May I get the command to see the application in the browser? 

from wazuh-packages.

sundarrdeveloper avatar sundarrdeveloper commented on June 12, 2024 1

okay, thanks for helping me to install.

from wazuh-packages.

rauldpm avatar rauldpm commented on June 12, 2024

Hello

The API option was obsolete after 3.x, currently, the API is included in the Wazuh manager package, it is true that the documentation is wrong and should not mention this option, I am going to open an issue to fix this, the help of the script mentions the following:

echo "    -t, --target <target>      [Required] Target package to build: manager or agent."

if you want to generate the Wazuh manager package refer to:

./generate_debian_package.sh -b v4.7.3 --packages-branch v4.7.3 -s /tmp -t manager -a amd64 -r my_rev.


Issue opened: wazuh/wazuh-documentation#7131

from wazuh-packages.

sundarrdeveloper avatar sundarrdeveloper commented on June 12, 2024

okay, thanks for the update

from wazuh-packages.

rauldpm avatar rauldpm commented on June 12, 2024

@sundarrdeveloper Did you manage to generate the Wazuh manager package? If so, tell me if everything is solved and I will proceed to close the issue.

from wazuh-packages.

sundarrdeveloper avatar sundarrdeveloper commented on June 12, 2024

No, I can't able to run , but im trying my level to generate the package

from wazuh-packages.

rauldpm avatar rauldpm commented on June 12, 2024

Can you show me the error you are getting and the command you are running? Also, make sure you are using the v4.7.3 tag and not a numeric or master branch

from wazuh-packages.

sundarrdeveloper avatar sundarrdeveloper commented on June 12, 2024

Hi ,

I'm using this command to run this project
./generate_debian_package.sh -b v4.7.3 --packages-branch v4.7.3 -t manager -a amd64.

from wazuh-packages.

rauldpm avatar rauldpm commented on June 12, 2024

Hi, I can't help you if you don't say which error are you getting, I can only confirm that the package generation is correct and functional using the v4.7.3 GitHub tag, please, make sure that you are using the correct GitHub tag as stated in the documentation

git clone https://github.com/wazuh/wazuh-packages && cd wazuh-packages/debs && git checkout v4.7.3

Also, make sure that the command does not have the dot in amd64, the command should be:

./generate_debian_package.sh -b v4.7.3 --packages-branch v4.7.3 -t manager -a amd64

A message like the following indeed appears, but the package should be created in the output directory correctly (located in the directory where you executed the command), I am talking with the team about those messages

(...)
W: wazuh-manager: executable-not-elf-or-script var/ossec/wodles/init.py
W: wazuh-manager: executable-not-elf-or-script var/ossec/packages_files/manager_installation_scripts/etc/templates/config/generic/localfile-logs/apache-logs.template
N: 19467 tags overridden (10 errors, 19457 warnings)
Finished running lintian.

After that, the following should appear:

WARNING generated by debuild:
Making debian/rules executable!

+ deb_file=wazuh-manager_4.7.3-1
+ [[ amd64 == \p\p\c\6\4\l\e ]]
+ deb_file=wazuh-manager_4.7.3-1_amd64.deb
+ pkg_path=/build_wazuh/manager
+ [[ no == \y\e\s ]]
+ mv /build_wazuh/manager/wazuh-manager_4.7.3-1_amd64.deb /var/local/wazuh

The package generated should be stored in a directory called output in the same directory

╰─➤  ls output                                                                                                                                                                                                                           1 ↵
wazuh-manager_4.7.3-1_amd64.deb

from wazuh-packages.

rauldpm avatar rauldpm commented on June 12, 2024

The Wazuh manager is not a web application and therefore you cannot see it in the browser.

Please read the following documentation to understand what each component of Wazuh is and does.

If you want to access Wazuh through the browser you must install the Wazuh dashboard and Wazuh indexer in addition to the Wazuh manager and Filebeat, for this, you can follow the installation guide, either through the Wazuh installation assistant or step-by-step guide

from wazuh-packages.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.