How to Setup OpenERP (Odoo) on CentOS 7.x

来源:互联网 发布:淘宝 不良资产 在哪里 编辑:程序博客网 时间:2024/05/18 03:54

Hi everyone, this tutorial is all about how we can setup Odoo (formerly known as OpenERP) on our CentOS 7 Server. Are you thinking to get an awesome ERP (Enterprise Resource Planning) app for your business ?. Then, OpenERP is the best app you are searching as it is a Free and Open Source Software which provides an outstanding features for your business or company.

OpenERP is a free and open source traditional OpenERP (Enterprise Resource Planning) app which includes Open Source CRM, Website Builder, eCommerce, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management and many more modules included for a better way to boost the productivity and sales. Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

So, here are some quick and easy steps to get your copy of OpenERP installed on your CentOS machine.

1. Installing PostgreSQL

First of all, we'll want to update the packages installed in our CentOS 7 machine to ensure that the latest packages, patches and security are up to date. To update our sytem, we should run the following command in a shell or terminal.

# yum clean all
# yum update

Now, we'll want to install PostgreSQL Database System as OpenERP uses PostgreSQL for its database system. To install it, we'll need to run the following command.

# yum install postgresql postgresql-server postgresql-libs

Installing postgresql

After it is installed, we'll need to initialize the database with the following command

# postgresql-setup initdb

Intializating postgresql

We'll then set PostgreSQL to start on every boot and start the PostgreSQL Database server.

# systemctl enable postgresql
# systemctl start postgresql

As we haven't set a password for the user "postgresql", we'll want to set it now.

# su - postgres
$ psql
postgres=# \password postgres
postgres=# \q
# exit

setting password postgres

 2. Configuring Odoo Repository

After our Database Server has been installed correctly, we'll want add EPEL (Extra Packages for Enterprise Linux)  to our CentOS server. Odoo (or OpenERP) depends on Python run-time and many other packages that are not included in default standard repository. As such, we'll want to add the Extra Packages for Enterprise Linux (or EPEL) repository support so that Odoo can get the required dependencies. To install, we'll need to run the following command.

# yum install epel-release

Installing EPEL Release

Now, after we install EPEL, we'll now add repository of Odoo (OpenERP) using yum-config-manager.

# yum install yum-utils

# yum-config-manager --add-repo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo

Adding OpenERP (Odoo) Repo

3. Installing Odoo 8 (OpenERP)

Finally after adding repository of Odoo 8 (OpenERP) in our CentOS 7 machine. We'll can install Odoo 8 (OpenERP) using the following command.

# yum install -y odoo

The above command will install odoo along with the necessary dependency packages.

Installing odoo or OpenERP

Now, we'll enable automatic startup of Odoo in every boot and will start our Odoo service using the command below.

# systemctl enable odoo
# systemctl start odoo

Starting Odoo

4. Allowing Firewall

As Odoo uses port 8069, we'll need to allow firewall for remote access. We can allow firewall to port 8069 by running the following command.

# firewall-cmd --zone=public --add-port=8069/tcp --permanent
# firewall-cmd --reload

Allowing firewall Port

Note: By default, only connections from localhost are allowed. If we want to allow remote access to PostgreSQL databases, we'll need to add the line shown in the below image to pg_hba.conf configuration file:

# nano /var/lib/pgsql/data/pg_hba.conf

Allowing Remote Access pgsql

5. Web Interface

Finally, as we have successfully installed our latest Odoo 8 (OpenERP) on our CentOS 7 Server, we can now access our Odoo by browsing to http://ip-address:8069 http://my-site.com:8069 using our favorite web browser. Then, first thing we'll gonna do is we'll create a new database and create a new password for it. Note, the master password is admin by default. Then, we can login to our panel with that username and password.

Odoo Panel

Conclusion

Odoo 8 (formerly OpenERP) is the best ERP app available in the world of Open Source. We did an excellent work on installing it because OpenERP is a set of many modules which are essential for a complete ERP app for business and company. So, if you have any questions, suggestions, feedback please write them in the comment box below. Thank you ! Enjoy OpenERP (Odoo 8)  :-)

0 0
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 住宅70年到期后怎么办 在外地扣了12分怎么办 英语6级证书丢了怎么办 孩子腺样体肥大鼻子堵塞怎么办 孩子初中成绩太差怎么办 交违章罚单丢了怎么办 违章缴费单丢了,怎么办 违章处理单掉了怎么办 驾驶证被扣9分后怎么办 车子违章扣50分怎么办 车子扣了12分怎么办 大学把档案丢了怎么办 学校把档案丢了怎么办 高考考了200多分怎么办 高考报名号忘了怎么办 中考只考500分怎么办 档案自提了之后怎么办 冬天衣服上的毛怎么办 四维预约不上怎么办 交了订金后悔了怎么办 信而富认证失败怎么办 南京市民卡坏了怎么办 南京市民卡断了怎么办 义乌市民卡丢了怎么办 常熟市民卡丢了怎么办 昆山市民卡丢了怎么办 市民卡丢了看病怎么办 儿童市民卡丢了怎么办 眉毛纹的太黑怎么办 法院执行书下了怎么办 汽车临牌过期了怎么办 考试用了hb铅笔怎么办 处对象处的心累怎么办 孩子初中毕业考不上高中怎么办 单位停交社保后怎么办 58同城电话骚扰怎么办 回民误吃了猪肉怎么办 回族人吃了猪肉怎么办 商场倒闭了商铺怎么办 吃了金毓婷出血怎么办 吃过毓婷后怀孕怎么办