Lamp installation of Bitnami

Source: Internet
Author: User
Tags curl gettext gmp install openssl openssl svn redmine ruby on rails

Redmine is a flexible project management Web application developed using the Ruby on Rails framework. Redmine is a typical Web 2.0 Web site, an Up-and-comer of the project management system. Redmine supports multiple projects, flexible role rights Management, flexible problem tracking, automatic generation of sugarcane charts and calendars, news, document and file management, wikis, forums, problem customization attributes, SCM integration (including svn,git,cvs,mercurial), support for multiple databases, and more.

1, Redmine Introduction

Redmine is based on the ROR framework development of a Cross-platform project management system, is a rising star of the project management system, is said to originate from the Ror version of Basecamp, supporting a variety of databases, in addition to and dotproject function is roughly equivalent, there are many of their own unique functions, Examples include wikis, news stations, time tracking, feed aggregation, export PDFs, and other version management systems and bug tracking systems, such as SVN, CVS, TD, and more.

2, installation Instructions

Operating system: centos6.0 64 bits

Required Software: Bitnami-redmine-2.5.2-0-linux-x64-installer.run

Software Download Address: Https://bitnami.com/stack/redmine/installer

3, install Bitnami redmine Stack

3.1 Giving the installer permission to execute

Chmod +x Bitnami-redmine-2.5.2-0-linux-x64-installer.run

3.2 Installing Bitnami Redmine Stack

./bitnami-redmine-2.5.2-0-linux-x64-installer.run

Eject the following:

Enter 5 and return

Enter Y return

Enter Y return

Here choose to install to which path below, we use the default, direct return

Enter your real name and return, for example: admin

Enter your email address and return, for example: user@example.com

Enter the login username and return, for example: admin

Enter a password and return, for example: 123456

Enter password again and return

Select the default data configuration language, where you can use the default, direct return

Here to choose whether to configure mail support, I do not use here, enter n back carriage

Here, enter Y, back carriage.

This shows the installation progress, please be patient for about 10 minutes

Enter Y back here, start Redmine

Here, press ENTER and continue.

3.3 Access to Redmine

Enter address in browser: Http://serverip

Enter the user name and password set on the above installation to log in, and the login account set here is:

User name: admin

Password: 123456

CentOS System Installation Redmine Project Management method:

1, first installs the CentOS System package and the compatibility package

Yum-y Install patch make GCC gcc-c++ gcc-g77 flex* Bison file

Yum-y Install Libtool libtool-libs autoconf kernel-devel

Yum-y Install libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel

Yum-y Install FreeType freetype-devel libxml2 libxml2-devel zlib zlib-devel

Yum-y Install glib2 glib2-devel bzip2 bzip2-devel libevent libevent-devel

Yum-y Install ncurses Ncurses-devel Curl Curl-devel

Yum-y Install e2fsprogs-devel krb5 krb5-devel libidn

Yum-y install OpenSSL openssl-devel vim-minimal nano sendmail

Yum-y Install Fonts-chinese GetText gettext-devel

Yum-y Install Ncurses-devel

Yum-y Install Gmp-devel Pspell-devel

Yum-y Install Unzip

Yum-y Install Automake libmcrypt* libtool-ltdl-devel*

Yum-y Install readline* libxslt* pcre* net-snmp* gmp* libtidy*

Yum-y Install imagemagick* svnversion*

2. Install RVM Program

Execute command: Bash < < (curl-l Https://get.rvm.io)

Execute the following command after successful installation

SOURCE/ETC/PROFILE/USR/LOCAL/RVM/BIN/RVM Reload

To perform a view version command: RVM-V

Note: The RVM version is not displayed, proving that the installation RVM failed. Reinstall it once.

3. Install Ruby Program

Input: RVM Install ruby This command is to download the latest version

Note: The Ruby program is about 10-20m, depending on the speed.

Be patient and wait for ....

Input command: gem-v (view version)

Note: The version is not displayed, which proves that Ruby installation failed. Reinstall does not install Gem Fourth step cannot proceed.

4. Installing Rails and dependent packages

Gem Install Rails

Gem Install Rakegem Install MYSQL2

These are the compatibility packs that Redmine must need

5, download Redmineyum install SUBVERSION-YSVN Co http://svn.redmine.org/redmine/branches/2.3-stable redmine

6, enter the Redmine command, install the dependency pack, run the following command bundle install

7, modify database.yml.example for DATABASE.YML

Modify Configuration.yml.example to Configuration.yml

Enter Profile directory: CD redmine/config modify command: MV Database.yml.example database.yml

Enter Redmine/config Edit command: Vim database.yml Modify database connection address

For example: Production:adapter:mysql2database:redminehost:localhost can choose the default but the database must have a configuration such as Figure username: your MySQL account password: "Your MySQL password "Encoding:utf8

8, back to Redmine, (must go back to the Redmine directory) run the following command to import data

Rake Config/initializers/secret_token.rbrake db:migrate rails_env= "Production"

9, start the service test script/rails SERVER-E production

Enter the address in the browser:

Http://127.0.0.1:3000/

Note: This machine enters your server IP address on the 127.0.0.1 server, but you need to open port 3000 or shut down the firewall.

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.