11/19/2023 0 Comments Bitnami dokuwiki stackLAMP refers to Linux as the operating system, Apache as the Web server, MySQL as the relational database management system and generally PHP as the scripting language but sometimes Perl or Python is used instead of PHP. Website programs require a webserver and related software stack such as the LAMP stack. You can run the webserver, performing development etc without even being connected to the internet or other network. Bitnami packages up the programs with the webserver stack so that you just install the bitnami package and you have everything. etc/cron.d/redmine_audit # JKE # minute hour day month dayofweek # m h d m d # - # | | | | | # | | | | +-day of week (0-7) sunday=0 or 7 # | | | +-month (1-12) # | | +-day of month (1-31) # | +-hour (0-23) # +-min (0-59) #Ġ0 08 * * 1 root /usr/local/bin/redmine_send_mail.Install and Use bitnami webserver programs on your Puppy Linux system.īitnami provides as free downloads a large number of open source Public Domain website programs. Run the shell-script from above every monday at 8:00am. #send mail cat /tmp/redmine_mail_raw | sendmail -t use cron to nag periodically ¶ #export List from DB cat /tmp/redmine_mysql_output > /tmp/redmine_mail_raw #replace special stuff sed -i -e /tmp/redmine_mysql_outputĮcho 'Subject: weekly audit "all open issues due within the next 7 days"' > /tmp/redmine_mail_rawĮcho 'MIME-Version: 1.0' > /tmp/redmine_mail_rawĮcho 'Content-Type: text/html charset=utf-8' > /tmp/redmine_mail_raw name ) AS _p, issues AS _i, issue_statuses AS _is, users AS _u WHERE _p. parent_id = 33 ) AS pp, projects AS _b WHERE _b. All issue-IDs will be click-able links in the nag-mail. This statement lists all open issues from the project with the internal ID 33 and all sub-projects with a due-date earlier than today+7days. * to 'redmine_reader' 'localhost' create a sql-statement ¶ create a read only user ¶ mysql - u root - p grant select on bitnami_redmine. There are a couple of plugins available, we are trying to do our own thing. images/logo.png" style= "top-margin: 15px left-margin: 15px " /> Ĭopy logo.png to /opt/redmine-2.5.2-2/apps/redmine/htdocs/public/images Nagging ¶ 1 root daemon 1523773 Sep 20 10:52 production.log.0Įdit following file /opt/redmine-2.5.2-2/apps/redmine/htdocs/app/views/layouts/ #line 44 1 daemon daemon 3295 Sep 20 10:55 production.log level = Logger :: INFO ll /opt/redmine-2.5.2-2/apps/redmine/htdocs/log/ Add following parameter to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/environments/production.rb and restart the Bitnami-Stack.Īccording to you have to provide a file directly to Logger.new instead of the sample in the production.rb. Although you could use the standard Logrotate it's recommended ( ) to use the Ruby-functionality. The Bitnami-Stack does not preconfigure log-rotating for the production.log located in /opt/redmine-2.5.2-2/apps/redmine/htdocs/log. If you get an error about SSL-certificate (self signed) you may bypass SSL-verify by adding this file to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/initializers/avoid_ssl_verification.rb require 'openssl' OpenSSL :: SSL :: VERIFY_PEER = OpenSSL :: SSL :: VERIFY_NONE setup log-rotating ¶ If you get an error about bundle you may want to try cd /opt/redmine-2.5.2-2 This setup will accept mails from everyone and automagically register unknown users.Īdd following cron-file /etc/cron.d/redmine_mail_recv */15 * * * * root /usr/local/bin/redmine_recv_mail.sh opt/redmine-2.5.2-2/ruby/bin/rake -f '/opt/redmine-2.5.2-2/apps/redmine/htdocs/Rakefile' redmine:email:receive_imap RAILS_ENV = "production" ssl =1 host = port =993 username password =secret unknown_user =create no_permission_check =1 # Outgoing emails configuration (see examples above) email_delivery:Īddress: "" port: 25 domain: '' authentication: :login user_name: password: "secret" enable_starttls_auto: true #openssl_verify_mode: 'none' #enable_starttls_auto: true setup receiving email ¶Īdd following shell-script to /usr/local/bin/redmine_recv_mail.sh #!/bin/sh PATH = "/opt/redmine-2.5.2-2/perl/bin:/opt/redmine-2.5.2-2/git/bin:/opt/redmine-2.5.2-2/sqlite/bin:/opt/redmine-2.5.2-2/ruby/bin:/opt/redmine-2.5.2-2/subversion/bin:/opt/redmine-2.5.2-2/postgresql/bin:/opt/redmine-2.5.2-2/php/bin:/opt/redmine-2.5.2-2/mysql/bin:/opt/redmine-2.5.2-2/apache2/bin:/opt/redmine-2.5.2-2/common/bin: $PATH " Add following parameter to /opt/redmine-2.5.2-2/apps/redmine/htdocs/config/configuration.yml # about line 83 # default configuration options for all environments default:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |