~mga/openerp-india/openerpbook

« back to all changes in this revision

Viewing changes to build/html/install/02/index.html

  • Committer: Mantavya Gajjar
  • Date: 2014-03-28 12:22:54 UTC
  • Revision ID: mga@tinyerp.com-20140328122254-bh9qa0anqhraa5af
[ADD]: add new pages and rebuild

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
 
 
3
 
 
4
<html xmlns="http://www.w3.org/1999/xhtml">
 
5
  <head>
 
6
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
7
    
 
8
    <title>Install OpenERP on Ubuntu or Debian Linux &mdash; OpenERP Book 8.0 documentation</title>
 
9
    
 
10
    <link rel="stylesheet" href="../../_static/basic.css" type="text/css" />
 
11
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
 
12
    <link rel="stylesheet" href="../../_static/bootswatch-3.1.0/flatly/bootstrap.min.css" type="text/css" />
 
13
    <link rel="stylesheet" href="../../_static/bootstrap-sphinx.css" type="text/css" />
 
14
    
 
15
    <script type="text/javascript">
 
16
      var DOCUMENTATION_OPTIONS = {
 
17
        URL_ROOT:    '../../',
 
18
        VERSION:     '8.0',
 
19
        COLLAPSE_INDEX: false,
 
20
        FILE_SUFFIX: '.html',
 
21
        HAS_SOURCE:  true
 
22
      };
 
23
    </script>
 
24
    <script type="text/javascript" src="../../_static/jquery.js"></script>
 
25
    <script type="text/javascript" src="../../_static/underscore.js"></script>
 
26
    <script type="text/javascript" src="../../_static/doctools.js"></script>
 
27
    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
 
28
    <script type="text/javascript" src="../../_static/js/jquery-1.11.0.min.js"></script>
 
29
    <script type="text/javascript" src="../../_static/js/jquery-fix.js"></script>
 
30
    <script type="text/javascript" src="../../_static/bootstrap-3.1.0/js/bootstrap.min.js"></script>
 
31
    <script type="text/javascript" src="../../_static/bootstrap-sphinx.js"></script>
 
32
    <link rel="top" title="OpenERP Book 8.0 documentation" href="../../index.html" />
 
33
    <link rel="up" title="Installation on Windows, Linux and MacOS" href="../index.html" />
 
34
    <link rel="next" title="Install OpenERP on Fedora, CentOS" href="../03/index.html" />
 
35
    <link rel="prev" title="Install OpenERP on Windows 7 or 8 or Server 2008" href="../01/index.html" />
 
36
 
 
37
<meta charset='utf-8'>
 
38
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
 
39
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>
 
40
<meta name="apple-mobile-web-app-capable" content="yes">
 
41
 
 
42
<script type="text/javascript">
 
43
  var _gaq = _gaq || [];
 
44
  _gaq.push(['_setAccount', 'UA-47926740-1']);
 
45
  _gaq.push(['_trackPageview']);
 
46
</script>
 
47
 
 
48
<meta name="google-translate-customization" content="1a9f16396f329347-27b519b501ddf27d-gbee5ada102d015d0-f"></meta>
 
49
 
 
50
<!-- AddThis Smart Layers BEGIN -->
 
51
<!-- Go to http://www.addthis.com/get/smart-layers to customize -->
 
52
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-530c64087def677e"></script>
 
53
<script type="text/javascript">
 
54
  addthis.layers({
 
55
    'theme' : 'transparent',
 
56
    'share' : {
 
57
      'position' : 'left',
 
58
      'numPreferredServices' : 5
 
59
    }   
 
60
  });
 
61
</script>
 
62
<!-- AddThis Smart Layers END -->
 
63
 
 
64
 
 
65
  </head>
 
66
  <body>
 
67
 
 
68
  <div id="navbar" class="navbar navbar-default navbar-fixed-top">
 
69
    <div class="container">
 
