Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Bricoleur
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Website configuration

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
6 Réponses
9588 Vues
Avatar
Marcio Valenzuela

Ive installed odoo 9 on a remote server.  How do I configure the domain/ip?  So far my ip:8069 shows me the database selector.  I want to configure it now so that clients go to ip:80 and see the website.

 



0
Avatar
Ignorer
Avatar
Damon
Meilleure réponse

edit your /etc/odoo-server.conf file

change xmlrpc_port = 8069

to xmlrpc_port = 80

restart server

The search feature on this forum works pretty well too :) so if for instance this change doesn't work for you, you can see other people who have made changes to iptables, front ended nginx etc. search:  change port 8069 and see what all this site has to offer.

0
Avatar
Ignorer
Marcio Valenzuela
Auteur

Ok I didnt make myself clear enough or perhaps Im confused. As I understand it, there are 2 separate points of entry into the system. The one IP:8069 takes the user to a database selector. This is only for employees of the company to log into the database and makes sales or purchases etc. The other is for clients who wish to view the company website, view the catalog and perhaps buy something online. I understand 8069 is the backend for employees. But if I make the change you suggested, then employees would now have to go to IP:80 to access the database selector. But where do clients go to view the website catalog?

Damon

Odoo will only be hosted on the port, the single port, you specify. The way you grant access to the back end is by having the login system. You can have people self register, which gives them limited access as default (like you would use for a recurring customer/client/partner), or you can setup their accounts for them and give them access to all the backend stuff (your sales team/designer/accountant/etc). The login is in the top right of your homepage, and reads "Sign In" in a default website setting.

Marcio Valenzuela
Auteur

So any client that wants to view my catalog/website, needs to go to the ip:8069, select the database and register and log in?

Damon

No, not necessarily. if you have multiple databases, either get rid of the ones you are not using, or set the following in your /etc/odoo-server.conf

db_name = DatabaseName

dbfilter = DatabaseName

list_db = False

Marcio Valenzuela

OK but they still have to register? So they'd basically have to login and view a special version of odoo designed as a website for that particular kind of user? They can't just punch in an IP and see a catalog website as they might do at Walmart.com or something like that?

Damon

@Marcio, they will not have to register once proper settings are made using proxy server, database elimination, or iptables.

OdooBot

OK I'm really confused. Is there a tutorial somewhere?

On Sun, Dec 18, 2016 at 3:51 PM Damon <damon@solutionarts.net> wrote:

@Marcio, they will not have to register once proper settings are made using proxy server, database elimination, or iptables.

--
Damon


Sent by Odoo S.A. using Odoo.

Damon

Try reading https://www.safaribooksonline.com/library/view/odoo-development-cookbook/9781785883644/ch16.html , but Google and the search above are your friends too

Damon

Answer the following questions so myself or someone else will be better able to help you:

Do you have the Website Builder App installed as a part of Odoo? (needs to be Yes to visit site w/o having to login)

Do you have more than one Odoo database?

If yes, do you need more than one Odoo database?

If yes, are you sure?(if you have more than one db, then using the dbfilter, dbname changes above will help)

If I go to http://yourodoosite.com , what do I see?

If I go to http://yourodoosite.com:8069 , what do I see?

if in console/terminal you type in:

psql -l

what is returned?

Marcio Valenzuela
Auteur

Ok:

1. Yes, website builder app is installed

2. Im not using a domain name, since that is pointing somewhere else at the moment. Im using an ip.

3. IP points me to the default webpage on my server, which is not configured, so I get a 404 not found.

4. IP:8069 takes me to odoo, my database selector. I have 2 databases at present but the test one I can eliminate. I dont need it, I dont need more than one database.

5. When I type that in the ssh terminal to my server I get:

root@server:/etc/odoo# psql -l

perl: warning: Setting locale failed.

perl: warning: Please check that your locale settings:

LANGUAGE = (unset),

LC_ALL = (unset),

LANG = "en_US.UTF-8"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C").

psql: FATAL: role "root" does not exist

Marcio Valenzuela
Auteur

Got it! So now ip:8069 loads to the website directly.

Damon

cool! so it sounds like you've already got a webserver installed like apache or nginx. From there you can look at the proxy info setup to get requests from port 80 directed to your 8069 Odoo installation. This looks promising if using Apache https://opensourceholic.com/2014/05/09/deploy-openerp-using-mod_proxy-and-mod_wsgi-on-linux-server/

Damon

and for the psql that errored on you, you'd likely have to 'sudo su odoo' to run that command. It'll just show you the postgres databases you have running. No biggie now :)

Avatar
Ermin Trevisan
Meilleure réponse

The proper solution is not to redefine the xmlrpc port, but to use a proxy server. If you plan to deploy more than one database, use a proper dbfilter configuration. Google search shows you plenty of helpful documents when searching for odoo, dbfilter and proxy server.

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now