Home > Operation and Maintenance > Linux Operation and Maintenance > How to install redmine on Linux using bitnami

How to install redmine on Linux using bitnami

PHP中文网
Release: 2017-06-20 11:08:54
Original
1827 people have browsed it

This is my first blog, please forgive me if there is anything wrongly written.

One time at work, I had an opportunity to come into contact with redmine. At first, I tried to install it manually, but ended up installing N. sky. 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 helps everyone

1. Log in to the website

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

Download

2.I am Use scp to upload from local to 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 you don’t have ruby, log in to the ruby ​​official website

Download and install ruby
Currently the highest The version is 2.4.1
wget https:
Copy after login

Add environment variables after downloading and decompressing
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 the 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 Some people say that the disk is full, but my machine is a new machine and has not been installed before. The disk is not full.

What I want to say to you is that if your server memory is 1G, just change the machine. Get a high-end one. 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 updated ruby ​​and canceled the subversion installation

 <br>
Copy after login

The problem was solved, but as I mentioned above about downloading and installing ruby, 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

Requires 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 these words, congratulations, you installed successfully

The username and password for accessing your server's http://ip:port are the username and password you set during the installation process

Well, I wish you good luck.

The above is the detailed content of How to install 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