Changes between Version 3 and Version 4 of Ubuntu-16.04-Git
- Timestamp:
- Sep 22, 2018, 5:58:33 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ubuntu-16.04-Git
v3 v4 12 12 * !LinuxMint 18.2 13 13 14 Here is a somewhat basic copy pastebash 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`.14 Here 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`. 15 15 16 16 {{{#!div class="important" … … 39 39 Follow the trac-admin guide. 40 40 41 Now let s test the Trac installation before we do anything else:41 Now let's test the Trac installation before we do anything else: 42 42 {{{#!sh 43 43 tracd --port 8000 /var/www/trac … … 45 45 }}} 46 46 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.47 If 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. 48 48 49 49 Run the following to create the admin user: … … 92 92 }}} 93 93 94 == Nginx configuration s94 == Nginx configuration 95 95 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]. 96 Now 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]. 99 97 100 98 In the `/etc/nginx/nginx.conf` we'll have to add a upstream for our reverse_proxy to Trac: … … 105 103 }}} 106 104 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 whitthe default `nano /etc/nginx/conf.d/site.conf`:105 Now 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`: 108 106 109 107 {{{#!nginx-conf … … 179 177 The following paths is to be replaced with your preferences: 180 178 * `/var/www/trac`: `/full/path/to/trac` 181 * `adminusername`: `YourUserName` to be used as the trackadmin182 * `UserName`: The username for which t rac 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` 184 182 * `trac.local`: `full.domain.tld` 185 183 * `live_trachosts_com`: to what suits your needs 186 * `123.123.123.123`: if you are running both Ngin Xand 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 addresses184 * `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 187 185 188 186 == Versions … … 197 195 nginx version: nginx/1.13.6 198 196 }}} 199 200 === Which list201 202 A complete HOWTO copy/paste guide to make Nginx running as "Front-end" of Trac.