Project

General

Profile

Install Web Server Prerequisites » History » Version 40

Anchi Cheng, 07/18/2018 01:55 AM

1 1 Amber Herold
h1. Install Web Server Prerequisites
2
3
The myamiweb files are mostly php scripts that run at the web server. PHP, PHP-devel, gd, and fftw3 packages are required before installation of myamiweb and the mrc extension that handles the display of mrc files. Some of these packages may be found on the SuSE Linux DVD or included in common package repository. MySQL and the Apache Web Server can be downloaded from their respective websites.
4
5 30 Amber Herold
h3. Extra Packages for Enterprise Linux (EPEL) 
6
7 37 Anchi Cheng
{{include(appion:Install EPEL shared)}}
8 30 Amber Herold
9
10 1 Amber Herold
11 13 Amber Herold
h3. Install Supporting Packages
12 1 Amber Herold
13
14
* Use the installation tools available for your linux distribution.
15
For example, to install gd as php extension you may use
16
<pre>
17 4 Neil Voss
CentOS> sudo yum install php-gd
18 1 Amber Herold
SuSE10.2 and above> zypper install php-gd
19
</pre>
20
Likewise, use the SuSE Linux YaST2 utility or zypper (openSuSE 10.2 and above) to install.
21 24 Anchi Cheng
"An older list of required CENTOS rpms and instruction":http://emg.nysbc.org/boards/10/topics/685 can be found in the Forum.
22 1 Amber Herold
23
* Use the following table to find and install the prerequisite packages required for your distribution of linux:
24
25 13 Amber Herold
*Prerequisite packages for myamiweb:*
26 1 Amber Herold
27 29 Amber Herold
The following table lists the packages required for running the web server on CentOS 5 for Appion/Leginon 2.2 and earlier.
28
29 1 Amber Herold
|_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name|
30
| Apache| "www.apache.org":http://www.apache.org| httpd| apache2|
31
| php| "www.php.net":http://www.php.net| php| php|
32
| php-devel*| "rpmfind.net/linux/RPM/Development_Languages_PHP.html":http://rpmfind.net/linux/RPM/Development_Languages_PHP.html| php-devel| php-devel|
33 25 Amber Herold
| php-mysql*| "rpmfind.net/linux/RPM/Development_Languages_PHP.html":http://rpmfind.net/linux/RPM/Development_Languages_PHP.html| php-mysql| php-mysql|
34 19 Neil Voss
| php-gd | "www.php.ned/gd":http://www.libgd.org  (Use gd2)| php-gd | php-gd |
35 1 Amber Herold
| fftw3 library (including development libraries and header *)| "www.fftw.org":http://www.fftw.org  (Use fftw3.x)| fftw3-devel| fftw3-devel|
36 34 Amber Herold
|libssh2 devel |http://www.libssh2.org |libssh2-devel (found in epel repo)|libssh2-devel|
37 17 Neil Voss
| phpMyAdmin (optional)| http://www.phpmyadmin.net | phpMyAdmin| |
38 18 Neil Voss
| GCC, the GNU Compiler Collection | http://gcc.gnu.org | gcc| |
39 26 Neil Voss
| Apache SSL module | | mod_ssl | |
40 34 Amber Herold
|SSH PECL extension |http://www.php.net/manual/en/ssh2.installation.php |php-pecl-ssh2 |php-pecl-ssh2 |
41 28 Amber Herold
| | | svn| |
42 38 Anchi Cheng
| | | git| |
43 1 Amber Herold
| | | python-imaging| |
44 28 Amber Herold
| | | python-devel| |
45
| | | mod_python| |
46 36 Amber Herold
|SciPy 0.5.1 (tested, others may work)*| "http://www.scipy.org":http://www.scipy.org|scipy|python-scipy|
47 40 Anchi Cheng
| | | fs 0.5| |
48 1 Amber Herold
| | | PyFFTW3| |
49 36 Amber Herold
50 33 Amber Herold
51 28 Amber Herold
52
53 32 Amber Herold
You can install all of these on CentOS with the following commands:
54 28 Amber Herold
<pre>
55 31 Amber Herold
#CentOS> 
56 40 Anchi Cheng
yum install php-pecl-ssh2 mod_ssl fftw3-devel git python-imaging python-devel mod_python scipy httpd libssh2-devel php php-mysq phpMyAdmin.noarch php-devel php-gd'
57 35 Amber Herold
</pre>
58 31 Amber Herold
59 35 Amber Herold
<pre>
60 39 Anchi Cheng
easy_install fs==0.5 PyFFTW3
61 28 Amber Herold
</pre>
62
63 1 Amber Herold
64 9 Amber Herold
*Notes:* 
65
66 22 Anchi Cheng
* RPM.pbone.net http://rpm.pbone.net/ provides a nice interface to search for module names on RPM based systems.
67 40 Anchi Cheng
* GD is usually installed with php.  If you find that you can only view images as png instead of jpg, it may be that you do not have gd _jpeg_ support installed.
68 2 Amber Herold
69 10 Amber Herold
70 8 Amber Herold
71 2 Amber Herold
72
______
73
74
[[Differences between Linux flavors|< Differences between Linux flavors]] | [[Configure php.ini|Configure php.ini >]]
75 3 Amber Herold
76
______