The “FATAL: Ident authentication failed for user “postgres”” error typically occurs when you are trying to connect to a PostgreSQL database using the “postgres” user and the authentication method is set to “ident.” This error means that the PostgreSQL server is rejecting the connection because the ident authentication method failed. To resolve this error, there are a few things you can try: Step 1: Check the authentication method Check the authentication method being used by PostgreSQL. The ident authentication method relies on the operating system user name to authenticate. If this method is not suitable for your application, you can…
Author: Rahul
We have running approximate 50 systems on our LAN. In which most of the systems are running with Linux operating system’s and few of them are running with Windows and MAC. In this setup, we will configure one of Linux system as NTP server which will be synchronized from public NTP server. Now remaining system’s on LAN will sync their time from local LAN NTP server. Step 1 – Install NTP Server NTP packages are available under default repositories. You just log in to your server as root user and execute the following command. yum install ntp ## CentOS/RHEL systems…
Memcached is a distributed memory object caching system which stored data in memory on key-value basis. It is very useful for optimizing dynamic websites and enabled speed by caching objects in memory. This article will help you to install Memcached with PHP Memcache PECL extension on Ubuntu 18.04, 16.04 and 14.04 systems. Read Article: Set Up phpMemcachedAdmin on Linux Install Memcached with PECL Memcache on CentOS & RedHat Step 1 – Install Memcached First of all, update Apt package cache on your system then install Memcached service on your system. Execute below commands from command prompt. sudo apt-get update sudo…
Memcached is a distributed memory object caching system which stored data in memory on key-value basis. It is very useful for optimizing dynamic websites and enabled speed by caching objects in memory. Read more about memcache. Read Article: Set Up phpMemcachedAdmin on Linux This article will help you to install Memcached and PHP Memcache extension on CentOS/RHEL 7/6/5 systems. Install Memcached Server First we will install Memcached server on our system. Use following command to install memcached using yum package manager. yum install memcached Now start Memcached service using following commands. For CentOS/RHEL 7 systemctl enable memcached systemctl start memcached…
Error: I have faced following issues during installation of MySQL gem on Linux systems. # gem install mysql2 -v ‘0.3.18’ Building native extensions. This could take a while… ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. /usr/local/rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb checking for ruby/thread.h… yes checking for rb_thread_call_without_gvl() in ruby/thread.h… yes checking for rb_thread_blocking_region()… yes checking for rb_wait_for_single_fd()… yes checking for rb_hash_dup()… yes checking for rb_intern3()… yes checking for mysql_query() in -lmysqlclient… no checking for main() in -lm… yes checking for mysql_query() in -lmysqlclient… no checking for main() in -lz… yes checking for mysql_query() in -lmysqlclient… no checking for main()…
In the ever-evolving landscape of the web, ensuring your visitors get to the right page is crucial for maintaining SEO rankings, enhancing user experience, and managing site content effectively. One of the most efficient methods to manage your site’s navigation and preserve SEO is through the use of 301 redirects. This guide will walk you through the essentials of creating 301 redirects with Apache, the most popular HTTP server software. Understanding 301 Redirects A 301 redirect is a permanent redirect from one URL to another. It’s used to inform search engines and users that a page has moved permanently, helping…
Many new system administrators forgot to apply security when configuring a web hosting environment for production use with Apache, MySQL, and PHP. I am trying to include all those security tips which we must be considered while preparing a new system for production use or any existing LAMP setup. All the configuration changes used in this article will be updated in the following configuration files as per your operating systems. In some cases, the configuration files path may change. So make the change inappropriate files. After making changes restart related services to change take effect. For Ubuntu, Debian & LinuxMint:…
Thanks to WANdisco, which is maintaining the rpm packages for latest Subversion version. This article will help you to install Subversion 1.8.19 (SVN Client) on CentOS/RHEL 7/6/5 Systems. If you want to configure Subversion server visit this article. Step 1 – Setup Yum Repository Firstly we need to configure yum repository on our system. Create a new repo file /etc/yum.repos.d/wandisco-svn.repo and add following content as per your operating system version. vim /etc/yum.repos.d/wandisco-svn.repo [WandiscoSVN] name=Wandisco SVN Repo baseurl=http://opensource.wandisco.com/centos/$releasever/svn-1.8/RPMS/$basearch/ enabled=1 gpgcheck=0 Step 2 – Install Subversion Package Before installing latest package remove existing subversion packages from system to remove the conflict. yum…
All the operating systems have a default time zone configured. Sometimes users are required to change the default timezone to some other timezone as per their requirements on Linux system. This tutorial will help to change the timezone on Ubuntu 19.10, 19.04, 18.04 LTS, & 16.04 LTS systems. Check Current Timezone Linux uses /etc/localtime file as current systems timezone. We can simply use “date” command to check current timezone. date Mon Aug 12 05:10:58 UTC 2019 As per the above output, the current time zone is set to IST. Change Timezone on Ubuntu The Ubuntu operating systems keep all timezone…
Linux systems come with a default configuration that optimizes system performance based on average user workloads. However, specific tasks require more resources than others. For instance, running a large database server or a high-traffic web server necessitates a higher number of open files than usual. If the maximum open file limit isn’t increased to accommodate these demanding tasks, it may result in system errors or inefficiencies. This article will provide a comprehensive guide to increasing the open file limit in Linux, thereby optimizing system performance and maximizing productivity. What is the Open File Limit in Linux? In Linux, the ‘open…