Installing Postgres Client alone without server - postgresql

Here is my requirement.
Server 1(DB)
Server 2(ETL)-Need to install pg_client alone, where I can fetch and load data in Server 1 using pg_bulkload.
Is there is any way to do it? Kindly provide instructions, to install the client and where I can get the software package.
Thanks

When building from Source you can do after configure and make:
Client-only installation: If you want to install only the client
applications and interface libraries, then you can use these commands:
make -C src/bin install
make -C src/include install
make -C src/interfaces install
make -C doc install
src/bin has a few binaries for server-only use, but they are small.
Link to PostgreSQL Documentation

Related

Offline Ros Bridge Intallation / without internet

We want to install Ros Bridge to our server. But we don't have internet access on server. Is it possible we can install without internet?
Thank you...
You can download the package and all it's dependencies on a different device (with similar architecture) like
sudo apt-get install ros-<rosdistro>-rosbridge-server --download-only
This will place the packages at /var/cache/apt/archives. The files then can be used for installation without the need of downloading them again. So after moving them to your server, this can be done with
apt-get install ros-<rosdistro>-rosbridge-server

Install Nagios plugins - missing install instructional step?

I have Nagios XI installed and want to monitor remote Redhat machine using SSH. Installing the agent is likely not allowed in our environment.
This is from Nagios instruction from the page 2
Before you can use the check_by_ssh plugin, you must install/configure the following on the remote Linux/Unix server you want to
monitor:
● Create a nagios user
● Install Nagios plugins and/or monitoring scripts
● Install and configure the SSH daemon
I downloaded the Nagios official plugins(I believe there are 50 plugins) and extracted the files, but there is no instructional step for install command. I read the README file, but this seems to give me the steps of making the install files from the source, I think.
Is there a simple command that will run the install in order for me to install the plugins that will include check_by_ssh plugin?
This answer was given by Nagios support team:
Nagios Plugin Installation
cd /tmp/nagios-plugins-2.1.2
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install

How to install Hipchat Server on CentOS 6?

In my deep dive into the CentOS terminal, I was able to install and setup Jira, Confluence, and Bitbucket servers. However, the Hipchat Server seems to be based on something completely different.
Is there a step by step guide to installing Hipchat; From what's needed (dependencies) to installing (which I'm not even sure is part of the process) to seeing it work (log-in, etc.)?
Atlassian's official guide is written in such a way, that I look at it confused - as if it's a riddle that will never be solved. lol
By HipChat4, I'm assuming you refer to the HipChat Client. If so, have you tried the instructions outlined here?
sudo bash -c ‘cat > /etc/yum.repos.d/hipchat.repo << EOF_hipchat
[atlassian-hipchat]
name=Atlassian Hipchat
baseurl=https://atlassian.artifactoryonline.com/atlassian/hipchat-yum-client/
enabled=1
gpgcheck=0
EOF_hipchat’
sudo yum update
sudo yum install hipchat4
If what you're trying to install is the server, then keep in mind that HipChat Server is only supported on AWS (via the Atlassian provided AMI), or as a VM for private datacenters (via the Atlassian provided OVA). You can't install HipChat Server directly on a Linux box.
If your OS can run a virtualization platform (e.g. VirtualBox) then you can download the OVA from https://www.hipchat.com/server#get-hipchat-server, import it, start your VM and configure it. More thorough instructions are available here.

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

unable to install pg-native (libpq-dev) on ubuntu 14.04

I'm trying to install https://github.com/brianc/node-pg-native on a container.
Looks like I've to install postgresql (server) to install libpq-dev. I don't want to install postgresql server on a container, as it has to only connect to server.
I tried installing on postgresql-client but no use. I'm using ubuntu:14.04 . Any suggestions?
If I'm doing something completely please wrong let me know.
libpq-dev doesn't install the full server but does install a lot of development dependencies. The pg-native node module doesn't supply pre built binaries so you need to install all the dev dependencies for npm to complete the build for you.
If you are concerned about your image size, it is possible to build the node module in a build container with all the build dependencies to create a tar.gz of it. Then extract the built package into your app instead of using npm install. This can be done generally for all node modules to speed up your build process and remove all build tools from the docker image you run the application from.