1.Download the software.
2. Create an empty database and accompanying user named redmine for example.
For MySQL:
create database redmine character set utf8; create user 'redmine'@'localhost' identified by 'my_password'; grant all privileges on redmine.* to 'redmine'@'localhost';
3. Copy config/database.yml.example to config/database.yml and edit this file in order to configure your database settings for “production” environment.
Example for a MySQL database:
production: adapter: mysql database: redmine host: localhost username: redmine password: my_password
Example for a PostgreSQL database:
production: adapter: postgresql database: <your_database_name> host: <postgres_host> username: <postgres_user> password: <postgres_user_password> encoding: utf8 schema_search_path: <database_schema> (default - public)
4. Generate a session store secret
Redmine stores session data in cookies by default, which requires a secret to be generated. This can be done by running:
rake config/initializers/session_store.rb5. Create the database structure, by running the following command under the application root directory:
rake db:migrate RAILS_ENV="production"It will create tables and an administrator account.
6. Insert default configuration data in database, by running the following command:
rake redmine:load_default_data RAILS_ENV="production"This step is optional but highly recommednded, as you can define your own configuration from scratch. It will load default roles, trackers, statuses, workflows and enumerations.
7. Setting up permissions
The user who runs Redmine must have write permission on the following subdirectories: files, log, tmp (create the last one if not present).
Assuming you run Redmine with a redmine user:
mkdir tmp public/plugin_assets sudo chown -R redmine:redmine files log tmp public/plugin_assets sudo chmod -R 755 files log tmp public/plugin_assets
8. Test the installation by running WEBrick web server:
ruby script/server webrick -e productionOnce WEBrick has started, point your browser to http://localhost:3000 You should now see the application welcome page.
9. Use default administrator account to log in:
You can go to Admin & Settings to modify application settings.
If you want to the find the files or folders under a specific location or directory...
February 20, 20231) Login into your domain control panel, 2) search the Domain For which one you want...
February 20, 2023Often you will move or copy the files from different location.This can be done using ssh...
February 20, 20231.Log into the root via ssh, 2.open your favourite editor and edit vi /etc/nameserverips file...
February 20, 2023IF YOU FACE THE FOLLOWING ERROR MESSAGE WE NEED TO Re Build the apache configuration...
February 20, 2023In order to upgrade cPane;/WHM version from command line you need to execute the below mentioned command...
February 20, 2023© 2023, Free Hosting Tutorials All Rights Reserved
Hosting Powered by Square Brothers