Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
Obě strany předchozí revize Předchozí verze Následující verze | Předchozí verze | ||
sw:redmine:installation-on-debian-jessie [15.09.2015 16:46] vm |
sw:redmine:installation-on-debian-jessie [28.10.2015 18:06] vm |
||
---|---|---|---|
Řádek 5: | Řádek 5: | ||
Debian 8 is the first version of Debian that is using ''systemd'', all other steps are the same also for older versions of Debian. | Debian 8 is the first version of Debian that is using ''systemd'', all other steps are the same also for older versions of Debian. | ||
- | ===== 1. System settings ===== | + | ===== System settings ===== |
Add user account that will be used for redmine application. | Add user account that will be used for redmine application. | ||
useradd -m -s /bin/bash redmine | useradd -m -s /bin/bash redmine | ||
Řádek 11: | Řádek 11: | ||
- | ===== 2. RVM ===== | + | ===== RVM ===== |
Install required packages | Install required packages | ||
Řádek 26: | Řádek 26: | ||
bash -lc 'rvm use --default 2.1.5' | bash -lc 'rvm use --default 2.1.5' | ||
- | ===== 3. Database ===== | + | ===== Database ===== |
As a database will be used MySQL server. | As a database will be used MySQL server. | ||
apt-get install mysql-server | apt-get install mysql-server | ||
Řádek 37: | Řádek 37: | ||
- | ===== 4. Redmine ===== | + | ===== Redmine ===== |
==== Download ==== | ==== Download ==== | ||
mkdir /srv/redmine/ | mkdir /srv/redmine/ | ||
Řádek 91: | Řádek 91: | ||
EOF | EOF | ||
- | ===== 5. Unicorn ===== | + | ===== Unicorn ===== |
Install unicorn server. | Install unicorn server. | ||
bash -lc 'rvm 2.1.5 do gem install unicorn' | bash -lc 'rvm 2.1.5 do gem install unicorn' | ||
Řádek 148: | Řádek 148: | ||
EOF | EOF | ||
- | ===== 6. Nginx ===== | + | ===== Nginx ===== |
Install server: | Install server: | ||
apt-get install nginx | apt-get install nginx | ||
Řádek 186: | Řádek 186: | ||
ln -s /etc/nginx/sites-available/redmine /etc/nginx/sites-enabled/ | ln -s /etc/nginx/sites-available/redmine /etc/nginx/sites-enabled/ | ||
| | ||
- | ===== 7. Start services ===== | + | ===== Start services ===== |
systemctl start unicorn.service | systemctl start unicorn.service | ||
systemctl reload nginx.service | systemctl reload nginx.service | ||
- | ===== 8. Use it ===== | + | ===== Use it ===== |
To access newly installed instance open web browser and access it using hostnamed configured in nginx. | To access newly installed instance open web browser and access it using hostnamed configured in nginx. | ||
Řádek 199: | Řádek 199: | ||
^ Login | admin | | ^ Login | admin | | ||
^ Password | admin | | ^ Password | admin | | ||
+ |
sw/redmine/installation-on-debian-jessie.txt · Poslední úprava: 28.10.2015 18:06 autor: vm