Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notes on Debian install #20

Closed
poeml opened this issue Jun 5, 2015 · 0 comments
Closed

Notes on Debian install #20

poeml opened this issue Jun 5, 2015 · 0 comments

Comments

@poeml
Copy link
Owner

poeml commented Jun 5, 2015

                                                                                               [          ]

Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue25

Title    Notes on Debian install
 Priority   wish   Status   resolved
Superseder        Nosy List poeml, theuni
Assigned To poeml Keywords

msg69 (view) Author: theuni Date: 2009-11-30.23:00:03

re: irc discussion with poeml.

When following the Debian guide here:
http://mirrorbrain.org/docs/installation/debian/

I can attest that the install went rather smoothly, here are some suggestions
for the guide:

  • mod_geoip is already configured on install, and is located at:
    /usr/share/GeoIP/ . I updated for good measure.
  • No need to enable the geoip/mod_form, they are both enabled upon install.
  • After creating the mirrorbrain user, be sure to 'passwd mirrorbrain'. Also
    needs a 'sudo mkdir /home/mirrorbrain && sudo chown mirrorbrain:mirrorbrain
    /home/mirrorbrain'
  • When importing the structure and data, needs to be done as mirrorbrain user.
  • Note that the passwords in /etc/mirrorbrain.conf and
    /etc/apache2/mods-available/dbd.conf are placeholders, they need to be changed
    to your db's password.
msg80 (view) Author: poeml Date: 2009-12-02.00:37:05

Thanks for the report!

  • mod_geoip is already configured on install, and is located at: /usr/share/GeoIP/ . I
    updated for good measure.

Two notes:

  1. The mod_geoip which ships with Debian and Ubuntu is too old, unfortunately.
    (See issue 16.)
    That's why the newer version is provided.

I added a note to the docs at just that place where you probably have wondered.

  1. I'm so stupid - the config is already there, because I packaged it! And it's even better
    than in the docs.
  • No need to enable the geoip/mod_form, they are both enabled upon install.

Right - cool thing!

For mod_form it wasn't the case, but I have stolen the postinstall/postrm scripts from
mod_geoip and added them to mod_form, so in the forthcoming builds of the package it'll also be
enabled automatically.

And while I'm at it, I'm adding the same for mod_mirrorbrain as well, plus mod_dbd that it
depends on. Great tip, it will shorten the install instructions considerably.

  • After creating the mirrorbrain user, be sure to 'passwd mirrorbrain'. Also needs a 'sudo
    mkdir /home/mirrorbrain && sudo chown mirrorbrain:mirrorbrain /home/mirrorbrain'

Great catch, -m was missing as option to the useradd call. Sorry. I added it; that takes care
of creating the home directory.

The next step would be to do this automatically upon installation of the package. This is
already tracked in issue 4.

  • When importing the structure and data, needs to be done as mirrorbrain user.
  • Note that the passwords in /etc/mirrorbrain.conf and /etc/apache2/mods-available/dbd.conf
    are placeholders, they need to be changed to your db's password.

Ah, right. Note added.

http://svn.mirrorbrain.org/viewvc/mirrorbrain?view=revision&revision=7888

Thanks a lot! Fabulous report!

History
         Date          User  Action              Args
2009-12-02 00:37:05 poeml  set    status: in-progress -> resolved
                                    messages: + msg80
2009-12-01 20:56:40 poeml  set    status: unread -> in-progress
2009-11-30 23:00:03 theuni create

(end of migrated issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant