Closed baotnq closed 7 years ago
sử dụng putty để truy cập server:
VPS này đang mua tại vultr.com, đây là thông tin để em search khi cần thiết. Lưu ý nghe Có gì thì trao đổi, hoặc lưu các sceenshots trên đây luôn
@leekirby6 việc này tiến triển tới đâu rồi em, còn gặp nhiều khó khăn không?
em đã config file config.json trong try-cb/ultis update admin và password edit http://localhost:8091 thành http://45.76.163.100:8091 Còn phần kết nối tới vps trong trình duyệt thì em không rõ cách connect như thế nào? putty máy em tự dưng dính cái lỗi này, tìm trên gg, stackoverflow mà chưa sửa được
@leekirby6 cái này chắc do VPS bị gì đó không kết nối, anh đang gửi yêu cầu cho bên kia kiểm tra
nếu đã config được http://45.76.163.100:8091
, thì em chỉ cần vào link này trên browser, như firefox, chromes, đăng nhập và quản lý db này bình thường ah.
khi nào server chạy lại, anh báo nghe
dạ
putty login vào lại được rồi anh à !
con server này hay bị lỗi nên anh xóa và tạo mới VPS mới,
OS: Centos 7 64bit
IP: 45.63.35.239
acc: root / $7Dk7Evk(,(1oFkA
Em cài đặt mới 1 lần nữa nghe. Lần này nếu được thì chụp step luôn
sau khi setup xong, em cố gắng vọc Step 3 của https://www.couchbase.com/get-started-developing-nosql. Phần
SELECT DISTINCT category, style
FROM `beer-sample`
WHERE type = "beer" AND
style LIKE "%Imperial%"
ORDER BY category, style;
Phần config file config.json để chạy đường dẫn 45.63.35.239:8091 để truy cập Admin Console có lẽ em nhầm hay thiếu chỗ nào đó. couchbase server.docx Còn phần truy vấn ở Step3 em cũng hiểu do trước có học môn CSDL SQL thấy cũng khá giống với noSQL :)
@leekirby6 trong tai lieu cua em, anh chua thay phan nay, https://developer.couchbase.com/documentation/server/current/install/init-setup.html#topic12527 em coi lai co lam buoc nay chua
@thinnv em xem thu co ho tro duoc gi khong, dua theo kinh nghiem cai lan truoc cua em
phần truy cập admin console sử dụng http://ip adress:8091 em vẫn chưa làm được. Để em xem kĩ lại sai mình sai ở đâu !
Đang bị vướng chỗ nào vậy a @baotnq, theo e thấy
Em vào được rồi, cảm ơn 2 anh @thinnv @baotnq
@leekirby6 làm tốt lắm em!
admin
bên trêncouchbase server_updated.docx Anh @thinnv giúp em cái với ! Cái thông báo "No query nodes were found on this cluster, so N1QL querying is not possible." thì phải sửa làm sao vậy anh ? Em tra google rồi nhưng không thấy nói cách giải quyết
Tương tự với việc sử dụng command line trên centos
"Your cluster was set up without a query service. If it's a multi-node service, remove a node and add it back with a query service. If you only have a single machine available (say your laptop) you'll need to tear down the instance and restart (simplest way is to uninstall and reinstall) making sure to include a query service during set up. (In the UI the query service is included by default.)
As Gerald mentions, we don't support adding services to already provisioned nodes -- they can only be added via node addition."
tham khảo https://forums.couchbase.com/t/want-to-turn-on-query-services-on-server-to-run-n1ql/11275/3
@leekirby6 anh thấy em đang cài 4.6, nhưng trong mô tả bên trên anh note là chỉ cần "version: 4.5 Community" thôi. Vậy em muốn uninstall và cài 4.5 không, hay để anh reset VPS về ban đầu cho nhanh và làm lại
Em đã gỡ 4.6 và đang cài lại 4.5 anh a
anh lỡ reinstall nó ra mất rồi, em chịu khó cài lại nghe.
Dạ tại hồi trưa em nhờ anh reset lại mà chưa thấy anh phản hồi nên em gỡ ra cài lại Nói chung là xong hết rồi anh. Đang test mấy cái query mẫu xong lost connection =)) couchbase server_updated.docx
Để em cài lại sau :)
Password có thay đổi gì không anh ? em dùng root|$7Dk7Evk(,(1oFkA thì bị access denied
pass mới: r8K%S4uDLr2GuL@* OK em, sau đó tiếp tục vọc ở https://github.com/easywebhub/training-tasks/issues/1 nghe
việc này tới đâu rồi em, gần xong chưa
À, cái này xong từ hôm bữa mà anh bảo là reset lại cái vps. Em nói là em cấu hình xong hết rồi xong anh bảo là OK em, sau đó tiếp tục vọc ở easywebhub/training-tasks#1 nghe
em cho anh thông tin để truy cập vào Couchbase thử nghe, account login. Nếu Couchbase truy cập được thì coi nhu xong phần này, làm tiếp theo tasks kia https://github.com/easywebhub/training-tasks/issues/1
nó lại bị dính cái lỗi này nữa rồi anh anh reset giúp em lại với
cái VPS này chán quá, nên nếu vậy thì thôi, em cứ vọc các sample trong tasks kia nghe.
Anh xóa cái VPS này cho rồi, sắp tới đưa em 1 vps mới của thằng khác để em luyện tập tiếp.
task này hoàn thành
VPS Info (test)
Todo
Install couchbase server
Try couchbase at link https://www.couchbase.com/get-started-developing-nosql
report what you've done with screenshots