Compile open-appsec for ARM64 {RPi5}
//Install Dependencies
wget https:
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-dev
sudo 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:
cd openappsec/
cmake -DCMAKE_INSTALL_PREFIX=build_out .
sudo make install
sudo make package
wget 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 & Update Attachment
nginx -V &> /tmp/nginx.ver
git 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
./build_out/install-nginx-attachment.sh --install
### Remove global 'shift' -- line 127 -- if error OR ###
### use --install --install {twice} ###
//Status Check
open-appsec-ctl --status --extended
//Sauce
Offical_GitHub
Comments
Post a Comment