Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 2.33 KB

README.md

File metadata and controls

54 lines (47 loc) · 2.33 KB

Developer environment deployer

Program to generate a functional WSL development environment on the Ubuntu 22.04 distribution

This shell script implements the following items:

  • Apache
  • PHP
  • MySQL or MariaDB
  • phpMyAdmin
  • Python Virtual Enviroment (Python is already installed on Ubuntu distribution)
  • Django
  • Oracle Instant Client

It is assumed that before running this deployment, Ubuntu is already installed and running. This deployer was tested in a WSL environment.

How to use:

  1. Copy the setting_dev_env.sh file to the Ubuntu user path
  2. Assign execution permissions to the file: sudo chmod 777 setting_dev_env.sh
  3. Execute the file: ./setting_dev_env.sh
  4. Set the MySQL password for root:
  5. Set the Python virtual enviroment name:
  6. During the phpMyadmin installation, user intervention will be requested to select the web server to be configured. Choose the option as the image below:
  7. It will also be necessary to select the type of configuration for phpMyadmin and MySQL. Choose the option as the image below:
  8. During the installation of the OCI8 complement you must enter the folder where the Oracle instant_cliente is installed. Copy this instantclient,/opt/oracle/instantclient and paste at terminal:
  9. Let the execution end and its development environment will be installed correctly

Check your enviroment:

  1. This is the apache server address: http://localhost:8081
  2. This is the phpMyadmin address: http://localhost:8081/phpmyadmin
  3. This is the php config address: http://localhost:8081/phpinfo.php