Install Web Server Prerequisites » History » Version 8
Amber Herold, 05/18/2010 03:41 PM
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 | |||
6 | h3. Install PHP, PHP-devel, gd, and fftw3 |
||
7 | |||
8 | |||
9 | * Use the installation tools available for your linux distribution. |
||
10 | |||
11 | For example, to install gd as php extension you may use |
||
12 | |||
13 | <pre> |
||
14 | 4 | Neil Voss | CentOS> sudo yum install php-gd |
15 | 1 | Amber Herold | SuSE10.2 and above> zypper install php-gd |
16 | </pre> |
||
17 | |||
18 | Likewise, use the SuSE Linux YaST2 utility or zypper (openSuSE 10.2 and above) to install. |
||
19 | "A list of required CENTOS rpms and instruction":http://emg.nysbc.org/bb/viewtopic.php?t=238 can be found at dbemtools bulletin board at leginon.org. |
||
20 | |||
21 | * Use the following table to find and install the prerequisite packages required for your distribution of linux: |
||
22 | |||
23 | *Prerequisite packages for myamiweb* |
||
24 | |||
25 | |_.Name:|_.Download site:|_.yum package name|_.SuSE rpm name| |
||
26 | | Apache| "www.apache.org":http://www.apache.org| httpd| apache2| |
||
27 | | php| "www.php.net":http://www.php.net| php| php| |
||
28 | | php-devel*| "rpmfind.net/linux/RPM/Development_Languages_PHP.html":http://rpmfind.net/linux/RPM/Development_Languages_PHP.html| php-devel| php-devel| |
||
29 | | php-gd (including GD library, its development libraries and header *)| "www.php.ned/gd":http://www.libgd.org (Use gd2)| php-gd, gd-devel| php-gd,gd-devel| |
||
30 | | fftw3 library (including development libraries and header *)| "www.fftw.org":http://www.fftw.org (Use fftw3.x)| fftw3-devel| fftw3-devel| |
||
31 | |||
32 | 7 | Neil Voss | RPM.pbone.net http://rpm.pbone.net/ provides a nice interface to search for module names on RPM based systems. |
33 | 5 | Neil Voss | |
34 | 1 | Amber Herold | *Note:* |
35 | MRCtools are compiled and added to php extension with php-devel package. MRCtools use GD and FFTW3 that need to be compiled from their development libraries while the extension is compiled. If GD and FFTW3 sources were downloaded and compiled directly on your computer, these development files are included. If (as in most cases) GD and FFTW3 are installed from rpm, they are not included. An error message will appear when you attempt to compile mrctools. In this case, you will need separate download and installation of GD-devel and FFTW3-devel. Search http://rpmfind.net/linux/rpm2html/ for GD-devel and FFTW3-devel for the rpm distribution needed for your system. More information on the gd library can be found "here":http://www.php.net/manual/en/image.requirements.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. |
||
36 | 2 | Amber Herold | |
37 | 8 | Amber Herold | TODO: This is too scary and cumbersome. |
38 | |||
39 | 2 | Amber Herold | |
40 | ______ |
||
41 | |||
42 | [[Differences between Linux flavors|< Differences between Linux flavors]] | [[Configure php.ini|Configure php.ini >]] |
||
43 | 3 | Amber Herold | |
44 | ______ |