70
      <div class="navbar-header">
 
71
        <!-- .btn-navbar is used as the toggle for collapsed navbar content -->
 
72
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".nav-collapse">
 
73
          <span class="icon-bar"></span>
 
74
          <span class="icon-bar"></span>
 
75
          <span class="icon-bar"></span>
 
76
        </button>
 
77
        <a class="navbar-brand" href="../../index.html">
 
78
          OpenERP Book</a>
 
79
        <span class="navbar-text navbar-version pull-left"><b>8.0</b></span>
 
80
      </div>
 
81
 
 
82
        <div class="collapse navbar-collapse nav-collapse">
 
83
          <ul class="nav navbar-nav">
 
84
            <li class="divider-vertical"></li>
 
85
            
 
86
            
 
87
              <li class="dropdown globaltoc-container">
 
88
  <a role="button"
 
89
     id="dLabelGlobalToc"
 
90
     data-toggle="dropdown"
 
91
     data-target="#"
 
92
     href="../../index.html">Site <b class="caret"></b></a>
 
93
  <ul class="dropdown-menu globaltoc"
 
94
      role="menu"
 
95
      aria-labelledby="dLabelGlobalToc"><ul class="current">
 
96
<li class="toctree-l1"><a class="reference internal" href="../../about/index.html">About OpenERP Online Book !</a></li>
 
97
<li class="toctree-l1"><a class="reference internal" href="../../download/index.html">Looking for OpenERP Demo ?</a></li>
 
98
<li class="toctree-l1 current"><a class="reference internal" href="../index.html">Installation on Windows, Linux and MacOS</a></li>
 
99
<li class="toctree-l1"><a class="reference internal" href="../../part01/index.html">Getting start with OpenERP</a></li>
 
100
<li class="toctree-l1"><a class="reference internal" href="../../install-apps/index.html">Install and configure OpenERP Apps</a></li>
 
101
<li class="toctree-l1"><a class="reference internal" href="../../part03/index.html">Setup your First Company in OpenERP</a></li>
 
102
<li class="toctree-l1"><a class="reference internal" href="../../part02/index.html">Leads to Cash Flow with OpenERP</a></li>
 
103
</ul>
 
104
<ul>
 
105
<li class="toctree-l1"><a class="reference internal" href="../../crm_sale/index.html">Boost your Sales</a></li>
 
106
</ul>
 
107
<ul>
 
108
<li class="toctree-l1"><a class="reference internal" href="../../part04/index.html">Key Features HR</a></li>
 
109
</ul>
 
110
<ul>
 
111
<li class="toctree-l1"><a class="reference internal" href="../../prod-setup/index.html">Deploy OpenERP in Production</a></li>
 
112
<li class="toctree-l1"><a class="reference internal" href="../../backup/index.html">OpenERP Backup and Restore</a></li>
 
113
</ul>
 
114
</ul>
 
115
</li>
 
116
              
 
117
                <li class="dropdown">
 
118
  <a role="button"
 
119
     id="dLabelLocalToc"
 
120
     data-toggle="dropdown"
 
121
     data-target="#"
 
122
     href="#">Page <b class="caret"></b></a>
 
123
  <ul class="dropdown-menu localtoc"
 
124
      role="menu"
 
125
      aria-labelledby="dLabelLocalToc"><ul>
 
126
<li><a class="reference internal" href="#">Install OpenERP on Ubuntu or Debian Linux</a><ul>
 
127
<li><a class="reference internal" href="#install-postgresql">Install PostgreSQL</a></li>
 
128
<li><a class="reference internal" href="#install-openerp-server">Install OpenERP Server</a></li>
 
129
<li><a class="reference internal" href="#setup-production-environment">Setup Production Environment</a></li>
 
130
</ul>
 
131
</li>
 
132
</ul>
 
133
</ul>
 
134
</li>
 
135
              
 
136
            
 
137
            
 
138
              
 
139
  <li>
 
140
    <a href="../01/index.html" title="Previous Chapter: Install OpenERP on Windows 7 or 8 or Server 2008"><span class="glyphicon glyphicon-chevron-left visible-sm"></span><span class="hidden-sm">&laquo; Install OpenERP ...</span>
 
141
    </a>
 
142
  </li>
 
143
  <li>
 
144
    <a href="../03/index.html" title="Next Chapter: Install OpenERP on Fedora, CentOS"><span class="glyphicon glyphicon-chevron-right visible-sm"></span><span class="hidden-sm">Install OpenERP ... &raquo;</span>
 
145
    </a>
 
146
  </li>
 
147
            
 
148
            
 
149
            
 
150
            
 
151
              <li class="hidden-sm"></li>
 
152
            
 
153
          </ul>
 
154
 
 
155
          
 
156
    
 
157
<form class="navbar-form navbar-right" action="../../search.html" method="get">
 
158
 <div class="form-group">
 
159
  <input type="text" name="q" class="form-control" placeholder="Search" />
 
160
 </div>
 
161
  <input type="hidden" name="check_keywords" value="yes" />
 
162
  <input type="hidden" name="area" value="default" />
 
163
</form>
 
164
 
 
165
        </div>
 
166
    </div>
 
167
  </div>
 
168
 
 
169
<div class="container">
 
170
  <div class="row">
 
171
    <div class="col-md-12">
 
172
 
 
173
                
 
174
        
 
175
      
 
176
  <span class="target" id="install-ubuntu"></span><div class="section" id="install-openerp-on-ubuntu-or-debian-linux">
 
177
<span id="index-0"></span><h1>Install OpenERP on Ubuntu or Debian Linux<a class="headerlink" href="#install-openerp-on-ubuntu-or-debian-linux" title="Permalink to this headline">¶</a></h1>
 
178
<p>Once you install Ubuntu server or desktop based client, you need to install few libraries that is required to run OpenERP.</p>
 
179
<div class="section" id="install-postgresql">
 
180
<h2>Install PostgreSQL<a class="headerlink" href="#install-postgresql" title="Permalink to this headline">¶</a></h2>
 
181
<p>You need to install PostgreSQL database as OpenERP is using as a backend storage, you need to install and configure before you setup additional libraries and OpenERP server.</p>
 
182
<div class="highlight-bash"><div class="highlight"><pre>openerp@openerp-desktop:/<span class="nv">$ </span>sudo apt-get install postgresql
 
183
</pre></div>
 
184
</div>
 
185
<p>Configure postgresql for OpenERP user. You need to add your current user as a postgres user which you have created under Ubuntu and you are using the same user to run OpenERP server. Inorder to add  role to postgresql switch to postgres user.</p>
 
186
<div class="highlight-bash"><div class="highlight"><pre>openerp@openerp-desktop:/<span class="nv">$ </span>sudo su postgres
 
187
password: XXXXXXXXXX
 
188
</pre></div>
 
189
</div>
 
190
<p>Create a new user using following command, in my case I have created openerp as a linux user.</p>
 
191
<div class="highlight-bash"><div class="highlight"><pre>postgres@openerp-desktop:/<span class="nv">$ </span>createuser openerp
 
192
Shall the new role be a superuser? <span class="o">(</span>y/n<span class="o">)</span> y
 
193
</pre></div>
 
194
</div>
 
195
<p><a class="reference internal" href="../00/index.html#pgadmin3"><em>Install and configure PgAdmin3</em></a> if you want to use graphical user interface for PostgreSQL.</p>
 
196
</div>
 
197
<div class="section" id="install-openerp-server">
 
198
<h2>Install OpenERP Server<a class="headerlink" href="#install-openerp-server" title="Permalink to this headline">¶</a></h2>
 
199
<p>If you plan to use OpenERP 6.1 or above you need Python 2.6 or later version, simple like OpenERP&#8217;s Versions policy its better to use the Ubuntu&#8217;s last stable or LTS version for the Production Server.
 
