หลังจาก install google chrome สำเร็จจะฟ้องข้อความที่ว่า google chrome can not be run as root
เนื่องจาก linux กลัวไวรัสที่อาจจะแฝงมาใน brower ตัว google chrome นั้นเอง โดยมีวิธีแก้ไขดังนี้
1.>เข้าไปเปิดไฟล์ตาม path นี้ : /opt/google/chrome/google-chrome
2.>หา code ที่เขียนว่า exec -a “$0″ “$HERE/chrome” “$@” แก้ไขให้เป็น exec -a “$0″ “$HERE/chrome” “$@” –user-data-dir
3.>save แล้วทำการเปิด google chrome อีกครั้ง
ไม่มีความคิดเห็น:
แสดงความคิดเห็น