Home > Article > Operation and Maintenance > How to install redmine on Linux using bitnami
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
Download
2.I am Use scp to upload from local to your own server
scp /本机目录/本机文件 root@ip:/目标服务器路径
Log in to the server through ssh
Check whether ruby is installed on your server
ruby -v
If you don’t have ruby, log in to the ruby official website
wget https:
vi /etc/profile
source /etc/profile
yum install gcc
Enter ruby installation directory
./configure make sudo make install
Enter the bitnami download directory
Start the installation program
./bitnami-redmine-3.3.3-0-linux-x64-installer.run
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
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:
I updated ruby and canceled the subversion installation
<br>
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
Requires mysql dependency
yum -y install autoconf
Problem solution
Next install again
./bitnami-redmine-3.3.3-0-linux-x64-installer.run
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!