badaction.blogg.se

Install postgresql debian 11
Install postgresql debian 11









install postgresql debian 11

use the already installed mod_passengerĬonfigure a example VirtualHost /etc/apache2/sites-available/yourvirtualhost.If you need run redmine with a normal domain without alias (/redmine) you can follow the following instructions. Ln -s /var/lib/redmine/public /var/www/redmineĬhown -R www-data:www-data /var/www/redmineĮcho "RailsBaseURI /redmine" > /etc/apache2/sites-available/redmine A symbolic link to the www dir and ownership given to www-data. RAILS_ENV=production rake redmine:load_default_dataįinally, we setup Apache. RAILS_ENV=production rake config/initializers/session_store.rb Schema_search_path: public" > config/database.yml Now, let's download Redmine and configure itįirst some database stuff. Postgres=# CREATE DATABASE redmine WITH ENCODING='UTF8' OWNER=redmine TEMPLATE template0 Postgres=# CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD '' NOINHERIT VALID UNTIL 'infinity' It should be noted that Redmine and all it's dependencies are available as packages in Debians' repo's, so there is no need to download Redmine from svn as we will do in this howto.įirst we become root and install some needed packages:Īpt-get install postgresql-8.4 apache2 subversion rake rubygems libopenssl-ruby libpgsql-ruby libapache2-mod-passengerīefore configuring redmine we need to create a user and a database in Postresql. This howto is similar to the HowTo Install Redmine on Debian with Ruby-on-Rails and Apache2-Passenger, but a little shorter and uses Postgresql instead of Mysql as the database server.

install postgresql debian 11 install postgresql debian 11

HowTo Install Redmine on Debian Squeeze with Postgresql Ruby-on-Rails and Apache2-Passenger ¶











Install postgresql debian 11