สอน วิธีติดตั้ง OpenERP 7.0 บน OpenSuse
Install OpenSuse 12.2
Make a fresh installation for opensuse
Make this installation at your taste.
Make a distribution upgrade to your newly installed distro. Recomended but not necessary
~> sudo zypper refresh
~> sudo zypper dist-upgrade
Create a User for Openerp
Creating a Openerp Group
~> sudo /usr/sbin/groupadd openerp
Creating user with openerp as main group
~> sudo /usr/sbin/useradd -m -g openerp openerp
Login as Openerp User
~> sudo su openerp
Change directory to openerp home directory
~> cd
Installing & Setting PostgreSQL
Installing PostgreSQL
~> sudo zypper -n in postgresql-server
Enabling PostgreSQL as an active service on next restart.
Applies only to Suse Linux Enterprise Server 11 SP2
~> sudo insserv /etc/init.d/postgresql
~> sudo systemctl enable postgresql.service
Starting PostgreSQL for right-now-use
Applies only to Suse Linux Enterprise Server 11 SP2
~> sudo /etc/init.d/postgresql start
~> sudo systemctl start postgresql.service
Creating the PostgreSQL's openerp user
For openSUSE 12.2
~> sudo su postgres
~> createuser -P openerp
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
For openSUSE 12.3
~> sudo su postgres
~> createuser --interactive openerp -P
Enter password for new role:
Enter it again:
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) y
Shall the new role be allowed to create more new roles? (y/n) n
This another command can be used (NEEDS REVIEW IT'S NOT WORKING)
~> createuser -P openerp --no-superuser --createdb
--no-createrole
A shorcut to this same command can be used
~> createuser -P openerp -S -d -R
Modifying PostgreSQL's pg_hba.conf file:
Applies only to Suse Linux Enterprise Server 11 SP2
DO NOT PROCEED WITH THIS STEP, SKIP IT.
~> sudo vim /var/lib/pgsql/data/pg_hba.conf
first two green lines are related to your newly created / to be created dbusers.
last two green lines should look like mine,
Inline image 1
(Obsoletizado)
Subtitute the following line:
local all all peer
with this one:
local all all md5
Restart PostgreSQL to make the changes take effect:
~>sudo systemctl restart postgresql.service
Download openerp sources
Get bazaar
For just the CLI program:
Applies only to Suse Linux Enterprise Server 11 SP2
~> sudo zypper ar -f http://download.opensuse.org/repositori ... s:scm.repo
~> sudo zypper refresh
~> sudo zypper in bzr
In order to get the GUI (bzr-explorer):
Applies only to Suse Linux Enterprise Server 11 SP2
~> sudo zypper addrepo -f http://download.opensuse.org/repositori ... ython.repo
Add the following repo:
For openSUSE 12.2
~> sudo zypper addrepo -f http://download.opensuse.org/repositori ... s:scm.repo
For openSUSE 12.3
~> sudo zypper addrepo -f
http://download.opensuse.org/repositori ... s:scm.repo
~> sudo zypper refresh
~> sudo zypper in bzr-explorer
Get Openerp Branches
At Openerp User's home directory create the following directories
~> mkdir -p instancias/7.0/
Get into the newly created directory
~> cd instancias/7.0/
Get the sources for the server
~> bzr branch lp:openobject-server/7.0 server
Get the sources for the openerp-addons
~> bzr branch lp:openobject-addons/7.0 addons
Get the sources for the openerp-web server
~> bzr branch lp:openerp-web/7.0 web
Install Dependencies
~> sudo zypper -n in python-psycopg2 \
python-lxml python-pytz python-imaging \
python-PyYAML python-reportlab \
python-Mako python-Werkzeug \
python-psutil python-Babel \
python-dateutil python-gdata \
python-docutils python-python-openid \
python-simplejson python-feedparser \
python-ldap python-pydot\
We will add a new repository in order to be able to install PyChart library
For openSUSE 12.2
~> sudo zypper addrepo -f http://download.opensuse.org/repositori ... ython.repo
For openSUSE 12.3
~> sudo zypper addrepo -f
http://download.opensuse.org/repositori ... ython.repo
After hitting enter in the command line, you will get an output like this:
Adding repository 'Python and Python Modules (o[done]
Repository 'Python and Python Modules (openSUSE_12.2)' successfully added
Enabled: Yes
Autorefresh: Yes
GPG check: Yes
URI: http://download.opensuse.org/repositori ... SUSE_12.2/
~> sudo zypper refresh
After hitting enter when refreshing your repositories you will get
an output like this, asking for trust, you could answer 'a', for always trusting:
Retrieving repository 'Python and Python Modules ([\]
New repository or package signing key received:
Key ID: 27163A4EEDF0D733
Key Name: devel:languages:python OBS Project <devel:languages:[email protected]>
Key Fingerprint: 172CCD6B0CF49B7388F1C61127163A4EEDF0D733
Key Created: Wed 10 Oct 2012 12:07:25 PM VET
Key Expires: Fri 19 Dec 2014 12:07:25 PM VET
Repository: Python and Python Modules (openSUSE_12.2)
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Now we can be able to install PyChart
~> sudo zypper -n in python-PyChart
Add this repo in order to get python libraries not available anywhere else:
~> sudo zypper addrepo -f http://download.opensuse.org/repositori ... invis.repo
~> sudo zypper ref
~> sudo zypper -n in python-vatnumber \
python-vobject python-webdav \
libxslt-python python-xlwt \
python-ZSI python-unittest2 \
python-mock python-Jinja2 python-gtk
If you were to need WebKit, you are to installing it manually:
wget http://wkhtmltopdf.googlecode.com/files ... 64.tar.bz2
tar -xjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2
cp wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
wget http://wkhtmltopdf.googlecode.com/files ... 386.tar.bz
tar -xjf wkhtmltopdf-0.9.9-static-i386.tar.bz
cp wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
Running Openerp
At this moment you should be trunk folder, but if you forget it, make this, to be sure
~> sudo su openerp
~> cd
~> cd instancias/trunk/server
~> ./openerp-server -r openerp -w openerp --addons-path=../addons/,../web/addons/ --load=web
Go to your preferred browser and write in the address box,
http://localhost:8069
Create a new database, for better results
Load Demonstration data:
And begin having fun!!!
ที่มาจาก: https://www.evernote.com
ปล. ผมยังไม่ได้ลองแนะนครับ บทความนี้เป็น ของคุณ hbtoarocha ที่เว็บ evernote.com
ท่านใดได้ลองใช้ OpenSuse แล้วบ้างแชร์ กันหน่อยนะครับ
แจ้งข่าว ทางเว็บบอร์ด openerpthailand.org ได้เปลี่ยนระบบเว็บบอร์ด ใหม่เป็น phpBB 3.1- บุคคลทั่วไป จะไม่สามารถเข้าอ่านกระทู้บางบอร์ด แนะนำให้ท่าน สมัครสมาชิกคลิกตามลิงค์นี้
- สมาชิกใหม่ ถ้ายังไม่ได้แนะนำตัวจะไม่สามารถ ตั้งกระทู้ และ ดาวน์โหลด ไฟล์จากเว็บบอร์ดได้ ท่านจำเป็นต้องแนะนำตัวที่หมวดนี้
- ถ้ามีปัญหาการใช้งาน หรือ ข้อเสนอแนะใดๆ แนะนำได้ที่นี่
- ปุ่มรูปหัวใจใต้โพส แต่ละโพส ท่านสามารถกดเพื่อสื่อถึงคนโพสนั้นถูกใจท่าน
- ห้ามลง E-mail, เบอร์โทรส่วนตัว, Line id หรือข้อมูลส่วนตัวอื่นๆ เพื่อป้องกันการแอบอ้างและโฆษณาแฝง โดยสามารถติดต่อสมาชิกท่านอื่นผ่านระบบ PM ของบอร์ด
- ท่านสามารถปิดการแจ้งนี้ได้ ที่มุมขวาของกล่องข้อความนี้
บุคคลทั่วไปสามาเข้าสู่ระบบ ด้วย Account ของ FaceBook ได้แล้ว คลิกที่นี่ได้เลย
สอน วิธีติดตั้ง OpenERP 7.0 บน OpenSuse
-
openerpthailand
- Administrator
- โพสต์: 2319
- ลงทะเบียนเมื่อ: ศุกร์ 13 ก.ค. 2012 7:27 pm
- ติดต่อ:
สอน วิธีติดตั้ง OpenERP 7.0 บน OpenSuse
สมาชิกใหม่กรุณาแนะนำตัว ก่อนตั้งคำถามใดๆ ไม่แนะนำตัวก่อนไม่มีคนคุยด้วยไม่รู้ด้วยนา...ทำความรู้จัก ระบบ ERP โปรแกรม OpenERP ของฟรีที่บริษัทไหนๆก็ใช้ได้
-
- Similar Topics
- ตอบกลับ
- แสดง
- โพสต์ล่าสุด
-
-
การติดตั้ง OpenERP สองเวอร์ชั่นในเครื่องเดียวเช่น OpenERP 6.1 และ OpenERP 7.0
โดย openerpthailand » อังคาร 19 ก.พ. 2013 12:54 am » ใน คู่มือการติดตั้ง วิธีใช้งาน OpenERP - 2
- 10444
-
โดย cupidcool
ดูข้อความล่าสุด
ศุกร์ 07 พ.ย. 2014 11:44 am
-
-
-
เชื่อม OpenERP กับ Prestashop สอนการเชื่อม ระบบ shopping cart กับ OpenERP
โดย openerpthailand » อังคาร 30 ต.ค. 2012 4:32 am » ใน การติดตั้ง อัพเกรด Odoo / OpenERP - 0
- 1831
-
โดย openerpthailand
ดูข้อความล่าสุด
อังคาร 30 ต.ค. 2012 4:32 am
-
-
-
ติดตั้ง OPENERP V7 ใน win7 32bit แล้วฟ้อง OpenERP Apps Unreachable Showing locally available modules
โดย nond » จันทร์ 01 มิ.ย. 2015 10:52 pm » ใน การติดตั้ง อัพเกรด Odoo / OpenERP - 1
- 42392
-
โดย kitcle
ดูข้อความล่าสุด
เสาร์ 29 ส.ค. 2015 5:24 am
-
-
-
ติดตั้งโปรแกรม OpenERP 7.0 Beta แล้วขึ้น OpenERP Server Error
โดย openerp_docman » พุธ 21 พ.ย. 2012 4:05 pm » ใน Bug Report รายงานข้อผิดพลาดต่างๆ ของ Odoo / OpenERP เวอร์ชั่นต่างๆ - 2
- 2796
-
โดย openerpthailand
ดูข้อความล่าสุด
พฤหัสฯ. 22 พ.ย. 2012 4:07 pm
-
-
-
ย้าย data บน Openerp 7(linux) ไป Openerp 7(windoows)
โดย mpo360 » พุธ 11 ก.พ. 2015 11:33 am » ใน การติดตั้ง อัพเกรด Odoo / OpenERP - 18
- 53254
-
โดย phatcharapon
ดูข้อความล่าสุด
เสาร์ 30 ก.ค. 2016 4:03 pm
-
-
-
หน้าเว็บหลัก OpenERP.com เปลี่ยนรูปแบบ เป็น OpenERP 7.0 เต็มตัว
โดย openerpthailand » ศุกร์ 24 พ.ค. 2013 1:12 am » ใน Odoo / OpenERP - News & OpenERPThailand Feedback - 1
- 8086
-
โดย ไกร
ดูข้อความล่าสุด
จันทร์ 19 พ.ค. 2014 3:28 pm
-
-
-
วิธีการติดตั้ง OpenERP 7.0 (Beta) ลง OpenERP บนเครื่อง windows
โดย openerp_docman » พุธ 21 พ.ย. 2012 3:02 pm » ใน คู่มือการติดตั้ง วิธีใช้งาน OpenERP - 4
- 3734
-
โดย openerpthailand
ดูข้อความล่าสุด
อังคาร 08 ม.ค. 2013 12:44 pm
-
ผู้ใช้งานขณะนี้
กำลังดูบอร์ดนี้: 6 และ บุคคลทั่วไป 0 ท่าน
Log in with LINE
