https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&user=Danieloc+2&feedformat=atom
Alpine Linux - User contributions [en]
2024-03-29T10:14:29Z
User contributions
MediaWiki 1.40.0
https://wiki.alpinelinux.org/w/index.php?title=Redmine&diff=4628
Redmine
2010-11-19T09:45:13Z
<p>Danieloc 2: </p>
<hr />
<div>'''Redmine in Alpine Linux'''<br />
<br />
''Note:'' We need to install using tyhe edge repositories.<br />
<br />
Change the repositorie to use the edge.<br />
<br />
mv /etc/apk/repositories /etc/apk/repositories.old<br />
echo -e "http://dl-3.alpinelinux.org/alpine/edge/main/" >> /etc/apk/repositories <br />
<br />
Update and upgrade<br />
<br />
apk -U upgrade<br />
<br />
Install services<br />
<br />
apk add lighttpd fcgi mysql mysql-dev php rubygems<br />
<br />
gem install rails -v=2.3.5<br />
gem install mysql<br />
<br />
Configure MySql<br />
<br />
/usr/bin/mysql_install_db --user=mysql<br />
/etc/init.d/mysql start && rc-update add mysql default<br />
/usr/bin/mysqladmin -u root password 'password'<br />
<br />
Create the redmine database<br />
<br />
mysql -u root -p<br />
<br />
create database redmine character set utf8;<br />
grant all privileges on redmine.* to 'redmine'@'localhost' identified by 'Secur3P@ass';<br />
flush privileges;<br />
exit<br />
<br />
Edit lighttpd <br />
Note: To include "mod_fastcgi.conf", uncomment line 46<br />
<br />
nano +46 /etc/lighttpd/lighttpd.conf<br />
<br />
Start the server and add to the boot <br />
<br />
/etc/init.d/lighttpd start && rc-update add lighttpd<br />
<br />
Create redmine folder<br />
<br />
mkdir -p /usr/share/webapps/redmine<br />
<br />
Download, unpack and move Redmine<br />
<br />
cd /tmp/<br />
wget http://rubyforge.org/frs/download.php/73140/redmine-1.0.3.tar.gz<br />
tar zxvf redmine-1.0.3.tar.gz<br />
mv redmine-1.0.3/* /usr/share/webapps/redmine/<br />
<br />
Change permissions<br />
<br />
chown -R lighttpd:lighttpd /usr/share/webapps/redmine<br />
<br />
Edit the database config file and put the mysql password<br />
<br />
cp /usr/share/webapps/redmine/config/database.yml.example /usr/share/webapps/redmine/config/database.yml<br />
nano /usr/share/webapps/redmine/config/database.yml <br />
<br />
Some more steps<br />
<br />
cd /usr/share/webapps/redmine<br />
<br />
rake generate_session_store<br />
RAILS_ENV=production rake db:migrate<br />
RAILS_ENV=production rake redmine:load_default_data <br />
<br />
Note: keep default language of '''en'''<br />
<br />
Start the Redmin<br />
<br />
ruby script/server webrick -e production<br />
<br />
Now you can browse to '''localhost:3000''' an log using '''admin''' user and '''admin''' password.<br />
<br />
<br />
Note: Follow http://www.redmine.org/boards/2/topics/4458 adding the virtual host config to /etc/lighttpd/redmine.conf, and add redmine.conf to the includes in /etc/lighttpd/lighttpd.conf<br />
<br />
Then restart lighttpd.</div>
Danieloc 2
https://wiki.alpinelinux.org/w/index.php?title=Redmine&diff=4627
Redmine
2010-11-19T09:41:55Z
<p>Danieloc 2: </p>
<hr />
<div>'''Redmine in Alpine Linux'''<br />
<br />
''Note:'' We need to install using tyhe edge repositories.<br />
<br />
Change the repositorie to use the edge.<br />
<br />
mv /etc/apk/repositories /etc/apk/repositories.old<br />
echo -e "http://dl-3.alpinelinux.org/alpine/edge/main/" >> /etc/apk/repositories <br />
<br />
Update and upgrade<br />
<br />
apk -U upgrade<br />
<br />
Installing all we need<br />
<br />
apk add lighttpd fcgi mysql mysql-dev php rubygems<br />
<br />
gem install rails -v=2.3.5<br />
gem install mysql<br />
<br />
Configuring MySql<br />
<br />
/usr/bin/mysql_install_db --user=mysql<br />
/etc/init.d/mysql start && rc-update add mysql default<br />
/usr/bin/mysqladmin -u root password 'password'<br />
<br />
Create the redmine database<br />
<br />
mysql -u root -p<br />
<br />
create database redmine character set utf8;<br />
grant all privileges on redmine.* to 'redmine'@'localhost' identified by 'Secur3P@ass';<br />
flush privileges;<br />
exit<br />
<br />
Edit ighttpd " include "mod_fastcgi.conf"" and start<br />
<br />
nano +46 /etc/lighttpd/lighttpd.conf<br />
<br />
Start the server and add to the boot <br />
<br />
/etc/init.d/lighttpd start && rc-update add lighttpd<br />
<br />
Create folder<br />
<br />
mkdir -p /usr/share/webapps/redmine<br />
<br />
Download, unpack and move redmine<br />
<br />
cd /tmp/<br />
wget http://rubyforge.org/frs/download.php/73140/redmine-1.0.3.tar.gz<br />
tar zxvf redmine-1.0.3.tar.gz<br />
mv redmine-1.0.3/* /usr/share/webapps/redmine/<br />
<br />
Change permissions<br />
<br />
chown -R lighttpd:lighttpd /usr/share/webapps/redmine<br />
<br />
Edit the database config file and put the mysql password<br />
<br />
cp /usr/share/webapps/redmine/config/database.yml.example /usr/share/webapps/redmine/config/database.yml<br />
nano /usr/share/webapps/redmine/config/database.yml <br />
<br />
Some more steps<br />
<br />
cd /usr/share/webapps/redmine<br />
<br />
rake generate_session_store<br />
RAILS_ENV=production rake db:migrate<br />
RAILS_ENV=production rake redmine:load_default_data <br />
<br />
Note: keep default language of '''en'''<br />
<br />
Start the Redmin<br />
<br />
ruby script/server webrick -e production<br />
<br />
Now Browse to '''localhost:3000'''<br />
User '''admin''':'''admin'''<br />
<br />
<br />
Note: Follow http://www.redmine.org/boards/2/topics/4458 adding the virtual host config to /etc/lighttpd/redmine.conf, and add redmine.conf to the includes in /etc/lighttpd/lighttpd.conf<br />
<br />
Restart lighttpd.</div>
Danieloc 2
https://wiki.alpinelinux.org/w/index.php?title=Redmine&diff=4626
Redmine
2010-11-19T09:41:16Z
<p>Danieloc 2: </p>
<hr />
<div>'''Redmine in Alpine Linux'''<br />
<br />
''Note:'' We need to install using tyhe edge repositories.<br />
<br />
Change the repositorie to use the edge.<br />
<br />
mv /etc/apk/repositories /etc/apk/repositories.old<br />
echo -e "http://dl-3.alpinelinux.org/alpine/edge/main/" >> /etc/apk/repositories <br />
<br />
Update and upgrade<br />
<br />
apk -U upgrade<br />
<br />
Installing all we need<br />
<br />
apk add lighttpd fcgi mysql mysql-dev php rubygems<br />
<br />
gem install rails -v=2.3.5<br />
gem install mysql<br />
<br />
Configuring MySql<br />
<br />
/usr/bin/mysql_install_db --user=mysql<br />
/etc/init.d/mysql start && rc-update add mysql default<br />
/usr/bin/mysqladmin -u root password 'password'<br />
<br />
Create the remine database<br />
<br />
mysql -u root -p<br />
<br />
create database redmine character set utf8;<br />
grant all privileges on redmine.* to 'redmine'@'localhost' identified by 'Secur3P@ass';<br />
flush privileges;<br />
exit<br />
<br />
Edit ighttpd " include "mod_fastcgi.conf"" and start<br />
<br />
nano +46 /etc/lighttpd/lighttpd.conf<br />
<br />
Start the server and add to the boot <br />
<br />
/etc/init.d/lighttpd start && rc-update add lighttpd<br />
<br />
Create folder<br />
<br />
mkdir -p /usr/share/webapps/redmine<br />
<br />
Download, unpack and move redmine<br />
<br />
cd /tmp/<br />
wget http://rubyforge.org/frs/download.php/73140/redmine-1.0.3.tar.gz<br />
tar zxvf redmine-1.0.3.tar.gz<br />
mv redmine-1.0.3/* /usr/share/webapps/redmine/<br />
<br />
Change permissions<br />
<br />
chown -R lighttpd:lighttpd /usr/share/webapps/redmine<br />
<br />
Edit the database config file and put the mysql password<br />
<br />
cp /usr/share/webapps/redmine/config/database.yml.example /usr/share/webapps/redmine/config/database.yml<br />
nano /usr/share/webapps/redmine/config/database.yml <br />
<br />
Some more steps<br />
<br />
cd /usr/share/webapps/redmine<br />
<br />
rake generate_session_store<br />
RAILS_ENV=production rake db:migrate<br />
RAILS_ENV=production rake redmine:load_default_data <br />
<br />
Note: keep default language of '''en'''<br />
<br />
Start the Redmin<br />
<br />
ruby script/server webrick -e production<br />
<br />
Now Browse to '''localhost:3000'''<br />
User '''admin''':'''admin'''<br />
<br />
<br />
Note: Follow http://www.redmine.org/boards/2/topics/4458 adding the virtual host config to /etc/lighttpd/redmine.conf, and add redmine.conf to the includes in /etc/lighttpd/lighttpd.conf<br />
<br />
Restart lighttpd.</div>
Danieloc 2