這是我第一篇博客,如果有什麼寫的不好還請多包涵
有一次工作有機會讓我來接觸redmine,剛開始我嘗試手動安裝,結果安裝了N天。都沒裝上。後來看到了bitnami安裝比較方便,可是因為伺服器記憶體不夠的緣故,也耽誤了幾天。不過最後還是安裝上了,所以我決定還是要記錄在部落格上。希望對能對大家有幫助
1.登陸網站
bitnami.com/stack/redmine/installer
#下載
2.我是使用的scp 從本地上傳到自己的伺服器
scp /本机目录/本机文件 root@ip:/目标服务器路径
透過ssh登陸伺服器
檢查自己伺服器是否安裝了ruby
#
ruby -v
如果沒有ruby 登陸ruby官網
wget https:
#
vi /etc/profile
source /etc/profile
yum install gcc
進入ruby安裝目錄
./configure make sudo make install
#
./bitnami-redmine-3.3.3-0-linux-x64-installer.run
其實我安裝的時候不像網路中的貼文那麼順利#例如這個錯誤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
接下來我又遇到如此的錯誤
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安裝
<br>
問題解決,不過上面我提到了ruby 下載與安裝,應該不會出現這個問題
#還有一個問題如下
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
######
yum -y install autoconf
./bitnami-redmine-3.3.3-0-linux-x64-installer.run
以上是Linux使用bitnami安裝redmine的方法的詳細內容。更多資訊請關注PHP中文網其他相關文章!