Q- สอบถามวิธีการติดตั้ง postgresql หน่อยครับ

เกี่ยวกับ ปัญหาการใช้งาน การติดตั้ง ฐานข้อมูล MySql Oracle MSSQL ect...
การเขียน คำสั่ง SQL เพื่อดึกข้อมูล บอร์ดนี้ควรระบุโครงสร้างตารางของท่านในคำถามด้วยนะ

Moderator: mindphp

tatiya
PHP VIP Members
PHP VIP Members
โพสต์: 2845
ลงทะเบียนเมื่อ: 09/07/2018 9:35 am

Q- สอบถามวิธีการติดตั้ง postgresql หน่อยครับ

โพสต์ที่ยังไม่ได้อ่าน โดย tatiya »

ผมใช้ OS ubuntu 16.04 LTS ครับ ผมติดตั้ง Postgresql ไม่ได้ครับ
ผมลอง ติดตั้งแล้วนะครับ

โค้ด: เลือกทั้งหมด

sudo apt-get update

โค้ด: เลือกทั้งหมด

sudo apt-get install postgresql
ผลลัพท์
com015@com015-Inspiron-5570:~$ sudo apt-get install postgresql
Reading package lists... Done
Building dependency tree
Reading state information... Done
postgresql is already the newest version (9.5+173ubuntu0.2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
openerp : Depends: python-imaging but it is not going to be installed
Recommends: antiword but it is not going to be installed
Recommends: python-gevent but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ภาพประจำตัวสมาชิก
mindphp
ผู้ดูแลระบบ MindPHP
ผู้ดูแลระบบ MindPHP
โพสต์: 41123
ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
ติดต่อ:

Re: Q- สอบถามวิธีการติดตั้ง postgresql หน่อยครับ

โพสต์ที่ยังไม่ได้อ่าน โดย mindphp »

ติดตั้งโมดูลเสริมเหล่านี้ก่อน
python-imaging
antiword
python-gevent

หรือใช้คำสั่ง
sudo apt-get -f install postgresql
ในการติดตั้ง
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
tatiya
PHP VIP Members
PHP VIP Members
โพสต์: 2845
ลงทะเบียนเมื่อ: 09/07/2018 9:35 am

Re: Q- สอบถามวิธีการติดตั้ง postgresql หน่อยครับ

โพสต์ที่ยังไม่ได้อ่าน โดย tatiya »

mindphp เขียน:ติดตั้งโมดูลเสริมเหล่านี้ก่อน
python-imaging
antiword
python-gevent

หรือใช้คำสั่ง
sudo apt-get -f install postgresql
ในการติดตั้ง
ผมลองใช้คำสั่ง

โค้ด: เลือกทั้งหมด

sudo apt-get -f install postgresql
ผลลัพท์ เหมือนเดิม
ผมเลยใช้คำสั่ง

โค้ด: เลือกทั้งหมด

sudo apt --fix-broken install


แล้ว

โค้ด: เลือกทั้งหมด

sudo apt-get update

โค้ด: เลือกทั้งหมด

sudo apt-get upgrade
ตอนนี้ติดตั้งได้แล้วครับ
Selection_071.png
Selection_071.png (23.01 KiB) Viewed 3434 times
Selection_072.png
Selection_072.png (28.9 KiB) Viewed 3434 times
Selection_073.png
Selection_073.png (81.2 KiB) Viewed 3434 times
ตอบกลับโพส
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 37