Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Install Ledgersmb

Jump to: navigation, search

System Prep

  • BIG FAT NOTE: this is well over 1 GB total for download
  • apt-get install libdata-dumper-simple-perl perl-modules liblocale-maketext-lexicon-perl libdbi-perl libdbd-pg-perl libconfig-any-perl libmime-lite-perl libhtml-linkextractor-perl libnet-tclink-perl libparse-recdescent-perl libmodule-build-perl libperl5.14 libuuid-perl liblocale-gettext-perl libyaml-tiny-perl libtext-iconv-perl libtext-charwidth-perl libmodule-install-perl liblatex-driver-perl libconfig-std-perl libclass-std-perl texlive-fonts-extra texlive-latex-extra-doc texlive-lang-all texlive-latex-extra texlive-fonts-recommended texlive texlive-doc-en texlive-generic-extra libdatetime-perl libdbi-perl libdbd-pg-perl libcgi-simple-perl libtemplate-perl libconfig-std-perl libmime-lite-perl liberror-perl liblocale-maketext-lexicon-perl libtest-exception-perl libtest-trap-perl liblog-log4perl-perl libmath-bigint-gmp-perl libfile-mimeinfo-perl libtemplate-plugin-latex-perl libimage-size-perl libopenoffice-oodoc-perl postgresql-contrib

Obtain and Install Ledgersmb

Configure Postgres

  • echo "ledgertmp ledger postgres" >> /etc/postgresql/9.1/main/pg_ident.conf
  • sed -i 's/peer/peer map=ledgertmp/' /etc/postgresql/9.1/main/pg_hba.conf
  • /etc/init.d/postgresql restart

Configure Apache

  • vi /etc/apache2/sites-available/
  • mkdir /var/log/apache2/
  • chown root:adm /var/log/apache2/
  • a2ensite
  • service apache2 restart
  • samba-tool dns add houselian ledger A

Configure Ledgersmb

  • Use a browser to navigate to
  • for user leave postgres, leave password blank, for database enter computerisms (represents the company name)=>click login
  • click Yes=>Set Country CA=>Next=>Choose English=>Next || click Yes=>click Skip <= Note: this creates chart of accounts. Not required if you will build your own
  • set username to bob.miller=>set password is arbitrary but remember it=>set import to no=>Set salutation, first and last name as appropriate=>leave employee number blank=>set country to Canada=>set Assign Permissions to Full Permissions=>click create user button
  • Click Start using LedgerSMB

Reconfigure Postgres

  • sed -i 's/peer map=ledgertmp/peer/' /etc/postgresql/9.1/main/pg_hba.conf
  • sed -i '/ledgertmp/d' /etc/postgresql/9.1/main/pg_ident.conf
  • echo 'local computerisms all ldap ldapserver=localhost ldapprefix="COMPUTERISMS\"' >> /etc/postgresql/9.1/main/pg_hba.conf
  • /etc/init.d/postgresql restart

Configure Users and Company in LedgerSMB

  • navigate to and log in as bob.miller with your network password
  • Set old and new password to your network password. Adjust other settings as you see fit, then click save
  • navigate to system=>Defaults and configure appropriately. Be sure to set password duration to something appropriate
  • navigate to system=>admin users=>add user<= BIG FAT NOTE: you need to create a user in here first. Then when the user logs on he will auth against AD

Required Reading

Commercial Support