Project for provisioning box Protheus development environment for code, build and test.
This projetc use provider Virtual Box for create VM's
This project use box Oracle Linux 8 for provisioning environment
This project user Jinja Templates for configure environment
Pay attention to download the artifacts to not have problems in provisioning
This project aims to automate the provisioning of the ERP Protheus stack for development purposes.
Fork the project and enjoy.
Atention for pre requisites and License!!!
Marcos Silvestrini
[email protected]
This project is licensed under the MIT License - see the LICENSE.md file for details
- Git
- VirtualBox
- Vagrant
- Oracle Boxes
- Ansible
- Postgresql
- Protheus Linux
- Blog Siga0984
- Fix Error Invalid client library
- Advplc Compiler
- Libs Protheus Linux
SO: Oracle Linux 8
CPU: 6 vcpus
RAM: 8GB
Database: PostgreSQL 9.2
Protheus: 12.1.27
sudo wget https://releases.hashicorp.com/vagrant/2.2.13/vagrant_2.2.13_x86_64.rpm
sudo yum localinstall vagrant_2.2.13_x86_64.rpm -y
vagrant ––version
- clone this reposotory
- Generate your ssh pub key and copy to security/ folder
- Download artefacts of ERP in specific SO(license,rpo,dbaccess,appserver,etc)
- Copy artefacts for relative folders(license,rpo,appserver,etc)
- cd vagrant-protheus\linux_or_windows
- vagrant validate
- vagrant up
- vagrant status
- Set Hostname
- Set ressources memory and cpu
- Configure Network and forwarded port
- Configure Mounts
- Configure ssh
- Configure Firewall (firewalld or iptables)
- Configure Selinux
- Install Updates
- Install python3
Run this command in powershell:
$Env:VAGRANT_PREFER_SYSTEM_BIN += 0
- Install and configure database
- Create database for app
- Create user and pass
- Instal and configure lockserver
- Instal and configure licenserver
- Install and configure dbaccess
- Install and configure appserver_slave
Read the README file in the role folder for more details
This roles install commons libs,packages and create defaults paths.
Libs and packages are described in defaults
Role for configure rpo
Role for configure dictionary files, web files and portal files.
Role for configure license server.
Role for configure dbaccess,UnixODBC and postgresql-odbc
Role for configure appservers.
This role configure binaries for:\
- lockserver
- broker
- slave