ARM安装redmine
时间: 2023-11-21 22:55:26 浏览: 168
redmine安装
以下是在ARM架构上安装Redmine的步骤:
1. 确保你的系统符合以下要求:
- 64位ARM处理器
- 内存:2GB或更高
- 硬盘:至少有40GB的可用空间
- 至少4GB的交换空间
- Ubuntu 18.04或20.04以arm64
- PostgreSQL v.12.9或更高版本
- NGINX v.1.3.13或更高版本
- libstdc++6:版本4.8.4或更高版本
- RabbitMQ
2. 安装依赖项:
```
sudo apt-get update
sudo apt-get install -y gnupg2 curl ca-certificates
sudo apt-get install -y libpq5 libxml2 libxslt1.1 libcurl3 libicu60 libssl1.0.0 libyaml-0-2 zlib1g libffi6 libgmp10 libreadline7 libncursesw5 libtinfo5 libffi-dev libgmp-dev libicu-dev libpq-dev libreadline-dev libssl-dev libxml2-dev libxslt-dev libyaml-dev zlib1g-dev build-essential git-core libcurl4-openssl-dev libffi-dev libreadline-dev libssl-dev libxml2-dev libxslt-dev libyaml-dev zlib1g-dev libmagickwand-dev libsqlite3-dev libpq-dev libmysqlclient-dev libmariadbclient-dev libmariadbclient-dev-compat libldap2-dev libsasl2-dev libmagickcore-dev libsqlite3-dev libpq-dev libmysqlclient-dev libmariadbclient-dev libmariadbclient-dev-compat libldap2-dev libsasl2-dev libmagickcore-dev imagemagick ghostscript libgs-dev libjemalloc-dev libjemalloc2 nginx rabbitmq-server
```
3. 下载Redmine镜像:
```
docker pull docker.io/sameersbn/redmine
```
4. 下载PostgreSQL镜像:
```
docker pull docker.io/sameersbn/postgresql
```
5. 启动PostgreSQL:
```
docker run --name=postgresql-redmine -d --env='DB_NAME=redmine_production' --env='DB_USER=redmine' --env='DB_PASS=password' --volume=/srv/docker/redmine/postgresql:/var/lib/postgresql/ --restart=always docker.io/sameersbn/postgresql:12-20201020
```
6. 启动Redmine:
```
docker run --name=redmine -d --link=postgresql-redmine:postgresql --publish=10083:80 --env='REDMINE_PORT=10083' --env='REDMINE_RELATIVE_URL_ROOT=/redmine' --volume=/srv/docker/redmine/redmine:/home/redmine/data --restart=always docker.io/sameersbn/redmine:4.2.1-20211014
```
阅读全文