Project

General

Profile

Actions

Start with existing CentOS installation » History » Revision 56

« Previous | Revision 56/80 (diff) | Next »
Amber Herold, 03/17/2010 02:33 PM


Start with existing CentOS 5.3 64-bit installation

3 Download additional software

Download additional Software


4 MRC PHP Extension Installation and Testing

MRC PHP Extension Installation and Testing


5 Setup MySQL (appiondata) databases

Setup MySQL database


6 Compile and setup Appion python programs

Setup Appion programs

7 Install webpages (myamiweb)

Refer to Web server side installation

Install MRC Tools

Compile MRC tools

  • Go to your php devel directory and untar the archive
  • If unsure where it is, use info.php to find it under extension_dir
$ cd /usr/include/php/ext/
$ sudo mkdir mrc
$ sudo chmod 777 mrc
$ sudo chown $USER mrc
$ tar zxvf ~/php_mrc.tgz
$ cd mrc/
  • Compile and install the MRC module
$ phpize
$ ./configure 
$ make
$ sudo make install

Configure PHP for MRC Tools

  • Edit your php configuration file php.ini to add "mrc.so" extension.
$ sudo nano /etc/php.d/mrc.ini
  • add mrc.so to extensions
; Enable mrc extension module
extension=mrc.so

Configure PHP

  • increase the memory limit, EM images are big 64MB:
memory_limit = 256M; Maximum amount of memory
  • Turn error display on:
display_errors = On
error_reporting = E_ALL & ~E_NOTICE
  • restart the webserver
$ sudo /sbin/service httpd restart

Install DBEM and project php source

Please consult the other Install guide

Configuration

configure apache

  • allow REMOTE_HOST lookups in apache
$ sudo nano /etc/httpd/conf/httpd.conf
  • turn HostnameLookups to On
HostnameLookups On
  • restart the webserver
$ sudo /sbin/service httpd restart

configure project_1_2, dbem_1_5_1, and dbem_1_5_1/processing

Please consult the other Install guide

Initialize database tables from the web tools

Please consult Create a test project and processing database

Potential problems

Firewall settings

You may need to configure your firewall to allow incoming HTTP (port 80) and MySQL (port 3306) traffic:

$ system-config-securitylevel

Security-enhanced linux

Security-enhanced linux may be preventing your files from loading. To fix this run the following command:

$ sudo /usr/bin/chcon -R -t httpd_sys_content_t /var/www/html/

see this website for more details on SELinux


8 Install external packages

Please follow individual package installation instruction provided with them

Compile Xmipp for OpenMPI

Install Xmipp


9 Install a PBS job submission system

Install PBS


Updated by Amber Herold almost 15 years ago · 56 revisions