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..

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

Latest Linux operating systems like CentOS/RedHat 7 and Fedora 21 has stopped using iptables and start now using dynamic firewall daemon firewalld which provides a dynamically managed firewall. It supports for network and zones to assign a level of trust to a network, connections, and interfaces. Firewalld also provides an interface for services or applications to add firewall rules directly. This article will help you to disable firewalld service and then install and use iptables on CentOS and Red Hat 7 Systems. Visit here to read more about firewalld. Disable Firewalld Service Before installing and using iptables services on CentOS…

Read More

One of the most important aspects of running a Linux server is ensuring that it is secure. This means protecting against unauthorized access and preventing potential attackers from exploiting vulnerabilities in your system. One way to enhance the security of your Linux server is to disable root SSH login and create a sudo user. In this article, we’ll provide a step-by-step guide for doing just that. Step 1: Create a Sudo User The first step in enhancing the security of your Linux server is to create a sudo user. This user will have elevated privileges and will be able to…

Read More

Apache is the most popular web server for Linux web servers. Most of the Linux system administrator’s start with Apache (httpd) web server from there learning phase, Even I also used Apache web server during learning. At the initial level the System administrator works with Apache. Most of them used default configuration but they don’t know how Apache works, how it handles incoming connection or multiple processes. Apache uses one of following MPM (Multi-Processing Module) for handling incoming requests and processes them. Both have their own working type. Below is some basic details about both MPM and there working. Prefork…

Read More

Today while deploying a war file (development site code) in Tomcat 8, I faced the following issue regarding upload limit size in Apache Tomcat server. So I decided to increase limit Tomcat upload file size limit to higher than the default. The default upload limit is set to 50 MB. Caused by: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException the request was rejected because its size (128382112) exceeds the configured maximum (104828800) Increasing Upload Size Limit You can increase the Tomcat server upload file size limit by the editing webapps/manager/WEB-INF/web.xml configuration file and searching for the below content. sudo nano /path/to/tomcat/webapps/manager/WEB-INF/web.xml Update the following section: <multipart-config>…

Read More

In the world of database management, ensuring the safety and integrity of your data is paramount. PostgreSQL, with its robust set of tools, offers powerful methods for backing up and restoring databases. This comprehensive guide aims to equip database administrators and developers with the knowledge needed to effectively dump and restore PostgreSQL databases, ensuring that data is securely backed up and can be restored when needed. Introduction PostgreSQL, an advanced open-source relational database management system, offers various methods for data backup and recovery. Among these, the pg_dump and pg_restore commands are widely used for their versatility and effectiveness in managing…

Read More