Need Assistance?

In only two hours, with an average response time of 15 minutes, our expert will have your problem sorted out.

Server Trouble?

For a single, all-inclusive fee, we guarantee the continuous reliability, safety, and blazing speed of your servers.

How to Install osTicket on ubuntu 24.04

osTicket is a powerful open-source help desk and ticketing system that centralizes and streamlines customer inquiries from various channels like email, web forms, and APIs. If you’re running Ubuntu 24.04, this step-by-step guide will walk you through how to install osTicket on ubuntu 24.04 and run it using the LAMP stack and a dedicated domain—perfect for small businesses or support teams.

Prerequisites

  • A server running Ubuntu 24.04, with a ‑enabled user
  • A domain (e.g., osticket.yourdomain.com) pointing to this server
  • At least 2GB RAM and 20GB storage recommended
  • Internet connectivity

Step 1: Install Apache & PHP

osTicket is PHP-based, so install Apache and necessary PHP extensions with:

#apt update
#apt install apache2 php php-cli php-common php-imap php-redis php-snmp php-xml php-zip php-mbstring php-curl php-mysqli php-gd php-intl php-apcu libapache2-mod-php unzip

 Then start and enable Apache:

systemctl start apache2
systemctl enable apache2

Step 2: Install & Secure MariaDB

osTicket requires a database backend, typically MariaDB:

apt install mariadb-server -y
mysql_secure_installation

Then create a database and user:

> CREATE DATABASE osticket;
> GRANT ALL PRIVILEGES ON osticket.* TO 'osticket'@'localhost' IDENTIFIED BY 'YourStrongPass';
> FLUSH PRIVILEGES;
> EXIT;

Step 3: Download & Configure osTicket

Navigate to Apache’s root directory, fetch the latest release via GitHub, and extract the package:

You can use /var/www/html

#cd /var/www/html
#curl -s https://api.github.com/repos/osTicket/osTicket/releases/latest | grep browser_download_url | cut -d '"' -f 4 | wget -i -

A file called osTicket*.zip will be downloaded.

Unzip the file

unzip osTicket*.zip

Then copy the config template and adjust permissions:

cp osTicket/upload/include/ost-sampleconfig.php osTicket/upload/include/ost-config.php
chown -R www-data:www-data osTicket
chmod -R 775 osTicket

Step 4: Configure Apache Virtual Host

Create and enable an Apache configuration for osTicket:

vim /etc/apache2/sites-available/osticket.conf
<VirtualHost *:80>
    ServerName osticket.yourdomain.com
    DocumentRoot /var/www/html/osTicket/upload
    <Directory /var/www/html/osTicket>
    AllowOverride All
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/osticket_error.log
    CustomLog ${APACHE_LOG_DIR}/osticket_access.log combined
</VirtualHost>

Enable rewrite and the site, then restart Apache:

a2enmod rewrite
a2ensite osticket.conf
systemctl reload apache2

Step 5: Complete Installation via Web Installer

Open your browser and visit http://osticket.yourdomain.com. The web installer will verify prerequisites—just click Continue.

Fill in:

Helpdesk name, admin credentials

Database details (db name, user, password)

Click Install Now, then log in to your Staff Control Panel. Optionally tweak system settings and your custom dashboard.

Cleanup for security:

rm -rf /var/www/html/osTicket/upload/setup/

Conclusion

You’ve now successfully completed the process to install osTicket on Ubuntu 24.04! With Apache, PHP, and MariaDB configured, your ticketing system is ready to handle customer support requests with efficiency and transparency.

osTicket empowers you to centralize support, improve response times, and elevate customer satisfaction—all with open-source flexibility.

Our staff at Skynats is available to assist you if you need professional help on how to install osTicket on Ubuntu 24.04 or if you need continuous support. We guarantee seamless ticketing system installation, configuration, and upkeep with our extensive server management services.

Liked!! Share the post.

Get Support right now!

Start server management with our 24x7 monitoring and active support team

Let us know your requirement.

Can't get what you are looking for?

Get Support Right Away!

Thank You

We have received your query and will get back to you soon.