Skip to content

This script will help people to easily setup their development environment in ubuntu or wsl for web.

Notifications You must be signed in to change notification settings

typerhack/lamp-install-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 

Repository files navigation

EASY LAMP install/uninstall script for ubuntu or wsl win 10

Please kindly note that this script is currently under development and may have some bugs. Please feel free to report any bugs that may occur during the installation process. Your assistance and support are highly appreciated.

To download the script tou can use the following script

curl -O -L https://raw.githubusercontent.com/typerhack/lamp-install-script/main/lamp-install.sh
chmod +x lamp-install.sh

Then run:

sudo bash lamp-install.sh

When asked for phpmyadmin use following configs:

Use apache2
Configure db with dbconfig-common: No
If any error occured choose : ignore

Tested on:

1- win 10 - ubuntu wsl 2
2- ubuntu 22.04
3- Bodhi linux 7.0.0 (Ubuntu based linux)

Issues

1- Brute force method for changing mysql password is not working
2- Currently shortlink creation not working

To do:

1- Must add support for OS differentiation
2- automatic wordpress installation with creating database and adding agent
3- Enhancing wordpress performance
4- Adding DNS fix for wsl using "etc/resolve.conf"

logs:

v0.29.3

1- Fixed permissions for wordpress installation
2- Fixed some typing mistakes
3- Fixed problem for creating new user in mysql for matching passwords
4- Fixed some bugs 5- Granted permissions to current user for adding files and folders in wordpress
6- Added a prompt for creating shortcuts to the home directory

v0.28.0

1- Added support for installing wordpress core

v0.27.3

1- Fixed problem with text log
2- Fixed problem for databas
3- Added exit option to the script
4- Fixed $HOME address for the script
5- Removing limits for root user to access phpmyadmin panel
6- added support for creating new user - not fully completed
7- Fixed the opton name for adding new user to mysql
8- Added support for createing database with associated agent in mysql

v0.25:

1- Fixed input for the user
2- Made lamp install automatic no need for user to add anything
3- Made uninstll process automatic in some parts.
4- Added OS type check for wsl and ubunto based distros.
5- Added support for installing VSCode
6- Fixed bug for vscode running/installation
7- Fixed system reboot
8- Fixed info.php test creation file
9- Fixed bugs for adding necessary configs to apache2.conf
10- Fixed text colors for log
11- Edited query for mysql root password change
12- Fixing Problem for gitweb
13- Removed update and upgrade from uninstalling php
14- Fixed problem with password changing query
15- Added support for removing symbolic link whil uninstalling LAMP

v0.1

Core initialisation of script

About

This script will help people to easily setup their development environment in ubuntu or wsl for web.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages