We want to install Apache, MySQL, and PHP/PERL (also known as AMP solution stack) on our Linux system as our OCS-NG inventory is going to run on top of these. Apache is the web server daemon, and it's going to provide a web-based user interface for us too. MySQL will serve database requests, and it's the heart of the inventory after all. In order to provide dynamic content, we also need PHP and Perl interpreters.
After having learnt how to use package managers of various Linux distributions, let's put our knowledge to some practical use. We will focus on yum, then APT, and finally emerge.
First things first, we can install all packages with one simple command line as follows:
# yum -y install httpd php mysql mysql-server php-mysql
Now that we have these basic packages installed, we can check whether there are updates available for them by using the yum check-update httpd
command In order to find out...