Sorry all for late reactie, was last week a bit ill, but i did
and it was not 777, so i make it 777 and it works all fine.
So Ill give also an answer to the others.
@graemef
Ive no idea of SelLinux is running, i thought thats only for the redhat distro's ?
I'm running Ubunut Server 10.04.1 LTS.
@ MTK358
That's correct, Ill try to explain more.
Here, I need to roll out some test application servers, LAMP and Capistrano.
So i make a bashscript that load a iso, unzip the iso and put a preceed file into the initrd and zip it again. Make a new ISO (ubuntu server 10.4. (like i said, bash script so full automatic).
A last late command is a command that download from the isoserver a second bash script and download it to the new virtual machine.
Script?
Yes, in that script you got the choice to upgrade/update/dist-upgrade in one click and also install in 1 click LAMP (working almost) Capistrano (working on it)
Why LAMP from script and not install it with ubuntu self. Because if I want a capistrano machine, I don't need LAMP. Or if i want a ubuntu server for, whatever, I dont need LAMP.
Little question.
during install LAMP (phpmyadmin) i got 2 questions and i want make that also automatic.
The first one is, give the root a password.
The command is (in bash)
Code:
mysql -u root
mysql>SET PASSWORD FOR 'root'@'localhost' = PASSWORD('test');
I put those two lines in min bash script and i got the error unexpexting '(' on the second line (after PASSWORD)
Is that possible? from script?
the other question is, (the second question during the installation of phpmyadmin), choose for Apache2 or Lighttpd (I want that the script automatic choose for apach2 (if it is possible)