How to Install Easy!Appointments on Debian Latest

Easy!Appointments is a web-based appointment scheduling system that allows users to manage appointments and schedule appointments via their website. Here's how to install Easy!Appointments on Debian Latest.

Prerequisites

Step 1: Install the LAMP Stack

Easy!Appointments needs a web server with PHP support and a database to store its data. To install these packages, run the following command:

sudo apt update
sudo apt install apache2 php7.4 libapache2-mod-php7.4 mariadb-server php7.4-mysql php7.4-curl php7.4-json php7.4-mbstring php7.4-xml php7.4-zip

Step 2: Create a Database

Next, create a database and user for Easy!Appointments:

sudo mysql -u root
CREATE DATABASE easyappointments;
GRANT ALL PRIVILEGES ON easyappointments.* TO 'eauser'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
EXIT;

Make sure to change the username and password of the database user for security purposes.

Step 3: Download and Install Easy!Appointments

Download the latest version of Easy!Appointments using wget:

cd /var/www/html
sudo wget https://github.com/alextselegidis/easyappointments/releases/download/1.4.2/easyappointments-1.4.2.zip
sudo unzip easyappointments-1.4.2.zip
sudo mv easyappointments-1.4.2/ easyappointments/
sudo chown -R www-data:www-data easyappointments/

Step 4: Configure Easy!Appointments

Navigate to the Easy!Appointments installation directory and run the setup script:

cd /var/www/html/easyappointments/
sudo php index.php install

Follow the prompts to set up the database and create an admin user.

Step 5: Configure Apache to Serve Easy!Appointments

Create a virtual host configuration file for Easy!Appointments:

sudo nano /etc/apache2/sites-available/easyappointments.conf

And add the following configuration:

<VirtualHost *:80>
  ServerAdmin webmaster@localhost
  DocumentRoot /var/www/html/easyappointments

  ErrorLog ${APACHE_LOG_DIR}/error.log
  CustomLog ${APACHE_LOG_DIR}/access.log combined

  <Directory /var/www/html/easyappointments>
      Options FollowSymLinks
      AllowOverride All
      Require all granted
  </Directory>
</VirtualHost>

Enable the virtual host and restart Apache:

sudo a2ensite easyappointments.conf
sudo systemctl restart apache2

Step 6: Access Easy!Appointments

Open your web browser and navigate to your server's IP address or domain name. You should be presented with the Easy!Appointments login screen. Use the admin account created during setup to log in.

Congratulations! You have successfully installed and configured Easy!Appointments on Debian Latest.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!