Changes between Version 12 and Version 13 of SystemAdministration


Ignore:
Timestamp:
Sep 2, 2017, 5:51:58 PM (8 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SystemAdministration

    v12 v13  
    11The software team uses a cloud-server hosted at [http://www.digitalocean.com DigitalOcean].  The server runs Ubuntu 14.04 linux and has 512MB RAM and 20GB storage.[[BR]]
    22
    3 The server name is jupiter2.raidtech.net and the static IP is 104.236.89.124.  The domain name wiki.raidtech.net takes you to the same server and is directed to the Wiki virtual host. So users can access the server here:
    4 * ssh://jupiter2.raidtech.net
    5 * https://jupiter2.raidtech.net:20000
    6 * http://wiki.raidtech.net/login
     3The server name is jupiter2.team2537.com and the static IP is 104.236.89.124.  The domain name wiki.team2537.com takes you to the same server and is directed to the Wiki virtual host. So users can access the server here:
     4* ssh://jupiter2.team2537.com
     5* https://jupiter2.team2537.com:20000
     6* http://wiki.team2537.com/login
    77
    8 Administration can be performed by command line (SSH) or via [https://jupiter2.raidtech.net:10000 Webmin][[BR]]
     8Administration can be performed by command line (SSH) or via [https://jupiter2.team2537.com:10000 Webmin][[BR]]
    99
    1010== User Management
    1111=== 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
     12  * [http://wiki.team2537.com/admin/accounts/users Add trac user]
     13  * [http://wiki.team2537.com/admin/general/perm Add user to appropriate group] (e.g. swdev) to give them the appropriate access permissions
    1414In 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
    15   * [https://jupiter2.raidtech.net:10000 Add unix user] (System->Users and Groups]
     15  * [https://jupiter2.team2537.com:10000 Add unix user] (System->Users and Groups]
    1616You can also do these from the unix command line:
    1717{{{
     
    3737
    3838== Version Control
    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:
    40     * svn+ssh://jupiter2.raidtech.net/home/svn/<repositoryname>
    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.).  Experiments should be done using the test repository.
    42 === Creating a repository:
    43 {{{
    44 sudo svnadmin create /home/svn/myrepo
    45 sudo chown -R root:swdev /home/svn/myrepo/db
    46 sudo chmod -R g+w        /home/svn/myrepo/db
    47 sudo chown -R root:swdev /home/svn/myrepo/locks
    48 sudo chmod -R g+w        /home/svn/myrepo/locks
    49 }}}
    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:
    51 {{{
    52 sudo trac-admin /var/local/trac repository resync "myrepo"
    53 }}}
    54 You may also need to add a post-commit hook in the repository to call:
    55 {{{
    56 trac-admin /var/local/trac changeset added "myrepo" $REV
    57 }}}
    58 For more information see: http://svnbook.red-bean.com/en/1.7/svn.reposadmin.create.html
    59 
    60 === Adding a project
    61 To create a project within a repository using the command line, on your local computer:
    62  * create project dir myproj w/sub-dirs: tags, branches, trunk
    63  * create/copy your project under myproj/trunk (see example helloc project in test repository)
    64  * cd myproj
    65  * svn import !svn+ssh://jupiter2.raidtech.net/<repositoryname> -m "initial import"
    66 You can also usually create projects using the subversion client in your IDE.
     39Git is used for version control.
    6740
    6841== Web Server