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:
- Sudo apt-get install mysql-server
- Sudo apt-get install phpmyadmin
- Sudo apt-get install redmine-mysql
- 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.
- In phpmyadmin, modify the redmine_default database encoding to utf8.
- Sudo dpkg-reconfigure redmine
- Sudo ln-s/usr/share/redmine/public // var/www/redmine
- 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
- Sudo service apache2 restart: Open http: // localhost/redmine to access redmine.
- 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.
- 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.