Author: Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

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…

Read More

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…

Read More

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…

Read More

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()…

Read More

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…

Read More

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:…

Read More

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…

Read More

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…

Read More

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…

Read More

Gzip compression are used for transferring data in compressed format to end users. This reduced website page load time and increases performance. If you are not sure that your site is running with gzip compression or not on Nginx server, Then you can use online gzip compression sites (Given at end of post) to confirm. If it’s already enabled with gzip you don’t need to do anything. But if gzip is not enabled, follow below steps. Read: How to enable Gzip Compression on Apache Server Enable Gzip in Nginx To enable gzip compression in Nginx server, Add the following content…

Read More