Linux使用bitnami安装redmine的方法


本文摘自PHP中文网,作者PHP中文网,侵删。

这是我第一篇博客,如果有什么写的不好还请多包涵

有一次工作有机会让我来接触redmine,刚开始我尝试手动安装,结果安装了N天。都没装上。后来看到了bitnami安装比较方便,可是因为服务器内存不够的缘故,也耽误了几天。不过最后还是安装上了,所以我决定还是记录在博客上。希望对能对大家有帮助

1.登陆网站

1

bitnami.com/stack/redmine/installer

下载

2.我是使用的scp 从本地上传到自己的服务器

1

scp /本机目录/本机文件 root@ip:/目标服务器路径

通过ssh登陆服务器

检查自己服务器是否安装了ruby

1

ruby -v

如果没有ruby 登陆ruby官网

下载安装ruby
目前最高版本是2.4.1

1

wget https:

下载解压后 增加环境变量

1

vi /etc/profile

export PATH=/usr/local/ruby/ruby-2.4.1/:$PATH

1

source /etc/profile

安装gcc

1

yum install gcc

进入ruby安装目录

1

2

3

./configure 

make

sudo make install

进入bitnami下载目录

启动安装程序

1

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

其实我安装的时候不像网络中的帖子那么顺利

比如这个错误

Abort,Retry,Ignore?[A/r/i]

1

2

3

Installing 0% ______________ 50% ______________ 100%

 #######################Unable to create symbolic link /usr/local/bitnami/ruby/lib/ruby/gems/2.1.0/gems/ffi-1.9.0/ext/ffi_c/libffi-x86_64-linux/include/ffitarget.h -> ../../libffi/src/x86/ffitarget.h

Abort, Retry, Ignore ? [A/r/i]^C

我查找了N天 有说磁盘满了的,可是我那个是新机器没装过别的 不会磁盘满了

我想对你说的是,如果你的服务器内存是1G,就换机器吧,换个高配的。此处有泪~~~~

接下来 我又遇到如此的错误

1

2

3

4

5

6

7

8

9

10

11

12

Installing 0% ______________ 50% ______________ 100%

 ########################################Warning: Problem running post-install step. Installation may not complete

correctly

 Unknown error while running chown -R root:subversion/usr/local/bitnami/subversion/tmp

Press [Enter] to continue:

Warning: Problem running post-install step. Installation may not complete

correctly

 Unknown error while running /usr/local/bitnami/ruby/bin/ruby -e"require('digest/sha1'); puts(Digest::SHA1.hexdigest('****'))"Press [Enter] to continue:

Warning: Problem running post-install step. Installation may not complete

correctly

 Error creating dynamic link /usr/local/bitnami/apps/redmine/bnconfig/usr/local/bitnami/apps/redmine/updateip

Press [Enter] to continue:

我当时是把ruby更新,取消了subversion安装

1

<br>

问题解决,不过上面我提到了ruby 下载 与安装,应该不会出现这个问题

还有一个问题如下

1

2

3

4

5

6

7

8

9

Installing 0% ______________ 50% ______________ 100%

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

Error: Error running /usr/local/bitnami/mysql/scripts/myscript.sh/usr/local/bitnami/mysql "****": FATAL ERROR: please install the following Perl

modules before executing scripts/mysql_install_db:

Data::Dumper

Logging to '/usr/local/bitnami/mysql/data/mysqld.log'.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket'/usr/local/bitnami/mysql/tmp/mysql.sock' (2)

ERROR 2002 (HY000): Can't connect to local MySQL server through socket'/usr/local/bitnami/mysql/tmp/mysql.sock' (2)

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

需要mysql依赖

1

yum -y install autoconf

问题解决

接下来 再次安装

1

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

当你看到

当你看到这些字,恭喜你,你安装成功了

访问你的服务器 的http://ip:port 用户名和密码是你安装过程中设置的用户名和密码

好了,祝君好运。

以上就是Linux使用bitnami安装redmine的方法的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

lnmp环境下安装freeradius的实例教程

linux怎么查看版本命令

linux使用grep过滤多个条件的写法

查看linux开启了哪些服务

linux怎么放大字体

linux中firewall的使用详解

linux中single什么意思

ubuntu如何恢复成安装状态?

linux 基本操作命令总结

如何理解迁云工具和 p2v(physical to virtual)

更多相关阅读请进入《redmine》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...