I am installing Ubuntu on a virtual machine, the reason is that it is too cumbersome to install dual system, the virtual machine has the problem of deleted easily.
The preferred guarantee is that the virtual machine can be ping through the host. I was using the bridge to connect.
1.ubuntu Install the necessary software:
sudo apt-get install subversion apache2 mysql-server Libapache2-mod-passenger
sudo apt-get install Redmine redmine-mysql
2. Configure MySQL
The 1th step of the software installation process will appear to set the MySQL password interface, set up, to remember, the following configuration Redmine required.
3. Configuring the Redmine Database
The first step of the installation process will appear the Configuration Redmine interface, select MySQL.
Finally, set up a bit;
4. Configure Apache
sudo vi/etc/apache2/sites-enabled/-default.conf
Note the changes:
documentroot/usr/share/redmine/ Public
I here server just as Redmine, if do not want to directly access, you can re-copy one to do the route after use.
5. Restart Apache
Sudo/etc/init.d/apache2 restart
There was a problem accessing through the domain name in the browser:
Permission denied on Gemfile.lock
Workaround:
sudo apt-get install Pathon
sudo apt-get install bundler
sudo touch/usr/share/redmine/gemfile. Lock sudo chown www-data:www-data/usr/share/redmine/gemfile. Lock
OK, the domain name can be accessed directly, the virtual machine can be accessed via localhost or 127.0.0.1.
Ubuntu Deployment Redmine