{"id":4497,"date":"2009-07-02T06:56:07","date_gmt":"2009-07-02T12:56:07","guid":{"rendered":"https:\/\/www.opengis.ch\/?p=3"},"modified":"2020-04-29T16:08:00","modified_gmt":"2020-04-29T14:08:00","slug":"installing-redmine-on-bluehost-shared-hosting","status":"publish","type":"post","link":"https:\/\/www.opengis.ch\/it\/2009\/07\/02\/installing-redmine-on-bluehost-shared-hosting\/","title":{"rendered":"Installing Redmine on (bluehost) shared hosting"},"content":{"rendered":"<p>Hi, here a script to install readmine\u00a0 0.8.4 (<a href=\"https:\/\/redmine.org\">www.readmine.org<\/a>) on a shared host that offers ruby on rails. enjoy<!--more--><\/p>\n<pre lang='Bash'>\n#automatic install of redmine 0.8.4 (https:\/\/www.redmine.org\/) on a shared server (tested on bluehost)\n#\n#AUTHOR: Marco Bernasocchi (https:\/\/www.bernawebdesign.ch)\n#LICENSE: https:\/\/www.gnu.org\/licenses\/gpl-3.0.html\n#\n#BEFORE starting:\n# - create an empty DB (using cpanel) and a DB user with full permissions on the db\n# - create a mail user used to send out mails (quota can be set to 1Mb since you just need to send mails with it)\n# - cd into the dir you want to install to. (for example \/home\/username\/railsApps\/redmine)\n#\n#AFTER (not mandatory):\n# - create a subdomain (in cpanel) for redmine and link it to the public folder in redmine\n# example:\n# \tdelete the default created folder\n# \trm -rf \/home\/username\/public_html\/redmine\/\n#\tcreate symlink to the public folder\n# \tln -s \/home\/username\/railsApps\/redmine\/public \/home\/username\/public_html\/redmine\n# now redmine is located at https:\/\/yoursubdomain.example.com\n# login: admin\n# passw: admin\n#set this vars\n#\nMY_DB=\"dbName\"\nMY_DB_USER=\"dbUser\"\nMY_DB_PASSW=\"dbPassw\"\nMY_DOMAIN=\"example.com\"\nMY_MAIL_SUBDOMAIN=\"mail.\"\nMY_MAIL_PORT=\"26\"\nMY_MAILER=\"user+example.com\"\nMY_MAILER_PASSW=\"mailPassw\"\n#\n#get redmine 0.8.4\nwget https:\/\/rubyforge.org\/frs\/download.php\/56909\/redmine-0.8.4.tar.gz\ntar zxvf redmine-0.8.4.tar.gz\nrm redmine-0.8.4.tar.gz\nmv redmine-0.8.4\/* .\nrmdir redmine-0.8.4\n#\n#use fastCGI dispatcher\nmv public\/dispatch.fcgi.example public\/dispatch.fcgi\n#\n#set some permissions\nchmod 700 public\/dispatch.fcgi\nchmod 700 tmp\nchmod 700 log\n#\n#force production environnement\nsed 's|# ENV[|ENV[|g' config\/environment.rb > TMPFILE && mv TMPFILE config\/environment.rb\n#\n#create config\/database.yml\necho 'production:' > config\/database.yml\necho ' adapter: mysql' >> config\/database.yml\necho ' database: '$MY_DB >> config\/database.yml\necho ' host: localhost' >> config\/database.yml\necho ' username: '$MY_DB_USER >> config\/database.yml\necho ' password: '$MY_DB_PASSW >> config\/database.yml\necho ' encoding: utf8' >> config\/database.yml\n#\n#create config\/email.yml\necho '# Outgoing email settings' > config\/email.yml\necho 'production:' >> config\/email.yml\necho '  delivery_method: :smtp' >> config\/email.yml\necho '  smtp_settings:' >> config\/email.yml\necho '    address: '$MY_MAIL_SUBDOMAIN$MY_DOMAIN >> config\/email.yml\necho '    port: '$MY_MAIL_PORT >> config\/email.yml\necho '    domain: '$MY_DOMAIN >> config\/email.yml\necho '    authentication: :login' >> config\/email.yml\necho '    user_name: '$MY_MAILER >> config\/email.yml\necho '    password: '$MY_MAILER_PASSW >> config\/email.yml\n#\n#create app\nrake db:migrate RAILS_ENV=\"production\"\nrake redmine:load_default_data RAILS_ENV=\"production\"\n<\/pre>\n<p>If you plan to integrate with a repository don&#8217;t forget to check the settings>repositories tab, where it says &#8220;Fixing keywords&#8221;, it is a very cool function that allows you to automatically change the issue status by using keywords in the commit message.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>script to install readmine  0.8.4 on a shared host that offers ruby on rails. <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[125],"class_list":["post-4497","post","type-post","status-publish","format-standard","hentry","category-web-development","tag-qgis-org"],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":17,"url":"https:\/\/www.opengis.ch\/it\/2009\/07\/10\/symfony-project-on-bluehost-shared-hosting\/","url_meta":{"origin":4497,"position":0},"title":"Symfony project on (bluehost) shared hosting","author":"Marco Bernasocchi","date":"10 Luglio 2009","format":false,"excerpt":"set up a working Symfony project (with SVN) on my bluehost shared hosting, this tutorial should work for other hosters with minor changes. What I wanted was to be able of using my account as a development server for a small group of developers that would automatically show the last\u2026","rel":"","context":"In &quot;Web Development&quot;","block_context":{"text":"Web Development","link":"https:\/\/www.opengis.ch\/it\/category\/web-development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":60,"url":"https:\/\/www.opengis.ch\/it\/2009\/07\/14\/activating-error-503-from-a-shell-script\/","url_meta":{"origin":4497,"position":1},"title":"Activating error 503 from a shell script","author":"Marco Bernasocchi","date":"14 Luglio 2009","format":false,"excerpt":"During deployment of a new version of a website you might want to have your server returning an error 503 (temporarily unavailable). here a solution","rel":"","context":"In &quot;Web Development&quot;","block_context":{"text":"Web Development","link":"https:\/\/www.opengis.ch\/it\/category\/web-development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14415,"url":"https:\/\/www.opengis.ch\/it\/2024\/05\/28\/the-postgresql-connection-service-file-and-why-we-love-it\/","url_meta":{"origin":4497,"position":2},"title":"The PostgreSQL Connection Service File and Why We Love It","author":"Dave Signer","date":"28 Maggio 2024","format":false,"excerpt":"The PostgreSQL Connection Service File pg_service.conf has existed for quite some time and maybe you have already used it sometimes. We love it, and that is why we built the new QGIS plugin PG service parser hashtag#QGIS plugin. Read more about pg_service usages and the new plugin on our latest\u2026","rel":"","context":"In &quot;Interlis&quot;","block_context":{"text":"Interlis","link":"https:\/\/www.opengis.ch\/it\/category\/gis\/interlis\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2024\/05\/pgserviceparser-1.png?fit=1200%2C750&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2024\/05\/pgserviceparser-1.png?fit=1200%2C750&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2024\/05\/pgserviceparser-1.png?fit=1200%2C750&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2024\/05\/pgserviceparser-1.png?fit=1200%2C750&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2024\/05\/pgserviceparser-1.png?fit=1200%2C750&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":68,"url":"https:\/\/www.opengis.ch\/it\/2009\/08\/07\/wordpress-wpml-iphone-app\/","url_meta":{"origin":4497,"position":3},"title":"wordpress iphone app with wpml","author":"Marco Bernasocchi","date":"7 Agosto 2009","format":false,"excerpt":"Solution to use the iphone application for multilingual blogging with wpml","rel":"","context":"In &quot;Web Development&quot;","block_context":{"text":"Web Development","link":"https:\/\/www.opengis.ch\/it\/category\/web-development\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11928,"url":"https:\/\/www.opengis.ch\/de\/2021\/02\/04\/qgis-einsteigerkurs-online-12-13-04-2021\/","url_meta":{"origin":4497,"position":4},"title":"QGIS Einsteigerkurs Online, 12\/13.04.2021","author":"Marco Bernasocchi","date":"4 Febbraio 2021","format":false,"excerpt":"Anmelden Der Kurs dauert 2 Tage (9:00 - 17:00 Uhr) via Google Meet (kein Google Konto erforderlich) und kostet 850 CHF pro Person. Ein Lehrer f\u00fcr maximal 6 Personen und 2 Lehrer f\u00fcr 7 bis 12 Personen. Beschreibung Nach Abschluss des Kurses kennen die Teilnehmer die wichtigsten Funktionen von Open\u2026","rel":"","context":"In &quot;Unkategorisiert&quot;","block_context":{"text":"Unkategorisiert","link":"https:\/\/www.opengis.ch\/de\/category\/unkategorisiert\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":10030,"url":"https:\/\/www.opengis.ch\/de\/2020\/04\/02\/qgis-einsteigerkurs-online-22-23-04-2020\/","url_meta":{"origin":4497,"position":5},"title":"QGIS Einsteigerkurs Online, 22\/23.04.2020","author":"Matthias Kuhn","date":"2 Aprile 2020","format":false,"excerpt":"Anmelden Der Kurs dauert 2 Tage (9:00 - 17:00 Uhr) via Zoom und kostet 850 CHF pro Person. Ein Lehrer f\u00fcr maximal 6 Personen und 2 Lehrer f\u00fcr 7 bis 12 Personen. Beschreibung Nach Abschluss des Kurses kennen die Teilnehmer die wichtigsten Funktionen von Open Source GIS QGIS Desktop, k\u00f6nnen\u2026","rel":"","context":"In &quot;QGIS&quot;","block_context":{"text":"QGIS","link":"https:\/\/www.opengis.ch\/it\/category\/gis\/qgis\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.opengis.ch\/wp-content\/uploads\/2020\/04\/AdobeStock_305245557-scaled.jpeg?fit=1200%2C400&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pbdBtI-1ax","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/4497","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/comments?post=4497"}],"version-history":[{"count":1,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/4497\/revisions"}],"predecessor-version":[{"id":11243,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/posts\/4497\/revisions\/11243"}],"wp:attachment":[{"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/media?parent=4497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/categories?post=4497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opengis.ch\/it\/wp-json\/wp\/v2\/tags?post=4497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}