OpenSuSE 11.4 LAMP installation guide

Aside

The following guide demonstrates how to install Apache 2.2, PHP 5.3 and MySQL 5.1 in OpenSuSE linux version 11.4.

I will not guide you through the installationsteps, so I start  after booting the machine and logging in.

You have to be logged in as root (using the sudo command).

By entering the following code into the commandline you install MySQL, Apache, PHP and the basic/required third party modules.

sudo
yast2 -i mysql mysql-community-server mysql-client perl-DBD-mysql perl-DBI perl-Data-ShowTable
chkconfig --add mysql
/etc/init.d/mysql start
yast2 -i apache2 apache2-devel apache2-mod_perl apache2-mod_php5 apache2-prefork perl-HTML-Parser perl-URI perl-libwww-perl php5 php5-devel zlib zlib-devel
yast2 -i ImageMagick curl
yast2 -i php5-bcmath php5-bz2 php5-calendar php5-ctype php5-curl php5-dom php5-ftp php5-gd php5-gettext php5-gmp php5-iconv php5-imap php5-ldap php5-mbstring php5-mcrypt php5-mysql php5-odbc php5-openssl php5-pcntl php5-pgsql php5-posix php5-shmop php5-snmp php5-soap php5-sockets php5-sqlite php5-sysvsem php5-tokenizer php5-wddx php5-xmlrpc php5-xsl php5-zlib php5-exif php5-fastcgi php5-pear php5-sysvmsg php5-sysvshm
chkconfig --add apache2
/etc/init.d/apache2 start

How-to install Bash 4.0 in Linux

Aside

This guide is for almost every Linux distribution.

Prerequisite is that you have the required build tools installed already.
If not, do the following step:

Debian and Ubuntu users way;

sudo apt-get install build-essential

The Fedora/Red Hat way:

sudo yum groupinstall "Development Tools" "Legacy Software Development"

First step is getting the source package

wget http://ftp.gnu.org/gnu/bash/bash-4.0.tar.gz
Next step is compiling and installing it;

tar xf bash-4.0.tar.gz
./configure
make
sudo make install