Redmine powered by Websoft9(CentOS7.2)
Jun 28, 2024
/images/lo
go.png" style="margin-top: 15px; margin-left: 15px;"/>
The ruby statement <%= Redmine::Utils.relative_url_root %> will
produce the relative URI for your redmine installation.
Now it should look like this:
<%= page_header_title %>
<% if display_main_menu?(@project) %>
2. Upload your logo
Example using the scp command:
# scp logo.png root@example.com:/opt/redmine/public/images
You probably should chown the uploaded logo:
# chown redmine:redmine /opt/redmine/public/images/logo.png
3. Restart your web server
How to change the permissions of
filesytem?
When install new extension from back-end it will not successful,may be the
permissions of file and folder is not appropriate,you should change it
Web site root permissions to follow:
file 644, folder 755 ,Permissions Users and groups www
If there is a file permissions problem, execute the following three
commands:
chown -R www.www /data/wwwroot/default/redmine
find /data/wwwroot/default/redmine -type d -exec chmod 755 {} \;
find /data/wwwroot/default/redmine -type f -exec chmod 644 {} \;
How to modify PHP settings?The PHP configuration file allows you to configure the modules enabled,
the email settings or the size of the upload files. It is located at
/usr/local/php/etc/php.ini.
There are some PHP settings that need to be sufficient to install.
e.g The values for PHP.ini below are suggested values only.
memory_limit – Minimum: 256M Recommended: 1G or better
upload_max_filesize – Minimum: 20M
post_max_size – Minimum: 20M
max_execution_time: At Least 120 Recommended: 300
After modifying the PHP configuration file, restart both Apache and PHP-
FPM for the changes to take effect:
# service httpd restart
How to modify the allowed limit for
upload?
Log in as admin,Administrator->Settings->Files,then you can set the
maximum file size
And you should modify the /usr/local/php/etc/php.ini file to increase the
allowed size for uploads:
; Maximum size of POST data that PHP will accept.
post_max_size = 16M
; Maximum allowed size for uploaded files.
upload_max_filesize = 16M
then,restart the apache # service httpd restart
How to change the max_execution_time?
If you receive the message “Maximum execution time of 30 seconds
exceeded”.You may also like to extend the max_execution_time for PHP
and you can modify it by two methods below
Method one: edit your /usr/local/php/etc/php.ini
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 90
; Maximum amount of time each script may spend parsing request data. It
; idea to limit this time on productions servers in order to eliminate
; long running scripts.
Method two: edit your .htaccess:
php_value max_execution_time 90
Redmine Help Links
Open Source | Redmine (https://www.redmine.org)
Redmine Wiki (http://www.redmine.org/projects/redmine/wiki)
Websoft9">