I have mosquitto server installed in debian. Now I am trying to install mosquitto authentication plugin.
In oder to compile the plugin I need mosquitto location path to supply at MOSQUITTO_SRC= in the config.mk.
I have tried /var/lib/mosquitto and /etc/mosquitto without success. Checked manually in /usr/local/.... nothing.
What is mosquitto path exactly?
thanks.
It is path to mosquitto source code. You can download it from here :
https://mosquitto.org/download/
The Authentication plugin requires access to some of the source files from the actual source for the mosquitto broker. Those files are not normally included in the mosquitto-dev package that you can install via apt-get.
You need to check what version of mosquitto that was packaged for debian (the default one is normally pretty old) and then find the matching source bundle from http://mosquitto.org/files/source/.
You should unpack this and set the MOSQUITTO_SRC variable to point to the unpacked version.
You will also need the dev packages for which ever backend you choose to enable.
Related
I tried to install Cloud Foundary cfdev plugin to setup pivotal cloud environment in local machine (MacOS Big Sur).
~ % cf install-plugin -r CF-Community cfdev
Searching CF-Community for plugin cfdev...
Plugin cfdev 0.0.18 found in: CF-Community
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Do you want to install the plugin cfdev? [yN]: y
Starting download of plugin binary from repository CF-Community...
Get https://d3p1cc0zb2wjno.cloudfront.net/cfdev/cfdev-v0.0.18-rc.36-darwin: dial tcp: lookup d3p1cc0zb2wjno.cloudfront.net: no such host
FAILED
Looks like unable to reach d3p1cc0zb2wjno.cloudfront.net host and even I tried hitting https://d3p1cc0zb2wjno.cloudfront.net/cfdev/cfdev-v0.0.18-rc.36-darwin endpoint in browser but no luck.
Any suggestion to try out, or resolution please?
The link is simple broken. I was building the cfdev plugin with the generate-plugin.sh script in scripts folder. But be careful you need a go version 1.16.xx 1.17.xx is not working due to an bug on macos!
After building the plugin locally you can install the plugin with
cf install-plugin cfdev
The next problem you will get is that the certificates from bosh/director are expired and cfdev will not start :( I'm still searching for a solution for this.
I found a workaround by adjusting the time on the host machine for 01.2021 - in theory, could be any date less than 10.04.2021. I managed to get the full installation + apps-manager and scs. After that, the auto-sync of time could be restored.
I use KSQLdb, and I have tried to install MongoDb connector. Tutorial says to use confluent hub client or download connector jar file that include in java application.
But I want to use KSQLDB as CLI.
Default installations is:
Download installation Or download the ZIP file and extract it into one
of the directories that is listed on the Connect worker's plugin.path
configuration properties. This must be done on each of the
installations where Connect will be run.
Where to place these files?
The connector simply needs to be on the java class path. Adding the jars to the lib or ext folder should be sufficient.
I have downloaded docker binary version 1.8.2 and copied that to my backup server (centos server) which doesn't have internet connectivity. I have marked this as executable and started the docker daemon as mentioned in [https://docs.docker.com/engine/installation/binaries/][1]. But it doesn't seem to get installed as a docker service. For all the commands, I have to execute as sudo ./docker-1.8.2 {command}. Is there a way to install docker-engine as a service? Currently sudo docker version shows command not found. I'm a newbie to docker setup. Please advise.
Why not download the rpm package (there are also centos 6 packages), copy to USB stick and then to your server and simply install it with rpm command and that's it. That way you'd get the same installation as if you were to run yum.
Of course you may have some dependencies missing, but you could download all of these as well.
Firstly, if you're downloading bare binaries on an enterprise linux, you're probably doing things in a very bad way. Immediately, you're breaking updates and consistency, and leaving your system in a risky, messy state.
Try using yumdownloader --resolve to get the docker installable and anything it needs.
A better option may be to mirror the installation artifacts, and grab it from the local mirror, but that's beyond the scope if you don't do this already.
I am a new user to Neo4j usage and my OS is 32bit Ubuntu12.04. You need to start the server from Terminal by entering into the directory of Neo and then type
bin/neo4j start
which is all set and correct was until yesterday, there is some problem now and I get this
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended.
See the Neo4j manual.WARNING! You are using an unsupported Java runtime.
Please use JDK 6.Neo4j Server already running with pid 3527
I am clueless to why this error occured suddenly.
When I run
localhost:7474
on my browser it doesn't recognise it any more.I tried to update my version following Install JDK6 on Ubuntu 12.04 link, but doesn't seem to work.Still gives the same error.
After checking for the version from terminal
java -version
I recieve
java version "1.6.0_27"
OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)
How do make localhost:7474 work on my machine?
Thanks.
For some licensing issues, Ubuntu does no longer ship Oracle/Sun JDKs directly, blame Oracle for that!
There is https://github.com/flexiondotorg/oab-java6 which automatically fetches Oracle/Sun JDKs, build local deb packages from them and puts them in a local apt repository.
Using update-java-alternatives you can set your system's default jdk.
Regarding the "open file" warning see http://docs.neo4j.org/chunked/stable/configuration-linux-notes.html#_setting_the_number_of_open_files.
We are using Ubuntu 12.04 as well. We use OpenJDK 1.6.0_24.
We ran into similar problems when we initially used Neo4j. Here are the instructions to get pass those hurdles.
You need to be able to open more files.
Edit /etc/security/limits.conf and add these two lines:
root soft nofile 40000
root hard nofile 40000
Edit /etc/pam.d/su and uncomment or add the following line:
session required pam_limits.so
Finally check that limit was changed. You might need to reboot.
ulimit -n
Returns 40000
Next in order to be able to use the webadmin on Ubuntu. You need to change one of the properties files inside neo4j. It works without this change on a Mac, I know.
Edit the neo4j-server.properties file:
cd [neo4j installation]/conf/
vim neo4-server.properties
Change this line
org.neo4j.server.webserver.address=0.0.0.0
The default is set to only listen for connections from localhost (that's why it works on a Mac). This way you can access the webadmin from anywhere. This can be a security problem though.
Hope this helps.
This seems to be a bug in neo4j about detection of running instance. By the reported pid there was some script about gnome and proxy, which after being killed (including parent lens script) let me start neo4j with OpenJDK. I guess they made it too smart.
I'm trying to get Erlang working on my Fedora server, specifically to run rabbitmq, but when I yum install erlang yum complains that wxGTK requires a bunch of packages.
Wtf? Why is erlang trying to install a GUI? I intend to deploy this on a headless server.
Do I need to compile erlang from source? Is there no GUI-less version of erlang I can use?
I like to use the kurl script created by the folk at Basho to install Erlang. It works very well on ubuntu. I hope this will be ok on Fedora too.
This will actually automatically download the source code, and compile it. If you dont have Wx installed, it will not compile this library and will work perfectly without (as long as you dont use tools which need it, of course)
I guess by default your erlang installation has wxErlang enabled and so those packages are required for installation.
On https://github.com/erlang/otp/wiki/Installation you can find instructions on how to manually install Erlang/OTP.
In the configure part you can disable the wxErlang part. Usually no extra config is required since the wxErlang-support will be disabled by default when the required packages are not installed.