Dependencies
|
|
| Dennis Iversen |
| 14-Nov-2010 11:00:26 |
Intro
The following is some shell scripts which will check and install all needed packages, which means a complete server setup including Apache2, MySQL, PHP5.3, memcached, and git. And also a few PHP5 modules like e.g. APC (cache), GD (images) etc. Some packages written in PHP are also installed: The Zend Framework (which so far is only used with OpenID), and a few PEAR packages.
The script requires aptitude, and works well on a recent Debian like systems. If you are not on a Debian system (e.g. Ubuntu or Debian), you can look what the requirements are and install the requirements in any other way.
Please note that the system is only checked with PHP 5.3 or later, and you will run into trouble if you don't use a version >= PHP 5.3
You will need to run the script as root. On debian you will download the script as e.g. 'check_deps.sh' and:
su root
chmod +x ./check_deps.sh
./check_deps.sh
On Ubuntu you will do something like:
sudo chmod +x ./check_deps.sh
sudo ./check_deps.sh
Ubuntu 10.04 and Debian 6.0.0 Script
This is tested on Debian 6.0.0 and Ubuntu 10.04.
Ubuntu 11.04 Script
This is a better option for Ubuntu 11.04.
