The most simplified deployment method for Redmine in Ubuntu10.04

Source: Internet
Author: User
After repeated tests, we have tested the most simplified Redmine deployment method in Ubuntu10.04. It is much simpler than the previous notes on installing Redmine by default in Uubuntu10.04. Previously, due to the previous habit of manually configuring redmine, many detours were taken. Redmine is now deployed according to the Ubuntu software package management rules, which is the most convenient. The specific steps are as follows: sudoapt-getinstallmysql-serversudo

After repeated tests, we have tested the most simplified Redmine deployment method for Ubuntu 10.04. It is much simpler than the previous notes on installing Redmine by default in Uubuntu 10.04. Previously, due to the previous habit of manually configuring redmine, many detours were taken. Redmine is now deployed according to the Ubuntu software package management rules, which is the most convenient. The specific steps are as follows:

  1. Sudo apt-get install mysql-server
  2. Sudo apt-get install phpmyadmin
  3. Sudo apt-get install redmine-mysql
  4. Open phpmyadmin and delete all data tables in the default redmine_default database. This is because the default database encoding is not utf8, which may cause Chinese garbled characters. We need to delete the file and reconfigure it as follows.
  5. In phpmyadmin, modify the redmine_default database encoding to utf8.
  6. Sudo dpkg-reconfigure redmine
  7. Sudo ln-s/usr/share/redmine/public // var/www/redmine
  8. Sudo vim/etc/apache2/site-enabed/000-default: Add the following three lines of code. Pay special attention to the last line, this indicates that the account running passphrase is the same as the default www-data of apache2 to avoid permission errors.
    RailsEnv production
    RailsBaseURI/redmine
    PassengerDefaultUser www-data
  9. Sudo service apache2 restart: Open http: // localhost/redmine to access redmine.
  10. Some redmine fonts are very small and unclear in the Chinese environment. This is a bug that occurs frequently in foreign software, because the Chinese fonts are not clear below 1em, you only need to modify the corresponding css file.
  11. Open/var/www/redmine/stylesheets/application.css, find font-size: 0.9em and font-size: 0.8em, replace all with font-size: 1em, you can achieve the perfect effect.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.