-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to install and run tbase on one host? #60
Comments
you can use virtual machine in one host. It works. |
readme is relatively simple to write, if you do not understand, you can refer to it in detail: https://github.com/Tencent/TBase/wiki/1%E3%80%81TBase_Quick_Start Copy the content of the configuration file pgxc_ctl.conf here and change the IP directly |
install a simple cluster on a local machine with 1 Coordinator, 2 Datanodes and 1 GTM ( https://www.postgres-xl.org/documentation/install-short.html ) it works, but no network config.
then connect and query by
|
the ip address must use that ifconfig command returns |
install commands of tbase ,copied from (https://github.com/Tencent/TBase/wiki/5%E3%80%81TBase%E7%BB%84%E4%BB%B6%E5%AE%89%E8%A3%85%E5%8F%8A%E7%AE%A1%E7%90%86)
|
in the installation of #60 (comment),
|
|
The correct command should be "pg_ctl -Z coordinator -D xxx start" not "postgres --coordinator xxx" |
i followed the build steps at https://github.com/Tencent/TBase, and got bin files now.
I want to run it on one host, what are the additional steps?
i move the install directory which includes compiled files to /data/tbase/install
then i create a user tbase and set it the owner of /data/tbase
then run
ssh-copy-id -i ~/.ssh/id_rsa.pub tbase@my_hostname
then edit the /home/tbase/.bash_profile
then create the file /home/tbase/pgxc_ctl/pgxc_ctl.conf as following
but execute the pgxc_ctl, it reports many errors.
The text was updated successfully, but these errors were encountered: