linux · ppc64le · x86_64

linux: Am I running in a VM?

I had to identify which kind of environmet my Linux was running (bare-metal or virtualized), to do so I did the following: You can also do:

linux

linux: IP and hostname in the same line

A simple composition of commands to print the hostname and IP in the same line:

java · jenkins · linux

java: the trustAnchors parameter must be non-empty

When configuring Jenkins on Ubuntu 18.04, I got the following error: To fix that, I had to do the following:

ftp · linux

ftp: send files to a specific directory in a ftp server using lftp via command line

So, you have access to a given FTP server with the appropriated user/password and now you want to push some files to it directly via command line, using a bash scrip, via your CI service, etc. How could you do this using lftp? Easy! The first step is to install lftp in your environment, you… Continue reading ftp: send files to a specific directory in a ftp server using lftp via command line

javascript · linux · minicloud · ppc64le

javascript: phantomjs on Power

PhantomJS (phantomjs.org) is a headless WebKit scriptable with JavaScript. Officially it does not support Power, with builds available only for x86_64 architecture. But, if you want to use on your ppc64le, follow the steps below: The initial step is to get access to Power virtual machine for free at Minicloud. Then, once the VM is… Continue reading javascript: phantomjs on Power

cloud · macos · openstack · python

macos: DEPRECATION: Uninstalling a distutils installed project (six)

When trying to install openstack-cli on MacBook Pro, the following problem showed up: To fix it, I used the following command:  

linux · openstack

openstack: calculate for how long a server is running

Today I needed to collected the time between the creation of server and the current day. Given some activities that requires monitoring those servers, an automated approach is vital for optimizing the amount of time dedicating to it. As I couldn’t find an option that could give the result right away in the openstack-cli tool,… Continue reading openstack: calculate for how long a server is running