Web Server Installation on CentOS 6 » History » Revision 4
Revision 3 (Sargis Dallakyan, 09/13/2012 12:19 PM) → Revision 4/24 (Sargis Dallakyan, 09/14/2012 12:01 PM)
h1. Web Server Installation on CentOS 6 This is a work in progress. We'll write documentation on Appion Web Server Installation on CentOS 6 as we go. Before you start, make sure you have CentOS 6 installed on your computer. Note that upgrade CentOS 5 to CentOS 6 can damage existing filesystems and operating systems as described in "CentOS Migration Guide":http://wiki.centos.org/HowTos/MigrationGuide. 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: * http://linuxmoz.com/how-to-install-centos-6-linux-for-servers-desktops * http://www.if-not-true-then-false.com/2011/centos-6-netinstall-network-installation h3. [[Install Web Server Prerequisites]] First install Extra Packages for Enterprise Linux (EPEL) - http://fedoraproject.org/wiki/EPEL <pre> wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm rpm -ivh epel-release-6-7.noarch.rpm </pre> Note that release version (6-7) is the current release at the time of this writing. Please click "here":http://mirrors.cat.pdx.edu/epel/6/i386/repoview/epel-release.html to get the newest 'epel-release' package. Now install all prerequisites <pre> 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 </pre> h3. [[Download Appion Files|Download Appion and Leginon Files]] <pre> svn co http://emg.nysbc.org/svn/myami/trunk myami/ </pre> h3. Install and start Redux <pre> cd myami/redux/ /etc/init.d/reduxd start </pre> h3. [[Install the Web Interface]] <pre> cp -r ../myamiweb/ /var/www/html/ </pre> Visit http://localhost/myamiweb/setup and follow instructions in Web Tools Setup Wizard. See also [[Install the Web Interface Advanced]].