Author Topic: Is there a way to reset/initialize configuration?  (Read 10476 times)

srinet

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Is there a way to reset/initialize configuration?
« on: September 18, 2009, 09:06:57 am »
Hi,

Is there a script or command to bring back the ebox server to the state when it was installed?

Is there a way, i can add an eBox module after instllation after setup?

-srinet

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Is there a way to reset/initialize configuration?
« Reply #1 on: September 18, 2009, 12:14:41 pm »
Yes, you can add any other module either using ebox-software (Software Management in eBox interface) or installing them by hand using apt-get install (http://trac.ebox-platform.com/wiki/Document/Documentation/InstallationGuide).

I think there is no script for bringing back to the original status. But you can purge the libebox package (apt-get remove --purge libebox) and all the configuration will be lost (all eBox packages also), after that you will need to reinstall them.

Regards,

J. A. Calvo
Zentyal Server Lead Developer

SamK

  • Zen Samurai
  • ****
  • Posts: 283
  • Karma: +3/-0
    • View Profile
Re: Is there a way to reset/initialize configuration?
« Reply #2 on: September 18, 2009, 12:38:57 pm »
@J. A. Calvo
Elsewhere in the forum I have seen reference made to the command:
Code: [Select]
sudo dpkg-reconfigure eboxWhat does this do?  Does it allow the eBox configuration values to be input manually?

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Is there a way to reset/initialize configuration?
« Reply #3 on: September 18, 2009, 02:02:31 pm »
The dpkg-reconfigure ebox is only useful to reset the ebox web interface password and listening port.
Zentyal Server Lead Developer

srinet

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Is there a way to reset/initialize configuration?
« Reply #4 on: September 24, 2009, 11:04:14 am »
Hi,

Thanks a lot for the reply. It did help me.

I found later there is a backup facility under system/backup where you can take a backup of ebox configuration, and restore later. Hope that is a better way.

-regards