Changes between Version 7 and Version 8 of SystemAdministration


Ignore:
Timestamp:
Jan 8, 2015, 4:33:15 PM (10 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration

    v7 v8  
    88Administration can be performed by command line (SSH) or via [https://jupiter2.raidtech.net:10000 Webmin][[BR]]
    99
    10 Adding a new software team student requires creating two accounts: a unix user account that is also a member of the unix swdev group (so they can access the software repositories) and a Trac account so they can access the wiki.  The accounts can be created using web interfaces:
     10== User Management
     11=== Adding a new student:
     12  * [http://wiki.raidtech.net/admin/accounts/users Add trac user]
     13  * [http://wiki.raidtech.net/admin/general/perm Add user to appropriate group] (e.g. swdev) to give them the appropriate access permissions
     14In addition, for students on the software team, you should also create a unix user account and add them to the swdev group; this gives them permission to access the software repositories
    1115  * [https://jupiter2.raidtech.net:10000 Add unix user] (System->Users and Groups]
    12   * [http://wiki.raidtech.net/admin/accounts/users Add trac user]
    13   * [http://wiki.raidtech.net/admin/general/perm Add user to swdev group]
    14 or from the unix command line:
     16You can also do these from the unix command line:
    1517{{{
    1618        sudo adduser <username>
     
    2224}}}
    2325
    24 Adding a new mentor:
    25 
     26=== Adding a new mentor:
     27You can add a mentor using the web interfaces as described above for students.  Note that mentors should be added to both the appropriate student and mentor groups (e.g. swdev and swmentors) to ensure they have full permissions.  You can do this from the command line as well:
    2628{{{
    2729        sudo adduser <username>
     
    3133        cd /var/local/trac
    3234        sudo htpasswd .htpasswd <username>
    33         sudo trac-admin /var/local/trac permission add <username> TRAC_ADMIN
    34            or
    35         Log in to trac -> Admin -> Permissions -> Add TRAC_ADMIN for user
     35        sudo trac-admin /var/local/trac permission add <username> cfgmgmt
    3636}}}
    3737
     38== Version Control
    3839Subversion is used for version control; the repositories are stored in /home/svn.  Repositories are accessed securely from subversion clients (such as NetBeans) using the URL:
    3940    * svn+ssh://jupiter2.raidtech.net/home/svn/<repositoryname>
    40 Creating a repository:
     41Separate repositories are used for each sub-team that does not need to share code with other sub-teams (e.g. gameapp, sensors, etc.)[BR]
     42=== Creating a repository:
    4143{{{
    4244sudo svnadmin create /home/svn/myrepo
     
    4648sudo chmod -R g+w        /home/svn/myrepo/locks
    4749}}}
    48 After creating a repository, add it to Trac using the web interface [http://wiki.raidtech.net/admin/versioncontrol/repository here].  If there is data in the repository already, you may need to execute the following command:
     50After creating a repository, add it to Trac using the [http://wiki.raidtech.net/admin/versioncontrol/repository web interface].  If there is data in the repository already, you may need to execute the following command:
    4951{{{
    5052sudo trac-admin /var/local/trac repository resync "myrepo"
     
    5658For more information see: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html
    5759
     60=== Adding a project
    5861To create a project within a repository using the command line, on your local computer:
    5962 * create project dir myproj w/sub-dirs: tags, branches, trunk
     
    6366You can also usually create projects using the subversion client in your IDE.
    6467
    65 Apache webserver
     68== Web Server
     69An apache webserver is installed and is used by the Trac Wiki.  Other virtual web servers can be added.  The default web page is located [http://jupiter2.raidtech.net here].  Important directories for configuration are:
    6670 * /etc/apache2
    6771 * /var/www/html
    6872
    69 Trac Wiki and Defect Tracking
     73== Trac Wiki and Defect Tracking
    7074 * /var/local/trac
    7175 * /var/local/trac/conf/trac.ini