I have deployed graphite with nginx some time ago, with chef, but didn't froze versions to be installed. Thus now, trying to install with the same recipe i get errors because of missing something related to versions.
I need to find what version of Graphite I have installed on my other CentOS machines, to be able to figure out how to repair recipe.
Thank you.
Gabriel
If you have web access to the Graphite installation, you can also see the currently running version under the /version/ path.
I had the same issue. I solved it running a pip list, which displays every package you installed with pip. You can also run pip show graphite-web or pip show whisper to get more specific information.
Related
I am aware how to silently install 'R for Windows', but how could I update an existing installation silently to a new version?
Install switches I am currently using:
\\foo\R\R_4.0.5\R-4.0.5-win.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /ALLUSERS /LANGUAGE=en /COMPONENTS="main, x64, translations" /DIR="C:\Program Files\R"
For me, it seems like there is no supported update/upgrade switch. Just installing a new version over an existing one results in just having 2 versions listed in appwiz.cpl.
Forcing the same install dir is not helping either, as you still end up with 2 installations, just in the same folder.
Any hint is appreciated. Thanks in advance.
UPDATE:
I am trying to keep the installations on several machines aligned - therefor it would be helpful to update all machine installations periodically to the latest version and ensure the software inventory solution is not reporting N versions on a single machine.
R is designed so that you can have multiple versions installed simultaneously. This is why each version installs into a different directory.
The canonical way to handle this is to check a registry key for the latest installed version, but if you want to avoid messing with the registry, you can try this:
Install into a custom directory
When it comes to upgrading, move that directory to a temporary location
Install the newer version into the original location
If it works, delete the temp location
If it doesn't, delete the failed install and restore the original
Caveat: untested.
Currently I'm working on installing the net-snmp package on bunch of RHEL servers (versions vary from 5.x ~ 6.x).
To be specific, I need net-snmp.x86_64 and net-snmp-utils.x86_64 to create /etc/snmp/snmpd.conf file.
In normal cases, I'd just use yum to simply install them but the servers I'm working on has a firewall blocking all connections except the ones specified in the firewall.
I'm also not allowed to configure the firewall to enable yum to download the packages online due to security reasons (not sure why, though).
So I downloaded the net-snmp-5.8.tar.gz file to my PC and SCP'd it to the servers and tried to manually install it there.
But since I'm no expert on this, I just couldn't get them installed with the information online.
The files seem to be running but it doesn't create the snmpd.conf file that I need, or any other SNMP configs.
Is there a guide to installing these packages properly using the tar.gz file? Or is there something wrong here?
Thanks in advance :)
Have you run the snmpconf script? If I remember correctly it should have been installed along with net-snmp and it will generate an snmpd.conf file that is at least a good starting point if not the final one you'll want.
Newton user guide for openstack newton mentions the command show for a stack. Example: openstack stack show <stack_name>.
However, latest docs stein don't mention anything about this command. How can I show stack info in latest openstack/openstackclient release (stein at the moment of writing this question)?
make sure you have not outdated version of python-openstackclient
just install it with pip in venv and then install python-heatclient from pip as well
That same functionality is still there. Check out https://docs.openstack.org/python-heatclient/stein/cli/stack.html
If the command is missing in your environment, then you probably just need to install python-heatclient. It is not available by default with the unified openstack client.
Kibana works fine with elasticsearch until I install xpack. I am using kibana and elasticsearch 5.0 on both and I am installing the 5.0 package of xpack.
The screen that I get after installing xpack is this
I tried restarting kibana but then the app would not show up at all.
Does anyone know how to resolve this issue the logs are not showing any issues.
You can try the solution here - https://github.com/elastic/kibana/issues/9414
Had a similar problem and resolved by installing x-pack for both logstash and elasticsearch as well. I used below commands in windows 10 might be different depending on O/S
bin/elasticsearch-plugin install x-pack
bin/logstash-plugin install x-pack
Described here
This seems to be the problem with installation. If you are running on any linux machines, do make sure you install x-pack with the same user that you installed kibana/elasticsearch. It is an issue often.
If not, do follow the process in the link to uninstall and reinstall again. It is very striaght forward and should work fine.
https://www.elastic.co/guide/en/x-pack/current/installing-xpack.html
Also, do check if we need to make any changes in the configuration files- kibana.yml/elasticsearch.yml. This maynot be the case for here but it could help in debugging.
Riak has great documentation on how to upgrade Riak if it was initially installed via a package ( http://docs.basho.com/riak/1.2.1/cookbooks/Rolling-Upgrades/ ). But how do you upgrade Riak if you originally downloaded/installed it from source?
The current version of Riak I'm using is 1.0.
It's pretty much the same except in step 3 instead of
sudo dpkg -i <riak_package_name>.deb
you just download the tarball with new version and install it as you did first time.
But frankly speaking in 99% cases it's easier to do it via packages. I believe you can upgrade to packaged version from manually installed one by following their rolling update instructions precisely.