Changes between Version 36 and Version 37 of Nmm2022/Agenda/RTsetup


Ignore:
Timestamp:
Jul 15, 2022, 5:39:21 AM (2 years ago)
Author:
deepthi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/RTsetup

    v36 v37  
    334334Save and exit the file.
    335335
     336Create a RT5 sites-available configuration file.
     337
     338{{{
     339vi /etc/apache2/sites-available/rt5.conf
     340}}}
     341
     342{{{
     343<VirtualHost *:80>
     344        # rt.learn.com Demo server
     345        # Ensure that your log rotation scripts know about these files
     346        # ErrorLog /opt/rt5/var/log/apache2.error
     347        # TransferLog /opt/rt5/var/log/apache2.access
     348        # LogLevel debug
     349
     350        AddDefaultCharset UTF-8
     351
     352        ScriptAlias / /opt/rt5/sbin/rt-server.fcgi/
     353
     354        DocumentRoot "/opt/rt5/share/html"
     355        <Location />
     356            Require all granted
     357            Options +ExecCGI
     358            AddHandler fcgid-script fcgi
     359        </Location>
     360</VirtualHost>
     361}}}
     362
     363Edit the apache2.conf file and add information as following
     364
     365{{{
     366vi /etc/apache2/apache2.conf
     367}}}
     368
     369{{{
     370<Directory /opt/rt5/share/html>
     371        Options Indexes FollowSymLinks
     372        AllowOverride All
     373        Require all granted
     374</Directory>
     375}}}
     376
     377Enable the RT5 site
     378
     379{{{
     380sudo a2ensite rt5
     381}}}
     382
     383Disable the default site
     384
     385{{{
     386sudo a2dissite 000-default
     387}}}
     388
     389Restart apache service
     390
     391{{{
     392sudo systemctl restart apache2
     393}}}
     394Note : Here, Mails are sent using a locally configured postfix to send mails to create tickets. postfix and RT are installed in same server in this setup.
     395We advice you to have a proper mail configurations when you install RT for institutional purposes.
     396
    336397If you are installing a testbed, you can use the manual for installing [https://linuxhint.com/install_postfix_ubuntu_1804/ Postfix here] .
    337398Otherwise we advice you to configure proper mail gateway for rt.
    338399
    339 Note : Here, Mails are sent using a locally configured postfix to send mails to create tickets. postfix and RT are installed in same server in this setup.
    340 We advice you to have a proper mail configurations when you install RT for institutional purposes.
    341400
    342401Edit /etc/aliases file for mailgate configuration in rt.