Sudo firewall-cmd -permanent -add-service=https In case of OS firewall enabled on your server then provide access to ports 80 and 443 to be accessed from outside the network: sudo firewall-cmd -permanent -add-service=http Restart the Apache service for the changes to take effect: sudo systemctl restart httpd Now we create a VirtualHost configuration file for osTicket on the Apache configurations directory: nano /etc/httpd/conf.d/nfĮrrorLog /var/log/httpd/osticket_error.logĬustomLog /var/log/httpd/osticket_access.log combined MariaDB > GRANT ALL PRIVILEGES ON osticketdb.* TO > FLUSH PRIVILEGES MariaDB > CREATE USER IDENTIFIED BY 'YOUR_PASSWORD' Once you are logged in to your database server you need to create a database for osTicket installation: MariaDB > CREATE DATABASE osticketdb This will prompt you for a password, so enter your MariaDB root password and hit Enter. Run the following command: mysql -u root -p Next, we will need to log in to the MariaDB console and create a database for the osTicket. Remove test database and access to it? y mysql_secure_installationĬonfigure it like this: - Set root password? y You should read and below each step carefully which will set a root password, remove anonymous users, disallow remote root login, and remove the test database and access to secure MariaDB. You can secure MariaDB using the mysql_secure_installation script. Configuring MariaDB for osTicket.īy default, MariaDB is not hardened.
0 Comments
Leave a Reply. |