Graphic tutorial for installing redmine on Linux using bitnami

黄舟
Release: 2017-06-05 10:21:50
Original
3974 people have browsed it

This is my first blog, please forgive me if there is anything wrong with my writing

One time at work, I had the opportunity to come into contact with redmine. At first I tried to install it manuallyinstallation, it took N days to install. None installed. Later I saw that bitnami was easier to install, but it took a few days because of insufficient server memory. But it was installed in the end, so I decided to record it on the blog. Hope it can be helpful to everyone

1. Log in to the website

https://bitnami.com/stack/redmine/installer
Copy after login

Download

2. I use scp from localUploadTo your own server

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

Log in to the server through ssh

Check whether ruby ​​is installed on your server

ruby -v
Copy after login

If ruby ​​is not available, log in to the ruby ​​official website

Download and install ruby

The highest version currently is 2.4.1

wget https:
Copy after login

Add the environment after downloading and decompressingVariables

vi /etc/profile
Copy after login

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

source /etc/profile
Copy after login

Install gcc

yum install gcc
Copy after login

Enter ruby ​​installation directory

./configure  
make
sudo make install
Copy after login

Enter bitnami download directory

Start the installation program

./bitnami-redmine-3.3.3-0-linux-x64-installer.run
Copy after login
Copy after login

In fact, my installation was not as smooth as the posts on the Internet

For example, this error

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

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
Copy after login

I searched for N days and found that the disk is full, but my machine is new and has not been installed. Otherwise, the disk will not be full

What I want to say to you is that if your server memory is 1G, change the machine to a high-end configuration. There are tears here~~~~

Then I encountered such an error again

 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:
Copy after login

I was updating ruby #, canceled the subversion installation

Problem solved, but I mentioned ruby ​​download and installation above, this problem should not occur

There is another problem as follows

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
Copy after login

Need mysql dependency

yum -y install autoconf
Copy after login

Problem solution

Next install again

./bitnami-redmine-3.3.3-0-linux-x64-installer.run
Copy after login
Copy after login
When you see

When you see to these words, congratulations, your installation is successful

The http://ip:port username and password to access your server are the username and password you set during the installation process

Well, I wish you good luck.

The above is the detailed content of Graphic tutorial for installing redmine on Linux using bitnami. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template