Commit 70a56dd9 authored by B.Poojitha's avatar B.Poojitha

Delete README.md

parent 557d982e
OSTICKET INSTALLATION
1) root@OsTicket:~# apt-get update && apt-get upgrade -y
2)Step #02: Install php, mysql and nginx server this is LAMP server.
root@OsTicket:~# apt install mysql-server unzip libapache2-mod-php7.2 php7.2-mbstring php7.2-cli php7.2-mysql php7.2-cgi php7.2-fpm php7.2-gd php7.2-imap php7.2-xml php7.2-intl php-dev libmcrypt-dev php-pear -y
Now web server restart command
root@OsTicket:~# service apache2 restart
Create mysql password
root@OsTicket:~# mysql_secure_installation
3)Step #03: Create database for store data at first login using root and password
root@OsTicket:~# mysql -u root -p
Then run below command into mysql terminal
Mysql> create database osticketdb;
Mysql> create user osticket@localhost identified by 'Passw0rd@123';
Mysql> grant all privileges on osticketdb.* to osticket@localhost identified by 'Passw0rd@123';
Mysql> flush privileges;
Mysql> exit;
Service mysql restart command below
root@OsTicket:~# service mysql restart
4)Step #04: Download OsTicket software from below link
root@OsTicket:~# cd /tmp/
root@OsTicket:/tmp# wget https://github.com/osTicket/osTicket/releases/download/v1.10.4/osTicket-v1.10.4.zip
Now unzip and move into web directory download file then see two folder one upload and other scripts
root@OsTicket:~# unzip osTicket-v1.10.4.zip
root@OsTicket:~# mv upload/* /var/www/html/
root@OsTicket:~# mv scripts/ /var/www/html/
Remove default index file using command below
root@OsTicket:~# rm -rf /var/www/html/index.html
5)Step #05: Edit database file and insert DB config
root@OsTicket:~# cd /var/www/html/include/
root@OsTicket:/var/www/html/include/# cp ost-sampleconfig.php ost-config.php
Setup web directory permission for execute all command
root@OsTicket:/var/www/html/include/# cd
root@OsTicket:~# chown -R www-data:www-data /var/www/html/
root@OsTicket:~# chmod 755 -R /var/www/html/
root@OsTicket:~# chmod 0644 /var/www/html/include/ost-config.php
6)Step #06: Create virtual host for OsTicket config
root@OsTicket:~# vi /etc/apache2/sites-available/000-default.conf
Make sure DocumentRoot /var/www/html
7)Step #07: Restart web server command below
root@OsTicket:~# service apache2 restart
8)Step #08: Goto http://10.66.25.20/ # here place your ip
Step by step setup support mail, admin account and database info.
Troubleshooting scp
When login http://10.66.25.20/scp/# here place your ip/scp
Error : Valid CSRF Token Required
Open session file from below
root@OsTicket:~# vi /var/www/html/upload/include/class.ostsession.php
Find below text
DoesNotExist
Insert this line  $this->data->session_data = “”;
After $this->data = new SessionData([‘session_id’ => $id]);
Example :
$this->data = new SessionData(['session_id' => $id]);
$this->data->session_data = "";
root@OsTicket:~# service apache2 restart
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment