[Bug 495213] Re: Server install with LAMP asks three times for MySQL password
Jonathan Marsden
jmarsden at fastmail.fm
Mon Dec 14 04:37:05 GMT 2009
Thanks for taking the time to report an issue and so help to improve
Ubuntu.
Selecting the LAMP Server task in tasksel installs Linux (Ubuntu),
Apache2, MySQL and PHP5. By design.
Leaving the root MySQL password blank does not somehow uninstall MySQL.
It just installs it in a less secure way.
To install Apache2 and PHP5 without also installing MySQL, install just
the basic Ubuntu server, then reboot, log in, and issue the command
sudo apt-get install apache2 php5
When installing MySQL it is *necessary* to prompt the user for a root
MySQL password, not doing so would be insecure.
While there could be a separate task in tasksel just for an "Apache2
plus PHP5" install, to me that seems somewhat unnecessary and it would
make using tasksel (primarily intended for quick initial server setup)
more complex (some people would probably then become confused by the two
"web-server-related" choices and pick the "wrong" one for their needs,
etc.).
If you are a more experienced Ubuntu server installer, and need a fully
customized unattended installation, perhaps one you will repeat on many
servers, then you may be interested in using pre-seeding to avoid all
the installer prompts. See Appendix B of the Ubuntu Installation Guide
for more information on that: https://help.ubuntu.com/9.10/installation-
guide/i386/appendix-preseed.html
Given the above, I feel this bug is invalid and so am setting its status
to Invalid. If you feel there really is a clear case to be made for
needing an additional tasksel task for "Apache2 and PHP5", go ahead and
make that case and set it back to New.
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New => Invalid
** Tags added: tasksel
--
Server install with LAMP asks three times for MySQL password
https://bugs.launchpad.net/bugs/495213
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list