Changes between Version 7 and Version 8 of SystemAdministration
- Timestamp:
- Jan 8, 2015, 4:33:15 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SystemAdministration
v7 v8 8 8 Administration can be performed by command line (SSH) or via [https://jupiter2.raidtech.net:10000 Webmin][[BR]] 9 9 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 14 In 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 11 15 * [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: 16 You can also do these from the unix command line: 15 17 {{{ 16 18 sudo adduser <username> … … 22 24 }}} 23 25 24 Adding a new mentor:25 26 === Adding a new mentor: 27 You 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: 26 28 {{{ 27 29 sudo adduser <username> … … 31 33 cd /var/local/trac 32 34 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 36 36 }}} 37 37 38 == Version Control 38 39 Subversion 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: 39 40 * svn+ssh://jupiter2.raidtech.net/home/svn/<repositoryname> 40 Creating a repository: 41 Separate 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: 41 43 {{{ 42 44 sudo svnadmin create /home/svn/myrepo … … 46 48 sudo chmod -R g+w /home/svn/myrepo/locks 47 49 }}} 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:50 After 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: 49 51 {{{ 50 52 sudo trac-admin /var/local/trac repository resync "myrepo" … … 56 58 For more information see: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html 57 59 60 === Adding a project 58 61 To create a project within a repository using the command line, on your local computer: 59 62 * create project dir myproj w/sub-dirs: tags, branches, trunk … … 63 66 You can also usually create projects using the subversion client in your IDE. 64 67 65 Apache webserver 68 == Web Server 69 An 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: 66 70 * /etc/apache2 67 71 * /var/www/html 68 72 69 Trac Wiki and Defect Tracking73 == Trac Wiki and Defect Tracking 70 74 * /var/local/trac 71 75 * /var/local/trac/conf/trac.ini