200
On a Ubuntu or and Debian based Linux distribution you can install all required dependencies with this single command:</p>
 
201
<div class="highlight-bash"><div class="highlight"><pre>sudo apt-get install python-dateutil python-feedparser <span class="se">\</span>
 
202
        python-gdata python-ldap python-libxslt1 python-lxml python-mako <span class="se">\</span>
 
203
        python-openid python-psycopg2 python-pybabel python-pychart <span class="se">\</span>
 
204
        python-pydot python-pyparsing python-reportlab python-simplejson <span class="se">\</span>
 
205
        python-tz python-vatnumber python-vobject python-webdav <span class="se">\</span>
 
206
        python-werkzeug python-xlwt python-yaml python-zsi <span class="se">\</span>
 
207
        python-docutils python-mock
 
208
</pre></div>
 
209
</div>
 
210
<p>OpenERP server can be download form the OpenERP&#8217;s website, <a class="reference internal" href="../../download/03/index.html#select-version"><em>check which version you should download</em></a>. If you only want to test the server, you do not need to install it. Just unpack the archive and start the openerp-server executable:</p>
 
211
<div class="highlight-bash"><div class="highlight"><pre>tar -xzf openerp-7.0-latest.tar.gz
 
212
<span class="nb">cd </span>openerp-7.0-*
 
213
./openerp-server
 
214
./openerp-server -h
 
215
</pre></div>
 
216
</div>
 
217
<p>The OpenERP Server can be installed very easily using the setup.py file:</p>
 
218
<div class="highlight-bash"><div class="highlight"><pre>sudo python setup.py install
 
219
</pre></div>
 
220
</div>
 
221
<p>Once you install OpenERP successfully you are ready to Create your first database in OpenERP.</p>
 
222
</div>
 
223
<div class="section" id="setup-production-environment">
 
224
<h2>Setup Production Environment<a class="headerlink" href="#setup-production-environment" title="Permalink to this headline">¶</a></h2>
 
225
<p>After successfully setup the OpenERP Latest server, you can deploy OpenERP for production environment on Apache or gUnicorn based on your needs.</p>
 
226
</div>
 
227
</div>
 
228
 
 
229
 
 
230
        
 
231
                
 
232
                <div id="disqus_thread"></div>
 
233
            <script type="text/javascript">
 
234
                /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
 
235
                var disqus_shortname = 'openerponlinebook'; // required: replace example with your forum shortname
 
236
        
 
237
                /* * * DON'T EDIT BELOW THIS LINE * * */
 
238
                (function() {
 
239
                    var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
 
240
                    dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
 
241
                    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
 
242
                })();
 
243
            </script>
 
244
            <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
 
245
            <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
 
246
            
 
247
    </div>
 
248
    
 
249
      
 
250
  </div>
 
251
</div>
 
252
 
 
253
<footer class="footer">
 
254
  <div class="container">
 
255
    <p class="pull-right">
 
256
      <a href="#">Back to top</a>
 
257
      
 
258
    </p>
 
259
    <p>
 
260
        &copy; Copyright 2014, OpenERP Book.<br/>
 
261
      Last updated on Mar 28, 2014.<br/>
 
262
    </p>
 
263
  </div>
 
264
</footer>
 
265
<div class="container">You can contribute to OpenERP Book on <a href="#">Launchpade.net</a>
 
266
<script type="text/javascript">
 
267
  (function() {
 
268
    var ga = document.createElement('script');
 
269
    ga.src = ('https:' == document.location.protocol ?
 
270
              'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 
271
    ga.setAttribute('async', 'true');
 
272
    document.documentElement.firstChild.appendChild(ga);
 
273
  })();
 
274
</script>
 
275
</div>
 
276
 
 
277
  </body>
 
278
</html>
 
 
b'\\ No newline at end of file'