How To Install osTicket v1.14 On Ubuntu 20.045 min read
I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written by php mysql. This guide for installation process not for any customize. You can use this system for your company support portal.
★ How To Install Java And Tomcat On Ubuntu 16.04
★ How To Install DNS Server (Bind9) On Ubuntu 20.04
My server info :
IP address : 10.66.11.15
OS : Ubuntu 20.04 LTS
RAM : 2 GB
Disk : 50 GB
vCPU : 2
CPU op-mode(s) : 64-bit
Service : osTicket v1.14.2
Database : Mariadb
vPHP : 7.3
Step #01: Must be server update and upgrade.
[email protected]:~# vi /etc/resolv.conf
Insert name server as like below
nameserver 8.8.8.8
Step #02: Install web server (Apache) and database server (Mariadb).
[email protected]:~# apt install software-properties-common [email protected]:~# add-apt-repository ppa:ondrej/php [email protected]:~# apt update [email protected]:~# apt install php7.3 -y [email protected]:~# apt install mariadb-server libapache2-mod-php7.3 php7.3-mbstring php7.3-cli php7.3-mysql php7.3-cgi php7.3-fpm php7.3-gd php7.3-imap php7.3-xml php7.3-intl php-dev libmcrypt-dev php-pear php-apcu unzip -y [email protected]:~# systemctl enable apache2 [email protected]:~# systemctl start apache2 [email protected]:~# systemctl enable mariadb [email protected]:~# systemctl start mariadb [email protected]:~# mysql_secure_installation
If needed root password setup so run last command otherwise not run this command. mysql_secure_installation. By default mariabd is secure.
Step #03: Create database, use and user password.
MariaDB [(none)]> create database osticket_db; MariaDB [(none)]> create user [email protected] identified by '[email protected]'; MariaDB [(none)]> grant all privileges on osticket_db.* to [email protected] identified by '[email protected]'; MariaDB [(none)]> flush privileges; MariaDB [(none)]> exit;
Step #04: Download and extract into root folder.
[email protected]:~# wget https://github.com/osTicket/osTicket/archive/v1.14.2.zip [email protected]:~# unzip v1.14.2.zip [email protected]:~# mv osTicket-1.14.2/* /var/www/html/ [email protected]:~# rm -rf /var/www/html/index.html [email protected]:~# cp /var/www/html/include/ost-sampleconfig.php /var/www/html/include/ost-config.php
Setup file permission for root folder.
[email protected]:~# chown -R www-data:www-data /var/www/html/ [email protected]:~# chmod 755 -R /var/www/html/ [email protected]:~# vi /etc/apache2/sites-available/000-default.conf
Now see default web root folder is /var/www/html/ otherwise it is change needed.
Restart web server using below command.
[email protected]:~# service apache2 restart
Now browse server ip address for complete web installation process.
http://10.66.11.15/
Step #05: Check osTicket prerequisites if all is done!
Click Continue
Step #06: osTicket basic installation.
Create system settings, Admin user and database configuration (db name, user name & password).
Click Install Now
Wait at least 1-2 min for complete installation process done! Then see Congratulations! page and login url.
After complete installation done! Then access your staff panel and home page.
Step #07: After installation done change some permission and remove setup folder.
[email protected]:~# rm -rf /var/www/html/setup/ [email protected]:~# chmod 0644 /var/www/html/include/ost-config.php
For more details see YouTube channel and subscribe.
- How To Install Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!
Very good
Well described
Working perfectly
Most welcome! Thanks.
Apcu not installed, suggestions?
Try server update & upgrade then install apcu package.
Thanks.
Hello. I have to install OSticket in my job. So your video and detailled explanation are excellent. Thank you.
Most welcome! Connect with us.