?這是我第一篇博客,如果有什么寫的不好還請多包涵
有一次工作有機會讓我來接觸redmine,剛開始我嘗試手動安裝,結果安裝了N天。都沒裝上。后來看到了bitnami安裝比較方便,可是因為服務器內存不夠的緣故,也耽誤了幾天。不過最后還是安裝上了,所以我決定還是記錄在博客上。希望對能對大家有幫助
1.登陸網站
https://bitnami.com/stack/redmine/installer
下載
2.我是使用的scp 從本地安裝到自己的服務器
scp?/本機目錄/本機文件?root@ip:/目標服務器路徑
通過ssh登陸服務器
檢查自己服務器是否安裝了ruby
ruby?-v
如果沒有ruby 登陸ruby官網
下載安裝ruby
目前最高版本是2.4.1
wget?https:
下載解壓后 增加環境安裝
vi?/etc/profile
export PATH=/usr/local/ruby/ruby-2.4.1/:$PATH
source?/etc/profile
安裝gcc
yum?install?gcc
進入ruby安裝目錄
./configure?? make sudo?make?install
進入bitnami下載目錄
啟動安裝程序
./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
我查找了N天 有說磁盤滿了的,可是我那個是新機器沒裝過別的 不會磁盤滿了
我想對你說的是,如果你的服務器內存是1G,就換機器吧,換個高配的。此處有淚~~~~
接下來 我又遇到如此的錯誤
?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安裝
問題解決,不過上面我提到了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
需要mysql依賴
yum?-y?install?autoconf
問題解決
接下來 再次安裝
./bitnami-redmine-3.3.3-0-linux-x64-installer.run
當你看到
當你看到這些字,恭喜你,你安裝成功了
訪問你的服務器 的http://ip:port 用戶名和密碼是你安裝過程中設置的用戶名和密碼
?
?
?好了,祝君好運。
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END