Project

General

Profile

Actions

Feature #597

closed

Provide an Appion auto-installer for CentOS

Added by Neil Voss almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Amber Herold
Category:
Installation
Target version:
Start date:
05/28/2010
Due date:
08/31/2010
% Done:

70%

Estimated time:

Description

I started writing this in python, but still needs more work.

source:trunk/install/centosAutoInstall.py


Files

installation.log.failed (1.1 KB) installation.log.failed failed at yum update Amber Herold, 10/26/2010 02:16 PM
installation.log.failed2 (5.87 KB) installation.log.failed2 failed at svn co Amber Herold, 10/26/2010 02:16 PM

Related issues 1 (0 open1 closed)

Related to Appion - Bug #901: Appion CentOS installer should work with SELinux enabled (and should not just disable it)Won't Fix or Won't Do 10/01/2010

Actions
Actions #1

Updated by Neil Voss almost 14 years ago

You can successfully setup a web server auto-magically now.

Actions #2

Updated by Neil Voss almost 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
Actions #3

Updated by Amber Herold almost 14 years ago

  • Priority changed from Normal to High
Actions #4

Updated by Amber Herold almost 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
Actions #5

Updated by Eric Hou over 13 years ago

  • Assignee changed from Amber Herold to Eric Hou
Actions #6

Updated by Eric Hou over 13 years ago

  • % Done changed from 30 to 70
Actions #7

Updated by Eric Hou over 13 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

Actions #8

Updated by Amber Herold over 13 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".

Actions #9

Updated by Eric Hou over 13 years ago

Looks like we won't be able to turn off SELinux during the auto installation because it requires reboot the system.

Actions #10

Updated by Amber Herold over 13 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.

Actions #11

Updated by Neil Voss over 13 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.

Actions #12

Updated by Neil Voss over 13 years ago

To disable SELinx without reboot:

sudo setenforce 0

Updated by Amber Herold over 13 years ago

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.

Actions #14

Updated by Eric Hou over 13 years ago

  • Status changed from In Test to In Code Review
  • Assignee changed from Eric Hou to Amber Herold

also refs #15094

Thanks.

Actions #15

Updated by Eric Hou over 13 years ago

Make sure the svn check out in autoinstallation is using the branch not trunk after the merged.

Thanks.

Actions #16

Updated by Eric Hou over 13 years ago

change branch version line 546 after merged.

Thanks

Actions #17

Updated by Amber Herold over 13 years ago

  • Status changed from In Code Review to Closed

reviewed and tested

Actions

Also available in: Atom PDF