Compile your own open-appsec for raspberry-pi 5
//Install Dependencies
wget https://downloads.openappsec.io/open-appsec-install
sudo apt install -y build-essential cmake git libssl-dev libcurl4-openssl-dev \
libboost-all-dev libjsoncpp-dev pkg-config
sudo apt install libgtest-dev
sudo apt install doxygen
sudo apt-get install libgmock-dev
sudo apt-get install libmaxminddb-dev
sudo apt-get install libpcre2-dev
sudo apt-get install libhiredis-dev
sudo apt-get install libxml2-devsudo apt-get update && sudo apt-get install -y \
libboost-dev \
libssl-dev \
libpcre2-dev \
libxml2-dev \
libgtest-dev \
libcurl4-openssl-dev \
libhiredis-dev \
redis-server \
libmaxminddb-dev//Compile & Make
git clone https://github.com/openappsec/openappsec.git
cd openappsec/
cmake -DCMAKE_INSTALL_PREFIX=build_out .
sudo make install
sudo make packagewget https://github.com/mikefarah/yq/releases/download/v4.44.6/yq_linux_arm64 -O /usr/local/bin/yq && \
chmod +x /usr/local/bin/yq
cp /usr/local/bin/yq /scripts/yq
cp /usr/local/bin/yq /build_out/scripts/yq//Install
./build_out/install-cp-nano-agent.sh --install --hybrid_mode
./build_out/install-cp-nano-service-http-transaction-handler.sh --install
./build_out/install-cp-nano-attachment-registration-manager.sh --install
//Compile the attachment
nginx -V &> /tmp/nginx.vergit clone https://github.com/openappsec/attachment.git
cd attachment
./attachments/nginx/ngx_module/nginx_version_configuration.sh --conf /tmp/nginx.ver build_out
cmake -DCMAKE_INSTALL_PREFIX=build_out .
make install
make package//Status Check
open-appsec-ctl --status --extended//Sauce
Comments
Post a Comment