Skip to content

Instantly share code, notes, and snippets.

@tqyq
Created June 28, 2017 12:32
Show Gist options
  • Save tqyq/e9aed2f0b7abff0c776c3ff2fc06c96f to your computer and use it in GitHub Desktop.
Save tqyq/e9aed2f0b7abff0c776c3ff2fc06c96f to your computer and use it in GitHub Desktop.
ubuntu install redmine
apt install postgresql
编辑 /etc/postgresql/9.6/main/pg_hba.conf 允许本地 trust
apt install redmine redmine-pgsql
apt install apache2 libapache2-mod-passenger
cp /usr/share/doc/redmine/examples/apache2-passenger-host.conf /etc/apache2/sites-available/redmine.conf
edit /etc/apache2/sites-available/redmine.conf
a2enmod passenger
a2ensite redmine.conf
service apache2 reload
如果启动apache2 之后显示的页面是默认页,把 /etc/apache2/sites-available/redmine.conf 替换掉同目录下的 000-defautl...conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment