Program to generate a functional WSL development environment on the Ubuntu 22.04 distribution
- 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.
- Copy the setting_dev_env.sh file to the Ubuntu user path
- Assign execution permissions to the file:
sudo chmod 777 setting_dev_env.sh
- Execute the file:
./setting_dev_env.sh
- Set the MySQL password for root:
- Set the Python virtual enviroment name:
- During the phpMyadmin installation, user intervention will be requested to select the web server to be configured. Choose the option as the image below:
- It will also be necessary to select the type of configuration for phpMyadmin and MySQL. Choose the option as the image below:
- 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: - Let the execution end and its development environment will be installed correctly
- This is the apache server address: http://localhost:8081
- This is the phpMyadmin address: http://localhost:8081/phpmyadmin
- This is the php config address: http://localhost:8081/phpinfo.php