Wednesday, 3 July 2019

Macam mana nak install "bosh cli"

Bismillah

Kat bawah nie macam mana nak install "bosh cli"

Mula-mula kena install apa yang diperlukan oleh "bosh cli"

Redhat

sudo yum install gcc gcc-c++ ruby ruby-devel mysql-devel postgresql-devel postgresql-libs sqlite-devel libxslt-devel libxml2-devel patch openssl
gem install yajl-ruby

Ubuntu

sudo apt-get install -y build-essential zlibc zlib1g-dev ruby ruby-dev openssl libxslt1-dev libxml2-dev libssl-dev libreadline7 libreadline-dev libyaml-dev libsqlite3-dev sqlite3

Kemudian baru download dan install "bosh cli"

wget https://github.com/cloudfoundry/bosh-cli/releases/download/v5.5.1/bosh-cli-5.5.1-linux-amd64
chmod +x bosh-cli-5.5.1-linux-amd64
sudo mv bosh-cli-5.5.1-linux-amd64 /usr/local/bin/bosh

No comments:

Post a Comment

Memantau Linux dengan atop

Katakan kita nak tau aplikasi apa yang guna CPU tinggi pada 3 pagi tadi.Cara paling mudah ialah dengan menggunakan atop. atop macam top tapi...