{"id":425,"date":"2011-01-11T13:14:19","date_gmt":"2011-01-11T12:14:19","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=425"},"modified":"2013-02-01T12:53:26","modified_gmt":"2013-02-01T11:53:26","slug":"archlinux-redmine","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=425","title":{"rendered":"Archlinux Redmine"},"content":{"rendered":"<span id=\"\"><h2><\/h2><\/span>\n<div class='toc toc'>\n<h2>Contents<\/h2>\n<ul class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#\"><\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_yaourt\">Install yaourt<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_Apache\">Install Apache<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_Mysql\">Install Mysql<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Configure_mysql\">Configure mysql<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_Ruby\">Install Ruby<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Install_Redmine\">Install Redmine<\/a>\n\t<\/li>\n<\/ul>\n<\/ul>\n<\/div>\n<div class='toc-end'>&nbsp;<\/div>\n<span id=\"Install_yaourt\"><h2>Install yaourt<\/h2><\/span>\n<p>Goto <a title=\"http:\/\/aur.archlinux.org\" href=\"http:\/\/aur.archlinux.org\/\" rel=\"nofollow\">http:\/\/aur.archlinux.org<\/a> and download yaourt<\/p>\n<pre>wget <a title=\"http:\/\/archiwain.free.fr\/os\/i686\/yaourt\/yaourt-0.9.2.6.src.tar.gz\" href=\"http:\/\/archiwain.free.fr\/os\/i686\/yaourt\/yaourt-0.9.2.6.src.tar.gz\" rel=\"nofollow\">http:\/\/archiwain.free.fr\/os\/i686\/yaourt\/yaourt-0.9.2.6.src.tar.gz<\/a>\r\ntar xvfz yaourt-0.9.2.6.src.tar.gz\r\ncd yaourt-0.9.2.6\r\nmake install<\/pre>\n<p>&nbsp;<\/p>\n<p><a id=\"Install_Apache\" name=\"Install_Apache\"><\/a><\/p>\n<span id=\"Install_Apache\"><h2>Install Apache<\/h2><\/span>\n<p>Install and start apache<\/p>\n<pre># pacman -S apache\r\n# \/etc\/rc.d\/httpd start<\/pre>\n<p>Load apache at startup -&gt; add httpd to \/etc\/rc.config<\/p>\n<pre>DAEMONS=(... httpd ...)<\/pre>\n<p>&nbsp;<\/p>\n<p><a id=\"Install_Mysql\" name=\"Install_Mysql\"><\/a><\/p>\n<span id=\"Install_Mysql\"><h2>Install Mysql<\/h2><\/span>\n<p><a title=\"http:\/\/wiki.archlinux.org\/index.php\/MySQL\" href=\"http:\/\/wiki.archlinux.org\/index.php\/MySQL\" rel=\"nofollow\">http:\/\/wiki.archlinux.org\/index.php\/MySQL<\/a><\/p>\n<p>Install and start mysql<\/p>\n<pre># pacman -S mysql\r\n# \/etc\/rc.d\/mysqld start<\/pre>\n<p>Load mysql at startup -&gt; add mysqld to \/etc\/rc.config<\/p>\n<pre>DAEMONS=(... mysqld ...)<\/pre>\n<p><a id=\"Configure_mysql\" name=\"Configure_mysql\"><\/a><\/p>\n<span id=\"Configure_mysql\"><h2>Configure mysql<\/h2><\/span>\n<ul>\n<li>select the root password<\/li>\n<li>remove anonymouse user<\/li>\n<li>disallow root login remotely<\/li>\n<li>remove test database<\/li>\n<li>reload privilege tables<\/li>\n<\/ul>\n<pre># \/usr\/bin\/mysql_secure_installation<\/pre>\n<p><a id=\"Install_Ruby\" name=\"Install_Ruby\"><\/a><\/p>\n<span id=\"Install_Ruby\"><h2>Install Ruby<\/h2><\/span>\n<p>As redmine doesn&#8217;t support ruby 1.9, we need to use older 1.8 from AUR instead. Remove &#8220;ruby&#8221; package, so that it doesn&#8217;t mess up, and retrieve and build the packages with any way you&#8217;re comfortable with,<\/p>\n<pre> pacman -R ruby\r\n yaourt -S ruby1.8\r\n yaourt -S rubygems1.8<\/pre>\n<pre> # ruby1.8 installs ruby-1.8 executable. link it to \"ruby\":\r\n cd \/usr\/bin\r\n ln ruby-1.8 ruby -s<\/pre>\n<pre> # install rake. skip the dependency checks, as otherwise it would just fall back to\r\n   ruby 1.9 instead pacman -Sd rake<\/pre>\n<pre> # and retrieve the rake libraries\r\n gem-1.8 install rake<\/pre>\n<p>&nbsp;<\/p>\n<p><a id=\"install_redmine\" name=\"install_redmine\"><\/a><\/p>\n<span id=\"Install_Redmine\"><h2>Install Redmine<\/h2><\/span>\n<pre>&gt;&gt;\r\n&gt;&gt;&gt; You can run Redmine in a couple of different ways:\r\n&gt;&gt;&gt; * Apache (via passenger)\r\n&gt;&gt;&gt; * WEBrick (standalone included webserver) - script\/ruby -e production\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; When running via WEBrick, you can start the daemon via:\r\n&gt;&gt;&gt;   \/etc\/rc.d\/redmine start\r\n&gt;&gt;&gt; Alternatively add \"redmine\" to the DAEMONS array in \/etc\/rc.conf.\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; To run it i Apache, add the following into the section\r\n&gt;&gt;&gt; \"Supplemental configuration\" of \/etc\/httpd\/conf\/httpd.conf.\r\n# Redmine PMS\r\nInclude conf\/extra\/httpd-redmine.conf\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; After the installation you should create the database (in MySQL)\r\n&gt;&gt;&gt; with the following commands:\r\n&gt;&gt;&gt; mysql -u root -p\r\n&gt;&gt;&gt; mysql&gt; create database redmine character set utf8;\r\n&gt;&gt;&gt; mysql&gt; create user 'redmine'@'localhost' identified by 'redmine'\r\n&gt;&gt;&gt; mysql&gt; grant all privileges on redmine.* to 'redmine'@'localhost'\r\n&gt;&gt;&gt; rake db:migrate RAILS_ENV=\"production\"\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; Furthermore you could add some default data with:\r\n&gt;&gt;&gt; rake redmine:load_default_data\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; Default login and password are admin\/admin. Remember to change these.\r\n&gt;&gt;&gt;\r\n&gt;&gt;&gt; Further installation help can be found at:\r\n&gt;&gt;&gt; http:\/\/www.redmine.org\/wiki\/redmine\/RedmineInstall\r\nOptional dependencies for redmine-mysql-svn\r\n    apache: a full featured webserver\r\n    ruby-rmagick: to enable Gantt export to png image\r\n    git: a distributed version control system\r\n    passenger: Apache Module for Rails\r\nIf you like this package, please install aurvote\r\nand vote for its inclusion\/keeping in [community]\r\n\r\n[sysop@mine extra]$<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install yaourt Goto http:\/\/aur.archlinux.org and download yaourt wget http:\/\/archiwain.free.fr\/os\/i686\/yaourt\/yaourt-0.9.2.6.src.tar.gz tar xvfz yaourt-0.9.2.6.src.tar.gz cd yaourt-0.9.2.6 make install &nbsp; Install Apache Install and start apache # pacman -S apache # \/etc\/rc.d\/httpd start Load apache at startup -&gt; add httpd to \/etc\/rc.config DAEMONS=(&#8230; &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=425\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,5],"tags":[],"class_list":["post-425","post","type-post","status-publish","format-standard","hentry","category-archlinux","category-linux"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/425","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=425"}],"version-history":[{"count":7,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions"}],"predecessor-version":[{"id":2672,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/425\/revisions\/2672"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=425"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=425"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=425"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}