INSTALLATION OS TICKET PANEL
Execute the following command to setup the LAMP server. - yum install httpd php php-{cli,common,gd,mysql,imap,mbstring,xml} mysql mysql-server -y
Run the following command to test the PHP installation by setting up info.php file under the root document.
- echo -e " < ?php
phpinfo()
?> " > /var/www/html/info.php - cat /var/www/html/info.php
- service httpd start
- chkconfig --levels 235 httpd on
- service mysqld start
- chkconfig --levels 235 mysqld on
- mysql_secure_installation
Remove anonymous users? [Y/n] y
Disallow root login remotely? [Y/n] y
Remove test database and access to it? [Y/n] y
Reload privilege tables now? [Y/n] y
Now Create data base in SQL
- mysql -u root -p
- create database osticket;
- CREATE USER 'osticket'@'localhost' IDENTIFIED BY 'nafees123';
- GRANT ALL PRIVILEGES ON osticket.* TO 'osticket'@'localhost';
- FLUSH PRIVILEGES;
- show databases;
- sudo yum -y install git
- git clone https://github.com/osTicket/osTicket-1.8
- sudo su
- cp -R osTicket-1.8/* /var/www/html/
- cd /var/www/html/
But we are missing a few packages that are needed to move on with the installation.
- yum -y install php-xml php-gd php-mbstring php-imap
yum install php-pecl-apcu
yum --enablerepo=remi install php-intl
systemctl restart httpd
- cd /var/www/html/include
- cp ost-sampleconfig.php ost-config.php
No comments:
Post a Comment