Tutorial: How to Install Easy!Appointments on Ubuntu 14.04

Install Required LAMP Server Extensions

Install PHP Curl

  1. Open Terminal and type in the following command to install the php curl extension.
    sudo apt-get install php5-curl

Enable the rewrite extension

  1. In Terminal, type the following command to enable the rewrite extension of the Apache web server.
    sudo a2enmod rewrite
  2. Open the configuration file of the default website.
    sudo nano /etc/apache2/sites-available/000-default.conf
  3. Add the following directory settings below the “DocumentRoot” line within the file.
    <Directory /var/www/html/>
         AllowOverride All
    </Directory

    10-addDirectory

  4. Save change using “Ctrl+O” on the keyboard.
  5. Exit the text editor with “Ctrl+X”
  6. Restart the Apache web server for all the changes to take effect.
    sudo service apache2 restart

Create a MySQL Database

  1. In Terminal, log into the MySQL shell with the following command. Use the password created when installing the LAMP server.
    mysql -u root -p
  2. Create the database ‘easyappointments’ or a name of your choosing. It will be successfully created if “Query OK” appear immediately after pressing the “Enter” key.
    create database easyappointments;

    NOTE: Do not forget the semi-colon at the end of the line. If you do, simply type the semi-colon and press the “Enter” key.

  3. Exit the MySQL shell with the following command.
    exit

Support Us!

Thank you for reading this article. If you found it useful, please consider buying us a coffee, subscribing to the YouTube Channel, and/or changing your Amazon bookmark to our affiliate link (CAN, USA, UK). We do this out of general interests and to help others. Thanks!




Leave a Reply

Your email address will not be published.