Project

General

Profile

Actions

Web Server Installation on CentOS 6 » History » Revision 10

« Previous | Revision 10/24 (diff) | Next »
Sargis Dallakyan, 08/23/2013 11:24 AM


Web Server Installation on CentOS 6

Before you start, make sure you have CentOS 6 installed on your computer. Note that upgrading from CentOS 5 to CentOS 6 might damage existing filesystems and operating systems as described in CentOS Migration Guide. That's why we recommend starting with a fresh install of CentOS 6. The following links provide excellent step by step guide on how to install CentOS 6 Linux from scratch on a new machine:

In the package selection step switch from Minimal to Web Server.

Install Web Server Prerequisites

First install Extra Packages for Enterprise Linux (EPEL) - http://fedoraproject.org/wiki/EPEL

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm
rpm -ivh epel-release-6-7.noarch.rpm 

Note that release version (6-7) is the current release at the time of this writing. Please click here to get the newest 'epel-release' package.

Now install all prerequisites

yum install php-gd gcc phpMyAdmin libssh2-devel php-pecl-ssh2 mod_ssl httpd php-mysql php-devel php fftw3-devel svn python-imaging python-devel mod_python scipy
easy_install fs PyFFTW3

Configure php.ini

Edit /etc/php.ini and change line ~229 to

short_open_tag = On

Note that short_open_tag appears twice in /etc/php.ini and you need to set short_open_tag = On at around line 229 for it to take effect.

Download Appion and Leginon Files

svn co http://emg.nysbc.org/svn/myami/trunk myami/

Also available for centos6 is the myami-2.2-redux branch. This has the same features as the 2.2 release, but the portions of myami that were incompatible with Centos5 have been replaced with what we call Redux.

svn co http://emg.nysbc.org/svn/myami/branches/myami-2.2-redux  myami/

Install and Start Redux

cd myami
./pysetup.sh install
mkdir /tmp/redux
/etc/init.d/reduxd start

Install the Web Interface

cp -r ../myamiweb/ /var/www/html/ 

Visit http://localhost/myamiweb/setup and follow instructions in Web Tools Setup Wizard.

See also Install the Web Interface Advanced.

Updated by Sargis Dallakyan over 11 years ago · 10 revisions