tag:blogger.com,1999:blog-49411793795523153282024-03-18T19:59:13.608-07:00ABDRAHMAN ELKAFIL "ERP= Donnez la bonne information à la bonne personne au bon moment"abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.comBlogger57125tag:blogger.com,1999:blog-4941179379552315328.post-77258241211164798582023-02-12T07:21:00.002-08:002023-02-12T07:25:31.534-08:00Comment déinstallez un module en ligne de commande ?<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaEfE0PLaVnokx4kpMmvjq_aeEJ0FOK3oC9G1d8Q3Ba1ZqXTV4c-ULFs3-0cY7NO3H_1B4hx9SPUSZ8l5QprDRdhXZlfkoWtuBUbJGs0FUW730pOzbIzHnwoZaEbXN9KJCdlSxMuaL3lriuBJE_Ds2bOSofRZLnaeqvDeQGkoBF_ILVrg0Eb_Uo258/s1200/postgreSQL.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="1200" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaEfE0PLaVnokx4kpMmvjq_aeEJ0FOK3oC9G1d8Q3Ba1ZqXTV4c-ULFs3-0cY7NO3H_1B4hx9SPUSZ8l5QprDRdhXZlfkoWtuBUbJGs0FUW730pOzbIzHnwoZaEbXN9KJCdlSxMuaL3lriuBJE_Ds2bOSofRZLnaeqvDeQGkoBF_ILVrg0Eb_Uo258/s320/postgreSQL.png" width="320" /></a></div><br /><p><br /></p><p><br /></p><p>exemple pour déinstallez le module muk_web_theme que j'ai installé dans une instance odoo 16 CE et qui m'as cousez un problème et odoo ne démarre plus</p><p><br /></p><p> 1/ Connectez vous à votre instance via terminal ssh : ssh root@adresseipduserveur </p><p>2/ se connecter en tant que l'utilisateur posgres: su - postgres </p><p>3/ se connecter à la base de donnée postgres@psql NOMDELADB </p><p>4/ executez la commnde pour supprimer le module DELETE FROM ir_module_module WHERE name='muk_web_theme'; </p><p>5/ exécutez la commande suivante pour supprimer les données relatives à ce module DELETE FROM ir_model_data WHERE module='muk_web_theme'; </p><p>6/ redémarrez le serveur </p><p>reboot</p><p>Il est hautement recommandé de faire un backup de la base de donnée avant de faire cette manipulation</p><div><br /></div>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-92062289607365554092021-11-10T03:47:00.000-08:002021-11-10T03:47:46.892-08:00Comment connaitre les tables les plus lourdes sur postgresql ?<p> Pour une raison ou une autre on veut savoir quelles sont les 10 tables les plus lourdes sur une base de données postgresql </p><p><br /></p><p>Il suffit d'exécuter cette requête :</p><p><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">select</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> schemaname </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">as</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> table_schema,
relname </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">as</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> table_name,
pg_size_pretty(pg_total_relation_size(relid)) </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">as</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> total_size,
pg_size_pretty(pg_relation_size(relid)) </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">as</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> data_size,
pg_size_pretty(pg_total_relation_size(relid) - pg_relation_size(relid))
</span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">as</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> external_size
</span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">from</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> pg_catalog.pg_statio_user_tables
</span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">order</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">by</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> pg_total_relation_size(relid) </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">desc</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;">,
pg_relation_size(relid) </span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">desc</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;">
</span><span class="hljs-keyword" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #aa0d91; font-family: monospace; font-size: 14.875px; white-space: pre;">limit</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;"> </span><span class="hljs-number" style="background-color: rgba(0, 0, 64, 0.05); box-sizing: border-box; color: #1c00cf; font-family: monospace; font-size: 14.875px; white-space: pre;">10</span><span style="background-color: rgba(0, 0, 64, 0.05); font-family: monospace; font-size: 14.875px; white-space: pre;">;</span></p>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-22945816090075278362021-10-10T04:12:00.004-07:002021-10-18T05:03:34.379-07:00Comment installer Odoo 15 avec ubuntu 20.04 ?<p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><b><span style="font-size: medium;">1/ Mise à jour du serveur</span></b></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt-get update</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>2/ Créer l’utilisateur odoo sur ubuntu</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo adduser -system -home=/opt/odoo -group odoo</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>3/ Installer la base de donnée postgreSQL</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt-get install postgresql -y</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>4/Créer l’utilisateur odoo de postgreSQL</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo su - postgres -c "createuser -s odoo" 2> /dev/null || true</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>5/ installer les dépendances Python</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p class="p1" style="-webkit-text-stroke-color: rgb(0, 0, 0); background-color: #f2efec; font-family: Monaco; font-size: 16px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">sudo apt</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">get install git python3 python3</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">pip build</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">essential wget python3</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev python3</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">venv python3</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">wheel libxslt</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev libzip</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev libldap2</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev libsasl2</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev python3</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">setuptools node</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">less libjpeg</span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">dev gdebi </span><span class="s2" style="-webkit-text-stroke-color: rgb(135, 91, 44); background-color: rgba(255, 255, 255, 0.5); color: #875b2c; font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">-</span><span class="s1" style="font-kerning: none; text-shadow: rgb(0, 0, 0) 0px 1px 0px;">y</span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><b>6/ Installer les dépendances Python PIP</b></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><pre class="language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class="language-git" id="link_btn_1629282250356_18" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;"><br class="Apple-interchange-newline" />
sudo apt-get install libpq-dev python-dev libxml2-dev libxslt1-dev</code></pre><pre class="language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class="language-git" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;"> libldap2-dev libsasl2-dev libffi-dev</code></pre><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>7/Installer les autres paquets obligatoire</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt-get install nodejs npm -y</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo npm install -g rtlcss</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>8/ Installer Wkhtmltopdf</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt-get install xfonts-75dpi</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><pre class="language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class="language-git" id="link_btn_1629282347323_32" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;"><br class="Apple-interchange-newline" />
sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/</code></pre><pre class="language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class="language-git" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;">0.12.6-1/</code>wkhtmltox_0.12.6-1.bionic_amd64.deb</pre><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"> </p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">Si message d’erreur faire cette commande</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt install -f</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">et refaire la commande</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>9/ Créer un fichier log</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">touch /var/log/odoo.log</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo chown odoo:odoo /var/log/odoo.log</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>10/ Installer odoo</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo apt-get install git</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo git clone --depth 1 --branch master https://www.github.com/odoo/odoo /opt/odoo</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>11/ donner les droits sur le répertoire home</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo chown -R odoo:odoo /opt/odoo/*</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>12/ Installer les dépendances via requirements.txt</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo pip3 install -r /opt/odoo/requirements.txt</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">13/ Créer le fichier de configuration </p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><pre class=" language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class=" language-git" id="link_btn_1629282635291_62" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;">sudo touch /etc/odoo-server.conf</code></pre><pre class=" language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class=" language-git" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;">nano /etc/odoo-server.conf</code></pre><pre class=" language-git" style="background: rgb(245, 242, 240); border-radius: 2px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 16px; hyphens: none; line-height: 1.5; margin-bottom: 0.5em; margin-top: 0.5em; overflow-wrap: normal; overflow: auto; padding: 1em; tab-size: 4; text-shadow: white 0px 1px; word-break: normal;"><code class=" language-git" style="background: none; box-sizing: border-box; font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-size: 1em; hyphens: none; line-height: 1.5; overflow-wrap: normal; tab-size: 4; text-shadow: white 0px 1px; word-break: normal; word-spacing: normal;"><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">[options]<span class="Apple-converted-space"> </span></span></p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">; This is the password that allows database operations:</span></p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">admin_passwd = youradminpassword</span></p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">xmlrpc_port = 8069</span></p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">logfile = /var/log/odoo/odoo.log</span></p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px; white-space: normal;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">addons_path=/opt/odoo/addons</span></p></code></pre><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><span style="font-size: medium;"><b>13/ lancer odoo</b></span></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">sudo su - odoo -s /bin/bash</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;">python3 odoo-bin -c /etc/odoo-server.conf</p><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkZOGmzv-ti5lgwaFTXautZEWsCNfeCPtSYn86jzUpsfOth-Ss8rHa0s0ZZVwEs1x-k3_h0nvYvHXnrkoxrx11X3GNtJZWFpriXO4KKlTA7j26Hn5Ilgyvo41TjC_m11IYGZN0yrDwcaU/s689/firstscreen.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="662" data-original-width="689" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkZOGmzv-ti5lgwaFTXautZEWsCNfeCPtSYn86jzUpsfOth-Ss8rHa0s0ZZVwEs1x-k3_h0nvYvHXnrkoxrx11X3GNtJZWFpriXO4KKlTA7j26Hn5Ilgyvo41TjC_m11IYGZN0yrDwcaU/s320/firstscreen.png" width="320" /></a></div><br /><p style="background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; line-height: 1px; margin-bottom: 0cm;"><br /></p>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-39903151901717336672021-09-01T00:07:00.001-07:002021-09-01T00:25:30.626-07:00Comment faire Reset du mot de passe admin odoo<p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbvLH4bmh8DnVVTRqt_xEUW0NRLRsKeRkZMLDwWu69gO7DN15Que9i0HqU6N9H6C8Ayns64luJp3hWtlEcHfBZbXd2IiE10P99yWWXgirKGvGtxaZfKhx0ff1YL3Olo8H2SCWt0WSe2t0/s259/mdp.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="194" data-original-width="259" height="194" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbvLH4bmh8DnVVTRqt_xEUW0NRLRsKeRkZMLDwWu69gO7DN15Que9i0HqU6N9H6C8Ayns64luJp3hWtlEcHfBZbXd2IiE10P99yWWXgirKGvGtxaZfKhx0ff1YL3Olo8H2SCWt0WSe2t0/s0/mdp.jpeg" width="259" /></a></div><br /> <p></p><p><br /></p><p>Voici une methode que j'ai testé sur une instance odoo 12 </p><p>1/ Se connecter en tant que l'utilisateur postgres</p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;">$sudo su postgres</p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;">2/ Se connecter a la base de donnée postgresql</p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;"><span style="background-color: transparent; font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;">postgres@serveur:/$</span>psql NOM_DATABASE</p><p class="p1" style="font-family: Menlo; font-size: 11px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: normal; margin: 0px;"><span class="s1" style="font-variant-ligatures: no-common-ligatures;">FNOM_DATABASE=#</span></p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;"><br /></p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;"><br /></p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;">3/ réinitialiser le mot de passe admin :</p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;">NOM_DATABASE=#<span style="font-weight: 700;">UPDATE res_users SET password='new_password' WHERE login = 'admin';</span></p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;"><br /></p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;">vous pouvez à présent vous connecter sur odoo avec votre nouveau mot de passe </p><p style="background-color: #f8f9fa; box-sizing: border-box; color: #343a40; font-family: Inter, "Odoo Unicode Support Noto", sans-serif; font-size: 15px; margin-bottom: 0.5rem; margin-top: 0px;"><br /></p>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-11214089203244801162020-11-10T01:44:00.004-08:002020-11-10T01:44:47.633-08:00Comment installer odooo 14 sur ubuntu 18.04 <p> </p><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUbeXeRSDBAiJoGcPqKdJP1fTu0iFFnYszLtqlsJiOlYYUxA8bmx-mEdwSSSXihFkbOoAQaa2FEMEjXmy0kDTUMD4ULciKVfgiggp2KQrsOkHpWuNbUMOvP_dHRMr9d-53UDX0_eIhWe8/s769/odoo14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="517" data-original-width="769" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUbeXeRSDBAiJoGcPqKdJP1fTu0iFFnYszLtqlsJiOlYYUxA8bmx-mEdwSSSXihFkbOoAQaa2FEMEjXmy0kDTUMD4ULciKVfgiggp2KQrsOkHpWuNbUMOvP_dHRMr9d-53UDX0_eIhWe8/s320/odoo14.png" width="320" /></a></div><br /><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">1 / Mettre à jour le Serveur</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get update </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"> </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"> </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get upgrade -y </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">2 / Créé l'utilisateur odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo adduser -system -home=/opt/odoo -group odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">3 / Installer le serveur PostgreSQL</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">4/ Créé l'utilisateur odoo pour PostgreSQL</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo su - postgres -c "createuser -s odoo" 2> /dev/null || true </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">5/ Innstaller git </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get install git </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">6/ Télécharger odoo 14 en tant que l'utilisateur odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo su - odoo -s /bin/bash</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">cd /opt/odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">git clone https://www.github.com/odoo/odoo --depth 1 --branch 14.0 --single-branch </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">7/ Installer les dépendances odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi -y</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"> </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">8/ Installer les dépendances Python</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get install git python3 python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less libjpeg-dev gdebi -y</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">9/ Installer les dépendances PIP python </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo -H pip3 install -r /opt/odoo/odoo/requirements.txt </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">10/ Installer d'autres packages</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get install nodejs npm -y </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo npm install -g rtlcss</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">11/ Installer Wkhtmltopdf</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo apt-get install xfonts-75dpi</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"> </span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.bionic_amd64.deb</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">(si message erreur sudo apt-get -f install et ensuite reexecuter la commande dpkg )</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">12/ créer le fichier log</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo mkdir /var/log/odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">touch /var/log/odoo/odoo.log</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo chown odoo:odoo /var/log/odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo chown odoo:odoo /var/log/odoo/odoo.log</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">13/ Démarrer odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><br /></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">sudo su - odoo -s /bin/bash</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">cd /opt/odoo/odoo</span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></h2><h2 style="background-color: white; box-sizing: border-box; line-height: 1.38; margin-bottom: 4pt; margin-top: 18pt;"><span style="font-size: small;"><span style="font-weight: 500;">python3 odoo-bin --logfile=/var/log/odoo/odoo.log</span></span></h2><div><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></div><div><span style="font-size: small;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivmjtH0T_ZFDmBg1aqKZpR5UU_TkMJfOnIUz6E7jfSKHoriKMDepXc5yXyVOSP99QhnjcihNpe-1NQJPr1LXmQhT-oDhRYUojjWusGNniGqivhhVfiKFLgd5YFyV-u7GHiiIaE6wJM-lA/s1152/start14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="852" data-original-width="1152" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivmjtH0T_ZFDmBg1aqKZpR5UU_TkMJfOnIUz6E7jfSKHoriKMDepXc5yXyVOSP99QhnjcihNpe-1NQJPr1LXmQhT-oDhRYUojjWusGNniGqivhhVfiKFLgd5YFyV-u7GHiiIaE6wJM-lA/w374-h277/start14.png" width="374" /></a></div><br /><span style="font-weight: 500;"><br /></span></span></div><div><span style="font-size: small;"><span style="font-weight: 500;"><br /></span></span></div><div><span style="font-size: small;"><span style="font-weight: 500;">sources : </span></span></div><div>https://www.candidroot.com/blog/our-candidroot-blog-1/post/how-to-install-odoo-14-on-ubuntu-18-04-66</div><div><br /></div><div>https://www.youtube.com/watch?v=sgFhOv3pR4Y</div>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-60607379608563985252020-07-16T05:27:00.002-07:002020-07-16T05:27:41.660-07:00Reinitialisation du mot de passe admin odoo Procédure pour réinitialiser le mot de passe de l'user admin<div><br /></div><div>1/ se connecter en tant que l'utilisateur postgres sur votre serveur linux</div><div><br /></div><div>#su postgres</div><div><br /></div><div>2/ se connecter sur votre base de donnee </div><div><br /></div><div>postgres@serveur:/$psql nomdevotredb</div><div><br /></div><div>3/ executer la commande qui permet de mettre le mot de passe "<span style="background-color: #f8f9fa; color: #343a40; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Noto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Odoo Unicode Support Noto", "Noto Color Emoji"; font-size: 15px;">YourNewPassword"</span></div><div><font color="#343a40" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px;"><br /></span></font></div><div><font color="#343a40" face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px;">#</span></font><span style="background-color: #f8f9fa; color: #343a40; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; font-weight: bolder; white-space: pre-wrap;">UPDATE res_users SET password='', password_crypt='$pbkdf2-sha512$25000$53yv9X7P.T8HwPh/j5FSyg$I1ctIdw4MncanG7LP6.G3Ti2Pr2lAblicG92rgOMysPWGu1c22Ds9myozO95.TfVEbNytgFGyHe59Hh10WeUUQ' WHERE id=1;</span></div><div><font color="#343a40" face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"><span style="font-size: 13.125px; white-space: pre-wrap;"><b><br /></b></span></font></div><div><font color="#343a40" face="SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace"><span style="font-size: 13.125px; white-space: pre-wrap;"><b>4/ vous pouvez maintenant vous connecter avec l'user admin et le mot de passe </b></span></font><span style="background-color: #f8f9fa; color: #343a40; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Noto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Odoo Unicode Support Noto", "Noto Color Emoji"; font-size: 15px;">YourNewPassword</span></div><div><font color="#343a40"><span style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; white-space: pre-wrap;"><font face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px; white-space: normal;"><br /></span></font></span></font></div><div><font color="#343a40"><span style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; white-space: pre-wrap;"><font face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px; white-space: normal;">Pensez a vous a changer le mot de passe via l'interface </span></font></span></font></div><div><font color="#343a40"><span style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; white-space: pre-wrap;"><font face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px; white-space: normal;"><br /></span></font></span></font></div><div><font color="#343a40"><span style="font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; white-space: pre-wrap;"><font face="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Odoo Unicode Support Noto, Noto Color Emoji"><span style="font-size: 15px; white-space: normal;"><br /></span></font></span></font><div><br /></div><div><br /></div></div>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-33914868922406758542020-06-16T03:34:00.002-07:002020-06-16T03:36:38.912-07:00Reset du mot de passe superadmin odoo 12Il arrive pour une raison ou une autre que vous oubliez le mot de passe superadmin odoo <div>qui permet de gérez le backup et restauration des bases de données du serveur </div><div>Voici la pocédure </div><div><br /></div><div>1/ Editez le fichier /etc/odoo-server.conf</div><div><br /></div><div>et mettre en commentaire en ajoutant un point virgule avant admin_passwd</div><div>;admin_passwd </div><div><br /></div><div><div>[options]</div><div>addons_path = /odoo/odoo-server/addons,/odoo/custom/addons</div><div>;admin_passwd = $pbkdf2-sha512$25000$CCGEMIYwxthbC4Hw/n/v/Q$eeefzebqI2u81x.fx23SpxXFiG/896gZjDbLa6LQv9KMZK/GQErFfSmp6O0MqpZegOlF75eiC/6pUXTWDGBkaQ</div><div>csv_internal_sep = ,</div><div>data_dir = /odoo/.local/share/Odoo</div><div>db_host = False</div><div>db_maxconn = 64</div><div>db_name = False</div><div>db_password = False</div><div>db_port = False</div><div>db_sslmode = prefer</div><div>db_template = template0</div><div>db_user = False</div><div>dbfilter = </div><div>demo = {}</div><div>email_from = False</div><div>geoip_database = /usr/share/GeoIP/GeoLite2-City.mmdb</div><div>http_enable = True</div><div>http_interface = </div><div>http_port = 8069</div><div>import_partial = </div><div>limit_memory_hard = 2684354560</div><div>limit_memory_soft = 2147483648</div><div>limit_request = 8192</div><div>limit_time_cpu = 60</div><div>limit_time_real = 120</div><div>limit_time_real_cron = -1</div><div>list_db = True</div><div>log_db = False</div><div>log_db_level = warning</div><div>log_handler = :INFO</div><div>log_level = info</div><div>logfile = /var/log/odoo/odoo-server.log</div><div>logrotate = False</div><div>longpolling_port = 8072</div><div>max_cron_threads = 2</div><div>osv_memory_age_limit = 1.0</div><div>osv_memory_count_limit = False</div><div>pg_path = None</div><div>pidfile = None</div><div>proxy_mode = False</div><div>reportgz = False</div><div>server_wide_modules = base,web</div><div>smtp_password = False</div><div>smtp_port = 25</div><div>smtp_server = localhost</div><div>smtp_ssl = False</div><div>smtp_user = False</div><div>syslog = False</div><div>test_enable = False</div><div>test_file = False</div><div>test_tags = None</div><div>translate_modules = ['all']</div><div>unaccent = False</div><div>without_demo = False</div><div>workers = 0</div></div><div><br /></div><div>2/ redemarrez le serveur </div><div><br /></div><div>A ce moment on vous proposeras de redefinir un mot de passe superadmin</div><div><br /></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7TclQtMKLUT7tn_hS8_2LDctLLweinLT1f-StbvAOzu3qBBzfbIPP90KNp0QTx_CLmGAnxCoBCxabjmlJhWOsG173RvfeuM8qzInAATdKM4PxP9UAWgHQD0Vk3Z48bqL8c0dmUwU57kU/s700/reset.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="200" data-original-width="700" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7TclQtMKLUT7tn_hS8_2LDctLLweinLT1f-StbvAOzu3qBBzfbIPP90KNp0QTx_CLmGAnxCoBCxabjmlJhWOsG173RvfeuM8qzInAATdKM4PxP9UAWgHQD0Vk3Z48bqL8c0dmUwU57kU/s320/reset.png" width="320" /></a></div><div><br /></div><div>et voila </div><div><br /></div><div>for more informations elkafil@gmail.com</div>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-78890811351170192692020-05-17T07:23:00.002-07:002020-11-08T00:34:06.662-08:00Installation ODOO 13 sur UBUNTU 20.04<br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgnOtWvp2_putFG0DxsaWtKpCco5eMLt22U8xJhoROEv6sY_qOiAXOtfcek_eC2Ez_eJJgEyygly_w9_LqOXXGY0Zx_3XvaM05lmvv8rSwVj1VjZ_7jy1E3R5k8BsmN6LtbC5Ei8CNWPE/" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="168" data-original-width="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgnOtWvp2_putFG0DxsaWtKpCco5eMLt22U8xJhoROEv6sY_qOiAXOtfcek_eC2Ez_eJJgEyygly_w9_LqOXXGY0Zx_3XvaM05lmvv8rSwVj1VjZ_7jy1E3R5k8BsmN6LtbC5Ei8CNWPE/" /></a></div><div class="separator" style="clear: both; text-align: center;"><br /></div><span style="text-align: center;"><div><span style="text-align: center;">UBUNTU vient de publier sa derniere version stable 20.04 LTS </span></div><b>Etape 1 / </b>Mise a jour ubuntu </span><br /><br /><span style="text-align: center;">sudo apt update</span><div><span style="text-align: center;">sudo apt -y upgrade</span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;">reboot</span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><b>Etape 2/</b> Installer la base de donnee postgresql 12</span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;">sudo apt install postgresql postgresql-client</span></div><div><br /></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><b>Etape 3/ </b> </span>Installation de wkhtmltopdf</div><div><br /></div><div><div>sudo apt -y install wget</div><div><br /></div><div>wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb</div><div><br /></div><div>dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb </div><div><br /></div><div>si message erreur : </div><div><span> </span>Errors were encountered while processing:</div><div> <span> </span>wkhtmltox</div><div><br /></div><div>sudo apt install -f</div></div><div><br /></div><div><b>Etape 4/</b> Installation de l'utilisateur odoo</div><div><br /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo adduser --system --home=/opt/odoo --group odoo</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">Installation de l'user de la db </span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">su - postgres -c "createuser -s odoo" 2> /dev/null || true</span><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /></div></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><b>Etape 5/ </b>Installation des dependances odoo</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo apt-get install -y python3-pip</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo pip3 install Babel chardet decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 libsass Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycopg2 pydot pyldap pyparsing PyPDF2 pyserial python-dateutil pytz pyusb PyYAML qrcode reportlab requests suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo pip3 install psycopg2-binary</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white;"><font face="Merriweather, Georgia, serif">pip3 install lxml</font></span></div><div><span style="background-color: white;"><font face="Merriweather, Georgia, serif"><br /></font></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">pip3 install pyPDF2</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo apt-get install -y npm</span></div><div><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo ln -s /usr/bin/nodejs /usr/bin/node</span></div><div><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo npm install -g less less-plugin-clean-css</span></div><div><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo apt-get install -y node-less</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo </span><font face="Merriweather, Georgia, serif"><span style="background-color: white;">pip3 uninstall Werkzeug</span></font></div><div><font face="Merriweather, Georgia, serif"><span style="background-color: white;"><br /></span></font></div><div><font face="Merriweather, Georgia, serif"><span style="background-color: white;">sudo pip3 install Werkzeug==0.11.15</span></font></div><div><font face="Merriweather, Georgia, serif"><span style="background-color: white;"><br /></span></font></div><div><font face="Merriweather, Georgia, serif"><span style="background-color: white;">sudo </span></font><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">pip3 install polib</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white;"><font face="Merriweather, Georgia, serif">sudo apt-get install python3-dateutil</font></span></div><div><span style="background-color: white;"><font face="Merriweather, Georgia, serif"><br /></font></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo pip3 install reportlab</span></div><div><br /></div><div>pip3 install passlib</div><div><br /></div><div>pip3 install psutil</div><div><br /></div><div>pip3 install jinja2</div><div><br /></div><div>pip3 install html2text</div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><b>Etape 6/</b> Telechargement de odoo 13 avec git</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo apt-get install git</span><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">se connecter en tant que l'utilisateur odoo :</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo su - odoo -s /bin/bash</span><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">git clone https://www.github.com/odoo/odoo --depth 1 --branch 13.0 --single-branch</span><br style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;" /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">exit</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><font face="Merriweather, Georgia, serif"><span style="background-color: white;">s'assurer que toutes les dependances odoo sont installees </span></font></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">cd /opt/odoo/odoo</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">pip3 install -r requirements.txt</span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><font face="merriweather, georgia, serif">apt-get install python3-lxml</font></span></div><div><br /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">sudo su - odoo -s /bin/bash</span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">allez dans le repertoire </span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">cd /opt/odoo/odoo</span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">et lancer odoo </span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">python3 odoo-bin </span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">odoo est alors disponible via votre browser a l adresse </span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;">http://ipduserveur:8069</span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><span style="font-family: Merriweather, Georgia, serif;">i message : ModuleNotFoundError: No module named 'werkzeug.contrib'</span><br style="font-family: Merriweather, Georgia, serif;" /><br style="font-family: Merriweather, Georgia, serif;" /><pre style="background-color: #f8f9fa; border-radius: 0.125rem; box-sizing: border-box; color: #343a40; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; margin-bottom: 1rem; overflow: auto; padding: 1rem; white-space: pre-wrap;"><span style="box-sizing: border-box; font-weight: bolder;">#pip3 uninstall Werkzeug (will uninstall earlier version)</span></pre><pre style="background-color: #f8f9fa; border-radius: 0.125rem; box-sizing: border-box; color: #343a40; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; margin-bottom: 1rem; overflow: auto; padding: 1rem; white-space: pre-wrap;"><span style="box-sizing: border-box; font-weight: bolder;">#</span>pip3 install Werkzeug==0.11.15</pre><div><br /></div></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div style="font-family: "times new roman"; font-size: medium;"><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div></span></div><div><br /></div><div><font face="Merriweather, Georgia, serif"><div><br /></div><div><br /></div></font></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><br /></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><span style="background-color: white; font-family: merriweather, georgia, serif; font-size: 16px;"><br /></span></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><h2 style="background-color: white; box-sizing: border-box; color: #075b88; font-family: roboto, sans-serif; font-size: 27px; font-weight: 400; line-height: 38px; margin: 30px 0px 20px;"><br /></h2><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><br /></span></div><div><span style="text-align: center;"><br /></span></div>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-66977914107500064472019-11-05T10:04:00.001-08:002019-11-05T10:04:40.257-08:00 7 Conseils pour réussir la mise en place d'un ERP dans votre entreprise <div dir="ltr" style="text-align: left;" trbidi="on">
<br /></div>
<iframe src="https://drive.google.com/file/d/1pW7oTk9NcMlg4-7pvX4pRCLlCcUS52F2/preview" width="640" height="480"></iframe>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-28825119865237242442019-10-17T04:25:00.000-07:002019-10-25T07:05:07.592-07:00Comment installer Odoo 13 sur Ubuntu 18.04 en 10 étapes ?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj42ZldgbonxWP63J4IDupZ4KDFDjhhrxJz489nlOl1nZSmc6IN80FrgTSJ7LiKII7OkN5VIU1FhJ324KFY_c9CnmkaP9EYKDQ57KsEQAOST2PLsBnQwzdA1xGAlb7pXSyD2h-5JX0AdHs/s1600/odoo13_ubuntu1804.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="620" data-original-width="1080" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj42ZldgbonxWP63J4IDupZ4KDFDjhhrxJz489nlOl1nZSmc6IN80FrgTSJ7LiKII7OkN5VIU1FhJ324KFY_c9CnmkaP9EYKDQ57KsEQAOST2PLsBnQwzdA1xGAlb7pXSyD2h-5JX0AdHs/s400/odoo13_ubuntu1804.jpg" width="400" /></a></div>
<h2 style="text-align: left;">
<span style="font-size: large;"><b><br /></b></span></h2>
<h2 style="text-align: left;">
<span style="font-size: large;"><b>Comment installer Odoo 13 sur Ubuntu 18.04 ?</b></span></h2>
<br />
<br />
<br />
<h4 style="text-align: left;">
<b>1: Faire la mise a jour </b></h4>
<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
<h4 style="text-align: left;">
2: Installer openssh pour une connection distante de votre serveur</h4>
<br />
<br />
sudo apt-get install openssh-server<br />
<br />
http://elkafil.blogspot.com/2016/10/activer-la-connection-distance-root-sur.html<br />
<br />
<h4 style="text-align: left;">
3: Creer l'utilisateur odoo</h4>
<br />
<br />
sudo adduser --system --home=/opt/odoo --group odoo<br />
<br />
<br />
<br />
<h4 style="text-align: left;">
4: Installation de PostgreSQL</h4>
<br />
<br />
sudo apt-get install postgresql<br />
<br />
<br />
<h4 style="text-align: left;">
5: installer l'utilisateur postgresql</h4>
<br />
su - postgres -c "createuser -s odoo" 2> /dev/null || true<br />
<br />
<br />
<br />
<h4 style="text-align: left;">
6: Installation des dependances de Odoo</h4>
<br />
<br />
- Installer pip3<br />
<br />
sudo apt-get install -y python3-pip<br />
<br />
<br />
<br />
sudo pip3 install Babel chardet decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 libsass lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycopg2 pydot pyldap pyparsing PyPDF2 pyserial python-dateutil pytz pyusb PyYAML qrcode reportlab requests suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd polib<br />
<br />
en cas de message d'erreur pour psycopg2 essayer<br />
<br />
sudo pip3 install psycopg2-binary<br />
<br />
<br />
<br />
<br />
<br />
sudo apt-get install -y npm<br />
sudo ln -s /usr/bin/nodejs /usr/bin/node<br />
sudo npm install -g less less-plugin-clean-css<br />
sudo apt-get install -y node-less<br />
<br />
pip3 install pyPDF2<br />
pip3 install passlib<br />
pip3 install werkzeug<br />
pip3 install lxml<br />
pip3 install polib<br />
python3 -m pip install Pillow<br />
pip3 install dateutil<br />
pip3 install python-dateutil<br />
pip3 install psutil<br />
pip3 install jinja2<br />
pip3 install reportlab<br />
pip3 install html2text<br />
<pre style="background-color: rgba(255, 255, 255, 0.9); box-sizing: border-box; color: #212529; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; margin-bottom: 1rem; overflow: auto;">pip3 install libsass==0.12.3</pre>
<pre style="background-color: rgba(255, 255, 255, 0.9); box-sizing: border-box; margin-bottom: 1rem; overflow: auto;"><span style="color: #212529;"><span style="font-size: 13.125px;">apt-get install python3-stdnum</span></span></pre>
<pre style="background-color: rgba(255, 255, 255, 0.9); box-sizing: border-box; margin-bottom: 1rem; overflow: auto;">pip3 install babel</pre>
pip3 install decorator<br />
<br />
<h4 style="text-align: left;">
7: Pour les impressions des rapports pdf installer la version 0.12.5 de wkhtmltopdf</h4>
<br />
<br />
sudo wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb<br />
sudo dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb<br />
sudo apt install -f<br />
<br />
<h4 style="text-align: left;">
8: cloner odoo 13 de github</h4>
<br />
- Installer git<br />
<br />
sudo apt-get install git<br />
<br />
- Se connecter en tant que l'utilisateur odoo<br />
<br />
<br />
<br />
sudo su - odoo -s /bin/bash<br />
<br />
<br />
git clone https://www.github.com/odoo/odoo --depth 1 --branch 13.0 --single-branch<br />
<br />
les fichiers odoo 13 se trouve maintenant dans le repertoire /opt/odoo<br />
<br />
taper la commande exit pour continuer l'installation<br />
<br />
<h4 style="text-align: left;">
9: Configurer Odoo</h4>
<br />
-creer le repertoire log<br />
<br />
sudo mkdir /var/log/odoo<br />
<br />
- donner les droit a l'utilisateur odoo sur ce repertoire<br />
<br />
sudo chown odoo:root /var/log/odoo<br />
<br />
- creer le fichier log<br />
<br />
cd /var/log/odoo<br />
<br />
touch odoo.log<br />
<br />
chown odoo odoo.log<br />
<br />
<br />
<h4 style="text-align: left;">
10: Test Installation</h4>
<br />
- Se connecter en tant que l'utilisateur odoo<br />
<br />
sudo su - odoo -s /bin/bash<br />
<br />
<br />
<br />
- et executer la commande<br />
<br />
python3 /opt/odoo/odoo/odoo-bin --addons-path=/opt/odoo/odoo/addons --logfile=/var/log/odoo.log<br />
<br />
vous pouver automatiser le lancement de odoo via le fichier de config ou la commande crontab ou le repertoire /etc/init.d/<br />
<br />
- Acceder a odoo 13 via<br />
<br />
“http://<your_domain_or_ip_address>:8069”</your_domain_or_ip_address><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7mwqNyzy8f3CMsOj8oAyZ_kSkqiFGwGz1YerxHM0egvkXm_GHC025mtscJ93DYDmcgPpnG7J5coQyKIqv76Qp3MB3p823YkJjlL3EFRkSESdoCJHcamgDZmfUWln6FXK7VDYN19Y915I/s1600/demarrage.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="620" data-original-width="1231" height="321" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7mwqNyzy8f3CMsOj8oAyZ_kSkqiFGwGz1YerxHM0egvkXm_GHC025mtscJ93DYDmcgPpnG7J5coQyKIqv76Qp3MB3p823YkJjlL3EFRkSESdoCJHcamgDZmfUWln6FXK7VDYN19Y915I/s640/demarrage.png" width="640" /></a></div>
<br />
<br />
Pour tout support sur odoo toutes versions et développements spécifique me contacter via <b>elkafil@gmail.com</b><br />
<br />
Source :<br />
https://speedysense.com/install-odoo-13-on-ubuntu-18-04/<br />
https://webkul.com/blog/install-odoo13-on-ubuntu/<br />
https://www.cybrosys.com/blog/install-odoo-13-on-ubuntu-18-04<br />
https://growthhackers.com/articles/how-to-install-odoo-13-on-ubuntu-18-04</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-23564837290441396402019-06-11T22:53:00.000-07:002024-02-06T07:16:14.433-08:00Optimisation de postgresql avec pgtune<div dir="ltr" style="text-align: left;" trbidi="on">
l'utilitaire pgtune permet d'ameliorer la performance de postgresql en modifiant les parametres par defaut de postgresql<br />
<div>
<br /></div>
1/ Localiser le fichier de configuration postgresql.conf<br />
<br />
par ex pour une version 10 de postgresql<br />
<br />
#cd /etc/postgresql/10/main<br />
<br />
2/ faire un backup du fichier actuel de posgresql.conf<br />
<br />
#cp postgresql.conf backuppostgresql.conf<br />
<br />
3/ allez sur le site https://pgtune.leopard.in.ua/#/ et taper les caracteristique de votre configuration<br />
et cliquer sur generate pour avoir les parametres a changer ex<br />
pour connaitre votre config RAM : free -h<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIt9djpZXJ-nKg-EDgD3Sef02AD6CBjRKjyTZSzNuByZZT6OZXBaJLd4vLhWbuoSE85-brd1tBk6xw2wVtYH_4BnP30r45QijHjjeh1jWJ5xLfFqReuFtZwLl8BFEyfXFQyfQPOoiIaq8/s1600/pgtune.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIt9djpZXJ-nKg-EDgD3Sef02AD6CBjRKjyTZSzNuByZZT6OZXBaJLd4vLhWbuoSE85-brd1tBk6xw2wVtYH_4BnP30r45QijHjjeh1jWJ5xLfFqReuFtZwLl8BFEyfXFQyfQPOoiIaq8/s320/pgtune.png" width="320" /></a></div>
<br />
cliquer sur generate pour optenir les parametres a changer<br />
<br />
4/ Editer le fichier postgresql et changer ces parametres<br />
<br />
#nano postgresql.conf<br />
<br />
enlever # pour activer les parametres en commentaire qui doivent etre modifie<br />
<br />
sauvegarder les changement avec ctrl x<br />
<br />
5/ redemarrer postgtesql<br />
<br />
/etc/init.d/postgresql restart<br />
<br />
6/ si probleme restituer l'ancien fichier postgresql<br />
<br />
mv backuppostgresql.conf posgresql.conf<br />
<br />
et redemarrer postgresql<br />
<br />
/etc/init.d/postgresql restart<br />
<br />
<br />
<br /></div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-44055207901412045512019-05-30T08:06:00.001-07:002019-05-30T08:06:37.613-07:00GO LIVE d'un projet mise en place d'ODOO dans une cimenterie à dakhla<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzicwq_89a5bJfLVB7HTwRdgYsOki6DDx05G7tw-SW8VZmFG9_IaPyzg8fJqB57p1NvA2TSsHbfS-VJ8fwtEVIwFypydj9M4kmLw6uqSGe0HSbSQXfeFogIUdWgGrFaAXU88htkqv1F-Q/s1600/cimenterie.jpeg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="640" data-original-width="960" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzicwq_89a5bJfLVB7HTwRdgYsOki6DDx05G7tw-SW8VZmFG9_IaPyzg8fJqB57p1NvA2TSsHbfS-VJ8fwtEVIwFypydj9M4kmLw6uqSGe0HSbSQXfeFogIUdWgGrFaAXU88htkqv1F-Q/s320/cimenterie.jpeg" width="320" /></a></div>
<br />
<br />
<br />
<div class="reader-flag-content__wrapper mb4 clear-both" data-ember-action-1249="1249" data-ember-action="" style="-webkit-text-stroke-width: 0px; background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; clear: both !important; color: rgba(0, 0, 0, 0.9); display: flex; font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 1.5rem; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; justify-content: flex-end; letter-spacing: normal; margin-bottom: 16px !important; margin-left: 0px; margin-right: 0px; margin-top: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; vertical-align: baseline; white-space: normal; widows: 2; word-spacing: 0px;">
</div>
<br />
<div class="ember-view" id="ember1248" style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; margin: 0px; orphans: 2; padding: 0px; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; vertical-align: baseline; widows: 2;">
<div class="reader-article-content" dir="ltr" style="background: 0px 0px; border: 0px; box-sizing: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
Le GO LIVE est un moment important qui est l'aboutissement d'un projet de mise en place d'un ERP c'est le moment ou l'ensemble du personnel est mobilisé pour utiliser tous les modules de l'ERP qui est soit la migration à partir d'une autre ERP ou le passage d'un système ou on utilise excell et un logiciel simple de comptabilité .</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
Dans cette cimenterie on a mis en place la version odoo 11 version COMMUNITY qui est la version avant la dernière version actuelle disponible d'ODOO qui est odoo 12 car il y a plus de modules disponibles et elle est plus stable ce qui a toujours été notre stratégie d'utiliser la version n-1 d'ODOO depuis le début de l'aventure avec tinyerp en 2006( nous sommes les premiers integrateurs au Maroc depuis 2006) devenu Openerp en 2009 et odoo en 2014.</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
Le déploiement comprend les modules ventes, achats, gestion de stock gestion de production, maintenance et comptabilité , la formation des derniers utilisateurs est faite et l'assistance des utilisateurs afin qu'ils prennent en main le nouvel ERP est primordial pour la réussite de ce go live .</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
La prise en compte des règles de gestion du client sur base d'une documentation précise des processus a aussi aidé a la mise en route rapide de ce projet qui a duré 3 mois :</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
Notre expertise sur d'autres projets relatifs à la gestion de production dans le secteur de l'agroalimentaire et des briqueteries nous a aidé à reproduire les bonnes pratiques Dans cette cimenterie :</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
le ciment est composé de matières premières qui est le clinker, le calcaire et le gypse (mélangé dans un broyeur)et les produit finis sont le ciment en vrac et en sacs.</div>
<div style="-webkit-text-stroke-width: 0px; background: 0px 0px; border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-transform: none; vertical-align: baseline; white-space: normal; word-spacing: 0px;">
le briefing de l'ensemble du personnel dont les utilisateurs clés ont été formés au préalable et utilisent déjà le système dans la phase d'intégration et de test précédant le go-live ainsi que l'implication du management et des utilisateurs a contribué à la réussite de ce go-live.<span style="font-size: 2rem;"> </span></div>
<div style="background: 0px 0px; border: 0px; box-sizing: inherit; line-height: 3.2rem; margin: 3.2rem 0px; padding: 0px; text-align: left; vertical-align: baseline;">
<span style="font-family: Source Serif Pro, serif;">Comme quoi il n'est pas nécessaire d'utiliser la version entreprise de odoo et passer par un intégrateur officiel ODOO pour réussir un projet de mise en place ERP d'envergure.</span></div>
</div>
</div>
</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-77051966196309203292019-05-12T11:32:00.000-07:002020-04-28T05:02:59.183-07:00Comment installer odoo 12 sur ubuntu 18.04 server step by step<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjptMg8OEoTOrS0cjhsd3Li2GHPCY06g1BVCXv2Y-Mnyw5C6kOv1GP_xNbQEBA_JR6uPmohWmKfnZ-mmTY3nstO1wCk6o-4YTglX4CsLC9XLKqm7LgXA_uclkViDOepRu3bRVbedIeTUfQ/s1600/odoo12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="322" data-original-width="600" height="171" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjptMg8OEoTOrS0cjhsd3Li2GHPCY06g1BVCXv2Y-Mnyw5C6kOv1GP_xNbQEBA_JR6uPmohWmKfnZ-mmTY3nstO1wCk6o-4YTglX4CsLC9XLKqm7LgXA_uclkViDOepRu3bRVbedIeTUfQ/s320/odoo12.png" width="320" /></a></div>
<br />
<br />
<b>Etape 1</b><br />
<br />
Installer les mises à jour d’Ubuntu<br />
<br />
sudo apt-get update<br />
<br />
sudo apt-get -y upgrade<br />
<br />
<b>Etape 2</b><br />
<br />
Installer Python 3 ainsi que les dépendances pour Odoo<br />
<br />
sudo apt-get install python-setuptools<br />
<br />
sudo apt-get install python-dev build-essential<br />
<br />
sudo apt-get install python3-pip<br />
<br />
pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd libsass<br />
<br />
<pre class="lang-py prettyprint prettyprinted" style="background-color: #eff0f1; border-radius: 3px; border: 0px; box-sizing: inherit; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow-wrap: normal; overflow: auto; padding: 12px 8px; vertical-align: baseline; width: auto;"><code style="border: 0px; box-sizing: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">apt</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">get install python3</span><span class="pun" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">-</span><span class="pln" style="border: 0px; box-sizing: inherit; color: #303336; font-family: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">psycopg2</span></code></pre>
<b>Etape 3</b><br />
<br />
<br />
Installation de NodeJS<br />
<br />
<br />
<br />
<br />
# wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -<br />
<br />
sudo apt-get install node-less<br />
<br />
Ajouter le dépôt NodeSource<br />
DISTRO="$(lsb_release -s -c)"<br />
<br />
echo "deb https://deb.nodesource.com/node_10.x $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list<br />
<br />
echo "deb-src https://deb.nodesource.com/node_10.x $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list<br />
<br />
Installer les dépendances web pour Odoo<br />
sudo apt-get update<br />
<br />
sudo apt-get install nodejs<br />
<br />
sudo ln -s /usr/bin/nodejs /usr/bin/node<br />
<br />
sudo npm install -g less less-plugin-clean-css<br />
<br />
<b>Etape 4</b><br />
<br />
Installation du paquêt software-properties-common<br />
Il s’agit du gestion des dépôts depuis lesquels vous installez des logiciels (fichiers communs).<br />
<br />
sudo apt-get install python-software-properties<br />
<br />
ou<br />
<br />
sudo apt-get install software-properties-common<br />
<br />
<br />
Ajout de la clé apt pour Postgres<br />
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -<br />
<br />
sudo apt-get update<br />
<br />
Installation proprement dite de Postgres<br />
<br />
sudo apt-get install postgresql-10<br />
<br />
<br />
<br />
Pour déterminer le mot de passe de Postgres<br />
<br />
sudo passwd postgres<br />
<br />
Enter new UNIX password:****<br />
<br />
Retype new UNIX password:****<br />
<br />
# passwd: password updated successfully<br />
<br />
<b>Etape 5</b><br />
<br />
<br />
<br />
Créer l’utilisateur et le groupe sur Ubuntu :<br />
<br />
<span style="background-color: white; font-family: "merriweather" , "georgia" , serif; font-size: 16px;">sudo adduser --system --quiet --shell=/bin/bash --home=/opt/odoo --gecos 'odoo' --group odoo</span><br />
<br />
et lui donner les droits sur la db postgresql<br />
<br />
<span style="background-color: white; font-family: "merriweather" , "georgia" , serif; font-size: 16px;">#su - postgres -c "createuser -s odoo" 2> /dev/null || true</span><br />
<br />
<b>Etape 6</b><br />
<br />
Installation de Gdata<br />
<br />
cd /opt/odoo<br />
<br />
sudo wget https://files.pythonhosted.org/packages/a8/70/bd554151443fe9e89d9a934a7891aaffc63b9cb5c7d608972919a002c03c/gdata-2.0.18.tar.gz<br />
<br />
sudo tar zxvf gdata-2.0.18.tar.gz<br />
<br />
sudo chown -R odoo: gdata-2.0.18<br />
<br />
sudo -s<br />
<br />
cd gdata-2.0.18/<br />
<br />
python setup.py install<br />
<br />
exit<br />
<br />
<b>Etape 7</b><br />
<b><br /></b>
Télécharger Odoo 12 depuis Github<br />
<br />
cd /opt/odoo<br />
<br />
sudo apt-get install git<br />
<br />
sudo chown -R odoo: /opt<br />
<br />
sudo su - odoo -s /bin/bash<br />
<br />
<br />
git clone https://www.github.com/odoo/odoo --depth 1 --branch 12.0 --single-branch<br />
<br />
exit<br />
<br />
<b>Etape 8</b><br />
<br />
Installation des prérequis Python pour Odoo<br />
Installer les paquets Python nécessaires pour Odoo-12<br />
<br />
cd opt/odoo/odoo/<br />
<br />
sudo pip3 install -r requirements.txt<br />
<br />
Install pypdf2 python Library for odoo<br />
apt-get install python3-pypdf2<br />
<br />
ou<br />
<br />
cd /opt/odoo/<br />
<br />
sudo wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pypdf2/python3-pypdf2_1.26.0-2_all.deb<br />
<br />
sudo dpkg -i python3-pypdf2_1.26.0-2_all.deb<br />
<br />
sudo apt-get install -f<br />
<br />
<br />
<br />
<b>Etape 9</b><br />
<br />
Créer le répertoire et le fichier log d’Odoo<br />
<br />
sudo mkdir /var/log/odoo<br />
<br />
cd /var/log/odoo<br />
<br />
sudo touch odoo.log<br />
<br />
sudo chown -R odoo:root /var/log/odoo<br />
<br />
<br />
<br />
<b>Etape 10</b><br />
<br />
Installation de WKHTMLTOPDF<br />
<br />
cd /opt/<br />
<br />
<div class="code-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo wget https://builds.wkhtmltopdf.org/0.12.1.3/wkhtmltox_0.12.1.3-1~bionic_amd64.deb</span></div>
<div class="code-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb</span></div>
<div class="code-commentaires-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
# Si problème, exécutez : </div>
<div class="code-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo apt-get install -f</span><br />
<span style="background-color: #1abc9c; color: white;">Ensuite reexecuter :</span><br />
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;"></span><br />
<div class="code-commentaires-western" style="-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: "Times New Roman"; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 10px; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
</div>
<br />
<div class="code-western" style="-webkit-text-stroke-width: 0px; background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: "Times New Roman"; font-size: 16px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 10px; orphans: 2; text-align: left; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;">
<div style="margin: 0px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo dpkg -i wkhtmltox_0.12.1.3-1~bionic_amd64.deb</span></div>
</div>
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;"><br /></span></div>
<div class="code-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin</span></div>
<div class="code-western" style="background-color: white; box-sizing: border-box; color: #8c8c8c; font-family: PT_Sans-Web-Regular; font-size: 16px; margin-bottom: 10px;">
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;">sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin</span></div>
<div>
<span class="bg-info" style="background-color: #1abc9c; box-sizing: border-box; color: white; padding: 0px 2px;"><br /></span></div>
<br />
<b>Etape 11</b><br />
<br />
package manquants<br />
<br />
<span style="background-color: rgba(255 , 255 , 255 , 0.9); box-sizing: border-box; color: #343a40; font-family: , "blinkmacsystemfont" , "segoe ui" , "roboto" , "noto" , "helvetica neue" , "arial" , "noto sans" , sans-serif , "apple color emoji" , "segoe ui emoji" , "segoe ui symbol" , "noto color emoji"; font-size: 15px; font-weight: bolder;">#apt-get install python3-werkzeug</span><br />
<br />
pip3 install passlib<br />
pip3 install werkzeug<br />
apt-get install python3-dateutil<br />
pip3 install pillow<br />
pip3 install psutil<br />
pip3 install reportlab<br />
pip3 install html2text<br />
apt install python3-libsass<br />
apt-get install barcode<br />
pip3 install lxml<br />
apt-get install python3-psycopg2<br />
pip3 install jinja2<br />
apt-get install python3-levenshtein<br />
<br />
<br />
<br />
<b>Etape 12</b><br />
<br />
Maintenant, exécuté le serveur à partir de /opt/odoo par le fichier odoo-bin pour tester<br />
<br />
cd opt/odoo/odoo<br />
<br />
sudo su - odoo -s /bin/bash<br />
<br />
python3 odoo-bin<br />
<br />
<b>Etape 13</b><br />
<br />
Accédez à l’écran d’accueil d’Odoo<br />
<br />
addresseipdevotreserveur:8069<br />
<br />
si message : ModuleNotFoundError: No module named 'werkzeug.contrib'<br />
<br />
<pre style="background-color: #f8f9fa; border-radius: 0.125rem; box-sizing: border-box; color: #343a40; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; margin-bottom: 1rem; overflow: auto; padding: 1rem; white-space: pre-wrap;"><span style="box-sizing: border-box; font-weight: bolder;">#pip3 uninstall Werkzeug (will uninstall earlier version)</span></pre>
<pre style="background-color: #f8f9fa; border-radius: 0.125rem; box-sizing: border-box; color: #343a40; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 13.125px; margin-bottom: 1rem; overflow: auto; padding: 1rem; white-space: pre-wrap;"><span style="box-sizing: border-box; font-weight: bolder;">#</span>pip3 install Werkzeug==0.11.15</pre>
<br />
pour plus d'info et help elkafil@horiyasoft.com</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-25173290469383821892019-04-24T02:35:00.004-07:002019-04-24T02:35:28.010-07:00Comment totalement désinstaller postgresql sur ubuntu ?<div dir="ltr" style="text-align: left;" trbidi="on">
il arrive des fois a cause d'une mauvaise manipulation sur un fichier de config que votre base de donnée soit corrompues et que vous deviez réinstaller postgresql sur ubuntu<br />
<br />
1/ voir les packages a désinstaller<br />
<br />
#dpkg -l | grep postgres<br />
<br />
resultat:<br />
~$ dpkg -l | grep postgres<br />
ii postgresql 10+190 all object-relational SQL database (supported version)<br />
ii postgresql-10 10.6-0ubuntu0.18.04.1 amd64 object-relational SQL database, version 10 server<br />
ii postgresql-client-10 10.6-0ubuntu0.18.04.1 amd64 front-end programs for PostgreSQL 10<br />
ii postgresql-client-common 190 all manager for multiple PostgreSQL client versions<br />
ii postgresql-common 190 all PostgreSQL database-cluster manager<br />
<br />
<br />
2/ deinstaller tous les packages qui apparaissent ds 1<br />
<br />
<br />
~$sudo apt-get --purge remove postgresql postgresql-10 postgresql-client-10 <br />
postgresql-client-common postgresql-common <br />
<br />
<br />
3/ reinstaller postgresql<br />
<br />
~$sudo apt-get install postgresql<br />
<br />
<br />
<br />
cqfd<br />
<br />
<br /></div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-85845517561538178562019-03-20T07:10:00.000-07:002019-03-20T07:10:07.808-07:00Installation gnuhealth 3.4.1 sur UBUNTU 18.04<div dir="ltr" style="text-align: left;" trbidi="on">
1/ Mettre a jour les sources<br />
<br />
se connecter en tant que root<br />
<br />
$sudo -s<br />
<br />
<br />
#apt-get update<br />
<br />
voir la version de python<br />
<br />
#pip3 --version<br />
<br />
2/ Installer les dependances<br />
<br />
#apt-get install python3-pip 2to3 unoconv postgresql-10<br />
<br />
3/ creer l'utilisateur gnuhealth<br />
<br />
#adduser gnuhealth<br />
<br />
<br />
4/ Faire un lien entre Python3 et 2to3<br />
- Se loger en tant que gnuhealth<br />
<br />
sudo bash<br />
cd /usr/bin<br />
ln -si python3 python<br />
exit<br />
<br />
5/ Mise a jour de Update pip<br />
<br />
<br />
su gnuhealth<br />
<br />
pip3 install --user --upgrade pip setuptools wheel<br />
<br />
6/Verifier la methode d'authentication de PostgreSQL<br />
<br />
<br />
Localiser le fichier pg_hba.conf en tapant la commande suivant en tant que root :<br />
<br />
#su - postgres -c "psql -t -P format=unaligned -c 'show hba_file'"<br />
<br />
example de reponse :<br />
/etc/postgresql/10/main/pg_hba.conf<br />
<br />
Editer ce fichier avec l'utilisateur postgres<br />
<br />
#su postgres<br />
<br />
$nano /etc/postgresql/10/main/pg_hba.conf<br />
<br />
<br />
<br />
et changer les lignes suivante avec ceux-ci:<br />
<br />
local all all trust<br />
<br />
<br />
host all all 127.0.0.1/32 trust<br />
<br />
redemarrer le serveur :<br />
<br />
#reboot<br />
<br />
<br />
7/ lancer le server gnuhealth en tant qu'utilisateur gnuhealth<br />
<br />
#su gnuhealth<br />
$ cdexe<br />
<br />
gnuhealth@gnuhealthserver:~/gnuhealth/tryton/server/trytond-4.6.13/bin $ python3 trytond --verbose<br />
<br />
<br />
Vous pouver vous connecter sur l eserveur en utilisant le client gnuhealth v3.4.1<br />
<br />
Telechagable ici pour windows:<br />
<br />
http://downloads.tryton.org/4.6/tryton-last.exe<br />
<br />
<br />
<br />
<br />
8/ Installation d'une base de donnee DEMO<br />
<br />
<br />
<br />
se connecter en tant que gnuhealth :<br />
#su gnuhealth<br />
<br />
$ cd $HOME<br />
Telecharger la db :<br />
<br />
$ wget -O healthdemo.sql.gz http://health.gnu.org/downloads/postgres_dumps/gnuhealth-34-demo.sql.gz<br />
<br />
extraire l'archive :<br />
<br />
$gunzip gnuhealth-34-demo.sql.gz<br />
<br />
<br />
<br />
Creer une db vide:<br />
<br />
$ createdb healthdemo<br />
<br />
importer la db healthdemo du fichier vers cette db vide<br />
<br />
$ psql healthdemo < healthdemo.sql<br />
<br />
<br />
<br />
<br />
<br />
<br />
parametrage de connection a partir du client gnuhealth 3.4.1<br />
<br />
Database: healthdemo<br />
Username: admin<br />
Password: gnusolidario<br />
<br /></div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-71346587418992184952018-10-21T18:04:00.001-07:002018-10-21T18:04:55.548-07:00Odoo 12: migrate or not migrate that's the question ?<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
Étant intégrateur d'odoo depuis la version 4 (tiny Erp à l'époque), A chaque sortie d'une nouvelle version la question fatidique des clients : Faut il migrer ou non ? </div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
il faut prendre en considération plusieurs éléments pour répondre à ce dilemme </div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
1/ faut il oui ou non migrer l'historique des transactions ? c'est-à-dire les factures et les commandes,livraisons qui s'y rapportent ainsi que les écritures comptables ?</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
2/ Est ce qu'il y a des modules spécifiques à migrer, c'est-à-dire des modules développés sur mesure par un intégrateur partenaire ou non ?</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
3/ Est ce que la nouvelle version d'odoo est une migration majeure . ex entre le v8 et v10, où le v10 et v11 quand la version de python a changé ?</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
4/ Envisager les coûts lié au développement dans la version community de modules qui ont disparu et sont passés dans la version entreprise, ce qui est la tendance dans les dernières versions d'odoo traduisant un nouveau business modèle de l'éditeur </div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
5/ Il est toujours prudent de ne pas migrer rapidement vers une nouvelle version car la plupart des modules ne sont pas encore migrés vers cette dernière version(898 modules disponibles pour la v12 contre 5164 modules pour la v11) et aussi de nouveaux bugs peuvent encore apparaitre au fur et à mesure des tests de l'ensemble des fonctionnalités </div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
<br style="box-sizing: inherit;" /></div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
Conclusion : il faut bien étudier les coûts directs et indirects de la migration donnée de base, historique et modules spécifique en sachant que si vous etes satisfaits de la version stable avec laquelle vous travaillé actuellement et que vous utilisé la version communuty et que la plupart des nouveautés se trouvent dans la version entreprise, personne ne vous oblige à migrer.</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
<br style="box-sizing: inherit;" /></div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
abdrahman elkafil </div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
Consulatnt ERP certifié SAP (FI,CO et MM)</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
Intégrateur tinyerp,Openerp,Odoo depuis 2007</div>
<div style="background: 0px 0px rgb(255, 255, 255); border: 0px; box-sizing: inherit; color: rgba(0, 0, 0, 0.75); font-family: "Source Serif Pro", serif; font-size: 2rem; line-height: 3.2rem; margin-bottom: 3.2rem; margin-top: 3.2rem; outline: 0px; padding: 0px; vertical-align: baseline;">
elkafil@horiyasoft.com</div>
</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-14929466777564170062018-08-13T07:13:00.000-07:002019-05-25T05:15:22.878-07:00Comment installer odoo 11 sur un serveur UBUNTU 16.04 ?<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">Installation de Odoo ERP version 11 sur ubuntu 16.04</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">1: Mettre a jour le serveur</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get update</span></span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get upgrade</span></span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">2: Creer un user</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">Creer a system user qui vas demarrer Odoo . </span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">les fichiers source de odoo seront dans le repertoire /opt/odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo adduser --system --home=/opt/odoo --group odoo</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">3: Installer and Configurer PostgresQL </span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">Install PostgresQL:</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get install postgresql</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">se onnecter en tant qeu user Postgres</span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;"> :</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo su - postgres</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">Creer un utilisateur </span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">PostgreSQL</span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;"> pour la gestion des bases de donnees :</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">se deconnecter du role postgres pour continuer l'installation :</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">exit</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">4: Installer les dependences Odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">Installer pip 3:</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get install -y python3-pip</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd</span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">pip install PyPDF2</span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px; white-space: pre-wrap;">sudo apt-get install python-passlib
sudo apt-get install python-babel
sudo apt-get install python-werkzeug
sudo apt-get install python-lxml
sudo apt-get install python-decorator
sudo apt-get install python-dateutil
sudo apt-get install python-yaml
sudo apt-get install python-psycopg2
sudo pip3 install image
sudo pip install Pillow
sudo apt-get install python-imaging
sudo apt-get install psutil
sudo apt-get install python-requests</span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px; white-space: pre-wrap;">sudo apt-get install python-jinja2
sudo apt-get install python-reportlab
sudo apt-get install python-htmltext
sudo apt-get install python-docutils
sudo pip3 install num2words</span><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px; white-space: pre-wrap;">
</span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px; white-space: pre-wrap;">sudo pip3 install psycopg2-binary</span></span></pre>
<div>
<span style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px; white-space: pre-wrap;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
</div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Installer les dependences web :</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get install -y npm</span></span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo ln -s /usr/bin/nodejs /usr/bin/node</span></span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo npm install -g less less-plugin-clean-css</span></span></span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get install -y node-less</span></span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">Installer wkhtmltopdf</span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;"> pour la generation des rapports </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">PDF reports from Odoo. </span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">la version plus compatible est </span><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">wkhtmltopdf</span><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"> is 0.12.1</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Telecharger de </span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo wget </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">http://download.gna.org/wkhtmltopdf/0.12/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb</span></span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">ou de </span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo wget </span></span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb</span></span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Installer via la commande</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo ap-get install fontconfig</span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get -f install</span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Pour utiliser le bon package executer les deux commandes suivantes</span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14.6667px; margin: 0px; padding: 0px;"><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo cp /usr/local/bin/wkhtmltopdf /usr/bin</span></span><span style="border: 0px; box-sizing: border-box; font-size: 14px; margin: 0px; padding: 0px;">sudo cp /usr/local/bin/wkhtmltoimage /usr/bin</span></span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">5: Installer Gdata</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana"; font-size: 14.6667px;">cd /opt/odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">sudo wget https://pypi.python.org/packages/a8/70/bd554151443fe9e89d9a934a7891aaffc63b9cb5c7d608972919a002c03c/gdata-2.0.18.tar.gz</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">sudo tar zxvf gdata-2.0.18.tar.gz</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">sudo chown -R odoo: gdata-2.0.18</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">sudo -s</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">cd gdata-2.0.18/</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;">python setup.py install</span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";"><span style="font-size: 14.6667px;"><br /></span></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">6: Telecharger Odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Installer git</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo apt-get install git</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">Se connecter en tant que l'utilisateur odoo</span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo su - odoo -s /bin/bash</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">cloner odoo 11 sur votre serveur avec la commande </span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">git clone https://www.github.com/odoo/odoo --depth 1 --branch 11.0 --single-branch .</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">les source seront dans le repertoire /opt/odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">se deconnecter de l'utilisateur odoo et continuer l'installation</span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;">exit</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">6: Configurer Odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">creer le fichier log qui permet d'enregistrer les messages de odoo</span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo mkdir /var/log/odoo.log</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="color: #424242; font-family: "verdana";">donner les droits a l'utilisateur odoo sur ce fichier</span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo chown odoo:root /var/log/odoo.log</span></pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">7: Tester Odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; margin: 0px; padding: 0px;">Demarrer odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14.6667px; margin: 0px; padding: 0px;"><br style="border: 0px; box-sizing: border-box; margin: 0px; padding: 0px;" /></span></div>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;"><span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-size: 14px; margin: 0px; padding: 0px;">sudo su - odoo -s /bin/bash</span></pre>
<pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; overflow: auto; padding: 9.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;">python3 /opt/odoo/odoo-bin --addons-path=/opt/odoo/odoo/addons/</pre>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<span style="border: 0px; box-sizing: border-box; color: #424242; font-family: "verdana"; font-weight: bold; margin: 0px; padding: 0px;">10: Accesder Odoo</span></div>
<div dir="ltr" style="-webkit-font-smoothing: antialiased !important; border: 0px; box-sizing: border-box; color: black; font-family: Roboto, sans-serif !important; font-size: 14px; line-height: 1.4; margin-bottom: 0pt; margin-top: 0pt; padding: 0px; text-align: justify;">
<br /></div>
</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
ouvrir un browser chrome ou firefox et allez sur http://votreadresseip:8069</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
et commencer par creer votre base de donnee </div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
enjoy </div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
Sources:</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
https://www.getopenerp.com/install-odoo-11-on-ubuntu-16-04/</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
https://www.cybrosys.com/blog/how-install-odoo11-on-ubuntu</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
https://www.linode.com/docs/websites/cms/install-an-odoo-11-stack-on-ubuntu-16-04/</div>
<div class="col-md-12 col-sm-12 col-xs-12" style="background-color: white; border: 0px; box-sizing: border-box; float: left; margin: 0px; min-height: 1px; padding: 0px 15px; position: relative; width: 819px;">
<br /></div>
</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-7264696691443002702018-06-02T14:03:00.001-07:002018-06-02T14:03:45.552-07:00Configuration emails sortant Odoo 10<iframe allowfullscreen="" frameborder="0" height="270" src="https://www.youtube.com/embed/RNdOOJsUXkc" width="480"></iframe>abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com1tag:blogger.com,1999:blog-4941179379552315328.post-34401371776383570672018-05-25T15:59:00.001-07:002018-05-25T15:59:05.939-07:00Installation de Flectra 1.2 sur UBUNTU 16.04 server<div dir="ltr" style="text-align: left;" trbidi="on">
1/Ajouter l'user flectra:<br />
<br />
sudo adduser --system --quiet --shell=/bin/bash --home=/opt/flectra --gecos 'flectra' --group flectra<br />
<br />
2/ Creer les repertoires /etc/flectra et /var/log/flectra<br />
<br />
sudo mkdir /etc/flectra && sudo mkdir /var/log/flectra/<br />
<br />
3/ Installer les dependances :<br />
<br />
<br />
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install postgresql postgresql-server-dev-9.5 build-essential python3-pillow python3-lxml python-ldap3 python3-dev python3-pip python3-setuptools npm nodejs git gdebi libldap2-dev libsasl2-dev libxml2-dev libxslt1-dev libjpeg-dev -y<br />
<br />
4/ Telecharger la derniere version de flectra avec git<br />
<br />
git clone --depth=1 --branch=v1.2.0 https://gitlab.com/flectra-hq/flectra.git /opt/flectra/flectra<br />
<br />
5/ Donner les droits a l'utilisateur flectra et installation d'autres dependances<br />
<br />
<br />
sudo chown flectra:flectra /opt/flectra/ -R && sudo chown flectra:flectra /var/log/flectra/ -R && cd /opt/flectra/flectra && sudo pip3 install -r requirements.txt<br />
<br />
6/ Creation de plugin<br />
<br />
sudo npm install -g less less-plugin-clean-css -y && sudo ln -s /usr/bin/nodejs /usr/bin/node<br />
<br />
7/ Install de wkhtmltopdf<br />
<br />
cd /tmp && wget https://downloads.wkhtmltopdf.org/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb && sudo gdebi -n wkhtmltox-0.12.2.1_linux-trusty-amd64.deb && rm wkhtmltox-0.12.2.1_linux-trusty-amd64.deb<br />
<br />
sudo ln -s /usr/local/bin/wkhtmltopdf /usr/bin/ && sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin/<br />
<br />
8/ Installation de geolite<br />
<br />
wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz && sudo gunzip GeoLiteCity.dat.gz && sudo mkdir /usr/share/GeoIP/ && sudo mv GeoLiteCity.dat /usr/share/GeoIP/<br />
<br />
9/ Creer l'user de al base de donnee<br />
<br />
sudo su - postgres -c "createuser -s flectra"<br />
<br />
10/ Paramettrage des script de demarrage<br />
<br />
sudo su - flectra -c "/opt/flectra/flectra/flectra-bin --addons-path=/opt/flectra/flectra/addons -s --stop-after-init"<br />
<br />
sudo mv /opt/flectra/.flectrarc /etc/flectra/flectra.conf<br />
<br />
sudo sed -i "s,^\(logfile = \).*,\1"/var/log/flectra/flectra-server.log"," /etc/flectra/flectra.conf<br />
<br />
sudo sed -i "s,^\(logrotate = \).*,\1"True"," /etc/flectra/flectra.conf<br />
<br />
sudo sed -i "s,^\(proxy_mode = \).*,\1"True"," /etc/flectra/flectra.conf<br />
<br />
<br />
sudo cp /opt/flectra/flectra/debian/init /etc/init.d/flectra && sudo chmod +x /etc/init.d/flectra<br />
<br />
sudo ln -s /opt/flectra/flectra/flectra-bin /usr/bin/flectra<br />
<br />
<br />
sudo update-rc.d -f flectra defaults<br />
sudo service flectra start<br />
<br />
11/Connecter vous via<br />
<br />
http://adresseipduserveur:7073<br />
<br />
enjoy<br />
<br />
<br />
source :https://gitlab.com/flectra-hq/flectra/snippets/1694168</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-85909802858454254802017-12-12T06:25:00.000-08:002018-11-05T03:20:05.121-08:00Comment simuler une addresse ipdynamique avec no-ip ?<div dir="ltr" style="text-align: left;" trbidi="on">
1/ Allez sur https://www.noip.com/ et creer un compte en cliquant sur sign-up<br />
<br />
2/ Choisir une addresse avec .ddns.net ou hopto.org qui seras votre lien statique<br />
<br />
3/ Confirmer l'activation de votre compte no-ip dans en consultant votre addresse mail<br />
<br />
4/ Telecharger le client no-ip<br />
<br />
$sudo -s<br />
#cd /usr/local/src/<br />
#wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz<br />
#tar xf noip-duc-linux.tar.gz<br />
#cd noip-2.1.9-1<br />
<br />
#apt-get install make<br />
<br />
#apt-get install gcc<br />
<br />
#make install<br />
<br />
<br />
<br />
Please enter the login/email string for no-ip.com<br />
<br />
(donner l adresse email de votre compte no-ip)<br />
<br />
<br />
Please enter the password for user 'serveur10@horiyasoft.com'<br />
<br />
(donner le mot de passe de votre compte no-ip)<br />
<br />
Please enter an update interval:[30]<br />
<br />
(cliquer sur enter pour accepter la valeur par defaut )<br />
<br />
Do you wish to run something at successful update?[N] (y/N)<br />
<br />
(cliquer sur enter pour accepter la valeur par defaut)<br />
<br />
la notification 'New configuration file '/tmp/no-ip2.conf' created.' indique que loperation est ok<br />
<br />
5/ Configuratin pour lancer noip automatiquement a chaque demarrage<br />
<br />
sudo nano /etc/init.d/noip<br />
<br />
copier et coller le contenu<br />
<br />
#! /bin/sh<br />
#. /etc/rc.d/init.d/functions # uncomment/modify for your killproc<br />
case "$1" in<br />
start)<br />
echo "Starting noip2."<br />
<span style="white-space: pre;"> </span>if [ -f /usr/bin/noip2 ]; then<br />
<br />
<span style="white-space: pre;"> </span>/usr/bin/noip2<br />
<span style="white-space: pre;"> </span>echo "/usr/bin/noip2 started !"<br />
<br />
<span style="white-space: pre;"> </span>elif [ -f /usr/local/bin/noip2 ]; then<br />
<br />
<span style="white-space: pre;"> </span>/usr/local/bin/noip2<br />
<span style="white-space: pre;"> </span>echo "/usr/local/bin/noip2 started !"<br />
<br />
<span style="white-space: pre;"> </span>else<br />
<span style="white-space: pre;"> </span>echo "noip2 n'est pas installé !"<br />
<span style="white-space: pre;"> </span>fi<br />
;;<br />
stop)<br />
echo -n "Shutting down noip2."<br />
#killproc -TERM /usr/bin/noip2<br />
killall noip2<br />
;;<br />
*)<br />
echo "Usage: $0 {start|stop}"<br />
exit 1<br />
esac<br />
exit 0<br />
<br />
ctrlx et yes pour enregistrer le contenu du fichier /etc/init.d/noip<br />
<br />
<br />
5/ Donner les droits necessaire sur le fichier noip<br />
<br />
sudo chmod 755 /etc/init.d/noip<br />
<br />
<br />
6/ Créer les liens symboliques suivants :<br />
<br />
cd /etc/rc2.d<br />
sudo ln -s ../init.d/noip S97noip<br />
cd /etc/rc5.d<br />
sudo ln -s ../init.d/noip S97noip<br />
cd /etc/rc6.d<br />
sudo ln -s ../init.d/noip K90noip<br />
<br />
<br />
7/ Acceder a votre serveur via votrechoix.ddns.net<br />
<br />
that all</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-13550119689925142932017-12-06T03:47:00.000-08:002017-12-06T04:06:25.260-08:00Comment se connecter au serveur demo GNUHEALTH ?<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #444444; font-family: Arial, Helvetica, Sans;"><span style="font-size: large;">GNU Health est un progiciel dans le domaine de la santé dont les fonctionnalités couvrent le dossier médical du patient, le système d’information hospitalier et l’informatique médicale.</span></span><br />
<br />
<br />
<br />
<br />
1/ Telecharger le client<br />
<br />
http://downloads.tryton.org/4.2/<br />
<br />
<br />
telecharger tryton-last.exe pour les windowsiens<br />
<br />
et http://downloads.tryton.org/4.2/tryton-last.tar.gz pour les linuxiens<br />
<br />
allez ds le repertoire tryton-4.2.9/bin et lancer ./tryton (python2 ./tryton pour ceux qui ont python3 )<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOP1hyphenhyphenlTRhYdSC2Y2qZT6zfGmj0XzaQOzB9VSRikYduRHCIXm0MJ7F4EBa8G3lp27QF4KyFyvXyV1Pag-_aPf1H2XdCAvz04g3u9QsQwf9HeoEKaveLprS3FJxthHcKgZPwU9VizW1B8M/s1600/gnuhealth1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOP1hyphenhyphenlTRhYdSC2Y2qZT6zfGmj0XzaQOzB9VSRikYduRHCIXm0MJ7F4EBa8G3lp27QF4KyFyvXyV1Pag-_aPf1H2XdCAvz04g3u9QsQwf9HeoEKaveLprS3FJxthHcKgZPwU9VizW1B8M/s320/gnuhealth1.png" width="320" /></a></div>
<br />
cliquez sur gestionnaire de profils<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi869CcXxzRC1PLN8XfxuHK_qoF2vxoUFETv3DnuzH7gfA77fFGA0UZhqQXTsohbpXJ1cZFU5d9ukVnUCvFFxTCJPKoX2K4L3tWbtIpcGELYYS01lYTd4MgFstNW28mZgfkhq1X0o_gghQ/s1600/gnuhealth2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi869CcXxzRC1PLN8XfxuHK_qoF2vxoUFETv3DnuzH7gfA77fFGA0UZhqQXTsohbpXJ1cZFU5d9ukVnUCvFFxTCJPKoX2K4L3tWbtIpcGELYYS01lYTd4MgFstNW28mZgfkhq1X0o_gghQ/s320/gnuhealth2.png" width="320" /></a></div>
<br />
cliquez sur ajouter<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWK8goo7PNmz4tDsMO8v3sqWrT5EJ6ju7KQMLq-Y12lCn0Jp12QiyQKchnBsItx0MdceyVhFaB1o_FBQUC88F2RDXDoH6uz1x70OCbz_QijShZsA8uqOrvYRRu6BeOTaX4KW1J0WlpowU/s1600/gnuhealth3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWK8goo7PNmz4tDsMO8v3sqWrT5EJ6ju7KQMLq-Y12lCn0Jp12QiyQKchnBsItx0MdceyVhFaB1o_FBQUC88F2RDXDoH6uz1x70OCbz_QijShZsA8uqOrvYRRu6BeOTaX4KW1J0WlpowU/s320/gnuhealth3.png" width="320" /></a></div>
<br />
ajouter dans hote : health.gnusolidario.org<br />
<br />
base de donnee : health32<br />
<br />
et Nom d'utilisateur : admin<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb884UklKxx3dVXNEDB7ZJUfAongttt71Cl3_oPscDR29QDINgXyp2s9Y3qj94Ng_ULiJCbETgqfuM5IW3JwsS8H01Wi_U96krFGnRckXMEjqPCV9v1XTX9nqz0_zAGLyyBjXl3oaIQJo/s1600/gnuhealth4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb884UklKxx3dVXNEDB7ZJUfAongttt71Cl3_oPscDR29QDINgXyp2s9Y3qj94Ng_ULiJCbETgqfuM5IW3JwsS8H01Wi_U96krFGnRckXMEjqPCV9v1XTX9nqz0_zAGLyyBjXl3oaIQJo/s320/gnuhealth4.png" width="320" /></a></div>
<br />
cliquez sur 'connecter' et mot de passe: gnusolidario<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIS2N3Rev38odq-0nFn3SNq7KC3krFot7jBl7PqQzGxaVbyv-7kD9RIecHE5md2ncPE9UnRG0Xk_0piwBKzTKTcdezARQ5PC0W_txdfz1J8iF5tuwm0Zg8KVWPjtjefXJr4dixTucTc_k/s1600/gnuhealth6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIS2N3Rev38odq-0nFn3SNq7KC3krFot7jBl7PqQzGxaVbyv-7kD9RIecHE5md2ncPE9UnRG0Xk_0piwBKzTKTcdezARQ5PC0W_txdfz1J8iF5tuwm0Zg8KVWPjtjefXJr4dixTucTc_k/s320/gnuhealth6.png" width="320" /></a></div>
<br />
Pour changer la langue allez sur le mesu User et le sous menu preferences<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQh6CK9zCZfNFDR0uXoqMETZDL2LnOeEEIEdiwqkYUSkw0gk9_ObAuyhAX9O6R7Wugp92nvcMzpYvjuiCshEZ423Zx_iLUBx9PwfkzlS2rNX9H3BsqHkieipzt9FAt_pK-zhn6_bO7hds/s1600/gnuhealth8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQh6CK9zCZfNFDR0uXoqMETZDL2LnOeEEIEdiwqkYUSkw0gk9_ObAuyhAX9O6R7Wugp92nvcMzpYvjuiCshEZ423Zx_iLUBx9PwfkzlS2rNX9H3BsqHkieipzt9FAt_pK-zhn6_bO7hds/s320/gnuhealth8.png" width="320" /></a></div>
<br />
et choisir french comme langue<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwUIY6Y9GqRKb93K0tuO0Kt6lVKgznTW60M2VX1oYz1MpK-Cm0o1yC_ArCAUk9NdRfzsyJ_014hT1cyzMbgOiWbODyuKwo7gPjfKFiBvycC2KaE2LUKsDrKHG7Nz4aDoS9tQC7URLf9w8/s1600/gnuhealth9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwUIY6Y9GqRKb93K0tuO0Kt6lVKgznTW60M2VX1oYz1MpK-Cm0o1yC_ArCAUk9NdRfzsyJ_014hT1cyzMbgOiWbODyuKwo7gPjfKFiBvycC2KaE2LUKsDrKHG7Nz4aDoS9tQC7URLf9w8/s320/gnuhealth9.png" width="320" /></a></div>
si french n apparait pas vou spouvez l ajouter en allant sur le menu Administration - localization- languages et cochez le <br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OxJj_WyYMjj014VoN0YYOAmZj-_fywOm8bfBoJDLEG7vX19I1THP0XpDa_Uhyt0DtWzuq6izwf9mL6qvn5jIB1sijE1ZNW6QXugmDhwxw5q88vL_91FJe08NdGq3akwcoHvC8IdH7DA/s1600/gnuhealth10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2OxJj_WyYMjj014VoN0YYOAmZj-_fywOm8bfBoJDLEG7vX19I1THP0XpDa_Uhyt0DtWzuq6izwf9mL6qvn5jIB1sijE1ZNW6QXugmDhwxw5q88vL_91FJe08NdGq3akwcoHvC8IdH7DA/s320/gnuhealth10.png" width="320" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
allez sur le menu health </div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
that all</div>
<br /></div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-90407754177761633222017-07-03T00:47:00.002-07:002018-06-02T05:27:56.686-07:00Installation Gnuhealth sur Ubuntu 16.04<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="background-color: white; color: #444444; font-family: "arial" , "helvetica" , "sans"; font-size: 13px;">GNU Health est un progiciel dans le domaine de la santé dont les fonctionnalités couvrent le dossier médical du patient, le système d’information hospitalier et l’informatique médicale.</span><br />
<br />
0 verifier locale<br />
<br />
nano /etc/environment<br />
<br />
LC_ALL=fr_FR.UTF-8<br />
LANG=fr_FR.UTF-8<br />
LANGUAGE=fr_FR.UTF-8<br />
<br />
<br />
1/ Installer les dépendances de gnuhealth<br />
<br />
sudo -s<br />
<br />
#apt-get update <br />
<br />
<table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC8">
</td>
</tr>
<tr>
</tr>
</tbody></table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC9">#apt-get install build-essential python-dev python-pip libxml2-dev libxslt1-dev libldap2-dev libsasl2-dev python-ldap bsdtar python-imaging python2.7-cracklib postgresql postgresql-server-dev-all libjpeg-dev</td>
</tr>
<tr>
</tr>
</tbody></table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC10">
</td>
</tr>
<tr>
</tr>
</tbody></table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC11">#update-alternatives --install /usr/bin/python python /usr/bin/python3.5 10 </td>
</tr>
<tr>
</tr>
</tbody></table>
<table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC12">
</td>
</tr>
<tr>
</tr>
</tbody></table>
# apt install python3-pip <table class="highlight tab-size js-file-line-container" data-tab-size="8"><tbody>
<tr><td class="blob-code blob-code-inner js-file-line" id="file-installation_gnuhealth_ubuntu_1604-LC7"><br /></td>
</tr>
<tr>
</tr>
</tbody></table>
<br />
<br />
2/ créer l utilisateur gnuhealth<br />
<br />
#adduser gnuhealth<br />
<br />
3/ Verifier la methode d'authentication PostgreSQL<br />
<br />
chercher l'endroit du fichier pg_hba.conf<br />
<br />
<br />
avec la commande<br />
<br />
#su - postgres -c "psql -t -P format=unaligned -c 'show hba_file'"<br />
<br />
éditer le fichier en tant que postgres :<br />
#su postgres<br />
<br />
postgres@GNUHEALTHSERVER:/$nano /etc/postgresql/9.5/main/pg_hba.conf<br />
<br />
<br />
<br />
<br />
<br />
# DO NOT DISABLE!<br />
# If you change this first entry you will need to make sure that the<br />
# database superuser can access the database using some other method.<br />
# Noninteractive access to all databases is required during automatic<br />
# maintenance (custom daily cronjobs, replication, and similar tasks).<br />
#<br />
# Database administrative login by Unix domain socket<br />
local all postgres peer<br />
<br />
# TYPE DATABASE USER ADDRESS METHOD<br />
<br />
# "local" is for Unix domain socket connections only<br />
local all all peer<br />
# IPv4 local connections:<br />
host all all 127.0.0.1/32 md5<br />
# IPv6 local connections:<br />
host all all ::1/128 md5<br />
# Allow replication connections from localhost, by a user with the<br />
# replication privilege.<br />
#local replication postgres peer<br />
#host replication postgres 127.0.0.1/32 md5<br />
#host replication postgres ::1/128 md5<br />
<br />
<br />
<br />
remplacer par<br />
<br />
<br />
# DO NOT DISABLE!<br />
# If you change this first entry you will need to make sure that the<br />
# database superuser can access the database using some other method.<br />
# Noninteractive access to all databases is required during automatic<br />
# maintenance (custom daily cronjobs, replication, and similar tasks).<br />
#<br />
# Database administrative login by Unix domain socket<br />
local all postgres trust<br />
<br />
# TYPE DATABASE USER ADDRESS METHOD<br />
<br />
# "local" is for Unix domain socket connections only<br />
local all all trust<br />
# IPv4 local connections:<br />
host all all 127.0.0.1/32 trust<br />
# IPv6 local connections:<br />
host all all ::1/128 trust<br />
# Allow replication connections from localhost, by a user with the<br />
# replication privilege.<br />
#local replication postgres peer<br />
#host replication postgres 127.0.0.1/32 md5<br />
#host replication postgres ::1/128 md5<br />
<br />
<br />
et le fichier postgresql.conf<br />
<br />
nano /etc/postgresql/9.3/main/postgresql.conf<br />
<br />
remplacer<br />
<br />
listen_addresses = 'localhost'<br />
<br />
par<br />
<br />
listen_addresses = '*' <br />
<br />
<br />
4/créer l'utilisateur de la base de donnée :<br />
<br />
en tant que root<br />
<br />
#su - postgres -c "createuser --createdb --no-createrole --no-superuser gnuhealth"<br />
<br />
5/ Télécharger et installer gnuhealth en tant que utilisateur gnuhealth<br />
<br />
#su - gnuhealth<br />
<br />
gnuhealth@GNUHEALTHSERVER:~$cd $HOME<br />
<br />
gnuhealth@GNUHEALTHSERVER:~$wget https://ftp.gnu.org/gnu/health/gnuhealth-latest.tar.gz<br />
<br />
<br />
6/ décompresser l'archive<br />
<br />
tar xvf gnuhealth-latest.tar.gz<br />
<br />
gnuhealth@GNUHEALTHSERVER:~/$cd gnuhealth-3.0.8/<br />
<br />
<br />
gnuhealth@GNUHEALTHSERVER:~/gnuhealth-3.0.8 $./gnuhealth-setup install<br />
<br />
gnuhealth@GNUHEALTHSERVER:~/gnuhealth-3.0.8 $source "$HOME"/.gnuhealthrc<br />
<br />
7/Activater Network Devices pour JSON-RPC Protocol<br />
<br />
<br />
editer le fichier trytond.conf<br />
<br />
root@GNUHEALTHSERVER:#nano /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf<br />
<br />
ajouter<br />
<br />
[jsonrpc]<br />
listen = *:8000<br />
<br />
la gestion des attachments est déja définit ici:<br />
<br />
[database]<br />
uri = postgresql://localhost:5432<br />
path = /home/gnuhealth/attach<br />
<br />
8/ Démarrer gnuhealth<br />
<br />
se positionner dans le répertoire avec l alias cdexe en tant que gnuhealth<br />
<br />
#su - gnuhealth<br />
<br />
gnuhealth@GNUHEALTHSERVER:$cdexe<br />
<br />
creer une base de donnee ex HEALTHDB :<br />
<br />
createdb HEALTHDEMO --encoding=unicode --locale=C --template=template0<br />
<br />
Definier le mot de passe admin :<br />
<br />
./trytond-admin --all --database=HEALTHDEMO <br />
<br />
et démarrer avec la commande<br />
<br />
gnuhealth@GNUHEALTHSRV:~/gnuhealth/tryton/server/trytond-3.8.12/bin $./trytond --verbose<br />
<br />
controler la langue<br />
<br />
wget https://ftp.gnu.org/gnu/health/gnuhealth-control-latest.tar.gz<br />
<br />
tar xvf gnuhealth-control-latest.tar.gz<br />
<br />
su gnuhealth<br />
<br />
mettre a jour de langue fr<br />
<br />
<br />
./gnuhealth-control getlang fr_FR<br />
<br />
Tester le serveur en installant le client sur une autre machine <br />
<br />
<br />
Installation du client tryton<br />
<br />
Installer les dependances<br />
<br />
#pip2 install --user python-dateutil<br />
<br />
<br />
wget http://downloads.tryton.org/3.8/tryton-3.8.12.tar.gz<br />
<br />
tar xvf tryton-3.8.12.tar.gz<br />
<br />
cd tryton-3.8.12/bin<br />
<br />
source : https://en.wikibooks.org/wiki/GNU_Health/Installation</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com3tag:blogger.com,1999:blog-4941179379552315328.post-36175909471349070832017-06-05T10:59:00.000-07:002017-06-05T10:59:10.594-07:00Installation de Open Broadcaster Software OBS sur ubuntu 16.04<div dir="ltr" style="text-align: left;" trbidi="on">
<pre class="tw-data-text tw-ta tw-text-small" data-fulltext="" data-placeholder="Traduction" dir="ltr" id="tw-target-text" style="background-color: white; border: none; color: #212121; font-family: inherit; font-size: 16px !important; height: 240px; line-height: 24px !important; overflow: hidden; padding: 0px 0.14em 0px 0px; position: relative; resize: none; unicode-bidi: isolate; white-space: pre-wrap; width: 276px; word-wrap: break-word;"><span lang="fr">Open Broadcaster Software est un outil </span>gratuit et open source pour la diffusion en direct et l'enregistrement vidéo. Il est disponible sous Windows, Mac ou Linux. Il offre en temps réel une capture audio et une capture vidéo avec des scènes illimitées. En utilisant ce logiciel, vous pouvez facilement diffuser votre bureau, votre webcam ou toute autre source</pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbIDoMjIFFE9p8NddDi3nVRuQt8IChTK5fUy4yy2TGDzSEnUmxA10mpoElIVTir-edA1TK4e9Vq8xAyNahTFfVJqnc2FTrOMHuecr7I6x74l8VHotXinfrP_49Chr10KxI8_6GIaRPAXk/s1600/obs.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="413" data-original-width="768" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbIDoMjIFFE9p8NddDi3nVRuQt8IChTK5fUy4yy2TGDzSEnUmxA10mpoElIVTir-edA1TK4e9Vq8xAyNahTFfVJqnc2FTrOMHuecr7I6x74l8VHotXinfrP_49Chr10KxI8_6GIaRPAXk/s320/obs.jpg" width="320" /></a></div>
<pre class="tw-data-text tw-ta tw-text-small" data-fulltext="" data-placeholder="Traduction" dir="ltr" id="tw-target-text" style="background-color: white; border: none; color: #212121; font-family: inherit; font-size: 16px !important; height: 240px; line-height: 24px !important; overflow: hidden; padding: 0px 0.14em 0px 0px; position: relative; resize: none; unicode-bidi: isolate; white-space: pre-wrap; width: 276px; word-wrap: break-word;">1 sudo apt install mesa-utils</pre>
<pre class="tw-data-text tw-ta tw-text-small" data-fulltext="" data-placeholder="Traduction" dir="ltr" id="tw-target-text" style="background-color: white; border: none; color: #212121; font-family: inherit; font-size: 16px !important; height: 240px; line-height: 24px !important; overflow: hidden; padding: 0px 0.14em 0px 0px; position: relative; resize: none; unicode-bidi: isolate; white-space: pre-wrap; width: 276px; word-wrap: break-word;">2 sudo apt-get install ffmpeg</pre>
<pre class="tw-data-text tw-ta tw-text-small" data-fulltext="" data-placeholder="Traduction" dir="ltr" id="tw-target-text" style="background-color: white; border: none; color: #212121; font-family: inherit; font-size: 16px !important; height: 240px; line-height: 24px !important; overflow: hidden; padding: 0px 0.14em 0px 0px; position: relative; resize: none; unicode-bidi: isolate; white-space: pre-wrap; width: 276px; word-wrap: break-word;">3 sudo apt-get install software-properties-common</pre>
<div>
<br /></div>
<div>
<br /></div>
<div>
4 sudo add-apt-repository ppa:obsproject/obs-studio</div>
<div>
<br /></div>
<div>
5 sudo apt-get update</div>
<div>
<br /></div>
<div>
6 sudo apt-get install obs-studio</div>
<div>
<br /></div>
<div>
lancer le logiciel obs avec </div>
<div>
<br /></div>
<div>
7 obs</div>
<div>
<br /></div>
<div>
enjoy </div>
</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-938451785823149462017-01-12T13:39:00.004-08:002018-01-06T08:06:53.269-08:00Comment installer Odoo 10 CE (Community Edition ) sur ubuntu 16.04 <div dir="ltr" style="text-align: left;" trbidi="on">
Installer ODOO 10 sur ubuntu 16.04 server<br />
<br />
<b>1/Mettre à jour les dépôts</b><br />
<br />
se connecter avec l 'utilisateur root<br />
sudo -s<br />
<br />
#apt-get update<br />
<br />
<b>2/ Installer les dépendances python pour odoo</b><br />
<br />
#apt-get install python-dateutil python-docutils python-feedparser python-jinja2 python-ldap python-libxslt1 python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi poppler-utils python-pip python-pypdf python-passlib python-decorator gcc python-dev mc bzr python-setuptools python-markupsafe python-reportlab-accel python-zsi python-yaml python-argparse python-openssl python-egenix-mxdatetime python-usb python-serial lptools make python-pydot python-psutil python-paramiko poppler-utils python-pdftools antiword python-requests python-xlsxwriter python-suds python-psycogreen python-ofxparse python-gevent<br />
<span style="background-color: #eff0f1; color: #242729; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px; white-space: pre-wrap;"><br /></span>
<span style="background-color: #eff0f1; color: #242729; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px; white-space: pre-wrap;">#</span><span style="background-color: #eff0f1; color: #242729; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px; white-space: pre-wrap;"> </span><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px;">apt-get install python-pypdf2</span><br />
<span style="background-color: #eff0f1; color: #242729; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px; white-space: pre-wrap;"><br /></span>
<span style="background-color: #eff0f1; color: #242729; font-family: "consolas" , "menlo" , "monaco" , "lucida console" , "liberation mono" , "dejavu sans mono" , "bitstream vera sans mono" , "courier new" , monospace , sans-serif; font-size: 13px; white-space: pre-wrap;">#pip install html2text</span><br />
<br />
<br />
<b>3/Installation des dependances web odoo</b><br />
<br />
<br />
#apt-get install -y npm<br />
#ln -s /usr/bin/nodejs /usr/bin/node<br />
#npm install -g less less-plugin-clean-css<br />
<br />
<br />
<br />
<b>3/ Créer l'utilisateur odoo</b><br />
<br />
sudo adduser --system --quiet --shell=/bin/bash --home=/opt/odoo --gecos 'odoo' --group odoo<br />
<br />
<b>4/ Installer postgresql</b><br />
<b><br /></b>
<b>4.1 / </b>verifier l encodage avec la commande<br />
#locale<br />
<br />
si tous les parametres =fr_FR.UTF-8<br />
c'est ok si non<br />
<br />
editer le fichier environnement<br />
<br />
#nano /etc/environment<br />
<br />
et ajouter<br />
<br />
LC_ALL=fr_FR.UTF-8<br />
LANG=fr_FR.UTF-8<br />
LANGUAGE=fr_FR.UTF-8<br />
<br />
<pre class="lang-sql prettyprint prettyprinted" style="background-color: #eff0f1; border: 0px; color: #393318; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-size: 13px; font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin-bottom: 1em; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto; word-wrap: normal;"><code style="border: 0px; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; white-space: inherit;"><span class="pun" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">$</span><span class="pln" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> locale-gen fr_FR fr_FR</span><span class="pun" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">.</span><span class="pln" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">UTF-8
</span><span class="pun" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">$</span><span class="pln" style="border: 0px; color: #303336; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> dpkg-reconfigure locales</span></code></pre>
<br />
redemmarer le serveur<br />
<br />
#reboot<br />
<br />
Installer postgresql<br />
<br />
<br />
#apt-get install postgresql<br />
<br />
<br />
<b>5/ créer l'user de la db</b><br />
<br />
#su - postgres -c "createuser -s odoo" 2> /dev/null || true<br />
<br />
<b>6/ créer le fichier log</b><br />
<br />
<br />
#touch /var/log/odoo.log<br />
#chown -R odoo /var/log/odoo.log<br />
<br />
<b>7/ Installer gdata</b><br />
<br />
#cd /opt/odoo<br />
<br />
Telecharger gdate<br />
<br />
#wget https://pypi.python.org/packages/a8/70/bd554151443fe9e89d9a934a7891aaffc63b9cb5c7d608972919a002c03c/gdata-2.0.18.tar.gz<br />
<br />
decompresser<br />
<br />
#tar zxvf gdata-2.0.18.tar.gz<br />
<br />
#chown -R odoo: gdata-2.0.18<br />
<br />
#cd gdata-2.0.18<br />
<br />
Installer<br />
<br />
#python setup.py install<br />
<br />
<b>8/Install wkhtmltopdf</b><br />
<b><br /></b>
<b>Telecharger</b><br />
<br />
#wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.1/wkhtmltox-0.12.1_linux-trusty-amd64.deb<br />
<br />
Installler<br />
<br />
#dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb<br />
<br />
#cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage<br />
<br />
#cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf<br />
<br />
<br />
<b>9/ Télécharger la derniére version 10 community sur github</b><br />
<br />
cd /opt/odoo<br />
<br />
#<span style="background-color: white; color: #666c75; font-family: sans-serif; font-size: 14px;">git clone https://www.github.com/odoo/odoo --branch 10.0</span><br />
<br />
<br />
<br />
#wget https://nightly.odoo.com/10.0/nightly/src/odoo_10.0.latest.tar.gz<br />
<br />
decompresser<br />
<br />
#tar xvf odoo_10.0.latest.tar.gz<br />
<br />
Ajouter le fichier de demarrage odoo-bin<br />
<br />
#cd odoo-10.0.post20180106<br />
<br />
#nano odoo-bin<br />
<br />
contenu du fichier odoo-bin a coller<br />
<br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>#!/usr/bin/env python3</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><br /></b></span>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b># set server timezone in UTC before time module imported</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>__import__('os').environ['TZ'] = 'UTC'</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>import odoo</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><br /></b></span>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>if __name__ == "__main__":</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b> odoo.cli.main()</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><br /></b></span>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>Sauvergarder avec ctrl x</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><br /></b></span>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b>10/ Donner les droits d acces sur le fichier odoo-bin</b></span><br />
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;"><b><br /></b></span>
<span style="font-family: Helvetica Neue, Arial, Helvetica, sans-serif;">#chmod 777 odoo-bin</span><br />
<div>
<br /></div>
<br />
<b>10/ lancer odoo 10 CE en vous connectant avec l'utilisateur odoo</b><br />
<br />
#su odoo<br />
<br />
~/odoo$ ./odoo-bin --addons-path=/opt/odoo/odoo/odoo/addons<br />
<br />
<br />
<i>Enjoy<br /><br />pour plus d'infos info@horiyasoft.com </i></div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0tag:blogger.com,1999:blog-4941179379552315328.post-67314323664658444522016-12-08T01:40:00.001-08:002018-10-12T03:55:16.996-07:00Comment activer l'accès à distance au serveur de base de données PostgreSQL?<div dir="ltr" style="text-align: left;" trbidi="on">
Par défaut, l'accès à distance du serveur de base de données PostgreSQL est désactivé pour des raisons de sécurité. cependant vous avez besoin d'administrer votre base de donnée a distance procédure :<br />
<br />
1/ connecter vous au serveur avec l 'utilisateur root<br />
<br />
ssh root@addresseipduserveur<br />
<br />
2/ Editer le fichier pg_hba.conf(9.5 ou la version de votre version de postgresql)<br />
<br />
nano /etc/postgresql/9.5/main/pg_hba.conf<br />
<br />
changer<br />
<br />
# IPv4 local connections:<br />
<br />
host all all 127.0.0.1/32 md5<br />
<br />
par<br />
<br />
# IPv4 local connections:<br />
<br />
<strong style="background-color: white; border: 0px; box-sizing: inherit; color: #242729; font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; font-size: 15px; font-stretch: inherit; font-variant-east-asian: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">host all all 0.0.0.0/0 md5</strong><br />
<br />
3/ Editer le fichier postgresl.conf<br />
<br />
nano /etc/postgresql/9.5/main/postgresql.conf<br />
<br />
changer <br />
<br />
#listen_addresses = 'localhost'<br />
<br />
en <br />
<br />
listen_addresses = '*'<br />
<br />
sauvegarder<br />
<br />
redemarrer postgresql avec la commande<br />
<br />
#/etc/init.d/postgresql restart<br />
<br />
ex se connecter sur un serveur odoo<br />
<br />
se connecter en temps que postgres<br />
<br />
#<span style="background-color: whitesmoke; color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 13px; white-space: pre-wrap;">sudo su postgres</span><br />
<span style="background-color: whitesmoke; color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 13px; white-space: pre-wrap;"><br /></span>
<span style="background-color: whitesmoke; font-size: 13px; white-space: pre-wrap;"><span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;">postgres@server$</span></span>psql template1<br />
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;"> </span></span>template1=#</div>
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;">donner par ex le mot de passe openerp a l utilisateur odoo</span></span></div>
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;"><br /></span></span></div>
<div>
<span style="color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace;"><span style="font-size: 13px; white-space: pre-wrap;"> </span></span>template1=#<span style="background-color: whitesmoke; color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 13px; white-space: pre-wrap;">alter role odoo with password 'openerp';</span></div>
<div>
<span style="background-color: whitesmoke; color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div>
<div>
<span style="background-color: whitesmoke; color: #333333; font-family: "menlo" , "monaco" , "consolas" , "courier new" , monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div>
et connecter vous à distance à votre base de donnée avec pgadmin<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy344J7zBEJ2QPchb3zxr08w6XUhGuT0VWvZcjnuLNZUOql2AbmMDpTm5ir0U9AuevwSmj2lHnsODQ5SDVb0RdlqXQGF7WqMzWV5hd7dJgT-LczDeWQPatwQsJBQzKv7FTEGkRp1wk9Fg/s1600/connect1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjy344J7zBEJ2QPchb3zxr08w6XUhGuT0VWvZcjnuLNZUOql2AbmMDpTm5ir0U9AuevwSmj2lHnsODQ5SDVb0RdlqXQGF7WqMzWV5hd7dJgT-LczDeWQPatwQsJBQzKv7FTEGkRp1wk9Fg/s640/connect1.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNW_Cr9_uuo6OIx-d-v4MCgz4qQ3Q77hYqJbjN0rR3dnWvBw4BOuP2G8D-DwFAk9_q0AU1rNGhsqxUjZwnvvFM2fa3heXu-V-HyKCldD77S_pm0dGQBP_-0VXNvYO5-mNqLroWaKUu9bU/s1600/connect2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNW_Cr9_uuo6OIx-d-v4MCgz4qQ3Q77hYqJbjN0rR3dnWvBw4BOuP2G8D-DwFAk9_q0AU1rNGhsqxUjZwnvvFM2fa3heXu-V-HyKCldD77S_pm0dGQBP_-0VXNvYO5-mNqLroWaKUu9bU/s640/connect2.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOmAAyWPSZzh7_Xn1mTBKHV1UHdIVX68u0VlIHnnRbm9zC1cBCY_eKnb8oylTJmc60D_0V_et4ap87YOiSu7HZKETYEM39bsIU2EHmN-iZzThkSU0u73GEpkdkCe6WJCRb0tLWA4eRyg/s1600/connect3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCOmAAyWPSZzh7_Xn1mTBKHV1UHdIVX68u0VlIHnnRbm9zC1cBCY_eKnb8oylTJmc60D_0V_et4ap87YOiSu7HZKETYEM39bsIU2EHmN-iZzThkSU0u73GEpkdkCe6WJCRb0tLWA4eRyg/s640/connect3.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhdFZx_gXVkVGQXhOUQnPFSoY2B4q22mhES5SK8P8eZDNCD89j8DNN4VxrmSS7Mp-TsAfBl5R31y0LdoGCpjbRi2wi37qPdVwazAypMQ_8PB-dAePA5eudPyRujV-rIwP166vzbOWUtD4/s1600/connect5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhdFZx_gXVkVGQXhOUQnPFSoY2B4q22mhES5SK8P8eZDNCD89j8DNN4VxrmSS7Mp-TsAfBl5R31y0LdoGCpjbRi2wi37qPdVwazAypMQ_8PB-dAePA5eudPyRujV-rIwP166vzbOWUtD4/s640/connect5.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi23ZDS2yyz4V4TKTsY13FQscA7k7nZjl2IHBgim3DuCw9NvS3XJdYAgpO7aFRmxMyTcpn3HcBUPLuAXm-Q_tYqHBFhtovPxYK1mCsXPfRmBMTciAEi7dI4euV4lcnMx3dM6dQ-8OfyKcM/s1600/connect6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi23ZDS2yyz4V4TKTsY13FQscA7k7nZjl2IHBgim3DuCw9NvS3XJdYAgpO7aFRmxMyTcpn3HcBUPLuAXm-Q_tYqHBFhtovPxYK1mCsXPfRmBMTciAEi7dI4euV4lcnMx3dM6dQ-8OfyKcM/s640/connect6.png" width="640" /></a></div>
<br />
<br />
enjoy</div>
abdrahman elkafilhttp://www.blogger.com/profile/02237428222351858516noreply@blogger.com0