-
Notifications
You must be signed in to change notification settings - Fork 16
Installation
The recommendation for PAN-OS-PHP running on all Operating Systems is to use a Docker Container:
(install script is under development)
(install script is planned)
- Please first run the specific install_script mentioned below with root right (sudo)
-
sh /tools/pan-os-php/set_alias_usage.sh
[run with the user you are planning to use PAN-OS-PHP] - check what is mentioned below under for all Linux OS:
use this script https://github.com/PaloAltoNetworks/pan-os-php/blob/main/install_script_ubuntu20.sh
use this script https://github.com/PaloAltoNetworks/pan-os-php/blob/main/install_script_ubuntu22.sh
use this script https://github.com/PaloAltoNetworks/pan-os-php/blob/main/install_script_centos7.sh
The first run will interrupt, as some links are not set correctly from external. Manipulate:
sudo vi /etc/yum.repos.d/epel.repo
-
comment meta-link with #
-
uncomment base, remove #
-
rerun
sudo sh install_script_centos7.sh
-
run script as mentioned above:
sh /tools/pan-os-php/set_alias_usage.sh
-
followed by:
chsh -s /usr/local/bin/bash
- close shell (logout)
- login
- check bash autocompletion
pan-os-php v<tab><tab>
-> should be autocomplete topan-os-php version
This package is outdated, and will be shortly replaced by the Windows WSL version above