This is my first blog, if there is anything bad to write, please forgive me
Once I had a chance to get in touch with Redmine, I just started trying to install it manually, and the results were installed n days. It's not even loaded. Later saw the Bitnami installation is more convenient, but because the server memory is not enough, but also delayed a few days. But eventually it was installed, so I decided to keep it on the blog. Hope to be helpful to everyone
1. Landing site
HTTPS://Bitnami.com/stack/redmine/installer
Download
2. I am using the SCP to upload from local to my own server
SCP/natively directory/native file [email protected]:/destination server path
Log in to the server via SSH
Check if Ruby is installed on your server
Ruby-v
If Ruby is not on the Ruby website
https://www.ruby-lang.org/en/downloads/Download install ruby currently the highest version is 2.4.1
wget https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.1.tar.gz
Tar xzvf ruby-2.4.1.tar.gz
Add environment variables after download decompression
Vi/etc/profile
Export PATH=/USR/LOCAL/RUBY/RUBY-2.4.1/: $PATH
Source/etc/profile
Installing GCC
Yum Install GCC
Go to the Ruby installation directory
./Configure Makesudo make install
Go to Bitnami download catalogue
Start the Setup program
./bitnami-redmine-3.3. 3-0-linux-x64-installer.run
Actually, I didn't install it as well as a post on the web.
Like this mistake.
Abort,retry,ignore? [a/r/i]
0 - /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/? [A/r/i]^c
I looked for n days and said that the disk was full, but my one was a new machine. No, no, the disk is full.
What I want to say to you is, if your server memory is 1G, change the machine, change a high match. Here are tears ~ ~ ~
And then I get this mistake again.
Installing0% ______________ -% ______________ -%####################################### #Warning: Problem running post-install step. Installation may not completecorrectly Unknown error whileRunning Chown-R root:subversion/usr/local/bitnami/subversion/tmppress [Enter] toContinue: Warning:problem running post-install step. Installation may not completecorrectly Unknown error whileRunning/usr/local/bitnami/ruby/bin/ruby-e"require (' DIGEST/SHA1 '); puts (Digest::sha1.hexdigest (' * * * * ))"Press [Enter] toContinue: Warning:problem running post-install step. Installation completecorrectly Error creating dynamic Link/usr/local/bitnami/apps/redmine/Bnconfig/usr/local/bitnami/apps/redmine/updateippress [Enter] toContinue:
I was updating Ruby and canceling the Subversion installation.
Problem solved, but above I mentioned ruby download and install, should not have this problem
There is one more question:
Installing0% ______________ -% ______________ -%####################################### #Error: Error running/usr/local/bitnami/mysql/scripts/myscript.sh/usr/local/bitnami/mysql"****": FATAL error:please Install the following perlmodules before executing scripts/mysql_install_db:data::D umperlogging to'/usr/local/bitnami/mysql/data/mysqld.log'. ERROR2002(HY000): Can't connect to local MySQL server through socket'/usr/local/bitnami/mysql/tmp/mysql.sock'(2) ERROR2002(HY000): Can't connect to local MySQL server through socket'/usr/local/bitnami/mysql/tmp/mysql.sock'(2) ERROR2002(HY000): Can't connect to local MySQL server through socket
Requires MySQL dependency
Yum-y Install autoconf
Problem solving
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 Http://ip:port user name and password to access your server is the user name and password that you set during the installation process
All right, good luck.
Linux uses Bitnami to install Redmine