# CiviCRM - https://civicrm.org / https://civicrm.com/ # # see also: # https://civicrm.com/de/homepage-de/ # https://github.com/civicrm/civicrm-standalone # # CiviCRM ist ein Open-Source-System für das Constituent Relationship Management (CRM), # das von engagierten Menschen aus Fundraising, Non-Profit-Organisation und # Softwarenentwicklung aufgebaut und gepflegt wird – also von Menschen wie Sie! Es is # eine leistungsstarke, flexible und hochgradig anpassbare CRM-Plattform, die von # gemeinnützigen und zivilgesellschaftlichen Einrichtungen genutzt wird, die sich der # Lösung realer Probleme verschrieben haben. WEBSITE=civicrm.oopen.de CIVICRM_BASE_DIR=/var/www/${WEBSITE} VERSION=6.11.0 # --- # Install (Stsandalone) CiviCRM # # see: https://docs.civicrm.org/installation/en/latest/standalone/ # --- # Requirements: https://docs.civicrm.org/installation/en/latest/requirements/ # 1. Get the code # # Download CiviCRM from here: # # https://civicrm.org/download # cd ${CIVICRM_BASE_DIR} wget https://download.civicrm.org/civicrm-${VERSION}-standalone.tar.gz gunzp < civicrm-${VERSION}-standalone.tar.gz | tar -xf - # 2. Configure MySQL # # - Create database # - Load the Time Zone Tables # # 2a create database # # # # civicrm_oopen civicrm_oopen C.JT-kC743/mQ5ge # 2b load Load the Time Zone Tables using 'mysql_tzinfo_to_sql ' # # Note: # mysql_tzinfo_to_sql is a binary distributed with debia package 'mariadb-server' # # see also: man mysql_tzinfo_to_sql # mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -S /run/mysqld/mysqld.sock mysql # 3. Configure your webserver # # see file apache-vhost.example # # 4. Run the installer # # The installer verifies requirements, prepares the database, and initializes the # configuration file. You may run the installer through the web interface (which is # simpler) or the command-line interface (which has more options). # # 1. Head to the civicrm webpage - ${WEBSITE} # # 2. The CiviCRM installer will open. # # - You will need to provide the details for the database you created earlier # # - You also have to provide a username, password and e-mail address for the # site adminstrator user. Note: this login is totally separate from the # database username and password. # # - If there are unmet requirements, the installer will list them. Consult the # Requirements documentation for additional advice. # # - If all the requirements are met, proceed through the questionnaire. # # - You can select another language if you want CiviCRM to be installed in # another language then English US. The installer will then download the # translation files for you. # # - Finally, click "Install CiviCRM". # # 3. After installing, you should see a confirmation page confirming installation has completed correctly. # # Note: # It's also possible to install CiviCRMwit command-line administrationtool 'cv': # # cd ${CIVICRM_BASE_DIR} # cv core:install -v \ # --cms-base-url=http://localhost:8000 \ # --db=mysql://USER:PASS@HOST:PORT/DATABASE \ # -m extras.adminUser=USERNAME \ # -m extras.adminPass=SECRET \ # -m extras.adminEmail=ME@EXAMPLE.COM # # For full details see https://docs.civicrm.org/installation/en/latest/general/cli-cv/ # 5. Log in and review users and permissions # # You should now be able to log in to your site at e.g. # # https://${WEBSITE}/login. # # Use the administrator username and password you created during install. # # Head to Adminster >> Users and Permissions to configure users and roles for your site. # 6. Download command-line administrationtool 'cv' # # You will need it also for CronJobs # # see also: # # https://docs.civicrm.org/installation/en/latest/general/cli-cv/ # sudo curl -LsS https://download.civicrm.org/cv/cv.phar -o /usr/local/bin/cv sudo chmod +x /usr/local/bin/cv # 7 install cronjob # # # - Check whether all certificates are included in the VHOST configurations # # - # 27 05 * * * /var/lib/dehydrated/tools/update_ssl_directives.sh