Linux-Redmine安裝方法


Linux-Redmine安裝方法                      QQ群交流:585499566

一、環境准備

1,Linux系統:centos6.5

2,Redmine安裝包:bitnami-redmine-3.4.6-0-linux-x64-installer.run

二、安裝:

備注:使用圖形界面安裝比較好配置

1.安裝步驟

注意:在沒有特別說明步驟,就是操作“下一步”,無需改變安裝項

1,創建一個目錄,將安裝包放進一個文件夾里,然后雙擊安裝包,或者運行下面的命令:
./bitnami-redmine-3.4.6-0-linux-x64-installer.run

2,選擇語言:中文

 

 

3,選擇安裝路徑:建議放在一個文件夾里

 

 

4,填寫超級用戶信息

 

 

2.安裝中出現的錯誤

一、glibc2.18 not fund:這是glibc也就是C庫版本不到2.18,需要升級:


1,下載:http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz

選擇報錯中需要的版本:glibc-2.18.tar.gz
選擇過最新版本,安裝時候進行configure時候報錯,所以就沒有最新版本

2,運行以下命令安裝:
[root@localhost soft]# tar -xf glibc-2.18.tar.gz 

[root@localhost soft]# cd glibc-2.18 
[root@localhost glibc-2.17]# mkdir build; cd build 
[root@localhost build]# ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin [root@localhost build]# make -j 8 
[root@localhost build]# make install 
[root@localhost soft]# strings /lib64/libc.so.6 | grep GLIBC

GLIBC_2.2.5

GLIBC_2.2.6

GLIBC_2.3

GLIBC_2.3.2

GLIBC_2.3.3

GLIBC_2.3.4

GLIBC_2.4

GLIBC_2.5

GLIBC_2.6

GLIBC_2.7

GLIBC_2.8

GLIBC_2.9

GLIBC_2.10

GLIBC_2.11

GLIBC_2.12

GLIBC_2.13

GLIBC_2.14

GLIBC_2.15

GLIBC_2.16

GLIBC_2.17

GLIBC_2.18

GLIBC_PRIVATE


3,檢查部署成功后的glibc的版本為2.18

[root@localhost soft]# ldd --version

ldd (GNU libc) 2.18

Copyright (C) 2013 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Roland McGrath 和 Ulrich Drepper 編寫。

 

二、Glibcxx3.4.18 not fund:這是glibcxx也就是C++庫版本不到3.4.18,需要升級:

1,下載:
ftp://ftp.de.debian.org/debian/pool/main/g/gcc-8/libstdc++6_8.1.0-10_amd64.deb
選擇報錯中需要的版本:libstdc++6_8.1.0-10_amd64.deb 這是目前最新的版本


2,運行以下命令安裝:


1),解壓:
ar -x libstdc++6_8.1.0-10_amd64.deb

xz -d data.tar.xz

tar -xvf data.tar

 

2),安裝:
刪除:rm /usr/lib64/libstdc++.so.6
拷貝:cp usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25   /usr/lib64/
鏈接:ln  /usr/lib64/libstdc++.so.6.0.25  /usr/lib64/libstdc++.so.6

 

3)檢查:

[root@localhost soft]# strings /usr/lib64/libstdc++.so.6 |grep GLIBCXX

GLIBCXX_3.4

GLIBCXX_3.4.1

GLIBCXX_3.4.2

GLIBCXX_3.4.3

GLIBCXX_3.4.4

GLIBCXX_3.4.5

GLIBCXX_3.4.6

GLIBCXX_3.4.7

GLIBCXX_3.4.8

GLIBCXX_3.4.9

GLIBCXX_3.4.10

GLIBCXX_3.4.11

GLIBCXX_3.4.12

GLIBCXX_3.4.13

GLIBCXX_3.4.14

GLIBCXX_3.4.15

GLIBCXX_3.4.16

GLIBCXX_3.4.17

GLIBCXX_3.4.18

GLIBCXX_3.4.19

GLIBCXX_3.4.20

GLIBCXX_3.4.21

GLIBCXX_3.4.22

GLIBCXX_3.4.23

GLIBCXX_3.4.24

GLIBCXX_3.4.25

GLIBCXX_DEBUG_MESSAGE_LENGTH

 

三、Linux命令啟動服務

1,打開linux下的命令行窗口,進入redmine的安裝目錄文件夾,發現文件“ctlscript.sh”,運行./ctlscript.sh,出現如下提示:

 

[root@localhost redmine-3.4.6-0]# ./ctlscript.sh

usage: ./ctlscript.sh help

       ./ctlscript.sh (start|stop|restart|status)

       ./ctlscript.sh (start|stop|restart|status) mysql

       ./ctlscript.sh (start|stop|restart|status) apache

       ./ctlscript.sh (start|stop|restart|status) subversion

 

help       - this screen

start      - start the service(s)

stop       - stop  the service(s)

restart    - restart or start the service(s)

status     - show the status of the service(s)

 

2,根據提示運行命令


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM