Additional components

Here we are going to upgrade to the latest packages, install Webmin and phpMyAdmin, the NFS common module, and some supplementary modules to PHP. At the end of this session, we will have all the components we need for the Drupal development environment.

  1. Upgrade standard packages
  2. First check whether new update packages are available to 8.04 LTS Server. To get the latest packages from Ubuntu, type to your terminal:

    sudo apt-get update && sudo apt-get upgrade
    sudo apt-get autoclean && sudo apt-get autoremove

    The downloads and install process can take some time, so be patient!

    upgrading the LAMP stack
    upgrading the LAMP stack

  3. Webmin install
  4. We download here the minimal package of Webmin, as well as some Ubuntu packages needed. For the whole functionality, many Webmin modules will be downloaded later, during the configuration process. To download the the minimal webmin package, type:

    wget http://prdownloads.sourceforge.net/webadmin/webmin-1.420-minimal.tar.gz
    sudo apt-get install perl libnet-ssleay-perl libauthen-pam-perl

    The 1.420 version includes already the fixes of Webmin for Ubuntu 8.04. For the latest webmin version, check also the webmin home

    To install webmin type:

    mv webmin-1.420-minimal.tar.gz /tmp
    cd /tmp
    tar xf webmin-1.420-minimal.tar.gz
    cd webmin-1.420
    sudo ./setup.sh /usr/local/webmin
    rm -rf webmin-1.420
    rm -rf webmin-1.420-minimal.tar.gz

    During install, accept defaults, set the webmin user and its password, and say yes to ssl and to start webmin at boot time.

    To start Webmin, open your browser and type: https://your-ip:10000/ where 'your-ip' is the IP address the LAMP server. It is now a temporary link to check this step, but we will set up the permanent address later on. In order to manage your Ubuntu, you will need some more webmin modules and theme. We'll configure Webmin in Session 3.

  5. The NFS package
  6. In order to mount source files from other servers or clients, we need to install the nfs-common package of Ubuntu

    sudo apt-get install nfs-common

  7. PphMyAdmin
  8. It is the common tool for administrating the MySQL databases and tables during Drupal development.

    sudo apt-get install phpmyadmin

    In the configuration screen, select apache2.

    Configuration of phpMyAdmin
    Configuration of phpMyAdmin

    After that, open your browser, and type: http://your-ip:10000/phpmyadmin/ where 'your-ip' is the IP address the LAMP server to have the PhPMyAdmin.

  9. The GD libraries of PHP
  10. Because of the standard LAMP package does not contain a very important PHP graphical package used by Drupal, we install it, and also restart the webserver:

    sudo apt-get install php5-gd
    sudo /etc/init.d/apache2 restart

    Now we have all of the packages for our development environment on Ubuntu LAMP server, we continue now with some configurations.