Changes between Version 11 and Version 12 of SystemAdministration


Ignore:
Timestamp:
Jan 13, 2015, 5:55:41 PM (10 years ago)
Author:
erittenh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration

    v11 v12  
    7272
    7373== Trac Wiki and Defect Tracking
    74 [http://trac.edgewall.org/wiki/TracGuide Trac] provides a host of features including trouble ticketing, a software repository browser, and a general-purpose wiki.  The plugins [http://trac-hacks.org/wiki/PermRedirectPlugin PermRedirect] and [http://trac-hacks.org/wiki/AccountManagerPlugin AccountManager] are installed for additional features.  Important directories/files for configuration include:
     74[http://trac.edgewall.org/wiki/TracGuide Trac] provides a host of features including trouble ticketing, a software repository browser, and a general-purpose wiki.  The plugins [http://trac-hacks.org/wiki/PermRedirectPlugin PermRedirect] and [http://trac-hacks.org/wiki/AccountManagerPlugin AccountManager] are installed for additional features. 
     75
     76=== Configuration
     77Important directories/files for configuration include:
    7578 * /var/local/trac
    7679 * /var/local/trac/conf/trac.ini
     
    8487   ln -s /var/local/trac/VERSION templates/VERSION
    8588}}}
     89
     90=== Changing team logo
     91
     92'''Trac.ini''' (mentioned previously) contains a section which describes how the logo of the website is displayed. Specifically:
     93
     94{{{
     95[header_logo]
     96alt = RAID 2537 - Software Development #The alt text for the logo
     97height = 100 #The logo's height in pixels
     98link = #An optional link to go to if the logo is clicked
     99src = site/RAIDLogo.jpg #The location of the image
     100width = 80 #The logo's width in pixels
     101}}}
     102
     103Descriptions of these properties are listed in the code above. A few things to remember about all this:
     104 * When placing the logo into the filesystem, anything listed as being in the "site" file is actually listed under /var/local/trac/htdocs
     105 * The "alt text" mentioned above is just some text that is shown when someone hovers their mouse over the logo
     106
     107=== Moving a logo onto the server
     108In order to get a logo onto the server, you will have to use the linux command {{{scp}}} (if you're using linux or mac) or a SCP windows client, [[http://winscp.net/eng/download.php|WinSCP]] being a notable one for its PuTTY integration. The syntax for the SCP command will be
     109
     110{{{
     111scp <file location on your local disk> <username>@jupiter2.raidtech.net:/home/<username>/
     112}}}
     113
     114After moving the file to your local account, you will have to {{{mv}}} the file into '''/var/local/trac/htdocs'''. After doing, this, you should change the permissions on the file.
     115
     116{{{
     117sudo chown root:www-data <your image name>
     118sudo chmod a=r <your image name>
     119}}}
     120
     121Make sure you update the file name of your image in '''trac.ini''' after adding the image to the server, and if you need to delete the old one remember to use {{{rm}}} to delete the old file.