On Tue, Dec 17, 2013 at 11:42 AM, Mathias Behrle <[email protected]> wrote:
> * Mark van Deursen: " Re: [tryton] Installation guide" (Tue, 17 Dec 2013 > 11:04:40 +0100): > > > On Tue, Dec 17, 2013 at 8:33 AM, Axel Braun <[email protected]> wrote: > > > > > Am Montag, 16. Dezember 2013, 21:32:19 schrieb Mark van Deursen: > > > > This means that the server host is IPv4 only. > > > > So the problem is probably due to connection being blocked somewhere. > > > > You should try first to connect to the server from the same host. > > > > > > > > OK. Thanks. I'll have to see how I'm going to that. It's the server > > > version > > > > of ubuntu so the GUI client isn't option. > > > > > > Check the network settings of you VM, if it can be accessed from > outside > > > (Bridged vs. NAT network) > > > > > > HTH > > > Axel > > > > > > Thanks Axal. > > I made a mess of the installation and decided to do it all over. > > These are my notes on installing trytond on ubuntu13.04. Maybe in can > help > > someone else. > > BTW: I did not concern about security issues during the installation! > It's > > just for testing purposes! > > > > = Install the following: = > > > > * vim > > * postgresql > > * python-dateutil > > * python-psycopg2 > > * python-lxml > > * python-pip > > * sudo pip install relatorio > > * sudo pip install python-sql > > > > * mercurial > > > > = Getting the sources = > > > > hg clone http://hg.tryton.org/trytond > > This should have been > > hg clone http://hg.tryton.org/3.0/trytond > to get a server of the 3.0 series. > > > = Creating DB and user and changing some settings on Postgresql= > > > > $ sudo su postgres -c "createuser --createdb --no-adduser -P vagrant" > > > > $ sudo vim /etc/postgresql/9.1/main/pg_hba.conf > > And add the follwong line at the bottom of the file: > > host all all 0.0.0.0/0 md5 > > > > $ sudo vim /etc/postgresql/9.1/main/postgresql.conf > > And change the following value > > > > listen_addresses = '*' > > > > = Restarting Postgresql = > > $ sudo /etc/init.d/postgresql restart > > > > = Config Tryton server = > > > > $ vim trytond/etc/trytond.conf > > Change settings (or uncomment) to the following values: > > > > jsonrpc = 0.0.0.0:8000 > > > > db_type = postgresql > > > > db_host = localhost > > db_port = 5432 > > db_user = vagrant > > db_password = vagrant > > > > Now I can connect to the server with the OSX client. Well more or less... > > I'm getting a 'Version not compatible'. But that's OK. I know the reason > so > > I should be able to get around that. (server is version 3.1.0, client is > > 3.0.1) > > > > Thanks again for the input. > > Did you read > http://code.google.com/p/tryton/wiki/InstallationOnDebian > http://code.google.com/p/tryton/wiki/InstallationOnUbuntu > > If they are unclear, you could help us improve the content. > > They are clear enough in my opinion. But I didn't wanted to use the package manager. So I used this one: http://code.google.com/p/tryton/wiki/InstallationMercurial and added some details in my notes like how to create the DB and the settings I needed to change to get it up 'n running. Other source of information I used is http://code.google.com/p/tryton/wiki/UserFAQ > > -- > > Mathias Behrle > MBSolutions > Gilgenmatten 10 A > D-79114 Freiburg > > Tel: +49(761)471023 > Fax: +49(761)4770816 > http://m9s.biz > UStIdNr: DE 142009020 > PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6 >
