Is it possible to install postgres second time? [closed] - postgresql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
So right now due to ERP system that I use in company I have heavily modified version 11 of Postgresql.
Now I need to have a clean version of Postgresql installed? Is that somehow possible to install Postgresql twice?

you can install the new version in another directory and start new postgresql in another port 5432 (example: 5433)

Yes, it is possible (see this answer also), but settings will slightly be different depending on OS that you use. Postgres uses by default port 5432 but you can change this, so even if you need both of versions to run at the same time it is not a problem. You just need to set a correct port. So simply put you can do that but need to change config file of one of the versions.

Related

Is there a way to replicate a preconfigured ubuntu os? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to replicate an ubuntu OS which is has (NAT,Firewall etc) setup.I am trying to find away to install a preconfig os or the os image in production, to avoid installing and setting up manually in each and every machine.Is there a way to solve this problem?
Thank you
Two methods come to mind--both variations on a theme. There may be other better methods that others know of, but lets at least start with the following.
Method #1. Assuming that the hardware is exactly the same between systems, you may be able to copy an install from one disk to another (or clone it using 'dd').
Method #2. If you are using virtual machines, you may have a master copy that you copy as needed (instead of identical hardware, you have identical virtual hardware).

Issue with check postgres nagios perl script [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
How do I make check_postgres.pl file make use of PGPASSFILE or PGPASSWORD parameters to connect to the database?
I tried setting up the environment variables in my Linux environment, but no success.
Also, is there a way to pass an encrypted password (like a md5hash) to the --dbpass variable and connect to the database?
If https://github.com/bucardo/check_postgres/blob/master/check_postgres.pl is the check_postgres.pl you are referring to, it does check the PGPASSWORD environment variable.
The question is then how to make sure that such variable exists on the environment check_postgres.pl is executed.
The nagios docs say to put whatever you need in /etc/sysconfig/nagios.
I suspect it depends a lot on how you installed nagios and/or if you installed it with some OS vendor package manager that does things differently, though.
At any rate, the docs: https://support.nagios.com/kb/article.php?id=489

How can i make my custom command available to all user in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have written a custom command under user 'krishna' on my laptop, and now i want it to be available for other all user without redefining to each user. For now, i have defined the command in /home/krishna/.bashrc As this file exist under user krishna and work only for krishna. is there any way i can defile it globally for all users?
You can define the command in the /etc/bashrc or /etc/bash.bashrc file (which one depends on your distribution). One of these should exist on your machine.
Commands you define in your local /home/[USER]/.bashrc are only available for [USER].
Commands or aliase defined in /etc/bashrc are available for all useres

Updating ownCloud got stuck - recover? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Yesterday I wanted to update my ownCloud isntallation from version 7 to 7.0.1 (or 7.0.0a - I can't recall the exact name...).
I triggered the update using the intrgrated update mechanism. Unfortunatelly it seems to get stuck since I still get the page stating "The ownCloud instance is currently being updated...".
Is there a way to get the installation going again without having to reinstall from scratch?
Thanks and regards!
I don't know whether you can get the installation going again, but I've just seen this post here: https://github.com/owncloud/core/issues/10195. May be this is related to your problem? It seems to me, that you would need to start a new installation in this case.

Can I have two different operating systems for two different users on a single machine [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
My computer has two users. So can I install two different operating system for each user?
Just like windows for user1 and ubuntu for user2?
Possible with GRUB http://wiki.ubuntuusers.de/GRUB
But only if it's not a problem if one user can boot up into the other OS. ( he couldnt do anything because he has no password. )
Yes, it's possible. If you use a encryption tool with a secure bootloader like DiskCryptor, you can even password-protect one operating system and boot into an alternate operating system if the password isn't entered.