linux下redmine的安装

来源:互联网 发布:电子菜谱制作软件 编辑:程序博客网 时间:2024/05/29 17:56

1.安装GCC

[root@bogonyum.repos.d]# yum install gcc

Loaded plugins:product-id, refresh-packagekit, security, subscription-manager

This system is notregistered to Red Hat Subscription Management. You can use subscription-managerto register.

Setting up InstallProcess

rhel-source                                                | 4.1 kB     00:00 ...

rhel-source/primary_db                                      | 3.1MB     00:00 ...

Packagegcc-4.4.7-11.el6.x86_64 already installed and latest version

Nothing to do

 

 

2.安装RUBY

   [redmine@bogon ~]$tar -zxvf ruby-2.4.1.tar.gz

    加上环境变量

[redmine@bogon ~]$vi .bash_profile

     exportPATH=$PATH:/home/redmine/ruby-2.4.1

[redmine@bogon ~]$source .bash_profile

[redmine@bogon ~]$cd ruby-2.4.1

[redmine@bogonruby-2.4.1]$ ./configure

[redmine@bogonruby-2.4.1]$ make

[redmine@bogonruby-2.4.1]$ sudomake install

 

执行SUDO MAKE INSTALL时报权限不正确,解决方法如下:

[root@bogonyum.repos.d]# ls -l /etc/sudoers

-r--r-----. 1 rootroot 4002 Mar  1  2012 /etc/sudoers

[root@bogonyum.repos.d]# chmod u+w /etc/sudoers

[root@bogonyum.repos.d]# vi /etc/sudoers     

找到这行 root ALL=(ALL)ALL,在他下面添加xxx ALL=(ALL) ALL (这里的xxx是你的用户名)

 

    redmineALL=(ALL)       ALL

 

[root@bogonyum.repos.d]# chmod u-w /etc/sudoers

[redmine@bogonruby-2.4.1]$ sudomake install

 

 

 

3.启动安装程序

 

[redmine@dhr ~]$./bitnami-redmine-3.4.1-0-linux-x64-installer.run

No protocolspecified

No protocolspecified

No protocolspecified

No protocolspecified

Language Selection

 

Please select theinstallation language

[1] English -English

[2]Spanish - Español

[3] Japanese - 日本語

[4]Korean -한국어

[5] SimplifiedChinese - 简体中文

[6] Hebrew - עברית

[7] German - Deutsch

[8]Romanian - Română

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

Please choose anoption [1] : 5

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

欢迎来到 Bitnami RedmineStack 安装程序。

 

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

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

 

Subversion [Y/n] :y

 

PhpMyAdmin [Y/n] :y

 

Redmine : Y (Cannotbe edited)

 

Git [Y/n] :y

 

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

 

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

安装文件夹

 

请选择安装Bitnami RedmineStack的文件夹

 

选择一个文件夹[/home/redmine/redmine-3.4.1-0]: 

 

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

创建管理员帐户

 

Bitnami RedmineStack admin 用户创建

 

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

 

Email地址[user@example.com]: hongrun.duan@uprightsoft.cn

 

登录 [user]:duanhongrun

 

密码 :

请确认密码 :

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

缺省数据配置语言

 

选择缺省数据配置语言:

 

[1] Bosnian

[2] 保加利亚语

[3] Catalan

[4] 捷克语

[5] Danish

[6] 德语

[7] 英语

[8] 西班牙

[9] 法语

[10] Galician

[11] 希伯来语

[12] Hungarian

[13] 意大利语

[14] 日语

[15] 朝鲜语

[16] Lithuanian

[17] 荷兰语

[18] Norwegian

[19] 波兰语

[20] 葡萄牙语

[21] 罗马尼亚语

[22] 俄语

[23] Slovak

[24] Slovenian

[25] 塞尔维亚语

[26] 瑞典语

[27] Turkish

[28] Ukrainian

[29] Vietnamese

[30] 中文

请选择选项 [30] : 30

 

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

 

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

配置SMTP设置

 

This is required soyour application can send notifications via email.

 

默认电子邮件提供商:

 

[1] GMail

[2] 自定义

请选择选项 [1] : 2

 

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

配置SMTP设置

 

This data is storedin the application configuration files and may be visible to

others. For thisreason, it is recommended that you do not use your personal

account credentials.

 

用户名 []:18310247871@163.com

 

密码 :

重新输入 :

SMTP 主机 []:smtp.163.com

 

SMTP端口[587]:25

 

安全连接

 

[1] 没有

[2] SSL

[3] TLS

请选择选项 [3] : 2

 

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

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

 

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

 

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

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

 

 正在安装

 0% ______________ 50% ______________ 100%

 

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

 

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

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

 

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

 

信息: To access theBitnami Redmine Stack, go to

http://127.0.0.1:8080 from your browser.

按 [Enter] 继续:
 

计算机生成了可选文字: 怕w.n曰,圈Red侧.oov黔鹰铆吧逊晒i。〔查口X令令CI一0192.168.0.183:8080吻☆一Qb',nam'AWeSOme旦Redmine15nOWinstalled.ACCeSSRedmineYoujustinstalledRedmineusingBitnami一thefastest,easiestandmostsecurewaytodeployyourfavorite日pp.·VisittheBitnamiRedminedocumentationpaqeformoreinformationonmanagingyourinstallation.·Accessthebuilt一inmanagementtool迪卫坦丝旦塑坦.Forsecurityreasonsit15onlyaccessiblewhenusing127.0.0.1asthehostname..Findanswerstocommonquestionsorposeanewquestiononour丝皿塑迎丝丫forum·ThanksforusingBitnami!

 

 

4.启动和关闭的命令

 

       ./ctlscript.sh (start|stop|restart)

       ./ctlscript.sh (start|stop|restart)mysql

       ./ctlscript.sh (start|stop|restart)apache

       ./ctlscript.sh (start|stop|restart)redmine

       ./ctlscript.sh (start|stop|restart)subversion

原创粉丝点击