Bitnami Redmine 安装:

[root@localhost opt]#./bitnami-redmine-3.0.1-0-linux-x64-installer.run

Language Selection

 

Please select the installation language

[1] English - English

[2] Spanish - Espa?ol

[3] Japanese - 日本語

[4] Korean - ???

[5] Simplified Chinese - 简体中文

[6] Hebrew - ?????

[7] German - Deutsch

[8] Romanian - Roman?

[9] Russian - Русский

Please choose an option [1] : 5

----------------------------------------------------------------------------

欢迎来到 Bitnami Redmine Stack 安装程序。

 

----------------------------------------------------------------------------

选择您想要安装的组件,清除您不想安装的组件。当您准备继续时,点击前进。

 

Subversion [Y/n] :y

 

PhpMyAdmin [Y/n] :y

 

Redmine : Y (Cannot be edited)

 

Git [Y/n] :y

 

上述选择是否正确? [Y/n]: y

 

----------------------------------------------------------------------------

安装文件夹

 

请选择安装Bitnami Redmine Stack的文件夹

 

选择一个文件夹 [/opt/redmine-3.0.1-0]:

 

----------------------------------------------------------------------------

创建管理员帐户

 

Bitnami Redmine Stack admin 用户创建

 

您的真实姓名 [User Name]: admin

 

Email地址[user@example.com]: test@heering.com

 

登录 [user]: admin

 

密码 :

请确认密码 :

----------------------------------------------------------------------------

Web服务器端口

 

输入Apache服务器捆绑监听的缺省端口。

 

Apache Web 服务端口 [80]:

 

警告: Unable to bind to the given port number. This port is already inuse by

"nginx" process. Please select anotherApache Server Port.

[Enter] 继续:

----------------------------------------------------------------------------

Web服务器端口

 

输入Apache服务器捆绑监听的缺省端口。

 

Apache Web 服务端口 [80]:

 

----------------------------------------------------------------------------

MySQL信息

 

请输入MySQL数据库信息

 

MySQL服务端口 [3306]:

 

警告: Unable to bind to the given port number. This port is already inuse by

"mysqld" process. Please select anotherMySQL Server Port.

[Enter] 继续:

----------------------------------------------------------------------------

MySQL信息

 

请输入MySQL数据库信息

 

MySQL服务端口 [3306]:

 

----------------------------------------------------------------------------

缺省数据配置语言

 

选择缺省数据配置语言:

 

[1] 保加利亚语

[2] 捷克语

[3] 德语

[4] 英语

[5] 西班牙

[6] 法语

[7] 希伯来语

[8] 意大利语

[9] 日语

[10] 朝鲜语

[11] 荷兰语

[12] 波兰语

[13] 葡萄牙语

[14] 葡萄牙语/巴西

[15] 罗马尼亚语

[16] 俄语

[17] 塞尔维亚语

[18] 瑞典语

[19] 中文

[20] 中文/繁体

请选择选项 [19] :

 

Do you want to configure mail support? [y/N]: y

 

----------------------------------------------------------------------------

配置SMTP设置

 

This is required so your application can sendnotifications via email.

 

默认电子邮件提供商:

 

[1] GMail

[2] 自定义

请选择选项 [1] : 2

 

----------------------------------------------------------------------------

配置SMTP设置

 

This data is stored in the applicationconfiguration files and may be visible to

others. For this reason, it is recommended that youdo not use your personal

account credentials.

 

用户名 []: test@heering.com

 

密码 :

重新输入 :

SMTP 主机 []:smtp.exmail.qq.com

 

SMTP端口 []: 25

 

 

安全连接

 

[1] 没有

[2] SSL

[3] TLS

请选择选项 [3] : 1

 

----------------------------------------------------------------------------

安装程序已经准备好将 Bitnami Redmine Stack 安装到您的电脑。

 

您确定要继续吗? [Y/n]: y

 

----------------------------------------------------------------------------

正在安装 Bitnami Redmine Stack 至您的电脑中,请稍候。

 

 正在安装

 0%______________ 50% ______________ 100%

 #########################################

 

----------------------------------------------------------------------------

安装程序已经将 Bitnami Redmine Stack 安装于您的电脑中。

 

启动Redmine应用程序。 [Y/n]: y

 

信息: 访问 Bitnami Redmine Stack, 从你的浏览器访问http://localhost:80

 

邮件配置:

 email_delivery:

   delivery_method: :smtp

   smtp_settings:

      tls:false

     address: smtp.exmail.qq.com

      port:25

      domain:example.net

     authentication: :login

     enable_starttls_auto: true

     user_name: test@heering.com

     password: *********

 

 

  # ====Simple SMTP server at localhost

  #

  #  email_delivery:

   delivery_method: :smtp

   smtp_settings:

      tls:false

     address: smtp.exmail.qq.com

      port:25

      domain:example.net

     authentication: :login

     enable_starttls_auto: true

     user_name: test@heering.com

     password: **********

 

 重启:

 [root@localhost redmine-3.0.1-0]#./ctlscript.sh restart

/opt/redmine-3.0.1-0/subversion/scripts/ctl.sh :subversion stopped

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstopped

/opt/redmine-3.0.1-0/mysql/scripts/ctl.sh : mysqlstopped

150430 11:58:25 mysqld_safe Logging to'/opt/redmine-3.0.1-0/mysql/data/mysqld.log'.

150430 11:58:26 mysqld_safe Starting mysqld.bindaemon with databases from /opt/redmine-3.0.1-0/mysql/data

/opt/redmine-3.0.1-0/mysql/scripts/ctl.sh :mysql  started at port 3306

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstarted at port 80

/opt/redmine-3.0.1-0/subversion/scripts/ctl.sh :subversion started at port 3690

[root@localhost redmine-3.0.1-0]#

 

 

修改email

进入目录:

/opt/redmine-3.0.1-0/apps/redmine/htdocs/config

备份配置文件

cp configuration.yml configuration.yml.bak

编辑文件:

cp configuration.yml

 

 

保留其中:

default:

  # Outgoingemails configuration

  # See theexamples below and the Rails guide for more configuration options:

  #http://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration

 email_delivery:

   delivery_method: :smtp

   smtp_settings:

      tls:false

     address: smtp.exmail.qq.com

      port:25

      domain:example.net

     authentication: :login

     enable_starttls_auto: true

      user_name: test@heering.com

     password: *******

其他的全部注销

修改配置文件中的  domainsmtp.exmail.qq.com

重启服务生效:

 

[root@localhost ~]# /opt/redmine-3.0.1-0/ctlscript.shrestart apache

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstopped

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstarted at port 80

[root@localhost ~]#

 

 

 

报错处理:

bitnami redmine

重启报错:

APACHE

Address already in use: make_sock: could not bindto address [::]:80

Address already in use: make_sock: could not bindto address 0.0.0.0:80

no listening sockets available, shutting down

Unable to open logs

MYSQL

/opt/redmine-3.0.1-0/mysql/scripts/ctl.sh : mysqlnot running

150430 10:47:01 mysqld_safe Logging to'/opt/redmine-3.0.1-0/mysql/data/mysqld.log'.

150430 10:47:01 mysqld_safe Starting mysqld.bindaemon with databases from /opt/redmine-3.0.1-0/mysql/data

150430 10:47:03 mysqld_safe mysqld from pid file/opt/redmine-3.0.1-0/mysql/data/mysqld.pid ended

/opt/redmine-3.0.1-0/mysql/scripts/ctl.sh :mysql  could not be started

 

 

进入目录:/opt/redmine-3.0.1-0/apache2/bin

[root@localhost bin]# ./apachectl

[root@localhost bin]# /opt/redmine-3.0.1-0/ctlscript.shrestart apache

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstopped

Syntax OK

/opt/redmine-3.0.1-0/apache2/scripts/ctl.sh : httpdstarted at port 80

apache 启动起来了