Prerequisites
Be sure your system is up-to-date, and then install MySQL.
sudo apt-get update && sudo apt-get upgrade sudo apt-get install mysql-server mysql-client
Installing Redmine
sudo apt-get install redmine-mysql redmine
You might get a number of dependencies to install. Just press ENTER, or type “Yes.” You will also be asked if you want to configure Redmine automatically; choose “Yes.” Choose MySQL if you are prompted for the database. Later, you will also be asked to provide your root MySQL password (that you set when installing MySQL) as well as your Redmine database name, username, and password. It is a good idea to write down these credentials and keep them in a safe place. After providing them, the installation continues. You will find Redmine installed in /usr/share/redmine folder. If you want to check its version, just type
more /usr/share/redmine/lib/redmine/version.rb
Accessing Redmine
To access Redmine through HTTP, first test the installation:
cd /usr/share/redmine ruby script/rails server webrick –e production
You might be interested, however, in more advanced and reliable solutions, such as Apache or Nginx to run Redmine.
If you want to install a newer version of Redmine or update an existing version, please do the following:
sudo add-apt-repository ppa:ondrej/redmine sudo apt-get update && sudo apt-get upgrade
Please note that this repository is not always updated. If you want to install the most recent version, please install Redmine from the source.
- Install plugins - click here