gh-ost icon indicating copy to clipboard operation
gh-ost copied to clipboard

Run on an EC2 server (Linux)

Open yossicoh opened this issue 3 years ago • 1 comments

I am trying to install GH-OST on a (Linux) Server. I did the following:

sudo yum install -y git gcc-c++ make cmake openssl-devel

git clone https://github.com/github/gh-ost.git

cd gh-ost cmake.

GET ERROR CMake Error: The source directory "///temp/gh-ost" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. that I check if the installation was successful I get

gh-ost --version

bash: gh-ost: command not found

When I try to run gh-ost commands I get an error.

DB = mySql

Thank you

yossicoh avatar Sep 10 '23 07:09 yossicoh

gh-ost is Go project and does not use CMake as the build tool. Please consult the docs on how to built it from source.

Alternately, you can use pre-built binaries here: https://github.com/github/gh-ost/releases/tag/v1.1.5

ericyan avatar Sep 10 '23 09:09 ericyan