Edgewall Software

Changes between Version 3 and Version 4 of Ubuntu-16.04-Git


Ignore:
Timestamp:
Sep 22, 2018, 5:58:33 PM (6 years ago)
Author:
figaro
Comment:

Further cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-16.04-Git

    v3 v4  
    1212 * !LinuxMint 18.2
    1313
    14 Here is a somewhat basic copy paste bash script for this. However, there will be some manual steps, but a find+replace will help a lot. Be aware you might run all of these commands with the `sudo -H`.
     14Here is a somewhat basic bash script for this. However, there will be some manual steps, but a find+replace will help a lot. Be aware you might run all of these commands with the `sudo -H`.
    1515
    1616{{{#!div class="important"
     
    3939Follow the trac-admin guide.
    4040
    41 Now lets test the Trac installation before we do anything else:
     41Now let's test the Trac installation before we do anything else:
    4242{{{#!sh
    4343tracd --port 8000 /var/www/trac
     
    4545}}}
    4646
    47 If it's working, then it's time to setup a admin user and password for the admin account. If it doesn't work, then that is beyond this wiki and you'll need to consult internet resources for a solution.
     47If it's working, then it's time to setup an admin user and password for the admin account. If it doesn't work, then that is beyond this wiki and you'll need to consult internet resources for a solution.
    4848
    4949Run the following to create the admin user:
     
    9292}}}
    9393
    94 == Nginx configurations
     94== Nginx configuration
    9595
    96 Now it's time to do the NginX configurations.
    97 
    98 First we have to make a reverse proxy to the Trac daemon we have made in [#SystemD Systemd startup script].
     96Now it's time to do the Nginx configuration. First we have to make a reverse proxy to the Trac daemon we have made in [#SystemD Systemd startup script].
    9997
    10098In the `/etc/nginx/nginx.conf` we'll have to add a upstream for our reverse_proxy to Trac:
     
    105103}}}
    106104
    107 Now make the site.conf file in your preferred location, which by default would be `/etc/nginx/conf.d/`, for other it would be in `/etc/nginx/sites-available` but we go whit the default `nano /etc/nginx/conf.d/site.conf`:
     105Now make the site.conf file in your preferred location, which by default would be `/etc/nginx/conf.d/`, otherwise it would be in `/etc/nginx/sites-available` but we go with the default `nano /etc/nginx/conf.d/site.conf`:
    108106
    109107{{{#!nginx-conf
     
    179177The following paths is to be replaced with your preferences:
    180178 * `/var/www/trac`: `/full/path/to/trac`
    181  * `adminusername`: `YourUserName` to be used as the track admin
    182  * `UserName`: The username for which trac daemon runs as ex. `Your login UserName`
    183  * `GroupName`: The group name for which trac daemon runs as ex `www-data`
     179 * `adminusername`: `YourUserName` to be used as the Trac admin
     180 * `UserName`: The username for which the Trac daemon runs as, for example `Your login UserName`
     181 * `GroupName`: The group name for which trac daemon runs as, for example `www-data`
    184182 * `trac.local`: `full.domain.tld`
    185183 * `live_trachosts_com`: to what suits your needs
    186  * `123.123.123.123`: if you are running both NginX and Apache on port 80/443, then you'll need to set the IP, but if you only run Nginx or Apache you can delete the IP address to listen on all addresses
     184 * `123.123.123.123`: if you are running both Nginx and Apache on port 80/443, then you'll need to set the IP, but if you only run Nginx or Apache you can delete the IP address to listen on all addresses
    187185
    188186== Versions
     
    197195nginx version: nginx/1.13.6
    198196}}}
    199 
    200 === Which list
    201 
    202 A complete HOWTO copy/paste guide to make Nginx running as "Front-end" of Trac.