User Tools

Site Tools


projects:base-infrastructure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
projects:base-infrastructure [2017-09-20 16:15]
trinitor
projects:base-infrastructure [2018-04-02 11:09]
trinitor [nextcloud]
Line 498: Line 498:
         * Group         * Group
           * devbase_delegate_access_nextcloud           * devbase_delegate_access_nextcloud
 +
 +==== gitlab ====
 +  * install Ubuntu 16.04 LTS
 +  * configure network
 +  * apt update && sudo apt upgrade
 +  * sudo apt-get install -y curl openssh-server ca-certificates
 +  * curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
 +  * sudo echo en_US.UTF-8 UTF-8 > /etc/locale.gen
 +  * sudo locale-gen en_US.UTF-8
 +  * LC_ALL="en_US.UTF-8"
 +  * LC_CTYPE="en_US.UTF-8"
 +  * sudo EXTERNAL_URL="http://gitlab.devbase.org" apt-get install gitlab-ee
 +  * browse to http://git.devbase.org -> set root password
 +  * vi /etc/gitlab/gitlab.rb
 +<code>
 +gitlab_rails['ldap_enabled'] = false
 +gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
 +  main: # 'main' is the GitLab 'provider ID' of this LDAP server
 +    label: 'LDAP'
 +    host: 'auth01.devbase.org'
 +    port: 389
 +    uid: 'sAMAccountName'
 +    bind_dn: 'CN=s-gitlab,CN=Users,DC=devbase,DC=org'
 +    password: 'mylittlepassword'
 +    encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
 +    verify_certificates: true
 +    active_directory: true
 +    allow_username_or_email_login: false
 +    lowercase_usernames: false
 +    block_auto_created_users: false
 +    base: 'CN=Users,DC=devbase,DC=org'
 +#     user_filter: ''
 +EOS
 +</code>
 +  * gitlab-ctl reconfigure
 +  * gitlab-rake gitlab:ldap:check
  
 ==== Music ==== ==== Music ====
 +Background music should not be interrupted by rebooting clients or phones leaving the building. \\
 +A dedicated client should play the music and controllable by all kind of devices.
 +
   * download runeaudio for RPi   * download runeaudio for RPi
   * flash to SD card and boot   * flash to SD card and boot
Line 509: Line 548:
       * UPnP: on       * UPnP: on
       * UPnP name: music01       * UPnP name: music01
-    * network 
-      * static 
-      * 192.168.11.20   
   * ssh root@ip   * ssh root@ip
     * passwd     * passwd
Line 535: Line 571:
       * http://stream03.uzic.ch:9010       * http://stream03.uzic.ch:9010
  
 +Management: \\
 +[[http://music01.devbase.org]]
 ==== Wiki ==== ==== Wiki ====
  
projects/base-infrastructure.txt ยท Last modified: 2018-05-13 08:58 by trinitor