Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Student Issue Portal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
KLUGLUG
Student Issue Portal
Commits
70a56dd9
Commit
70a56dd9
authored
Oct 21, 2019
by
B.Poojitha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete README.md
parent
557d982e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
111 deletions
+0
-111
README.md
README.md
+0
-111
No files found.
README.md
deleted
100644 → 0
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment