Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt

The bing.ini config file, located at /etc/squirro/bing.ini configures the workings of the Bing Provider.

Table of Contents

Table of Contents
outlinetrue
excludeTable of Contents

...

Code Block
languagetext
[source_manager]
check_delay = {"minutes": 1}
max_error_delay = {"days": 3}
success_delay = {"minutes": 15}
max_success_delay = {"hours": 12}

[source_manager_web]
check_delay = {"days": 1}
max_error_delay = {"days": 7}
success_delay = {"days": 1}
max_success_delay = {"days": 3} 

Securing

...

the Bing Provider

The Bing Provider relies on MySql Server MySQL Server to store information about searches and search histories. Connecting to MySql MySQL relies on a MySql user MySQL user called "bing" configured with a default password. To modify the password, please follow these steps.

  1. Generate a password. Lets refer to the generated password as $PASSWORD
  2. First configure the password in /etc/squirro/bing.ini like so:

    Code Block
    title/etc/squirro/bing.ini
    [bing]
    db = mysql://bing:$PASSWORD@localhost/bing?charset=utf8
  3. Next you would modify the password within MySql serverMySQL server:

    Code Block
    languagebash
    sudo su
    mysql -e "SET PASSWORD FOR bing = PASSWORD(\"$PASSWORD\")"
  4. Restart the Squirro Bing Provider service like so:

    Code Block
    languagebash
    service sqbingd restart

...