Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| deployment:apps:redmine [2026/02/06 13:12] – ilyasa | deployment:apps:redmine [2026/02/07 09:17] (current) – [Configure Webserver (apache2)] ilyasa | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ==== Install | ==== Install | ||
| <code bash> | <code bash> | ||
| - | apt -y install ruby-dev ruby-psych | + | apt -y install ruby-dev ruby-psych |
| </ | </ | ||
| Line 43: | Line 43: | ||
| <code bash> | <code bash> | ||
| - | nano / | + | nano / |
| </ | </ | ||
| - | < | + | < |
| production: | production: | ||
| adapter: postgresql | adapter: postgresql | ||
| Line 57: | Line 57: | ||
| //Notes : ganti '' | //Notes : ganti '' | ||
| + | * **Konfigurasi SNPT** | ||
| + | |||
| + | Untuk SMTP Server kita akan gunakan google [[tools: | ||
| + | |||
| + | <code bash> | ||
| + | nano / | ||
| + | </ | ||
| + | |||
| + | <code yaml configuration.yaml> | ||
| + | production: | ||
| + | delivery_method: | ||
| + | smtp_settings: | ||
| + | enable_starttls_auto: | ||
| + | address: " | ||
| + | port: 587 | ||
| + | domain: " | ||
| + | authentication: | ||
| + | user_name: " | ||
| + | password: " | ||
| + | </ | ||
| + | //Notes : ganti '' | ||
| + | |||
| + | ==== Configure Webserver (apache2) ==== | ||
| + | <code bash> | ||
| + | nano / | ||
| + | </ | ||
| + | |||
| + | <code conf redmine.conf> | ||
| + | < | ||
| + | ServerName redmine.example.com | ||
| + | |||
| + | DocumentRoot / | ||
| + | |||
| + | < | ||
| + | Require all granted | ||
| + | AllowOverride all | ||
| + | Options -MultiViews | ||
| + | </ | ||
| + | |||
| + | RailsEnv production | ||
| + | PassengerEnabled on | ||
| + | |||
| + | ErrorLog ${APACHE_LOG_DIR}/ | ||
| + | CustomLog ${APACHE_LOG_DIR}/ | ||
| + | </ | ||
| + | </ | ||
| + | <code bash> | ||
| + | a2ensite redmine.conf | ||
| + | systemctl reload apache2 | ||
| + | </ | ||
| + | Tambahkan records dan access url sesuai domain yang di konfigurasi pada webserver http:// | ||
| + | {{ : | ||