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

You must have faced the foreign key constrains issues many times while working with MySQL database. Generally this issue occurred during delete, insert records, backup and restore database and drop database and drop tables. In this situation its hard to complete task. MySQL provides an option to disable foreign key checks during any operation on tables or databases. You can disable check and complete your task without any issues. This article will help you to how to enable or disable foreign key check in MySQL. Ever you faced foreign key error, Disable foreign key checks, do you work and enable…

Read More

This tutorial will help you with JavaScript code with jQuery, which check that checkbox is checked or not and perform operations based on that. This useful before submitting any form to check if any checkbox is checked or not. JavaScript Code :- Below is the JavaScript code which check that checkbox (id: checkBox1) is selected or not. If checkbox is selected, it will unhide the element with id msgBox and that element will appear on page. If checkbox is not selected, it will hide the same element on page. Make sure you have included JQuery on your webpage.

Demo…

Read More

Iterating over an array is a common task in programming, and there are several ways to do it in JavaScript. In this article, we’ll look at four different methods for looping over an array in JavaScript: the for loop, forEach loop, for-in loop, and for-of loop. We’ll also cover some additional ways to loop over an array using higher-order functions like map and reduce. There are several ways to loop over an array in JavaScript. The most common way is to use a for loop, but there are also other options such as forEach, for-in, and for-of loops. Method 1:…

Read More

An array is a collection of values referenced by the array name. Once the array is initialized, we can easily add more elements or delete existing elements from an array. In this tutorial, you will learn to remove array elements by value in JavaSscript. We can use the following JavaScript methods to remove an array element by its value. indexOf() – function is used to find array index number of given value. Return negavie number if the matching element not found. splice() function is used to delete a particular index value and return updated array. Remove Array Element in JavaScript…

Read More

In this tutorial, we are assuming that you already have fresh installed Ubuntu Server. We recommend using LTS version of Ubuntu for your servers like Ubuntu 18.04 LTS, 16.04 LTS. Now after installing Ubuntu server 18.04, 16.04 proceed for post-installation setup of your server. This guide includes steps which are useful for configuring for a server, increase the security of the server. 1. Upgrade Your System First login to your Ubuntu server with root access and execute the following command to upgrade all packages. sudo apt-get update sudo apt-get upgrade 2. Create Admin Account Create a user account for system…

Read More

The slowness of websites is a major issue faced by most of the software engineers and system administrators. They keep trying to optimize speed with various ways. Here the question is how to speed up the website? What is the best way to increase website speed? Google provides and module mod_pagespeed for Apache users which optimize your site automatically by compressing javascript and CSS files. Let’s follow the tutorial to enable Apache mod_speed module on your Debian system to speed up website performance. 1. Install Apache2 We are assuming that you do not have installed Apache2 on your system, But…

Read More

Fedora 23 final has been released on Nov 3, 2015 and available for download. The release was delayed by a week. Fedora 23 has lots of changes, improvements and security fixes. This article will give you details about few major changes in this release. Steps to Upgrade to Fedora 23 Changes in Fedora 23 Releasing with Linux Kernel 4.2 Update the Mono stack in Fedora from 2.10 to 4.* Disable SSL3 and RC4 cipher by default. Perl version 5.22. Python 3 as the Default Implementation . Changed location of the SELinux policy store. Unicode 8.0 support. Fedup is being redesigned…

Read More

Fedora 23 has been released and available for download and install. This article will help you upgrade to Fedora 23 from Fedora 22 using DNF (alternative of yum) command line utility. Check Fedora Version Use one of following command to check your current Fedora system version. Fedora keeps its version details in /etc/redhat-release and /etc/fedora-release files. You can check any of file to get your current Fedora version. $ cat /etc/fedora-release Import Fedora 23 GPG Key First import GPG key of Fedora 23 to your local system using following command. Its used for verifying packages before install them. # rpm…

Read More

LAMP stands for Linux, Apache, MySQL and PHP. Its is used for hosting websites written with PHP programming language and using MySQL as backend database server. This article will help you to install Apache 2.4, MySQL 8 and PHP 7.3 on CentOS 7 and RedHat 7 systems. You may also use video tutorial on Youtube for installation instruction’s. Recommended Article: 15 Best Security Tips for LAMP Stack (Apache-MySQL-PHP) for Linux Step 1 – Prerequsitis The two most popular rpm repositories REMI and EPEL have most of the updated packages. They are also providing the latest packages for LAMP setup. Enable…

Read More

Ubuntu and Linux Mint are two popular Linux distributions that are widely used by individuals and organizations. One of the benefits of using Linux is the ability to upgrade to the latest kernel version. In this article, we will guide you through the steps to install the latest kernel on Ubuntu and Linux Mint. Before we proceed, it is important to note that installing the latest kernel may cause instability issues and can potentially break your system. It is recommended to backup your important data before proceeding with the installation. Step 1: Update your system Before installing the latest kernel,…

Read More