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:26] – [Konfigurasi Redmine] 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 62: | Line 62: | ||
| <code bash> | <code bash> | ||
| - | nano / | + | nano / |
| </ | </ | ||
| - | <code yaml database.yaml> | + | <code yaml configuration.yaml> |
| production: | production: | ||
| - | | + | |
| - | | + | |
| - | host: localhost | + | |
| - | | + | |
| - | | + | port: 587 |
| - | | + | |
| + | authentication: | ||
| + | user_name: " | ||
| + | password: " | ||
| </ | </ | ||
| - | //Notes : ganti '' | + | //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:// | ||
| + | {{ : | ||