virtual package LAMP
since many web based projects require a Apache, MySQL, php environment and the name LAMP or XAMP are established, a package named this way, containing apache with php-module, MySQL and phpmyadmin would allow to set up a local testing environment for those projects very easily.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Sprints
Whiteboard
(don't know if this is the right place, sorry if I'm doing something wrong!)
1. Create a LAMP icon on the "Add/Remove..." (It would install apache2, php5-mysql, libapache2-
2. After it's installed, make the ~/public_html folder, place a greeting example there, and launch this location (http://
3. During install, ask the user if this is a local development base (configure the posts)
3. On this greeting example, the user could be told that Tell the user that the default user/password is root/nothing (maybe allow user to change it), with a link to phpmyadmin.
4. Ask also on the greeting example for the user to edit the ports.conf file to listen only to his own machine, if this is a development machine.
<<SANJAY SODHI>>
Why not just:
apt-get install apache2
apt-get install php5
apt-get install libapache2-mod-php5
apt-get install libapache2-
apt-get install php5-mysql
apt-get install phpmyadmin
printf "Now the installer would map the right alias to the user's ~/www/ or something, and do some clever stuff with sed to automatically configure it as a test machine\n\n"
printf ' If it got this far, you installed successfully! \nYou can now configure your MySQL databases by pointing your browser to http://
Uninstall with:
apt-get remove apache2
apt-get remove php5
apt-get remove libapache2-mod-php5
apt-get remove libapache2-
apt-get remove php5-mysql
apt-get remove phpmyadmin
rm ~/www/
Just requires a few sed's to do the trivial configurations