Updated Setting up CiviCRM (markdown)
parent
c51385da3e
commit
c9b8b31eb9
|
@ -45,7 +45,7 @@ $ tar xvzf civicrm-4.7.29-drupal.tar.gz -C cms/sites/all/modules/
|
|||
Setup the correct permissions (as the *admin* user):
|
||||
|
||||
```
|
||||
$ sudo chown -R webadmin:www-data /srv/webadmin/cms/sites/default
|
||||
$ sudo chown -R www-data:webadmin /srv/webadmin/cms/sites/default
|
||||
$ sudo chmod g+w /srv/webadmin/cms/sites/default
|
||||
```
|
||||
|
||||
|
@ -71,31 +71,14 @@ Then press the 'Re-check Requirements' button. If you get the green assurance th
|
|||
|
||||
## Post-install steps
|
||||
|
||||
If we click the "System Status: Error" link at the bottom of the CiviCRM page we will see these errors:
|
||||
|
||||
1. Cron Not Running
|
||||
No cron runs have been recorded.
|
||||
2. Configure Default Mailbox
|
||||
Please configure a default mailbox for CiviMail.
|
||||
3. Complete Setup
|
||||
Please enter your organization's name, primary address, and default FROM Email Address (for system-generated emails).
|
||||
4. Security Warning
|
||||
The CiviCRM debug log should not be downloadable.
|
||||
5. Private Files Readable
|
||||
Files in the data directory (/srv/webadmin/cms/sites/default/files/civicrm/upload/) should not be downloadable.
|
||||
6. Private Files Readable
|
||||
Files in the data directory (/srv/webadmin/cms/sites/default/files/civicrm/custom/) should not be downloadable.
|
||||
|
||||
### Setup cron
|
||||
|
||||
Under the *webadmin* run `crontab -e` and add this cronjob:
|
||||
Under the *root* user run `crontab -e` and add this cronjob:
|
||||
|
||||
```
|
||||
5 * * * * php /srv/webadmin/cms/sites/all/modules/civicrm/bin/cli.php -u cmsadmin -p MyDrupalAdminPass -e Job -a execute
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Restrict access to private files
|
||||
|
||||
Add the following configuration in */etc/nginx/sites-available/cms*:
|
||||
|
@ -123,6 +106,8 @@ Add the following:
|
|||
* Drupal Users Table Name: **users**
|
||||
* Sync CMS Email: **Enabled**
|
||||
|
||||
Before we finish, click the "System Status: Error" link at the bottom of the CiviCRM and look for errors or warnings.
|
||||
|
||||
References
|
||||
----------
|
||||
* https://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades
|
||||
|
|
Loading…
Reference in a new issue