mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Added new documentation.
parent
fdafed2954
commit
4c9c964891
1 changed files with 61 additions and 0 deletions
|
|
@ -0,0 +1,61 @@
|
|||
Tested to work on AWS cloud:
|
||||
|
||||
```
|
||||
ec2-user@ip:~> cat /etc/os-release
|
||||
NAME="SLES"
|
||||
VERSION="12-SP1"
|
||||
VERSION_ID="12.1"
|
||||
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP1"
|
||||
ID="sles"
|
||||
ANSI_COLOR="0;32"
|
||||
CPE_NAME="cpe:/o:suse:sles:12:sp1"
|
||||
```
|
||||
|
||||
As root:
|
||||
|
||||
1) Install all updates and Docker (recommended):
|
||||
|
||||
```
|
||||
zypper update
|
||||
zypper in docker
|
||||
```
|
||||
|
||||
2) Start editing textfile to add rights for Docker to access network:
|
||||
|
||||
```
|
||||
vi /etc/sysconfig/SuSEfirewall2
|
||||
```
|
||||
|
||||
3) In that textfile change FW_ROUTE line to this and save:
|
||||
|
||||
```
|
||||
FW_ROUTE="yes"
|
||||
```
|
||||
|
||||
4) Add rights to use docker as another user, examples: ec2-user, virtual
|
||||
|
||||
```
|
||||
/usr/sbin/usermod -a -G docker ec2-user
|
||||
```
|
||||
|
||||
5) Start Docker and enable it on booting
|
||||
|
||||
```
|
||||
systemctl start docker
|
||||
chkconfig docker on
|
||||
```
|
||||
|
||||
6) Reboot so updates and firewall changes start working:
|
||||
|
||||
```
|
||||
reboot
|
||||
```
|
||||
|
||||
7) As normal user (examples: ec2-user, virtual) (root works still too), install MongoDB and Wekan, you can change 8080 to be another port:
|
||||
|
||||
```
|
||||
docker run -d --restart=always --name wekan-db mongo
|
||||
docker run -d --restart=always --name wekan --link "wekan-db:db" -e "MONGO_URL=mongodb://db" -e "ROOT_URL=http://localhost" -p 8080:80 mquandalle/wekan:0.10.0
|
||||
```
|
||||
|
||||
8) Now Wekan is available at http://ip-address:port , for example: http://192.168.100.50:8080 . Wekan starts at boot, and restarts on error conditions.
|
||||
Loading…
Add table
Add a link
Reference in a new issue