Skip to content
/ Ubuntu_dev Public template

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

Notifications You must be signed in to change notification settings

oajm79/Ubuntu_dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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