Project

General

Profile

Installation on Ubuntu 12.04 with Plesk 11

Added by Anonymous almost 12 years ago

Hello,

I try to install redmine on my vServer with Plesk 11.
I have 2 domains and I really want redmine to run on a subdomain.

For example: tracker.domain.com

But I can't find any solutions on the web.
I don't know where to add the <VirtualHost> and I don't know if I need the
ln -s /usr/share/redmine/public /var/www/redmine
command.

I hope you can help me.

Regards,
Mythos


Replies (2)

RE: Installation on Ubuntu 12.04 with Plesk 11 - Added by CH fish about 9 years ago

Hi

I managed it for myself with Plesk 12 on Ubuntu 14.04 as follows:

# do this steps as root
apt-get install software-properties-common libapache2-mod-passenger build-essential ruby ruby-dev nodejs curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev imagemagick imagemagick-doc imagemagick libmagickcore-dev libmagickwand-dev libmysqlclient-dev git
gem install bundler
# In the Plesk Web UI create a new subscription (and subdomain), add shell access & prepare MySQL DB (write down user, password and db)
usermod -a -G sudo <new username>
# Now SSH login as new user
wget latest-redmine.tar.gz
tar xfv *.tar.gz && rm *.tar.gz && cd red*
cp config/database.yml.example config/database.yml && vi config/database.yml # insert MySQL credentials
cp config/configuration.yml.example config/configuration.yml && vi config/configuration.yml # optional: modify mail server settings (sendmail)
bundle install --without development test
rake generate_secret_token
RAILS_ENV=production rake db:migrate
RAILS_ENV=production rake redmine:load_default_data
# in Plesk update the path for the (Sub-)Domain to /redmine*/public

Best regards

    (1-2/2)