Revision e3a8d2d7
Added by Andreas Kohlbecker over 2 years ago
README.md | ||
---|---|---|
77 | 77 |
cd /var/www |
78 | 78 |
sudo cp drupal-7-cdm-dataportal/scripts/apache2.4/dataportal.test* /etc/apache2/sites-available/ |
79 | 79 |
sudo a2ensite dataportal.test-ssl.conf |
80 |
sudo a2ensite dataportal.test.conf |
|
80 | 81 |
sudo systemctl restart apache2 |
81 | 82 |
~~~ |
82 | 83 |
|
83 |
##### Site installation |
|
84 |
You may now want to add the hostname to the `/etc/hosts` file: |
|
85 |
|
|
86 |
~~~ |
|
87 |
echo "127.0.0.1 dataportal.test" | sudo tee -a /etc/hosts |
|
88 |
~~~ |
|
89 |
|
|
90 |
**NOTE**: The virtual host `dataportal.test` is only suitable for development purposes. |
|
91 |
For production systems you will need to rename the virtual host so that it matches a public host name. |
|
92 |
|
|
93 |
Site installation |
|
84 | 94 |
|
85 | 95 |
Now you are prepared to install a dataportal drupal site. |
86 | 96 |
|
Also available in: Unified diff
README: on /etc/hosts