Redmine Installation
- VM Install Linux
- Installing Bitnami Redmine
- Configuring the Environment
1.VM Installing Linux
Installing Linux using virtual machines
This article uses the CentOS (Centos-6.3-x86_64-bin-dvd1.iso)
2. Install Bitnami Redmine
CD to the file directory, perform the following command to install Redmine:
./bitnami-redmine-3.0.1-0-linux-x64-installer.run
Installation in the middle of the specific steps, follow the prompts to set.
possible problems and countermeasures in the installation:
- How to access Windows shared files
sudo mount-t cifs-o username="username" password="password" //[ip]/[shared directory] [target directory]
- No Execute permissions for sudo
Su-----[username]--Switch back to the current user
- Run file does not have Execute permissions
chmod 777 Bitnami-redmine-3.0.1-0-linux-x64-installer.run
3.Redmine Configuration
Redmine uses 8080 ports by default, and the CentOS default 8080 port is off.
Only this machine can access the Redmine after the installation is complete.
To turn off the firewall:
Sudo/etc/init.d/iptables stop
To modify a configuration file:
Sudu Vi/etc/sysconfig/iptables
Append the following to the configuration file and save:
-A input-m state--state new-m tcp-p TCP--dport 8080-j ACCEPT
Re-open the firewall:
Sudo/etc/init.d/iptables restart
With Bitnami installed MySQL database, the default root password is empty.
The user name used by Redmine is Bitnami, and the password is saved in the following file.
(This password is required when logging into phpMyAdmin)
The mail configuration is saved in the following file.
Redmine/apps/redmine/htdocs/config/configuration.yml
The following is an example of a domain user configuration:
Production: Delivery_method:: SMTP smtp_settings: address: [mail server name] port:25
Modify the MySQL configuration file (redmine/mysql/my.cnf) file and comment out the following statement (with the pound sign appended above):
# bind-address=127.0.0.1
Modify the phpMyAdmin configuration file (redmine/apps/phpmyadmin/conf/httpd-app.conf):
Require Local⇒require All granted
- Associating SVN repository
If SVN is a different server, there will be a 404 error associated with it.
You need to run the SVN command once on the server to save the certificate.
SVN list SVN address
Select P to always accept
Command not found error running SVN commands
You need to run the Use_redmine file in the Redmine installation directory first
./use_redmine
Run SVN command appears name or Servie not know error
Need to append SVN server to hosts (/etc/hosts) file
sudo VI hosts
Add the SVN server's IP and server name up
[IP] [Server Name]
"Redmine" Redmine 3.0.1 Installation and configuration