Koozali.org: home of the SME Server

[Discussion] FrontAccounting

guest22

[Discussion] FrontAccounting
« on: October 20, 2013, 12:00:40 PM »

Offline Charles2008

  • *
  • 174
  • +0/-0
Re: [Discussion] FrontAccounting
« Reply #1 on: October 20, 2013, 01:21:27 PM »
Ooooh excellent!! Thanks HF.

Your HowTo makes mine look overly complicated.

There is a problem after your "Extract the downloaded file into the html directory of the new ibay (in this example called 'fa' )"
because you delete the ibays/fa/html directory and then refer to it in the following lines.

At this point I reverted to my trusty old methods of a 'software' ibay acting like a library and copying programme files over from there. One of the main benefits to me of this methodology is that if I make a complete Horlicks of the install in the ibay, I can delete the offending ibay in server-manager and start again very quickly (dirty but nice  :)). I then just copy the programme files over again etc etc.

I must say that I like the FA install wizard and the list of installable CoA's - easier and clearer than PhreeBooks.

A nice smooth install that I wouldn't have otherwise have done without your HowTo prompting me to do it - so thank you!
Charles


guest22

Re: [Discussion] FrontAccounting
« Reply #2 on: October 20, 2013, 01:26:02 PM »
There is a problem after your "Extract the downloaded file into the html directory of the new ibay (in this example called 'fa' )"
because you delete the ibays/fa/html directory and then refer to it in the following lines.

Hi Charles, you're correct. I've changed the wording in the wiki.

Haver fun!

Regards,
guest

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [Discussion] FrontAccounting
« Reply #3 on: October 20, 2013, 01:44:46 PM »
Nice work but please do a rpm.... :D
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Charles2008

  • *
  • 174
  • +0/-0
Re: [Discussion] FrontAccounting
« Reply #4 on: October 20, 2013, 01:56:58 PM »
....  HF, I don't know if you have finished your edit, but the ibays/fa/html directory is still referred to in lines following your deleting it.

BTW, why did you delete it - is there a benefit to the ibay 'root'? I recreated the html directory  (when I reverted to my normal install methodology) because it makes all my ibay installs consistent. It seems to be working fine with FA - any reason that it wouldn't?

Also  ...   now I am erring into dangerous territory, as I am not entirely sure of myself here, but  in:
chmod 444 /home/e-smith/files/ibays/fa/html/config_db.php

...  doesn't the final '4' in 444 let anyone look at your config set-up? Would 0440 be better / work?
I only mention this because you have made this a WAN + LAN install in server-manager.
Rgds
Charles

guest22

Re: [Discussion] FrontAccounting
« Reply #5 on: October 20, 2013, 02:35:41 PM »
Hi Charles,

1. the part that you are referring to is:

rm -rf /home/e-smith/files/ibays/fa/html
tar zxvf /root/install/frontaccounting-2.3.18.tar.gz -C /home/e-smith/files/ibays/fa/
mv /home/e-smith/files/ibays/fa/frontaccounting /home/e-smith/files/ibays/fa/html
chown -R admin:www /home/e-smith/files/ibays/fa/html

translates as:
remove the html directory of the fa Ibay
unpack the tar.gz file in the root of the fa Ibay, it will unpack as frontaccounting
rename unpacked frontaccounting directory to html, so we have a html directory again
give ownership of the html directory to user admin, group www

2. Permissions, I think you are right there and limit only the user and group to read those files. So 440

Makes sense?

guest

guest22

Re: [Discussion] FrontAccounting
« Reply #6 on: October 20, 2013, 02:42:35 PM »
Nice work but please do a rpm.... :D

I believe that is your hobby ;-)

Offline Charles2008

  • *
  • 174
  • +0/-0
Re: [Discussion] FrontAccounting
« Reply #7 on: October 20, 2013, 03:01:46 PM »
Thank you for taking the time to explain my mistake. I appreciate it  :smile:
Charles

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: [Discussion] FrontAccounting
« Reply #8 on: October 20, 2013, 04:26:38 PM »
you should take a look to this howto, this is my precious secret.

http://wiki.contribs.org/Web_Application_RPM

All is written in there.

For a web application it is quite easy, but you are right : make Rpm is fun.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!