Feature #597
closedProvide an Appion auto-installer for CentOS
70%
Description
I started writing this in python, but still needs more work.
source:trunk/install/centosAutoInstall.py
Files
Updated by Neil Voss over 14 years ago
You can successfully setup a web server auto-magically now.
Updated by Neil Voss over 14 years ago
- Status changed from Assigned to New
- Assignee deleted (
Neil Voss) - Target version set to Appion/Leginon 2.1.0
Stopping work on this for now.
Looming problems:- Database: cannot create new database without php code
- Processing: cannot install EMAN, SPIDER, CHIMERA, FREALIGN, XMIPP, etc. without filling out web forms
Updated by Amber Herold over 14 years ago
- Due date set to 08/31/2010
- Category set to Installation
- Status changed from New to Assigned
- Assignee set to Amber Herold
Updated by Eric Hou over 14 years ago
- Assignee changed from Amber Herold to Eric Hou
Updated by Eric Hou about 14 years ago
- Status changed from Assigned to In Test
- Assignee changed from Eric Hou to Amber Herold
to Test!
Get a machine with flash centos installed.
download "centosAutoInstallation.py" and run it from the command line.
Just wait until it finished.
Thanks.
Eric
Updated by Amber Herold about 14 years ago
- Assignee changed from Amber Herold to Eric Hou
I tested with SELinux enabled. This did cause some problems. Could we test the SELinux status at the start of the install script? Running the command selinuxenabled will return 0 if it is enabled and 1 if disabled. (use echo $? to get result)
To disable SELinux,
cd /etc/sysconfig
vi selinux
then change the setting: selinux = disabled
then reboot the machine.
Once SELinux was turned off, I tried doing some processing. I LOVE having the images in a demo session. It may be good to name it "GroEL Demo" and make sure the project has a good description of the data.
I could not run Dog picking because it gives an error that sinedon.cfg has not setup appiondata. There seems to be a problem with the sinedon file.
Also, I think at a minimum the request for the root password needs to not display the password as it is typed and it should be input twice. What exactly is the root password required for? It might be good to explain this to the user to put them at ease.
Last, (some commands might takes couple mintues to run) should be something like "this may take a few minutes".
Updated by Eric Hou about 14 years ago
Looks like we won't be able to turn off SELinux during the auto installation because it requires reboot the system.
Updated by Amber Herold about 14 years ago
I don't think we need to disable SE Linux during the install. I think it would be enough to tell the user that it is enabled, perhaps give them the instructions to disable it and end the script. It would be fatal, such as not be logged in as root user. However, it looks like Neil has done some research into how to work with SE Linux (see #901), and it does not sound like it will be too difficult. He offered to implement it as he is running SE Linux, but if he can't get it done by next week, we can either do it ourselves, or just fail out like I mentioned above.
Updated by Neil Voss about 14 years ago
Sorry, I won't have SELinux done anytime soon, I haven't even found a place to put my computers yet, let alone start installing them. I estimate it will be around Christmas break when I starting doing some installs.
Updated by Neil Voss about 14 years ago
To disable SELinx without reboot:
sudo setenforce 0
Updated by Amber Herold about 14 years ago
- File installation.log.failed installation.log.failed added
- File installation.log.failed2 installation.log.failed2 added
Installation stalled during yum update. Completed update manually but there were conflicts. Now wont create the temp file to svn co to. Going to try again. Attached logs.
Updated by Eric Hou almost 14 years ago
- Status changed from In Test to In Code Review
- Assignee changed from Eric Hou to Amber Herold
also refs #15094
Thanks.
Updated by Eric Hou almost 14 years ago
Make sure the svn check out in autoinstallation is using the branch not trunk after the merged.
Thanks.
Updated by Eric Hou almost 14 years ago
change branch version line 546 after merged.
Thanks
Updated by Amber Herold almost 14 years ago
- Status changed from In Code Review to Closed
reviewed and tested