mongodb 3.6 on FreeBSD 11.1 tools missing? - mongodb

On FreeBSD with mongodb 3.6 I need to tansfer a mongodb database to another server. But I can't find the respective package or port. Ther is neiteher a mongodb36-tools package or port.
It seems like the port for mongodb36-tools has a bug and is therefore taken off the ports repo.
Can anyone confirm this? I there a workaround?

It looks like the mongodb36-tools port is about to be added to the ports tree. Here's an issue on the FreeBSD Bugzilla.
You may either ping people on Bugzilla if they are working on merging it or use the submitted patch and compile the port on your own. I guess the best idea is to ask about the state of affairs on Bugzilla.
Also, remember that you'll need to switch to the latest branch in pkg(8) in order to get the latest packages.

Related

Find and Update XMPP version on ubuntu server running Openfire

This question may sound absurd as I am totally new to XMPP & Openfire. I have a setup of Openfire 4.2.3 in Ubuntu 18.0.4 LTS that being used in my android chat app. During testing I received a Timeout error. While investigating the issue I found the solution rely on the XMPP updated version, check this link for more info.
Well I tried my best to find out my XMPP version and how to update it. Unfortunately I didn't find anything on it. So, I have two obvious questions here:
How to check XMPP version my Openfire is running on?
How to update XMPP version on my existing Openfire setup?
Since you are able to use the web-interface, just log in. On the start page look for the server properties. Theres the version.
For upgrading follow these steps:
To stop openfire on ubuntu: /etc/init.d/openfire stop;
Backup copy of the openfire installation directory: /usr/share/openfire;
Backup Openfire Base in Postgres: If you use the pgAdmin application, right-click on openfire base and click “Backup”. To run backup, it can be with own postgres as user. I recommend tar format, and encoding “SQL_ASCII”.
To install the new version: you can actually use the “dpkg -i” command, you will be asked if you want to keep your current version (choose this one), but you will still upgrade (option N or O - keep your currently -installed version).
On the java, has a statement informing that from version 4.3 will be necessary Java 8 installed.
Source: https://discourse.igniterealtime.org/t/update-openfire-4-1-6-to-4-2-1-in-ubuntu-server/80336
And if you really meant the "XMPP-Version". There is not really such a thing. XMPP is implemented to a different extend on different server-providers. Some have more extensions, some less.
To see which ones you have, refer to the wikipedia site:
https://en.wikipedia.org/wiki/Comparison_of_XMPP_server_software

Intall php5.2 on WHM 58 Cpanel EasyApache 4

I needs to install php5.2 version on my server. Right now php 5.4 is the oldest version installed. Since 2 days. I searched a lot over google but didn't find appropriate guidance yet. Tried a lot of tutorials no works at all. Any suggestion or guidance will be appreciated. thanks
I don't think there is any proper or easy way to revert to php-5.2.x from php-5.4.x; at least not using WHM interface or as an automatic process. Even if you have EasyApache3 you will not be able to downgrade from php-5.4.x to php-5.2.x
Your only option might be CloudLinux which comes with a php selector which allows you to select any php version from php-5.1.x to php-7.x.
You must know that Cloudlinux is not free and the license is around $10/month. They offer a 15 day trial so if you do all the necessary setting within that period you can just use it as much as you want. You won't be able to update it though and some of the functionality might not work as expected after the trial ends.
The PHP versions that you have mentioned are completely outdated and using them would be risky. Cpanel is never going to support it with their newer version. So your best deal would be to update your application/website to latest PHP and host with the latest PHP only

how to install bind 9.9.8 or higher on CentOS 5.8

I am running a web server based on CentOS 5.8 and I need to upgrade my version of bind to make it PCI compliant. I'm currently running bind 9.3.6 and I need to have bind 9.9.8 or higher. I've tried yum update bind but apparently I already have the latest version according to yum. I did some Googling and I found an RPM file bind-9.10.2-1.el5.i686.rpm which looks like it would work but i don't know if it should try installing it or not. I think I would need bind-devel and bind-libs which I can get from the same site. Am I better off compiling from source? I know CentOS 5 is old but I'm trying to avoid reinstalling the whole server.
Installing binary rpm's from later versions of CentOS is unlikely to work: there are many changes since CentOS5.
Rebuilding a src.rpm locally is one way to see what issues there are.
Meanwhile, upgrading to CentOS6 (at least: CentOS7 uses systemd which takes some study) is often not a whole lot more effort than retrofitting something like bind, and will have other efficiencies. YMMV, everyone's does.

How to install PgBouncer on Windows 7 (x64)

I am attempting to install PgBouncer on my computer with no success. In the installation page, im told that PgBouncer has two dependencies GNU Make 3.81+ and libevent 2.0. Never having used or heard of these two software before, Im completely lost.
I have read a little on both but have yet to find or fully understand what they actually do and how they will help me set up PgBouncer. From what I've read, PgBouncer does not come compiled for windows and I need the other two to compile it. I have searched for tutorials online but it seems that im falling into a black hole of misunderstanding.
Im looking for a simple explanation on how to install PgBouncer or how these software work with one another. Thanks.
If anyone now searches the binaries because http://winpg.jp/~saito/pgbouncer is offline now, check out my page under https://sepppenner.github.io/PgBouncerWinBinaries/. I have all the binaries from the Saito page but didn't yet succeed to build the project on my own. If anyone has ideas, don't hesitate to contact me here or on Github :)
EDIT: I'm now able to build pgbouncer for windows just having some issues with the pandoc thing (Follow https://github.com/pgbouncer/pgbouncer/issues/442). I will provide binaries soon. The instructions are already online under the page listed above :)
Im looking for a simple explanation on how to install PgBouncer
A little late, but if you use the EDB installer for PostgreSQL, as linked on postgresql.org (https://www.postgresql.org/download/windows/), you can install Stack Builder. From inside Stack Builder, PgBouncer can be installed (EDB build).
Unfortunately, it's not the latest version. Now, PgBouncer 1.17.0 is available and Stack Builder provides 1.16.1.
Personally, I don't understand why the PgBouncer project doesn't just offer a Windows build. So everybody would be able to get the latest release.
I have not messed with pgbouncer in years but have had multiple comments on what I did to solve my problem.
In the link bellow is the pgbouncer build I last used on my project. From what I remember, all you would need to do is replace the users in the config/user.txt with yours and go into config/pgbouncer.ini and change the configuration to work with your set up. To start it, just run the run.bat file or pgbouncer.exe config/pgbouncer.iniin the cmd prompt. You want to download everything in the folder.
https://drive.google.com/open?id=1f8MjdQCq-ryQBiJ85d4hABASFfR_6fA2

Sphinx on server with Cpanel?

Had a quick question about Sphinx Search installation. Do I need to install it differently for a server with cpanel on it? Or would the normal linux installation instructions for Sphinx work just fine? I ask because I dont have a test server with cpanel, so it will be installed directly on the live server.
Pretty sure there are no special considerations. cpanal wouldnt be used to manage sphinx, but it would work just fine. You will probably need to check the firewall, to make sure applications could contact the sphinx port.
(I've not needed to install sphinx on a cpanel server, but have used cpanel a bit. Have used sphinx with plesk - and nothing special was required there either)