![]() curl | sudo tee /etc/pki/rpm-gpg/RPM-GPG-KEY-osquery.Install/Setup OSQuery on Linux, Mac, and Windows Install/Setup OSQuery on CentOS 7 Server 64-bit cat > /etc/nginx/conf.d/nf doorman.ini /etc/systemd/system/rvice /manage.openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/private.key -out /etc/nginx/ssl/certificate.crt.Install/Setup Nginx + WSGI/Flask + OpenSSL Install/Setup Nginx and OpennSSL su – doorman -c “cd /opt/doorman source env/bin/activate python manage.py db upgrade”.Set this variable in /etc/profile to be permanent.chown doorman:doorman -R /var/log/doorman.For Centos 7.3: rpm -ivh & yum -y install nodejsĬELERY_RESULT_BACKEND = 'redis://localhost:6379/0'.yum install python-pip python-devel libffi-devel gcc postgresql-devel npm -y.Test to make sure you can connect as doorman user on postgres.psql -U doorman -h 127.0.0.1 -d doorman -W.GRANT ALL PRIVILEGES ON DATABASE doorman TO doorman.ALTER DATABASE doorman OWNER TO doorman.CREATE ROLE doorman WITH LOGIN PASSWORD ‘’.systemctl enable postgresql-9.6.service./usr/pgsql-9.6/bin/postgresql96-setup initdb.yum install postgresql96-server postgresql96 -y.Install/Setup Postgres and Redis Install/Setup Postgres database Install/Setup Doorman Remote API server Install/Setup Doorman on CentOS 7 64-bit with Docker Install/Setup NTPd on Centos ![]() Packs – OSquery query packs are groups of queries to be added to the OSquery schedule.Queries – A query runs a set of tasks on fleet of machines on a specified interval.Fleet – All the machines controlled and owned by an enterprise.I hope to utilize the tool in my environment and write a later post :).ĭoorman/OSquery components and terms Terms However, in this post I will not be posting how to use OSquery for threat hunting. It is a tool that is used by system administrators, incident responders, and ole mighty threat hunters. Whether your goal is intrusion detection, infrastructure reliability, or compliance, OSquery gives you the ability to empower and inform a broad set of organizations within your company. OSquery allows you to easily ask questions about your Linux, Windows, and macOS infrastructure. In this post I am going to explore the tool OSquery. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |