Installing Cloud Foundry on Ubuntu 16.04 - ibm-cloud

I am trying to install Cloud Foundry on Ubuntu 16.04. Here are my steps:
curl -L "https://cli.run.pivotal.io/stable?release=linux64-binary&source=github" | tar -zx
./cf --version
The result is cf version 6.18.0+b22884b-2016-05-10
I get an error message when I enter cf api https://api.ng.bluemix.net
The program 'cf' is currently not installed. You can install it by typing:
apt install confluence
Am I missing something?
Thanks,

Move the binary you downloaded (./cf) to somewhere on your PATH so you can invoke it just with cf.

Related

IBM Cloud CLI: Attempt to install COS CLI plug-in fails on Ubuntu 20.04

I am unable to install IBM Cloud Object Storage CLI plug-in on Ubuntu 20.04.
When I attempt to install, I receive the following error:
ibmcloud plugin install cloud-object-storage
Looking up 'cloud-object-storage' from repository 'IBM Cloud'...
FAILED
Could not find compatible binary to install for plug-in cloud-object-storage.

Install coreutils in microsoft hosted azure devops agents

Is there a way to install coreutils in Microsoft hosted azure devops ubuntu-16.04 or 18.04 agents.
Basically we need to run md5sum command as part of our build process.
Apt-Get Install -y coreutils gives the following error: apt-get: command not found
Since you are on hosted agent, unlike you used to do on Linux. Please give a try with below command
sudo apt-get -y install coreutils
Password-less sudo is documented here.
Run as an administrator on Windows and a passwordless sudo user on
Linux
If above way is still not working, suggest you use self-hosted agent as a workaround.

Eclipse Che - Bitnami Stack

I was having a lot of issues with installing docker in Linux Mint 17.3 which runs in the virtualbox. I've downloaded the bitnami Eclipse Che Virtual Machines (Che 5.0) and installed it in the virtualbox. I am trying to create the workspace and I get the time out error. The last step showing in the log says "Deploying web application archive /home/user/che/ws-agent/webapps/ROOT.war". Then the message says "Error:Timeout. The Che serve is unable to ping your workspace. This implies a network configuration issue, workspace boot failure, or an unusually slow workspace boot." I've signed on as the default user id "bitnami" and the log mentions "/home/user/che" folders.. Is this why I can't get the eclipse che's workspace started?
TIA,
Thomas
Since I was using linux mint 17.3, the correct way to install docker is
sudo add-apt-repository \
"deb https://apt.dockerproject.org/repo/ \
ubuntu-trusty \
main"
This will set the correct repository and i was able to install docker and eclipse/che without any problems. Also this will install the newest version of che as well.

Issue during Redmine installation

We have a Redmine instance on the centos 7 server with Bitnami. I am getting following error during installation of an another Redmine instance.
Command Used:
[root#localhost htdocs]# bundle install --without development test
Error Message:
An error occurred while installing mysql2 (0.3.21), and Bundler cannot continue.
Make sure that gem install mysql2 -v '0.3.21' succeeds before bundling.
The Bitnami installer includes a ready to use Redmine stack, so I assume you're trying to install additional plugins on the vanilla Redmine install.
I suspect that you forgot to load the proper environment variables to use the Bitnami Stack mysql libraries. Go to your install directory (usually /opt/bitnami/redmine) and execute this source ./use_redmine
And then follow this instructions https://docs.bitnami.com/installer/apps/redmine/#install_plugins

Cf application in Bluemix - install dependency package

I have a Spring Boot application deployed as a Cloud Foundry app on Bluemix. Unfortunately the core of this app depends on an external program (e.g. abc) which can be easily installed using apt-get install abc on a desktop environment.
Is there any way to install such a dependency in a cloud foundry environment?
Many thanks for your support
Luca
I'm working on a similar challenge with R and am using a soon-to-be-discontinued git repo which uses apt-get options to allow you to redirect your install into folders/directories where you have write authority during the staging process. You'll have to update your paths to ensure that you can access the installed code. The install process is multi-step,
define the alternate path for apt
define the path for your installation
update apt
use apt-get install ... to download the necessary packages and associated dependencies
use dpkg to install the downloaded packages